[gentoo-commits] repo/gentoo:master commit in: dev-util/git-delta/

2020-10-30 Thread Georgy Yakovlev
commit: 49c82d4d671060a11b6a07c8fd06397126e8b154
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Oct 31 03:31:25 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 31 03:31:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c82d4d

dev-util/git-delta: add ~ppc64 keyword

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-util/git-delta/git-delta-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/git-delta/git-delta-0.4.4.ebuild 
b/dev-util/git-delta/git-delta-0.4.4.ebuild
index a2dd855043e..cdff2b51793 100644
--- a/dev-util/git-delta/git-delta-0.4.4.ebuild
+++ b/dev-util/git-delta/git-delta-0.4.4.ebuild
@@ -136,7 +136,7 @@ S="${WORKDIR}/${P/git-/}"
 
 LICENSE="Apache-2.0 BSD-2 Boost-1.0 CC0-1.0 ISC LGPL-3+ MIT Unlicense ZLIB"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc64"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-util/git-delta/

2020-10-30 Thread Sam James
commit: 102435b8be7cdb86dee118f967db0e525ef37c8d
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 31 03:27:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 31 03:27:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102435b8

dev-util/git-delta: block app-text/delta

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-util/git-delta/git-delta-0.4.4.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-util/git-delta/git-delta-0.4.4.ebuild 
b/dev-util/git-delta/git-delta-0.4.4.ebuild
index 1b2cae20c32..a2dd855043e 100644
--- a/dev-util/git-delta/git-delta-0.4.4.ebuild
+++ b/dev-util/git-delta/git-delta-0.4.4.ebuild
@@ -143,7 +143,9 @@ DEPEND="
dev-libs/libgit2:=
dev-libs/oniguruma:=
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+   !app-text/delta
+"
 
 QA_FLAGS_IGNORED="/usr/bin/delta"
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/git-delta/

2020-10-30 Thread Sam James
commit: be2801668631fcc6df4a3056cd3904317e44aa55
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 31 03:25:51 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 31 03:26:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be280166

dev-util/git-delta: fixups

Should be looking a bit better now.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-util/git-delta/git-delta-0.4.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/git-delta/git-delta-0.4.4.ebuild 
b/dev-util/git-delta/git-delta-0.4.4.ebuild
index 92df972c229..1b2cae20c32 100644
--- a/dev-util/git-delta/git-delta-0.4.4.ebuild
+++ b/dev-util/git-delta/git-delta-0.4.4.ebuild
@@ -132,9 +132,9 @@ DESCRIPTION="A syntax-highlighting pager for git"
 HOMEPAGE="https://github.com/dandavison/delta;
 SRC_URI="https://github.com/dandavison/delta/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 SRC_URI+=" $(cargo_crate_uris ${CRATES})"
-LICENSE="Apache-2.0 BSD-2-Clause BSL-1.0 CC0-1.0 ISC LGPL-3.0-or-later MIT 
Unlicense Zlib"
+S="${WORKDIR}/${P/git-/}"
 
-LICENSE="MIT"
+LICENSE="Apache-2.0 BSD-2 Boost-1.0 CC0-1.0 ISC LGPL-3+ MIT Unlicense ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/git-delta/

2020-10-30 Thread Sam James
commit: 4348489b8b4c51a017ddb3c8fd6e41320549859a
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 31 03:18:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 31 03:18:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4348489b

dev-util/git-delta: fix bash completion

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-util/git-delta/Manifest   | 2 +-
 dev-util/git-delta/{delta-0.4.4.ebuild => git-delta-0.4.4.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/git-delta/Manifest b/dev-util/git-delta/Manifest
index a65849957ab..772b6ea85ee 100644
--- a/dev-util/git-delta/Manifest
+++ b/dev-util/git-delta/Manifest
@@ -26,7 +26,6 @@ DIST console-0.12.0.crate 21278 BLAKE2B 
ee79ab5478a6f49d4c42389f2e9d17a5fe977497
 DIST constant_time_eq-0.1.4.crate 4654 BLAKE2B 
fbceff4653396f9ee4c6d184d60fe78b77acd9b90986e83183b25acbf44d92b6d936df8ccbb1e7aef5c7487703058b93078fd90cee5eab4d14796886e3c6a863
 SHA512 
65b72c522f7ff0abfe0e562476bbbcbeb1271bc9cf61f9663ea5c08730787242b30df472e7b74a2ea9979466c251030c35f36c916d20e0c6b99826fbecbd8f96
 DIST crc32fast-1.2.0.crate 39161 BLAKE2B 
f71c85801f945602d53f93ce251c978c91f63fcd92fecba5083fff0f06738697e99d92c17a824605d5d56b3224db224ff32e4b147b6f6af47ae714dcd511e7cd
 SHA512 
2ee73e0642f83e28034c1baca65156e65d751214e83f2a4ce94b6add5ba11f74ffc80832a3348ece1c099367be2b11e820dfb349fae89fbced1b68bd6b0466f0
 DIST crossbeam-utils-0.6.6.crate 32836 BLAKE2B 
48290733712549c46bcf99641ddff571cf2fff72b2a70e86a554899987fd71a61a8ab6a15c75e468164755fcc3218a1db54a4fa406f766f9a9f03bcb3d9bcd02
 SHA512 
771ac1a55a043600e7d8b720f9b5a32da2ec09efaa4dec4202f7b78a505eb391a842b7abc91516ccd287c3207c634b342b0bc8ebb3c0c7a0d73b7fb29badc9f5
-DIST delta-0.4.4.tar.gz 1024790 BLAKE2B 
c0a74299196c4dde617db74832d4db906b8b3eab2a1b302ee81ce5a9fe2df4daf8306768d00d9914153159aa8fc0d5aaaebd9ddbeec3c79ce41bed8c92702308
 SHA512 
1d42f87efef0ba065860fd2c3d2db3cfc1e97580b4bd031e91393a21479ab61d5c7afc99eb232eb16bf8db6853072b714027c720fd2d452be74e0ef0a5d1dc34
 DIST dirs-3.0.1.crate 12245 BLAKE2B 
e58f9383d0bb78f27219337c83879ce355aa60290df659b9dc656e3febcc2577b8fd5234792fa354f1c7f2b651e590fe490384f79b0a8a332eff44e3b459d9cc
 SHA512 
fe5eed57f7f3af0ebc53098f7d7295702a5339d7644d271a81bf5a966ae5b3e688eeabbf2b122e6e7daa1080dd30e48d8cbad969f6820b6cdb1680c84f0b9623
 DIST dirs-sys-0.3.5.crate 10643 BLAKE2B 
8df1e6ca2c8e8560913bfb74e7bea1b12e1b13b6d337f3c76f517716622586cae8ff044e3265504a44f161526a79ba2d123d3ea6c5cfebefcf498010
 SHA512 
ff7eb48943b61773dd2aa8dc10372186d613c225a2b39caf48966a1a5af087dd0177b8db80b1353a504af8aa1c8b4a0a849edf6c7e4389f6b753bfa3b7376833
 DIST either-1.5.3.crate 12278 BLAKE2B 
ffbe3878098daadcef9a554b60b2904d8d4814ea38cb915ee0003d3cd11243e04813dfb41384545e7b180f7d542c7aa2c0a351b736d4f449e70fa11d0a09cca1
 SHA512 
5e283412597bc3a1341d42c6cfe824606e056aaac82cbf3f662e7074ab74f1f80befe9de1b1011ce2dc970a0ec159ade5ed5b3e71c9984facee6314eac20d0f2
@@ -37,6 +36,7 @@ DIST failure_derive-0.1.6.crate 4902 BLAKE2B 
ffbdaf135c6baf66d5ac37cee6050bbad6f
 DIST flate2-1.0.12.crate 73844 BLAKE2B 
46d0e592e68dae030c4e05aa073ac8940c8778e707b315b33f54eefabcbb2074f9843b784a98b4c7955a34d965482505ea0700e5ac04774b40473889fb335e3e
 SHA512 
3247d6cca560ed4e7518a3b035e1745472f5ad98f049c764a16a4559b6dcf2a006acb613b57557556f917b529376ab0eea2d3c5ce0ea9e044b0fbae804dd3ecb
 DIST fnv-1.0.6.crate 11131 BLAKE2B 
220cf5463749b21e1560419ab9b1f235de08dd548c4a9a7fa6190d9516ce7db884f877b67174ee50b66b22be80d3be73ccafca80e06e94e0fa6e96fbb94475f6
 SHA512 
f1356b3da25f76cb3ccb4336ff54d4967f1dc7523eae6cba21a4349b8ce563516f6a2aa10d626cd5bb6046b55ac2f246e61e4e526a03fad5e78d0ea174841844
 DIST fuchsia-cprng-0.1.1.crate 2950 BLAKE2B 
8519407ab5d1f04d03cc946a07050db4dd7bc70e03894e35b9e66910a3be11224084a86ba45103fdec845e94b7ba4defbd7c5217b035a0796c0c4a94b9562cd7
 SHA512 
ea9f5beb0dfcb023c22cfc2b37ce52dfcf3a2cbbed0f79c332878858386805c65dce8469a431002367562d857a6c064e075688540c27fcb4056a110059d2
+DIST git-delta-0.4.4.tar.gz 1024790 BLAKE2B 
c0a74299196c4dde617db74832d4db906b8b3eab2a1b302ee81ce5a9fe2df4daf8306768d00d9914153159aa8fc0d5aaaebd9ddbeec3c79ce41bed8c92702308
 SHA512 
1d42f87efef0ba065860fd2c3d2db3cfc1e97580b4bd031e91393a21479ab61d5c7afc99eb232eb16bf8db6853072b714027c720fd2d452be74e0ef0a5d1dc34
 DIST git2-0.13.11.crate 173742 BLAKE2B 
c14fa5ff6c6d7dcb78a2c7abc3ac8254e50fdfc21926484596f6e259a8fee825b4b11b4a592e923a079cda019059c2feb787c82e4bc23e0de1c18a2b68f8d71e
 SHA512 
2cacde47dfbf9df7a46d8d25fcd182f3ef239c4dd987e7f21b3e49e29671bcbae84f387014610559b2bacdad0708a9ec2804b67befb1ec139848a625508e93a9
 DIST heck-0.3.1.crate 54666 BLAKE2B 
99f7ceb44ea6af445749989730ce1e14156018ff046a136be2e6474b285088e1d90d6f8af9352affbbde5bac7e5a32971dd99f249f968105e9793b7de76def07
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-util/delta/, dev-util/git-delta/

2020-10-30 Thread Sam James
commit: 551cf8983ade17d37156a1b80eb13d6ad5f4768d
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 31 03:14:42 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 31 03:14:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551cf898

dev-util/delta: change to dev-util/git-delta

Signed-off-by: Sam James  gentoo.org>

 dev-util/{delta => git-delta}/Manifest   | 0
 dev-util/{delta => git-delta}/delta-0.4.4.ebuild | 0
 dev-util/{delta => git-delta}/metadata.xml   | 0
 3 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-util/delta/Manifest b/dev-util/git-delta/Manifest
similarity index 100%
rename from dev-util/delta/Manifest
rename to dev-util/git-delta/Manifest

diff --git a/dev-util/delta/delta-0.4.4.ebuild 
b/dev-util/git-delta/delta-0.4.4.ebuild
similarity index 100%
rename from dev-util/delta/delta-0.4.4.ebuild
rename to dev-util/git-delta/delta-0.4.4.ebuild

diff --git a/dev-util/delta/metadata.xml b/dev-util/git-delta/metadata.xml
similarity index 100%
rename from dev-util/delta/metadata.xml
rename to dev-util/git-delta/metadata.xml



[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/

2020-10-30 Thread Aisha Tammy
commit: 117db60b7828367aa13a04dea8666d990d18
Author: Aisha Tammy  aisha  cc>
AuthorDate: Fri Oct 30 23:08:04 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Fri Oct 30 23:08:04 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=117d

sys-cluster/Lmod: drop old version 8.4.9

Signed-off-by: Aisha Tammy  aisha.cc>

 sys-cluster/Lmod/Lmod-8.4.9.ebuild | 104 -
 1 file changed, 104 deletions(-)

diff --git a/sys-cluster/Lmod/Lmod-8.4.9.ebuild 
b/sys-cluster/Lmod/Lmod-8.4.9.ebuild
deleted file mode 100644
index 925e1d5e9..0
--- a/sys-cluster/Lmod/Lmod-8.4.9.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Environment Module System based on Lua"
-HOMEPAGE="https://lmod.readthedocs.io/en/latest;
-SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase 
redirect test"
-RESTRICT="!test? ( test )"
-
-RDEPEND+="
-   app-shells/tcsh
-   || (
-   app-shells/loksh
-   app-shells/mksh
-   app-shells/ksh
-   )
-   app-shells/zsh
-   dev-lang/tcl
-   dev-lua/luafilesystem
-   dev-lua/luajson
-   dev-lua/luaposix
-   dev-lua/lua-term
-"
-DEPEND+="${RDEPEND}"
-BDEPEND+="
-   test? (
-   dev-util/Hermes
-   )
-"
-
-pkg_setup() {
-   elog "There is a lot of options for this package,"
-   elog "especially for run time behaviour."
-   elog "You can set them using EXTRA_ECONF variable."
-   elog "To see full list of options visit:"
-   elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html;
-}
-
-src_prepare() {
-   default
-
-   rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die
-}
-
-src_configure() {
-   # set environment variables to pass to Lmod configuration
-   local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}"
-   local -x SHORT_TIME="${SHORT_TIME:-2}"
-   local -x 
SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}"
-   local -x SITE_NAME="${SITE_NAME:-Gentoo}"
-   local -x SYSHOST="${SYSHOST:-Gentoo}"
-
-   local myconf=(
-   --with-tcl
-   --with-fastTCLInterp
-   --with-colorize
-   --prefix=/opt
-   --with-ancient="${CACHE_LIFETIME}"
-   --with-supportKsh
-   --with-updateSystemFn="${SYSTEM_TOUCH}"
-   --with-siteName="${SITE_NAME}"
-   --with-syshost="${SYSHOST}"
-   --with-shortTime="${SHORT_TIME}"
-   --without-useBuiltinPkgs
-   $(use_with duplicate duplicatePaths)
-   $(use_with nocase caseIndependentSorting)
-   $(use_with italic hiddenItalic)
-   $(use_with auto-swap autoSwap)
-   $(use_with module-cmd exportedModuleCmd)
-   $(use_with redirect)
-   $(use_with dotfiles useDotFiles)
-   $(use_with cache cachedLoads)
-   $(use_with extend extendedDefault)
-   )
-
-   econf ${myconf[@]} ${EXTRA_ECONF[@]}
-}
-
-src_test() {
-   local -x PATH="/opt/hermes/bin:${PATH}"
-   tm -vvv || die
-}
-
-src_install() {
-   default
-
-   keepdir /var/lmod
-}
-
-pkg_postinst() {
-   elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}"
-   elog "To activate Lmod, you need to source the profile"
-   elog "script provided"
-   elog " $ . /opt/lmod/lmod/init/profile"
-   elog "This will provide you with the 'module' command"
-   elog " $ man module"
-}



[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/files/, sys-cluster/Lmod/

2020-10-30 Thread Aisha Tammy
commit: b5082d98c8c3f43edba891c9a74a6c08e4e95c98
Author: Aisha Tammy  aisha  cc>
AuthorDate: Fri Oct 30 23:07:27 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Fri Oct 30 23:07:52 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b5082d98

sys-cluster/Lmod: drop old version 8.4.5

Signed-off-by: Aisha Tammy  aisha.cc>

 sys-cluster/Lmod/Lmod-8.4.11.ebuild  |   8 ++
 sys-cluster/Lmod/Lmod-8.4.5.ebuild   | 104 ---
 sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch |  26 ++
 3 files changed, 34 insertions(+), 104 deletions(-)

diff --git a/sys-cluster/Lmod/Lmod-8.4.11.ebuild 
b/sys-cluster/Lmod/Lmod-8.4.11.ebuild
index 925e1d5e9..afe34b143 100644
--- a/sys-cluster/Lmod/Lmod-8.4.11.ebuild
+++ b/sys-cluster/Lmod/Lmod-8.4.11.ebuild
@@ -35,6 +35,8 @@ BDEPEND+="
)
 "
 
+PATCHES=( "${FILESDIR}"/${PN}-8.4.11-ldflags.patch )
+
 pkg_setup() {
elog "There is a lot of options for this package,"
elog "especially for run time behaviour."
@@ -83,12 +85,18 @@ src_configure() {
econf ${myconf[@]} ${EXTRA_ECONF[@]}
 }
 
+src_compile() {
+   CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+   default
+}
+
 src_test() {
local -x PATH="/opt/hermes/bin:${PATH}"
tm -vvv || die
 }
 
 src_install() {
+   CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
default
 
keepdir /var/lmod

diff --git a/sys-cluster/Lmod/Lmod-8.4.5.ebuild 
b/sys-cluster/Lmod/Lmod-8.4.5.ebuild
deleted file mode 100644
index 925e1d5e9..0
--- a/sys-cluster/Lmod/Lmod-8.4.5.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Environment Module System based on Lua"
-HOMEPAGE="https://lmod.readthedocs.io/en/latest;
-SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase 
redirect test"
-RESTRICT="!test? ( test )"
-
-RDEPEND+="
-   app-shells/tcsh
-   || (
-   app-shells/loksh
-   app-shells/mksh
-   app-shells/ksh
-   )
-   app-shells/zsh
-   dev-lang/tcl
-   dev-lua/luafilesystem
-   dev-lua/luajson
-   dev-lua/luaposix
-   dev-lua/lua-term
-"
-DEPEND+="${RDEPEND}"
-BDEPEND+="
-   test? (
-   dev-util/Hermes
-   )
-"
-
-pkg_setup() {
-   elog "There is a lot of options for this package,"
-   elog "especially for run time behaviour."
-   elog "You can set them using EXTRA_ECONF variable."
-   elog "To see full list of options visit:"
-   elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html;
-}
-
-src_prepare() {
-   default
-
-   rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die
-}
-
-src_configure() {
-   # set environment variables to pass to Lmod configuration
-   local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}"
-   local -x SHORT_TIME="${SHORT_TIME:-2}"
-   local -x 
SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}"
-   local -x SITE_NAME="${SITE_NAME:-Gentoo}"
-   local -x SYSHOST="${SYSHOST:-Gentoo}"
-
-   local myconf=(
-   --with-tcl
-   --with-fastTCLInterp
-   --with-colorize
-   --prefix=/opt
-   --with-ancient="${CACHE_LIFETIME}"
-   --with-supportKsh
-   --with-updateSystemFn="${SYSTEM_TOUCH}"
-   --with-siteName="${SITE_NAME}"
-   --with-syshost="${SYSHOST}"
-   --with-shortTime="${SHORT_TIME}"
-   --without-useBuiltinPkgs
-   $(use_with duplicate duplicatePaths)
-   $(use_with nocase caseIndependentSorting)
-   $(use_with italic hiddenItalic)
-   $(use_with auto-swap autoSwap)
-   $(use_with module-cmd exportedModuleCmd)
-   $(use_with redirect)
-   $(use_with dotfiles useDotFiles)
-   $(use_with cache cachedLoads)
-   $(use_with extend extendedDefault)
-   )
-
-   econf ${myconf[@]} ${EXTRA_ECONF[@]}
-}
-
-src_test() {
-   local -x PATH="/opt/hermes/bin:${PATH}"
-   tm -vvv || die
-}
-
-src_install() {
-   default
-
-   keepdir /var/lmod
-}
-
-pkg_postinst() {
-   elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}"
-   elog "To activate Lmod, you need to source the profile"
-   elog "script provided"
-   elog " $ . /opt/lmod/lmod/init/profile"
-   elog "This will provide you with the 'module' command"
-   elog " $ man module"
-}

diff --git a/sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch 
b/sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch
new file mode 100644
index 0..afd652142
--- /dev/null
+++ b/sys-cluster/Lmod/files/Lmod-8.4.11-ldflags.patch

[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/

2020-10-30 Thread Aisha Tammy
commit: 9feeef565e60670278e8281b4615105302a61766
Author: Aisha Tammy  aisha  cc>
AuthorDate: Fri Oct 30 23:08:40 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Fri Oct 30 23:08:40 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=9feeef56

sys-cluster/Lmod: drop old version 8.4.10

Signed-off-by: Aisha Tammy  aisha.cc>

 sys-cluster/Lmod/Lmod-8.4.10.ebuild | 104 
 1 file changed, 104 deletions(-)

diff --git a/sys-cluster/Lmod/Lmod-8.4.10.ebuild 
b/sys-cluster/Lmod/Lmod-8.4.10.ebuild
deleted file mode 100644
index 925e1d5e9..0
--- a/sys-cluster/Lmod/Lmod-8.4.10.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Environment Module System based on Lua"
-HOMEPAGE="https://lmod.readthedocs.io/en/latest;
-SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase 
redirect test"
-RESTRICT="!test? ( test )"
-
-RDEPEND+="
-   app-shells/tcsh
-   || (
-   app-shells/loksh
-   app-shells/mksh
-   app-shells/ksh
-   )
-   app-shells/zsh
-   dev-lang/tcl
-   dev-lua/luafilesystem
-   dev-lua/luajson
-   dev-lua/luaposix
-   dev-lua/lua-term
-"
-DEPEND+="${RDEPEND}"
-BDEPEND+="
-   test? (
-   dev-util/Hermes
-   )
-"
-
-pkg_setup() {
-   elog "There is a lot of options for this package,"
-   elog "especially for run time behaviour."
-   elog "You can set them using EXTRA_ECONF variable."
-   elog "To see full list of options visit:"
-   elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html;
-}
-
-src_prepare() {
-   default
-
-   rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die
-}
-
-src_configure() {
-   # set environment variables to pass to Lmod configuration
-   local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}"
-   local -x SHORT_TIME="${SHORT_TIME:-2}"
-   local -x 
SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}"
-   local -x SITE_NAME="${SITE_NAME:-Gentoo}"
-   local -x SYSHOST="${SYSHOST:-Gentoo}"
-
-   local myconf=(
-   --with-tcl
-   --with-fastTCLInterp
-   --with-colorize
-   --prefix=/opt
-   --with-ancient="${CACHE_LIFETIME}"
-   --with-supportKsh
-   --with-updateSystemFn="${SYSTEM_TOUCH}"
-   --with-siteName="${SITE_NAME}"
-   --with-syshost="${SYSHOST}"
-   --with-shortTime="${SHORT_TIME}"
-   --without-useBuiltinPkgs
-   $(use_with duplicate duplicatePaths)
-   $(use_with nocase caseIndependentSorting)
-   $(use_with italic hiddenItalic)
-   $(use_with auto-swap autoSwap)
-   $(use_with module-cmd exportedModuleCmd)
-   $(use_with redirect)
-   $(use_with dotfiles useDotFiles)
-   $(use_with cache cachedLoads)
-   $(use_with extend extendedDefault)
-   )
-
-   econf ${myconf[@]} ${EXTRA_ECONF[@]}
-}
-
-src_test() {
-   local -x PATH="/opt/hermes/bin:${PATH}"
-   tm -vvv || die
-}
-
-src_install() {
-   default
-
-   keepdir /var/lmod
-}
-
-pkg_postinst() {
-   elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}"
-   elog "To activate Lmod, you need to source the profile"
-   elog "script provided"
-   elog " $ . /opt/lmod/lmod/init/profile"
-   elog "This will provide you with the 'module' command"
-   elog " $ man module"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/delta/

2020-10-30 Thread Sam James
commit: 429518bf08fd754e937bb314ef8941afe9cc0e2f
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 31 03:09:46 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 31 03:11:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429518bf

dev-util/delta: new package (syntax-highlighted diff)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-util/delta/Manifest   | 121 +++
 dev-util/delta/delta-0.4.4.ebuild | 168 ++
 dev-util/delta/metadata.xml   |  11 +++
 3 files changed, 300 insertions(+)

diff --git a/dev-util/delta/Manifest b/dev-util/delta/Manifest
new file mode 100644
index 000..a65849957ab
--- /dev/null
+++ b/dev-util/delta/Manifest
@@ -0,0 +1,121 @@
+DIST adler32-1.0.4.crate 5105 BLAKE2B 
344a5258e77328a24a545e32f9bc653fa25b7ea43803ed7861db261bce227aa1599520a42acea3de1f2acebb8fa9fad251e2688413b752eafe2401ca1a2ee34a
 SHA512 
5990e1e277a1c3aae5adef5e4601b807a756a40e88578bb91f1c70d70babfa97fb3f2c1b963482ec8e18c16d5e722bf90fb42f9646c8dd840373f28965a2d123
+DIST aho-corasick-0.7.6.crate 108953 BLAKE2B 
d713366d0783e1ffbe65408e4d38ef9f12276f61043c768265de5d47e446a378306096a70252c9a49a6e7d3b97a09f30405a3d8df6b40dc2dfeb7407ed574c95
 SHA512 
120aa28e72279f561d7f51657aa0800dd46504cd92f758f848284e5f3695be6f5e24056a66b0f2d971c527277e92ae938e2357ade37b5cbe1c93913a5dc308b1
+DIST ansi_colours-1.0.1.crate 9937 BLAKE2B 
04d86fb964138cadeab0cb708e99d198189efe6ad871b9cea43967f610922234f371befe7b25c8ef824f94daef5b6c52e47a5d86f7966b82ff100ae5a4e38281
 SHA512 
16d9470385c55eb28be0fd3ea0bf5d8832676282636edb71f670c629a77884f590bf4ea13f2bf1002031a5a014cf1bfb32bb7a09da27af3c1d85e4a0f524af23
+DIST ansi_term-0.11.0.crate 17087 BLAKE2B 
9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4
 SHA512 
a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
+DIST ansi_term-0.12.1.crate 24838 BLAKE2B 
f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791
 SHA512 
b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+DIST arrayref-0.3.5.crate 7644 BLAKE2B 
d1dae7b54208b842155dc77c226236bfa3fd671fad39a101246f4b1496d28608e657fcb96fc8447ba5b0835260484b46ff35e2fdac8e092a0b5b79646ff39d18
 SHA512 
6417e092a896e118a69e219f4e40f94756748986769e24ac233ea33a3a0a6e15fbebec5f4d6dc3592da7eb5b2e572cb28ad330838875323c6e925275b5a3f5b8
+DIST arrayvec-0.5.1.crate 26816 BLAKE2B 
172dab8f0129134dfc89c6032c5fc15e2f86a5cd1e5be18b87fe2108d18a1bdb0f597a6ed4cd214dc663fbfb27b05c66846fba4543b5e068b5c75d075bdc5bff
 SHA512 
53db2fafea1f60ac1af9ecc0bc9b69010e9f8573048481d55969ecdc9f3d19832fe05824acf10a0186b0464f0fbfe898d73500fba39ed63650c64dac2c2e8043
+DIST atty-0.2.14.crate 5470 BLAKE2B 
2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab
 SHA512 
d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+DIST autocfg-1.0.0.crate 12870 BLAKE2B 
79e495d53298574afd3b292da7c9c363dcb3ea434fd44258efaf3628e95ebfc731f03083f8a1060272a2a3478a6452cdc41539e2dac08465cc6e6283844bf260
 SHA512 
451fc63148792ba1952b884170e3481359b01bacca5ec0456f43ca58f8e092b8f81c9764f8b00d4104059ff608089be5858220ee868127c064cc890c767ec3a3
+DIST backtrace-0.3.40.crate 68183 BLAKE2B 
e1c01acc706617c66558dcd3ed1ebc33bf3fe56d03ecd5ec00eb78df3d5fa745cd899108a779894396636da461ad7a2775f6d77cd35fa96f97181f3e80694a5e
 SHA512 
8b9da3d6c515ef7bc5b04cf4abd53221cc114c912eb5033558b1c45eb6d85e56c0fc39579711fcd26f69fa364a823945901e4c2e5560436013b7523adf267d27
+DIST backtrace-sys-0.1.32.crate 518920 BLAKE2B 
fbbd3b59533830400a788fd117ced47461d2f2b04d205d03f242d596c284e89ef2dbaead81e6974aa65197a6c69c0293f18dbe89daf3323d0c01dbc92462a075
 SHA512 
199658b1f95611f7c68a7b4fdd76044fb6784a7ab777a9f5fbe3a4a770bd6c31ac08dfea1297dd85053f0b28b1a686c076a78b120ac46fc3c639c30c937d49c3
+DIST base64-0.10.1.crate 41988 BLAKE2B 
6e28a70cc0d5e426d9a3944825952851928ec2e32fa2543a8e1d1b886ad306f38fd6e673da62e96581e56613f133265feeff5b0d2f1e2e34593e58c0424eee9e
 SHA512 
674a8cbee95a41f755499a4e3bb93ebd3f80140c3e8e2d44a0b73890ee423754e7ba8abcd92132683cd54501ff5d14438d023a202eaf12776aecbe36df9e5535
+DIST base64-0.12.1.crate 56378 BLAKE2B 
90a948eebbae820ced325055b2d49feebdc3b178a271fa7508356d7e44d9f81f586822b6512169f3c1e9901da491b1728783182796c14e6b2c8c647e57202ed1
 SHA512 
06c73723c4364ac8bcf4204a943893080d1752dd925a13da800889f486b1ebf97bccae79b7b04cbe758afc95bb1d61464276365d4721689896fa641a8e55b660
+DIST bincode-1.2.1.crate 15489 BLAKE2B 

[gentoo-commits] proj/sci:master commit in: sys-cluster/Lmod/

2020-10-30 Thread Aisha Tammy
commit: e1929e883619900266bdfac43218dd327fdafe1e
Author: Aisha Tammy  aisha  cc>
AuthorDate: Fri Oct 30 22:54:03 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Fri Oct 30 22:54:03 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e1929e88

sys-cluster/Lmod: version bump to 8.4.11

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>

 sys-cluster/Lmod/Lmod-8.4.11.ebuild | 104 
 1 file changed, 104 insertions(+)

diff --git a/sys-cluster/Lmod/Lmod-8.4.11.ebuild 
b/sys-cluster/Lmod/Lmod-8.4.11.ebuild
new file mode 100644
index 0..925e1d5e9
--- /dev/null
+++ b/sys-cluster/Lmod/Lmod-8.4.11.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Environment Module System based on Lua"
+HOMEPAGE="https://lmod.readthedocs.io/en/latest;
+SRC_URI="https://github.com/TACC/Lmod/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="auto-swap cache dotfiles duplicate +extend italic module-cmd nocase 
redirect test"
+RESTRICT="!test? ( test )"
+
+RDEPEND+="
+   app-shells/tcsh
+   || (
+   app-shells/loksh
+   app-shells/mksh
+   app-shells/ksh
+   )
+   app-shells/zsh
+   dev-lang/tcl
+   dev-lua/luafilesystem
+   dev-lua/luajson
+   dev-lua/luaposix
+   dev-lua/lua-term
+"
+DEPEND+="${RDEPEND}"
+BDEPEND+="
+   test? (
+   dev-util/Hermes
+   )
+"
+
+pkg_setup() {
+   elog "There is a lot of options for this package,"
+   elog "especially for run time behaviour."
+   elog "You can set them using EXTRA_ECONF variable."
+   elog "To see full list of options visit:"
+   elog "https://lmod.readthedocs.io/en/latest/090_configuring_lmod.html;
+}
+
+src_prepare() {
+   default
+
+   rm -r "${S}"/rt/{colorize,end2end,help,ifur,settarg} || die
+}
+
+src_configure() {
+   # set environment variables to pass to Lmod configuration
+   local -x CACHE_LIFETIME="${CACHE_LIFETIME:-86400}"
+   local -x SHORT_TIME="${SHORT_TIME:-2}"
+   local -x 
SYSTEM_TOUCH="${SYSTEM_TOUCH:-/var/lmod/latest_system_update.time}"
+   local -x SITE_NAME="${SITE_NAME:-Gentoo}"
+   local -x SYSHOST="${SYSHOST:-Gentoo}"
+
+   local myconf=(
+   --with-tcl
+   --with-fastTCLInterp
+   --with-colorize
+   --prefix=/opt
+   --with-ancient="${CACHE_LIFETIME}"
+   --with-supportKsh
+   --with-updateSystemFn="${SYSTEM_TOUCH}"
+   --with-siteName="${SITE_NAME}"
+   --with-syshost="${SYSHOST}"
+   --with-shortTime="${SHORT_TIME}"
+   --without-useBuiltinPkgs
+   $(use_with duplicate duplicatePaths)
+   $(use_with nocase caseIndependentSorting)
+   $(use_with italic hiddenItalic)
+   $(use_with auto-swap autoSwap)
+   $(use_with module-cmd exportedModuleCmd)
+   $(use_with redirect)
+   $(use_with dotfiles useDotFiles)
+   $(use_with cache cachedLoads)
+   $(use_with extend extendedDefault)
+   )
+
+   econf ${myconf[@]} ${EXTRA_ECONF[@]}
+}
+
+src_test() {
+   local -x PATH="/opt/hermes/bin:${PATH}"
+   tm -vvv || die
+}
+
+src_install() {
+   default
+
+   keepdir /var/lmod
+}
+
+pkg_postinst() {
+   elog "Lmod has been installed at /opt/lmod/{lmod -> ${PV}}"
+   elog "To activate Lmod, you need to source the profile"
+   elog "script provided"
+   elog " $ . /opt/lmod/lmod/init/profile"
+   elog "This will provide you with the 'module' command"
+   elog " $ man module"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-salt-factories/

2020-10-30 Thread Patrick McLean
commit: 05807a5bfc43ed98e76ccdc30f6edb608b56d50e
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 02:17:44 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 02:17:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05807a5b

dev-python/pytest-salt-factories: drop py39 as app-admin/salt doesnt support it 
yet

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild 
b/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild
index 4568ef158e6..ac3cace6a8e 100644
--- a/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild
+++ b/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..8} )
 inherit distutils-r1
 
 DESCRIPTION="The new generation of the pytest-salt Plugin"



[gentoo-commits] repo/gentoo:master commit in: dev-python/ioflo/

2020-10-30 Thread Patrick McLean
commit: bab761cf1a55d3a6735e988333593b041ce54d82
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 02:18:36 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 02:18:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab761cf

dev-python/ioflo: drop py39 as app-admin/salt doesnt support it yet

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/ioflo/ioflo-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/ioflo/ioflo-2.0.2.ebuild 
b/dev-python/ioflo/ioflo-2.0.2.ebuild
index ee37a8b9765..ddae8517a9e 100644
--- a/dev-python/ioflo/ioflo-2.0.2.ebuild
+++ b/dev-python/ioflo/ioflo-2.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=(python3_{7..9})
+PYTHON_COMPAT=(python3_{7..8})
 inherit distutils-r1
 
 DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework"



[gentoo-commits] repo/gentoo:master commit in: dev-python/cheetah3/

2020-10-30 Thread Patrick McLean
commit: cbd4bc2e9ebb89e6569a5285b0a10e605ab34774
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:25:40 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd4bc2e

dev-python/cheetah3-3.2.6: Version bump, add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/cheetah3/Manifest  |  1 +
 dev-python/cheetah3/cheetah3-3.2.6.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest
index 8f709baf0bf..78ba6d24f98 100644
--- a/dev-python/cheetah3/Manifest
+++ b/dev-python/cheetah3/Manifest
@@ -1 +1,2 @@
 DIST cheetah3-3.2.4.tar.gz 315044 BLAKE2B 
5cb36364f424acf87593b3f18b5709d1a161dd3fb9bc1f4cfb6fe7c22d2515c852d5d7d0215692274ffe5437267e3232fcfae3d76c592cf66d8927fabdf37953
 SHA512 
64fbe95fe8d5f3185168ba780e106a46caa0656272235168df603eff50dd6e476eed041658a1e11ae12ee10d148a001c32a23677a1ee6da5b6d43e20e4d1e36e
+DIST cheetah3-3.2.6.tar.gz 2481158 BLAKE2B 
cb8ad192ae9caf0d1284294b323cf4a918cd2fc951bae25867d69a3dd7933728056b76fbf52a22d34f290056a96cce7d9ccbeb2404f2f0bb782f8db8b7453e47
 SHA512 
abf74def695018a79cb1364f60e402e7e0095a4d2f069decfbddf42501d865b70451ebc7b52abc67aa23e57276d7a3b8c2894a9571876e15db43cd1358f74d31

diff --git a/dev-python/cheetah3/cheetah3-3.2.6.ebuild 
b/dev-python/cheetah3/cheetah3-3.2.6.ebuild
new file mode 100644
index 000..fecc1a523dd
--- /dev/null
+++ b/dev-python/cheetah3/cheetah3-3.2.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+inherit distutils-r1
+
+DESCRIPTION="Python-powered template engine and code generator"
+HOMEPAGE="http://www.cheetahtemplate.org/ https://pypi.org/project/Cheetah3/;
+SRC_URI="https://github.com/CheetahTemplate3/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm64 ~x86"
+SLOT="0"
+
+RDEPEND="
+   dev-python/markdown[${PYTHON_USEDEP}]
+   !dev-python/cheetah
+"
+BDEPEND="${RDEPEND}"
+
+DOCS=( ANNOUNCE.rst README.rst TODO )
+
+python_prepare_all() {
+   # Disable broken tests.
+   sed \
+   -e "/Unicode/d" \
+   -e "s/if not sys.platform.startswith('java'):/if False:/" \
+   -e "/results =/a\\sys.exit(not results.wasSuccessful())" \
+   -i Cheetah/Tests/Test.py || die "sed failed"
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cp -r "${S}/Cheetah/Tests/ImportHooksTemplates" \
+   "${BUILD_DIR}/lib/Cheetah/Tests/ImportHooksTemplates" || die
+
+   "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-helpers-namespace/

2020-10-30 Thread Patrick McLean
commit: f3c456c68cbfab096ca49490f7e5afa4a7f3f90c
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:50:47 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c456c6

dev-python/pytest-helpers-namespace-2019.1.8-r1: add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 .../pytest-helpers-namespace-2019.1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2019.1.8-r1.ebuild
 
b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2019.1.8-r1.ebuild
index 763a915fa39..5cbfb5cf8e2 100644
--- 
a/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2019.1.8-r1.ebuild
+++ 
b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2019.1.8-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 inherit distutils-r1
 
 DESCRIPTION="Provides a helpers pytest namespace"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-tempdir/

2020-10-30 Thread Patrick McLean
commit: 56b4e13e85a7ad51b196ed2c33b06bdb6d4df477
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:15:31 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b4e13e

dev-python/pytest-tempdir-2019.10.12: add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild 
b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild
index e0e8e6dbdee..80bba9e7ef5 100644
--- a/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild
+++ b/dev-python/pytest-tempdir/pytest-tempdir-2019.10.12.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 inherit distutils-r1
 
 DESCRIPTION="Pytest plugin to support for a predictable and repeatable 
temporary directory"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-salt-factories/

2020-10-30 Thread Patrick McLean
commit: 960f8f490125d1955fc5637435bab69895d64ffc
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:17:28 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960f8f49

dev-python/pytest-salt-factories-0.94.4: bump, add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-salt-factories/Manifest  |  1 +
 .../pytest-salt-factories-0.94.4.ebuild| 37 ++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-salt-factories/Manifest 
b/dev-python/pytest-salt-factories/Manifest
index af8b1dec4dd..ebba53b1328 100644
--- a/dev-python/pytest-salt-factories/Manifest
+++ b/dev-python/pytest-salt-factories/Manifest
@@ -1 +1,2 @@
 DIST pytest-salt-factories-0.92.0.tar.gz 112049 BLAKE2B 
054ec70df87bb1c1ccd4217ddf66b1efa1329d95c72cc40a633b5516afbe5bc80b4210560438e039def40a5c4aec3730a36f83c7911fd3a12a7bd5d33d388986
 SHA512 
308a446c870528437967eb5b3167861818311683dd9c4f55af8aa1766cde29ab438e5bf0ba922933d893f1a5469af4b827c422e59adb12cb2b422302550dfdd5
+DIST pytest-salt-factories-0.94.4.tar.gz 117281 BLAKE2B 
9b42dbf4329fe2afd875de55e96604896c6f46d3c3736b644466dd5db6091cf5b9b1d2188c0e0a22b4b15a227dfacc7692ea6499aa7f58ce6adb9b802f00b1f7
 SHA512 
5c670aa7dd64441b1bd3a188335a35be00d7406bc8d76f9a1213cc3414061c3dfc51a9319008c29c83fb5abec1d7b677aec76ac4b9c00adcd878ef6da599041a

diff --git 
a/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild 
b/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild
new file mode 100644
index 000..4568ef158e6
--- /dev/null
+++ b/dev-python/pytest-salt-factories/pytest-salt-factories-0.94.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
+
+DESCRIPTION="The new generation of the pytest-salt Plugin"
+HOMEPAGE="https://github.com/saltstack/pytest-salt-factories;
+SRC_URI="https://github.com/saltstack/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   >=dev-python/pytest-6.1.1[${PYTHON_USEDEP}]
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/pytest-tempdir[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/pyzmq[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+   test? ( >=app-admin/salt-3000.0[${PYTHON_USEDEP}] )
+"
+
+# pytest just bombs
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/pytest-salt-factories-0.92.0-setup.patch"
+)
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/libnacl/files/, dev-python/libnacl/

2020-10-30 Thread Patrick McLean
commit: 95563b148779afd817bc4a2814224790d0089c55
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:47:09 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95563b14

dev-python/libnacl-1.7.1: Version bump, add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/libnacl/Manifest   |  1 +
 dev-python/libnacl/files/libnacl-1.7.1-py39.patch | 35 +++
 dev-python/libnacl/libnacl-1.7.1.ebuild   | 25 
 3 files changed, 61 insertions(+)

diff --git a/dev-python/libnacl/Manifest b/dev-python/libnacl/Manifest
index 5a13ab7a786..8ac4bfadb5b 100644
--- a/dev-python/libnacl/Manifest
+++ b/dev-python/libnacl/Manifest
@@ -1 +1,2 @@
 DIST libnacl-1.6.1.tar.gz 39789 BLAKE2B 
7c73f67d4faec8d6e53df21eb3c394d4f36754cd9ad1dfa63ef45aab43bb1832cace7446688b2b29b9923539e00d59f3a78c719b8b8770b2c6c217db19dd2f6d
 SHA512 
90fd9302cdfbe84acfc7dff0ac95eeb05fd1bb346cd8b220613174d5d1ae5f627be06b4d588fd4a939c49a119ca557d68a06d3cbe1c0d409a253fdca96d944ac
+DIST libnacl-1.7.1.tar.gz 43232 BLAKE2B 
4b6d1434280b548740c873ebbf0eec2a85ca67f1fdb5ebfaf27e2ca3673e7d9175f4427e9d3c84b210094e3ad0248d7c1c1db978ae8e977fcebaf20e6e3f719c
 SHA512 
4beb6a5f30688ea72836512f771c566f2c0c03bbdeade4f4135b3068945a3b3e0da826f97a78f495887e852c36629ddb33e876696263404e74fac11e3b7bc9e9

diff --git a/dev-python/libnacl/files/libnacl-1.7.1-py39.patch 
b/dev-python/libnacl/files/libnacl-1.7.1-py39.patch
new file mode 100644
index 000..62fc1e30258
--- /dev/null
+++ b/dev-python/libnacl/files/libnacl-1.7.1-py39.patch
@@ -0,0 +1,35 @@
+commit 53c1576b21b53156fc30d357b40c88c7eefb50de
+Author: Karthikeyan Singaravelan 
+Date:   Thu Jan 30 22:22:58 2020 +0530
+
+Remove encoding parameter json.loads for Python 3.9 compatibility.
+
+diff --git a/libnacl/utils.py b/libnacl/utils.py
+index 412d518..e06e078 100644
+--- a/libnacl/utils.py
 b/libnacl/utils.py
+@@ -1,6 +1,7 @@
+ # -*- coding: utf-8 -*-
+ 
+ import struct
++import sys
+ import time
+ 
+ # Import nacl libs
+@@ -31,7 +32,10 @@ def load_key(path_or_file, serial='json'):
+ key_data = msgpack.load(stream)
+ elif serial == 'json':
+ import json
+-key_data = json.loads(stream.read(), encoding='UTF-8')
++if sys.version_info[0] >= 3:
++key_data = json.loads(stream.read())
++else:
++key_data = json.loads(stream.read(), encoding='UTF-8')
+ finally:
+ if stream != path_or_file:
+ stream.close()
+@@ -95,4 +99,3 @@ def time_nonce():
+ '''
+ nonce = rand_nonce()
+ return (struct.pack('=d', time.time()) + nonce)[:len(nonce)]
+-

diff --git a/dev-python/libnacl/libnacl-1.7.1.ebuild 
b/dev-python/libnacl/libnacl-1.7.1.ebuild
new file mode 100644
index 000..4021fa51ab3
--- /dev/null
+++ b/dev-python/libnacl/libnacl-1.7.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=(python3_{6..9})
+inherit distutils-r1
+
+DESCRIPTION="Python ctypes wrapper for libsodium"
+HOMEPAGE="https://libnacl.readthedocs.org/;
+SRC_URI="https://github.com/saltstack/libnacl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/libsodium"
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/libnacl-1.7.1-py39.patch"
+)
+
+python_test() {
+   "${EPYTHON}" -m unittest discover -v -p 'test_*.py' tests/ || die 
"Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-xmlsec/

2020-10-30 Thread Patrick McLean
commit: 353e49c879d39e57a32317feafb4830586b3ca86
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:06:18 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=353e49c8

dev-python/python-xmlsec-1.3.9: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/python-xmlsec/Manifest  |  1 +
 .../python-xmlsec/python-xmlsec-1.3.9.ebuild   | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/python-xmlsec/Manifest 
b/dev-python/python-xmlsec/Manifest
index 451f1a662f1..296d3fa8ccc 100644
--- a/dev-python/python-xmlsec/Manifest
+++ b/dev-python/python-xmlsec/Manifest
@@ -1 +1,2 @@
 DIST python-xmlsec-1.3.8.tar.gz 71522 BLAKE2B 
d5a35a11c0664ba8ef191db1cbd57abbae2a38a404ae1474fcdc553c6a85c8c96a976c2f4b2ecdab59d9f1b26987a5feaa17851750a83d901deb3c2c47046ebf
 SHA512 
db1a80443b0f86f84eb6256a9d67827da023b989c6b24cdfc0588b34c7a120071758ccc7b21b0b105f0a6e879a4769a325794b8db82c0c41ec12004cd7ea185c
+DIST python-xmlsec-1.3.9.tar.gz 75465 BLAKE2B 
32aa8bcc2a17e1164fab6ebf37b47ad64bf8164a5d5cc5929571c32715e37d22143f996afc75c8a73a08e0a0a07d74ce1f8e405731260c1bcdb26c7ccb5faf25
 SHA512 
3c212c409430297a85316e0c4f7f704be112dfda323fd0300b7d70de812d90dd4681c6a5a3cc0314d1937ebc4f8e012fac7f787bccdfb2dc699d5d6f17316b38

diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.9.ebuild 
b/dev-python/python-xmlsec/python-xmlsec-1.3.9.ebuild
new file mode 100644
index 000..d7fb49b6a09
--- /dev/null
+++ b/dev-python/python-xmlsec/python-xmlsec-1.3.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the XML Security Library"
+HOMEPAGE="https://github.com/mehcode/python-xmlsec;
+SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND="
+   dev-libs/xmlsec:=
+"
+RDEPEND="${DEPEND}
+   dev-python/lxml[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+"
+
+# tests fail, has been reported upstream
+# https://github.com/mehcode/python-xmlsec/issues/84
+RESTRICT=test
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e "s:use_scm_version=.*:version='${PV}',:" \
+   -e "/setup_requires/ d" \
+   -i setup.py || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/salt/files/, app-admin/salt/

2020-10-30 Thread Patrick McLean
commit: 5b526a1d6b0fff6bf8834b27adc4b4e08e3e2ebb
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 01:36:31 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b526a1d

app-admin/salt-3002: Version bump (bug #750815)

Closes: https://bugs.gentoo.org/750815
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 app-admin/salt/Manifest|   1 +
 .../files/salt-3002-dont-realpath-on-tmpdir.patch  |  38 +
 app-admin/salt/files/salt-3002-tests.patch |  27 +++
 app-admin/salt/salt-3002.ebuild| 183 +
 4 files changed, 249 insertions(+)

diff --git a/app-admin/salt/Manifest b/app-admin/salt/Manifest
index 4f594f7a094..e98dc8130cb 100644
--- a/app-admin/salt/Manifest
+++ b/app-admin/salt/Manifest
@@ -3,3 +3,4 @@ DIST salt-3000.2-py38-misc.patch.gz 6250 BLAKE2B 
68fff80a042e6bf208ea2d9692da7a7
 DIST salt-3000.2.tar.gz 15231513 BLAKE2B 
2090d0f52f953a42f1685ad190750e9c76ad6e862a3272444fef063a7605f69a6c542f04165a41fb9cdaa126a878cc133d4857faa70edc5eac4bf49bdde937ab
 SHA512 
88e8876ed8cd18e942c2194686cda68f40fa49e69e317ca488bf58e095bcf6cdf8771d93eba7960038941cc5863e13a4eea4dad5256c12da7cd8288a2c61f59d
 DIST salt-3000.3.tar.gz 15237557 BLAKE2B 
ab51e07f56f9e02c47da58fad95c9482ea70e0685996a78e34382eadb3a9a3dace63ef65d643a9de284ea00c34785eae631d033f32e00e59eb3639514459af33
 SHA512 
a4697da9a2f7d484b72145e8b83f6d9032369f87e2e7119a9d51f59b989488285406543f79142fc686c41c144f5878eefba37927137581c892c88f03fc3a8208
 DIST salt-3001.1.tar.gz 14556156 BLAKE2B 
3088955a07b6ff95588f5b6235e0bae9cea366e957e026bacd228af9f1ed500f88f7fb543833f2398d64fe7e4546f0f29d7c65362464097bf89424174e76c954
 SHA512 
d59b6c3580d3379192f36e462385c74b53b0b385e63b3db7734003d0a71df8f88593a59eeccd86b1dc15800e46d050094e7a88f2636673770ddc952d0110ca29
+DIST salt-3002.tar.gz 15741439 BLAKE2B 
7463cfe558515697177fedb25fdf9f2e2819b62e3a96c8196b4243a4f2a59a202ac5a3869138b2df00fb47238329ba102396b464379f09d2a79c8c0a672638fb
 SHA512 
7a3ed78b301e9c1ef65c8e6aeeaebc2376b3942e94e38b0591860fa1d9213c6c0f85db4d932b4c7c9d20717027a686690973d0dfd2aff17f44abae0ec0e97d31

diff --git a/app-admin/salt/files/salt-3002-dont-realpath-on-tmpdir.patch 
b/app-admin/salt/files/salt-3002-dont-realpath-on-tmpdir.patch
new file mode 100644
index 000..5ef68dcd180
--- /dev/null
+++ b/app-admin/salt/files/salt-3002-dont-realpath-on-tmpdir.patch
@@ -0,0 +1,38 @@
+diff --git a/tests/integration/files/file/base/_modules/runtests_helpers.py 
b/tests/integration/files/file/base/_modules/runtests_helpers.py
+index 3ee0e2da5f..5b462f0a9e 100644
+--- a/tests/integration/files/file/base/_modules/runtests_helpers.py
 b/tests/integration/files/file/base/_modules/runtests_helpers.py
+@@ -18,7 +18,7 @@ try:
+ from tests.support.runtests import RUNTIME_VARS
+ except ImportError:
+ # Salt SSH Tests
+-SYS_TMP_DIR = os.path.realpath(
++SYS_TMP_DIR = os.path.abspath(
+ # Avoid ${TMPDIR} and gettempdir() on MacOS as they yield a base path 
too long
+ # for unix sockets: ``error: AF_UNIX path too long``
+ # Gentoo Portage prefers ebuild tests are rooted in ${TMPDIR}
+diff --git a/tests/support/paths.py b/tests/support/paths.py
+index 5f28904858..26245fadf9 100644
+--- a/tests/support/paths.py
 b/tests/support/paths.py
+@@ -48,14 +48,12 @@ if TESTS_DIR not in sys.path:
+ sys.path.insert(1, TESTS_DIR)
+ 
+ SYS_TMP_DIR = os.path.abspath(
+-os.path.realpath(
+-# Avoid ${TMPDIR} and gettempdir() on MacOS as they yield a base path 
too long
+-# for unix sockets: ``error: AF_UNIX path too long``
+-# Gentoo Portage prefers ebuild tests are rooted in ${TMPDIR}
+-os.environ.get("TMPDIR", tempfile.gettempdir())
+-if not sys.platform.startswith("darwin")
+-else "/tmp"
+-)
++# Avoid ${TMPDIR} and gettempdir() on MacOS as they yield a base path too 
long
++# for unix sockets: ``error: AF_UNIX path too long``
++# Gentoo Portage prefers ebuild tests are rooted in ${TMPDIR}
++os.environ.get("TMPDIR", tempfile.gettempdir())
++if not sys.platform.startswith("darwin")
++else "/tmp"
+ )
+ TMP = os.path.join(SYS_TMP_DIR, "salt-tests-tmpdir")
+ TMP_ROOT_DIR = os.path.join(TMP, "rootdir")

diff --git a/app-admin/salt/files/salt-3002-tests.patch 
b/app-admin/salt/files/salt-3002-tests.patch
new file mode 100644
index 000..88e1ce59056
--- /dev/null
+++ b/app-admin/salt/files/salt-3002-tests.patch
@@ -0,0 +1,27 @@
+diff --git a/tests/unit/utils/test_verify.py b/tests/unit/utils/test_verify.py
+index 5662cf621b..16aa6d08da 100644
+--- a/tests/unit/utils/test_verify.py
 b/tests/unit/utils/test_verify.py
+@@ -329,6 +329,7 @@ class TestVerifyLog(TestCase):
+ self.assertTrue(os.path.exists(path))
+ 
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/python-ldap/

2020-10-30 Thread Patrick McLean
commit: fc03ea787b944713b1edd903fb553a1ad915dcc0
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:53:10 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc03ea78

dev-python/python-ldap: add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/python-ldap/python-ldap-3.3.1.ebuild | 2 +-
 dev-python/python-ldap/python-ldap-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-ldap/python-ldap-3.3.1.ebuild 
b/dev-python/python-ldap/python-ldap-3.3.1.ebuild
index 7d0e119b94b..2253b09dab6 100644
--- a/dev-python/python-ldap/python-ldap-3.3.1.ebuild
+++ b/dev-python/python-ldap/python-ldap-3.3.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
 
 inherit distutils-r1
 

diff --git a/dev-python/python-ldap/python-ldap-.ebuild 
b/dev-python/python-ldap/python-ldap-.ebuild
index 7d0e119b94b..2253b09dab6 100644
--- a/dev-python/python-ldap/python-ldap-.ebuild
+++ b/dev-python/python-ldap/python-ldap-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/raet/

2020-10-30 Thread Patrick McLean
commit: ebe3f2254d503732d387d2d1a96d983aae4183f1
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:54:57 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe3f225

dev-python/raet-0.6.8-r1: add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/raet/raet-0.6.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/raet/raet-0.6.8-r1.ebuild 
b/dev-python/raet/raet-0.6.8-r1.ebuild
index 4ceac99cd6a..ee437165225 100644
--- a/dev-python/raet/raet-0.6.8-r1.ebuild
+++ b/dev-python/raet/raet-0.6.8-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=(python3_{7,8})
+PYTHON_COMPAT=(python3_{7..9})
 inherit distutils-r1
 
 DESCRIPTION="Reliable Asynchronous Event Transport Protocol"



[gentoo-commits] repo/gentoo:master commit in: dev-python/ioflo/

2020-10-30 Thread Patrick McLean
commit: 0b69939e88f6a0c80a0066773e7c30d9bbe33562
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 00:34:49 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b69939e

dev-python/ioflo-2.0.2: Version bump, add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/ioflo/Manifest   |  1 +
 dev-python/ioflo/ioflo-2.0.2.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/ioflo/Manifest b/dev-python/ioflo/Manifest
index ece45348115..dd9dd0b06b0 100644
--- a/dev-python/ioflo/Manifest
+++ b/dev-python/ioflo/Manifest
@@ -1 +1,2 @@
 DIST ioflo-2.0.0.tar.gz 838200 BLAKE2B 
876a38df5e6fb953eef6e65bb793fa975a4fed8d4f698029e26747a4887a449bcf5cc5c9fcce081f9b93faeb34d0f783b2f81e17ec619d7ca95810762eae810d
 SHA512 
b4b70aef65cffe067d7563682a2cbeac0a07cd4722aa2de8fb56fd127c99df771dc5d3d22be24aadd628a26fd1b7407db684ea7257b45eba8f8376f4ad226a87
+DIST ioflo-2.0.2.tar.gz 837382 BLAKE2B 
1fe878c8a9a47a9be5083e392e15256f1a566433b4341e2ee234e84332bb72af0c426d04c77ccace33cfb05664745caaa63e910913c3d63bbb2e5d8360a1ec90
 SHA512 
7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b

diff --git a/dev-python/ioflo/ioflo-2.0.2.ebuild 
b/dev-python/ioflo/ioflo-2.0.2.ebuild
new file mode 100644
index 000..ee37a8b9765
--- /dev/null
+++ b/dev-python/ioflo/ioflo-2.0.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{7..9})
+inherit distutils-r1
+
+DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework"
+HOMEPAGE="https://github.com/ioflo/ioflo/;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   $(python_gen_cond_dep '>=dev-lang/python-3.7.4' python3_7)
+"
+BDEPEND="${RDEPEND}
+   test? (
+   dev-python/pytest-salt-factories[${PYTHON_USEDEP}]
+   app-admin/salt[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/ioflo-1.7.8-network-test.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e 's:"setuptools_git[^"]*",::' -i setup.py || die
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yappi/, dev-python/yappi/files/

2020-10-30 Thread Patrick McLean
commit: e4ec5a9407ba0bbc1172432a5e10e579e9e395b2
Author: Patrick McLean  sony  com>
AuthorDate: Sat Oct 31 01:11:57 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Oct 31 01:36:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ec5a94

dev-python/yappi-1.3.0: Version bump, add py39

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/yappi/Manifest  |  1 +
 dev-python/yappi/files/yappi-1.3.0-tests.patch | 12 +
 dev-python/yappi/yappi-1.3.0.ebuild| 35 ++
 3 files changed, 48 insertions(+)

diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest
index 8a01e41fcc0..bd655310b9c 100644
--- a/dev-python/yappi/Manifest
+++ b/dev-python/yappi/Manifest
@@ -1 +1,2 @@
 DIST yappi-1.2.5.tar.gz 928100 BLAKE2B 
1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3
 SHA512 
ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353
+DIST yappi-1.3.0.tar.gz 928100 BLAKE2B 
1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3
 SHA512 
ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353

diff --git a/dev-python/yappi/files/yappi-1.3.0-tests.patch 
b/dev-python/yappi/files/yappi-1.3.0-tests.patch
new file mode 100644
index 000..866db78fac1
--- /dev/null
+++ b/dev-python/yappi/files/yappi-1.3.0-tests.patch
@@ -0,0 +1,12 @@
+diff -ur a/tests/test_functionality.py b/tests/test_functionality.py
+--- a/tests/test_functionality.py  2020-04-27 12:57:09.0 -0700
 b/tests/test_functionality.py  2020-10-30 18:08:35.619553108 -0700
+@@ -338,7 +338,7 @@
+ fsa = utils.find_stat_by_name(stats, "a")
+ self.assertEqual(fsa.module, os.path.basename(fsa.module))
+ 
+-@unittest.skipIf(os.name == "nt", "do not run on Windows")
++@unittest.skip("does not like ebuild environment")
+ def test_run_as_script(self):
+ import re
+ p = subprocess.Popen(

diff --git a/dev-python/yappi/yappi-1.3.0.ebuild 
b/dev-python/yappi/yappi-1.3.0.ebuild
new file mode 100644
index 000..6b63a3df849
--- /dev/null
+++ b/dev-python/yappi/yappi-1.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=(python3_{7..9})
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+# no tags on github, no tests on pypi
+COMMIT_HASH="b6c7d9f0bb40b511f61bb82cc395ad9140a4f4b0"
+
+DESCRIPTION="Yet Another Python Profiler"
+HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi;
+SRC_URI="https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT_HASH}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+#RDEPEND="
+#  $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' 
'python3_6')
+#"
+
+distutils_enable_tests unittest
+
+PATCHES=(
+   "${FILESDIR}/yappi-1.2.5-warnings.patch"
+   "${FILESDIR}/yappi-1.3.0-tests.patch"
+)
+
+python_prepare_all() {
+   cp tests/utils.py "${S}" || die
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-sound/wlavu/

2020-10-30 Thread Haelwenn Monnier
commit: a94c2039f362eea3d2f1db4b99b7c6f6c07e6603
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Oct 31 01:07:36 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Oct 31 01:07:36 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a94c2039

media-sound/wlavu: New package

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 media-sound/wlavu/metadata.xml  |  8 
 media-sound/wlavu/wlavu-.ebuild | 21 +
 2 files changed, 29 insertions(+)

diff --git a/media-sound/wlavu/metadata.xml b/media-sound/wlavu/metadata.xml
new file mode 100644
index ..c698af23
--- /dev/null
+++ b/media-sound/wlavu/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cont...@hacktivis.me
+   Haelwenn (lanodan) Monnier
+   
+

diff --git a/media-sound/wlavu/wlavu-.ebuild 
b/media-sound/wlavu/wlavu-.ebuild
new file mode 100644
index ..e7cf0242
--- /dev/null
+++ b/media-sound/wlavu/wlavu-.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3 meson
+
+DESCRIPTION="Wayland-based ALSA VU-meter with peaking and optionnal support 
for wlr-layer-shell"
+HOMEPAGE="https://git.sr.ht/~kennylevinsen/wlavu;
+EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/wlavu;
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+   media-libs/alsa-lib
+   media-libs/freeglut
+   media-libs/mesa
+   dev-libs/wayland
+"
+RDEPEND="${DEPEND}"



[gentoo-commits] repo/proj/guru:dev commit in: media-sound/tavu/

2020-10-30 Thread Haelwenn Monnier
commit: 03fa2b02b17a17549ec0bd101faa7a78bc4b43cb
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Oct 31 01:07:42 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Oct 31 01:07:42 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03fa2b02

media-sound/tavu: New package

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 media-sound/tavu/metadata.xml |  8 
 media-sound/tavu/tavu-.ebuild | 16 
 2 files changed, 24 insertions(+)

diff --git a/media-sound/tavu/metadata.xml b/media-sound/tavu/metadata.xml
new file mode 100644
index ..c698af23
--- /dev/null
+++ b/media-sound/tavu/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cont...@hacktivis.me
+   Haelwenn (lanodan) Monnier
+   
+

diff --git a/media-sound/tavu/tavu-.ebuild 
b/media-sound/tavu/tavu-.ebuild
new file mode 100644
index ..de33a5af
--- /dev/null
+++ b/media-sound/tavu/tavu-.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3 meson
+
+DESCRIPTION="Terminal-based ALSA VU-meter with peaking"
+HOMEPAGE="https://git.sr.ht/~kennylevinsen/tavu;
+EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/tavu;
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="media-libs/alsa-lib"
+RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/markdown2/

2020-10-30 Thread Louis Sautier
commit: a1c5d780972c68862d1f36afa6a2636cfaf57295
Author: Andreas Zuber  gmx  ch>
AuthorDate: Thu Oct 29 08:54:01 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sat Oct 31 01:04:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c5d780

dev-python/markdown2: add Python 3.9 and PyPy3 support

Also use a more standard SRC_URI.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas Zuber  gmx.ch>
Closes: https://github.com/gentoo/gentoo/pull/18067
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/markdown2/markdown2-2.3.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/markdown2/markdown2-2.3.10.ebuild 
b/dev-python/markdown2/markdown2-2.3.10.ebuild
index 9ed8c181099..6cbc3ac5260 100644
--- a/dev-python/markdown2/markdown2-2.3.10.ebuild
+++ b/dev-python/markdown2/markdown2-2.3.10.ebuild
@@ -3,12 +3,12 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
 
 inherit distutils-r1
 
 DESCRIPTION="Python Markdown language reimplementation"
-SRC_URI="mirror://pypi/m/markdown2/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 HOMEPAGE="https://github.com/trentm/python-markdown2;
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/hyperfine/

2020-10-30 Thread Georgy Yakovlev
commit: c38024f74b932c57b6653d5bdec28983700c205a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Oct 31 00:52:16 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 31 00:52:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38024f7

app-benchmarks/hyperfine: new package, benchmark runner

replacement for 'time command args' style of benchmarking.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 app-benchmarks/hyperfine/Manifest|  75 +
 app-benchmarks/hyperfine/hyperfine-1.11.0.ebuild | 100 +++
 app-benchmarks/hyperfine/metadata.xml|   8 ++
 3 files changed, 183 insertions(+)

diff --git a/app-benchmarks/hyperfine/Manifest 
b/app-benchmarks/hyperfine/Manifest
new file mode 100644
index 000..bed0b694ba2
--- /dev/null
+++ b/app-benchmarks/hyperfine/Manifest
@@ -0,0 +1,75 @@
+DIST ansi_term-0.11.0.crate 17087 BLAKE2B 
9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4
 SHA512 
a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
+DIST approx-0.3.2.crate 14288 BLAKE2B 
601eb7b83c6f0e41a4d64db5669b7058b4038319414bde74761f0b1584baf8426f9735cd0076d1dde829a056a07e8f820d85737e5b1bf371d9510551c367025c
 SHA512 
3853684c3b1c5c63204304f2e4f1c673b92311125c1df0fc16e96bd6f765e8266079e8d4ec3c85fad933361638c7515d5be18a2fc551353c4097051d0bd96ae3
+DIST atty-0.2.14.crate 5470 BLAKE2B 
2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab
 SHA512 
d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+DIST autocfg-0.1.7.crate 12158 BLAKE2B 
4120306f0f7c1cc0cf8d1d994c080cbf42e4b107cb51af910504c8c8d264289654dad23a0c6b9eb28d888157e5a68ef2460c3d38537ae9d5e9bf73b66ffc3015
 SHA512 
667ca520f2b46140d2f3519b43e5155426a6e7a2130879860eb10b974f84465600077f53abed4c0e6bf2612471f01786bfb3531ea8773d0f50f29d48e05f7925
+DIST autocfg-1.0.1.crate 12908 BLAKE2B 
40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a
 SHA512 
630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+DIST bitflags-1.2.1.crate 16745 BLAKE2B 
0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b
 SHA512 
ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
+DIST bstr-0.2.13.crate 345445 BLAKE2B 
9a17fa04d55e5d053b115aef2a075b58cab0fb84c574df61eec7c3ab6f06e17d156991b1c070ad357599de5455af78982eecb8632336d53792958800ecafe839
 SHA512 
f1f778262269dfea6ba1cf953a5177107c2e1e838248a67588283ee11efa81adfa30498c7cfb20422e0955544a07d2a8f86c4eefc78e9f407a92be9591e26fe5
+DIST byteorder-1.3.4.crate 21943 BLAKE2B 
278b24e036e920f84683f883991a967d997883bc80edefc5b69f52551794a37e5051786a1ac1b7a30bf2f5cad7318d781f189a7b2e496e2743df01262d5c33d6
 SHA512 
0618ce2cd6f3f6c586201d9aee8c8aaa08f99c9f9f215cf448b3cb6af1ac741845f5279953544caaec7fcf0beec1474bb991bee1ad0c0dac0c3f1d3ddd99e2d9
+DIST cfg-if-0.1.10.crate 7933 BLAKE2B 
063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8
 SHA512 
9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339
+DIST clap-2.33.3.crate 201925 BLAKE2B 
bec9c866481c5b3fddeb314f68af9bce38fc421e42816182de3209e8ea3447b72cf033e6251eea27fe974eff8085b7d98cdd2911b5cc0ec6b4bf4c750deb8a25
 SHA512 
3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
+DIST cloudabi-0.0.3.crate 22156 BLAKE2B 
e12054fd474754031f8f5038d5e2829e1586db974d38230cfd8774db591a58dfdcaea9fb61fc0b35366889d348b2c73ceaabbb462f1abeeffeaab167013c986f
 SHA512 
691ed793e9b35ba382f03897f4c0efc31a528394862a27b814ba8993ad30bbe0ebc9808484baf580e8b69d9c13ad1612776a1efd0f6981545b420139ff83592c
+DIST colored-2.0.0.crate 21619 BLAKE2B 
5abcc05a95cd74a106c4e4f3c9b1722a7a9493c7d16c2d73f2a116d1d0d20f93d00c414a19871930e6286aa60cdcb0f4f4411ae059e7e76b7632cfca3a55ebe9
 SHA512 
c9ee830c1e8a32372ab8c7ce569701deaa6533fa369fc1b4c04bed57b1e686ed775fc76c3d9815ad21ee69cfc7c30d645abcbacad39081c7e37ff83ebb6d9e8a
+DIST console-0.12.0.crate 21278 BLAKE2B 
ee79ab5478a6f49d4c42389f2e9d17a5fe97749728fa548330a49b0869e8d839576eb4fc3874c60b873a3de8be9bdb7f928da6303c2ab0e68e9381052abd9e82
 SHA512 
f35d40ef5f91d99eddaa498b8e043f884fd624afd39215a7f207ca79b99d9eb563b47595974af345ce68542d76d58da17c358ce60231bcb0a1dcb9da31f7c6c7
+DIST csv-1.1.3.crate 890849 

[gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/

2020-10-30 Thread Georgy Yakovlev
commit: 02022f11d28ef0041133ad3877182d9cddeb2de3
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Oct 31 00:25:04 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 31 00:38:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02022f11

media-libs/tg_owt: new package (webrtc for telegram-desktop)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 media-libs/tg_owt/Manifest|  1 +
 media-libs/tg_owt/metadata.xml|  8 +
 media-libs/tg_owt/tg_owt-0_pre20201030.ebuild | 47 +++
 3 files changed, 56 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
new file mode 100644
index 000..6b888ca56b1
--- /dev/null
+++ b/media-libs/tg_owt/Manifest
@@ -0,0 +1 @@
+DIST tg_owt-0_pre20201030.tar.gz 18391433 BLAKE2B 
518f1a0cba8615348b6757cc3d40c6f78c7ccfcb3943a39aef9ac712e1520b7d2c9b52419bb1f22966ee8210021d684df64e593403ee86a55bbf4622826a7bcb
 SHA512 
4f8c9fdcf3f5a2086bcb00c1434ab5c0ff398de99c32166e8479dc8482cf598ed20bcd93a98c92f30e0f0d16e1cee4dbe28d4cd21feb602fc937079d487326dd

diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml
new file mode 100644
index 000..efcd58fe0b9
--- /dev/null
+++ b/media-libs/tg_owt/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   gyakov...@gentoo.org
+   Georgy Yakovlev
+   
+

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild 
b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
new file mode 100644
index 000..0732044bf8e
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+TG_OWT_COMMIT="1d4f7d74ff1a627db6e45682efd0e3b85738e426"
+
+DESCRIPTION="WebRTC build for Telegram"
+HOMEPAGE="https://github.com/desktop-app/tg_owt;
+SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="pulseaudio"
+
+# some things from this list are bundled
+# work on unbundling in progress
+DEPEND="
+   dev-libs/openssl:=
+   media-libs/alsa-lib
+   media-libs/libjpeg-turbo:=
+   media-libs/libvpx:=
+   media-libs/openh264:=
+   media-libs/opus
+   media-video/ffmpeg:=
+   !pulseaudio? ( media-sound/apulse[sdk] )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig
+   amd64? ( dev-lang/yasm )
+"
+
+S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DTG_OWT_PACKAGED_BUILD=TRUE
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libtgvoip/

2020-10-30 Thread Georgy Yakovlev
commit: 705a5aec66df93b0d55e8538df0fd8177554bdad
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Oct 31 00:22:37 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 31 00:38:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=705a5aec

media-libs/libtgvoip: bump to 20201030 snapshot

added pulseaudio flag back for forcing consistent headers

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 media-libs/libtgvoip/Manifest  |  1 +
 .../libtgvoip/libtgvoip-2.4.4_p20201030.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest
index 4045bbc7ba3..77cc97e2fab 100644
--- a/media-libs/libtgvoip/Manifest
+++ b/media-libs/libtgvoip/Manifest
@@ -1,2 +1,3 @@
 DIST libtgvoip-2.4.4_p20200704.tar.gz 1090620 BLAKE2B 
27880d296eef108613cb9330344bfc133efcd7b3fc82b7e793cf623187ff491f44021d1a47703949a0b830ae50106ed2d5b41e26cb6f5849b69b836a592112ff
 SHA512 
8ce9b991e03a2b0fb9b71e04311151081b7c682f728ae7d50a88a87470249d9f6841b24df3264245c5027a06da004d9022bf3652c4f11d03b2058e00d895
 DIST libtgvoip-2.4.4_p20200818.tar.gz 1091068 BLAKE2B 
541b099a82bd628c027a546d9d3f979d3b46af9be09eaa9441ed78c2dc1588cf88f961848685a6e0d213c9dc17688e8ca5dd29a1510b0c49210cf81410159d7d
 SHA512 
d0b18720fb6453375bda56e29b3ef110598a308ff2ee8b358e0a7cfc1cc5161ad36ac2e0e6e9007fa191b5a4f3819a0170b4f53e211780b5916a8555f2599687
+DIST libtgvoip-2.4.4_p20201030.tar.gz 1091098 BLAKE2B 
81815a0c9c7f62175493af8f3f56064f6a6a0167351d4f8baf5c846744dc03d325c106dfafb49589702e4f461865e5528395f379142af49b8722f490fdd57d1b
 SHA512 
58dfd537c378c7e9772eab374f25b7d68d26b6db1f71bb9a88e6405e2f2e3cd0ebc2fc94733ce787288365ac9669fc50f8d5a3ab2f2900683c6399ca43172945

diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20201030.ebuild 
b/media-libs/libtgvoip/libtgvoip-2.4.4_p20201030.ebuild
new file mode 100644
index 000..ce73f74205b
--- /dev/null
+++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20201030.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic
+
+EGIT_COMMIT="fdabfb671d818d0d4d08cb1aeef6058d4a96882b"
+
+DESCRIPTION="VoIP library for Telegram clients"
+HOMEPAGE="https://github.com/telegramdesktop/libtgvoip;
+SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${EGIT_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="+dsp libressl pulseaudio"
+
+DEPEND="
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/opus:=
+   media-libs/alsa-lib
+   !pulseaudio? ( media-sound/apulse[sdk] )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+src_prepare() {
+   default
+   # https://bugs.gentoo.org/717210
+   echo 'libtgvoip_la_LIBTOOLFLAGS = --tag=CXX' >> Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --disable-static
+   --with-alsa
+   --with-pulse
+   $(use_enable dsp)
+   )
+   use dsp && append-cxxflags '-DTGVOIP_USE_DESKTOP_DSP_BUNDLED'
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-im/telegram-desktop/

2020-10-30 Thread Georgy Yakovlev
commit: c3c736765ca28c6e1feba858981b55c4aca8d040
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Oct 31 00:27:36 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 31 00:38:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c73676

net-im/telegram-desktop: bump to 2.4.5

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-im/telegram-desktop/Manifest   |   1 +
 .../telegram-desktop/telegram-desktop-2.4.5.ebuild | 160 +
 2 files changed, 161 insertions(+)

diff --git a/net-im/telegram-desktop/Manifest b/net-im/telegram-desktop/Manifest
index 21d78ca38a6..a45746ef696 100644
--- a/net-im/telegram-desktop/Manifest
+++ b/net-im/telegram-desktop/Manifest
@@ -1,4 +1,5 @@
 DIST tdesktop-2.1.13-full.tar.gz 36549505 BLAKE2B 
48514be8add4ad4491c8e81a868f140228787ee489de7cd90faf31dbee959b0fb87cf2c844bf98c5b62fd6de8e32f504a6d19b071c56e6a4c0cd489d7b283818
 SHA512 
f28ae7c8c9a9eb8094fc52784742b470235234a3df7487902152858bc7c297b2dcfe5c8b939cdb9653a356b3835609e7289f53cdf7d5fb3f009823d3dbeb1bd8
 DIST tdesktop-2.2.0-full.tar.gz 36612169 BLAKE2B 
dcc9d81da5d99552bea3139d595c7f1aca75464a19be34c880a93d27ddd8a58a01510efe8fde31104b13d50e34e944b05406e21bc96995e85cb95283ff8de08a
 SHA512 
2aeca83be7bc385bd7537d56ecf66996facedd0af588e743fedbb08c3158fc76436d6cf3b1fb5dd7c8d37b4471f739872ca54ba300aa1d0e0202e87c005703fd
 DIST tdesktop-2.4.4-full.tar.gz 36220573 BLAKE2B 
2c339e576cdc8877fee7966c34b3ea0119c547422c67af3252102a52de95b9b03c2ecee48a0e937cb1cac43262338aca9d90921012dec17dc4f9b6a9154c63c1
 SHA512 
db212cc9aef7de21e4e4fa30fdabb88224cda5ab164935de118cab507af730f5773602f8cd7acd83a53daa5bf35fe28fdb18fb192c01e2e484069a9ac69c7c57
+DIST tdesktop-2.4.5-full.tar.gz 36354189 BLAKE2B 
cdf31b5bc1c90e0714fe648929ee18aed29c3ff2b5e6f9dc96b4e9741267aae092415fd1b304a54b98e462a90375f8087d727d067b4865c7a8b3a89a68a59189
 SHA512 
d0c792fcd890a95b24233f37cdfc34008e814f6f0730722a41916e25d2efff405fd472bd6b45bbfc79787ed117dc5f87271c438d92ec1ce29335cabe76a1062e
 DIST tg_owt-c73a4718cbff7048373a63db32068482e5fd11ef.tar.gz 18389536 BLAKE2B 
467bc980c3fe924b8753153052126c209984884b43d2257b0a9ead4abd9b27c96c9b6f93b1e1345abde5a23feef8b40d05f75eb95fb215783ec8d775dbcc14eb
 SHA512 
b022e77bc3ebce0a42bd40f781b5ff2b8222f44c9ebacb8f6d5581fe04fa7bbb6faf29ee9a090da3aee322bc581feeab375b2ab6dd9aab084627327b191c1d7a

diff --git a/net-im/telegram-desktop/telegram-desktop-2.4.5.ebuild 
b/net-im/telegram-desktop/telegram-desktop-2.4.5.ebuild
new file mode 100644
index 000..953d5820864
--- /dev/null
+++ b/net-im/telegram-desktop/telegram-desktop-2.4.5.ebuild
@@ -0,0 +1,160 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake desktop flag-o-matic ninja-utils python-any-r1 xdg-utils
+
+MY_P="tdesktop-${PV}-full"
+
+DESCRIPTION="Official desktop client for Telegram"
+HOMEPAGE="https://desktop.telegram.org;
+SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${MY_P}.tar.gz;
+
+LICENSE="BSD GPL-3-with-openssl-exception LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="+dbus enchant +gtk +hunspell libressl lto pulseaudio +spell +X"
+
+RDEPEND="
+   !net-im/telegram-desktop-bin
+   app-arch/lz4:=
+   app-arch/xz-utils
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   dev-libs/xxhash
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5[dbus?,jpeg,png,wayland,X(-)?]
+   dev-qt/qtimageformats:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtsvg:5
+   dev-qt/qtwidgets:5[png,X(-)?]
+   media-fonts/open-sans
+   media-libs/alsa-lib
+   media-libs/fontconfig:=
+   media-libs/libjpeg-turbo:=
+   ~media-libs/libtgvoip-2.4.4_p20201030[pulseaudio=]
+   media-libs/openal[alsa]
+   media-libs/opus:=
+   ~media-libs/tg_owt-0_pre20201030[pulseaudio=]
+   media-video/ffmpeg:=[alsa,opus]
+   sys-libs/zlib[minizip]
+   virtual/libiconv
+   x11-libs/libxcb:=
+   dbus? (
+   dev-qt/qtdbus:5
+   dev-libs/libdbusmenu-qt[qt5(+)]
+   )
+   enchant? ( app-text/enchant:= )
+   gtk? (
+   dev-libs/glib:2
+   x11-libs/gdk-pixbuf:2[jpeg,X?]
+   x11-libs/gtk+:3[X?]
+   x11-libs/libX11
+   )
+   hunspell? ( >=app-text/hunspell-1.7:= )
+   !pulseaudio? ( media-sound/apulse[sdk] )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   ${RDEPEND}
+   dev-cpp/range-v3
+   =dev-cpp/ms-gsl-3*
+"
+
+BDEPEND="
+   >=dev-util/cmake-3.16
+   virtual/pkgconfig
+   amd64? ( dev-lang/yasm )
+"
+
+REQUIRED_USE="
+   spell? (
+   ^^ ( enchant hunspell )
+   )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if has 

[gentoo-commits] repo/gentoo:master commit in: dev-util/catalyst/

2020-10-30 Thread Matt Turner
commit: 62ec2589def0a1c18b415e558210c0d7123c93c9
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Oct 30 23:47:54 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 23:49:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ec2589

dev-util/catalyst: Check for SQUASHFS Kconfig options

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/catalyst/catalyst-.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-util/catalyst/catalyst-.ebuild 
b/dev-util/catalyst/catalyst-.ebuild
index 60587f23f48..27ca55eff34 100644
--- a/dev-util/catalyst/catalyst-.ebuild
+++ b/dev-util/catalyst/catalyst-.ebuild
@@ -76,7 +76,10 @@ RDEPEND="
 "
 
 pkg_setup() {
-   CONFIG_CHECK="~UTS_NS ~IPC_NS"
+   CONFIG_CHECK="
+   ~UTS_NS ~IPC_NS
+   ~SQUASHFS ~SQUASHFS_ZLIB
+   "
linux-info_pkg_setup
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/

2020-10-30 Thread Sergei Trofimovich
commit: 98e1ae8d190da19e52676156d08596551a5603bd
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 30 23:18:43 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 30 23:19:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e1ae8d

dev-util/rr: bump up to 5.4.0

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/rr/Manifest|  1 +
 dev-util/rr/rr-5.4.0.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest
index 7d7681e7438..e4a3bb12f97 100644
--- a/dev-util/rr/Manifest
+++ b/dev-util/rr/Manifest
@@ -1 +1,2 @@
 DIST mozilla-rr-5.3.0.tar.gz 1343557 BLAKE2B 
80ed2feb52fd34b424193902c02408443e5ae943a34d3fe8e75c4c813042c6dd7f39571924ce94aca558ea5f1630f9bda28bea9d5f7e2d429d772a85d3e3e7ad
 SHA512 
6ae37a3ced0c001208fb981abc18f02b912a2851564955dd8da364cb30d9580ea6c91bedbef6495da5d082954d4f261eeaea81df1e9895b4adf948e9998f4c2b
+DIST mozilla-rr-5.4.0.tar.gz 1434820 BLAKE2B 
8454304fa2ddf85fcd385d3d4e72b8963dc0f6804bf572db31654cdf5bfc8a3afd050380fe34d280264114467e9b973866384d75d6f8b7078affd51064e9f597
 SHA512 
69b029a29cf3c147f033ff4c1c67c6190f5163b4f7329306e5f0ccfe78cae4b6ae262602253772e83d5a55408c5a4d121e5a9b3530779de74adc34b81e2592c8

diff --git a/dev-util/rr/rr-5.4.0.ebuild b/dev-util/rr/rr-5.4.0.ebuild
new file mode 100644
index 000..e46b29249fe
--- /dev/null
+++ b/dev-util/rr/rr-5.4.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+CMAKE_BUILD_TYPE=Release
+
+inherit cmake linux-info python-single-r1
+
+DESCRIPTION="Record and Replay Framework"
+HOMEPAGE="https://rr-project.org/;
+SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> 
mozilla-${P}.tar.gz"
+
+LICENSE="MIT BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="multilib test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   sys-libs/zlib:=
+   dev-libs/capnproto:=
+   ${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+   sys-devel/gdb[xml]"
+# Add all the deps needed only at build/test time.
+DEPEND+="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/pexpect[${PYTHON_MULTI_USEDEP}]
+   ')
+   sys-devel/gdb[xml]
+   )"
+
+RESTRICT="test" # toolchain and kernel version dependent
+
+pkg_setup() {
+   if use kernel_linux; then
+   CONFIG_CHECK="SECCOMP"
+   linux-info_pkg_setup
+   fi
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   sed -i 's:-Werror::' CMakeLists.txt || die #609192
+}
+
+src_test() {
+   if has usersandbox ${FEATURES} ; then
+   ewarn "Test suite fails under FEATURES=usersandbox (bug 
#632394). Skipping."
+   return 0
+   fi
+
+   cmake_src_test
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test)
+   -Ddisable32bit=$(usex !multilib) #636786
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-crypt/ssss/

2020-10-30 Thread Conrad Kostecki
commit: c2b3f6534686c6e2e1b51839b50ea12de6432b5c
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Oct 30 22:28:03 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Oct 30 22:43:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b3f653

app-crypt/: bump to version 0.5.6

This version switches to a maintained fork, as other distributions
started to use that, which also fixes some bugs and the original author
doesn't have any plans to continue development.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-crypt//Manifest  |  1 +
 app-crypt//metadata.xml  |  3 +++
 app-crypt//-0.5.6.ebuild | 39 +++
 3 files changed, 43 insertions(+)

diff --git a/app-crypt//Manifest b/app-crypt//Manifest
index c24684b3ff8..d4b1b0f6c91 100644
--- a/app-crypt//Manifest
+++ b/app-crypt//Manifest
@@ -1 +1,2 @@
+DIST -0.5.6.tar.gz 20128 BLAKE2B 
d42fff5878e2ebcc62cd86b86f0f8a3e522c089cbb5e8fb2585cf375ff133da7d9ccf00e62cc6888e00abe5d64f87ac19ddbb3f6e6a0d86913e6a6aa5a8a1d4c
 SHA512 
964af01610a7a269d19ae1fa1712ef12ca1afab02636ba83dd84ec5aeb185210a1247d932ee39d2869aa76e54ffb051d802800d295d17355d6fe2a8010edd509
 DIST -0.5.tar.gz 17435 BLAKE2B 
76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e5b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1
 SHA512 
be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9

diff --git a/app-crypt//metadata.xml b/app-crypt//metadata.xml
index 51c92c834b2..caba2e85d1b 100644
--- a/app-crypt//metadata.xml
+++ b/app-crypt//metadata.xml
@@ -10,4 +10,7 @@
The program suite does both: the generation of shares for a 
known secret,
and the reconstruction of a secret using user-pro‐vided shares.

+   
+   MrJoy/
+   
 

diff --git a/app-crypt//-0.5.6.ebuild b/app-crypt//-0.5.6.ebuild
new file mode 100644
index 000..724f2c160f9
--- /dev/null
+++ b/app-crypt//-0.5.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Shamir's Secret Sharing Scheme"
+HOMEPAGE="https://github.com/MrJoy/;
+SRC_URI="https://github.com/MrJoy/${PN}/archive/releases/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-releases-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/gmp:0="
+DEPEND="${RDEPEND}"
+BDEPEND="app-doc/xmltoman"
+
+HTML_DOCS=( "doc.html" ".1.html" )
+
+src_prepare() {
+   default
+
+   tc-export CC
+
+   # Respect users [CL]FLAGS and don't strip, as portage does this part
+   sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile 
|| die
+}
+
+src_install() {
+   dobin -split
+   dosym -split /usr/bin/-combine
+
+   doman .1
+
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/stress-ng/files/, app-benchmarks/stress-ng/

2020-10-30 Thread Conrad Kostecki
commit: 5413fb9b87df58ec7bcf4922d9049f7c666d131a
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Oct 30 22:25:17 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Oct 30 22:43:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5413fb9b

app-benchmarks/stress-ng: drop old version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-benchmarks/stress-ng/Manifest  |  1 -
 .../files/stress-ng-0.11.17-makefile.patch | 61 --
 app-benchmarks/stress-ng/stress-ng-0.11.22.ebuild  | 41 ---
 3 files changed, 103 deletions(-)

diff --git a/app-benchmarks/stress-ng/Manifest 
b/app-benchmarks/stress-ng/Manifest
index 5aa29283411..f7ed2493196 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1,2 +1 @@
-DIST stress-ng-0.11.22.tar.xz 495692 BLAKE2B 
738883d59f4054d650de33f67ddf1e4a27625631e22295e3df00ba115d229a1f747e1b2948313beca55af160010683c20f4acad02eb2231c0a908af6534b266e
 SHA512 
1685c7eb675bae1f751d8dbeb20dcd4ce753c564524d773dd6a396ace83bd94558425a3557d7d8cb86b87fb9a477069f85b81aec41649db3ccee2a32422b2546
 DIST stress-ng-0.11.23.tar.xz 499540 BLAKE2B 
ccba08bdb756737e782f896fe364869e4f939f7c8e9d5a02f8138d85f3d1922740100a58d9652169735eab994ab89df331b97bb08b588a721a6b1a8511fab937
 SHA512 
1642e6ea8ee75e400d5ea4e40d61384f9a895cd489715be1107d6cd06eea2274ac0b32320cabe806d0f919efbea8061848d9c9c4bdc5980704e7a2db45c9be70

diff --git a/app-benchmarks/stress-ng/files/stress-ng-0.11.17-makefile.patch 
b/app-benchmarks/stress-ng/files/stress-ng-0.11.17-makefile.patch
deleted file mode 100644
index d3c5e93b007..000
--- a/app-benchmarks/stress-ng/files/stress-ng-0.11.17-makefile.patch
+++ /dev/null
@@ -1,61 +0,0 @@
 stress-ng-0.11.17.orig/Makefile2020-07-27 13:38:23.0 +0200
-+++ stress-ng-0.11.17/Makefile 2020-08-09 13:43:30.919796477 +0200
-@@ -21,7 +21,7 @@
- # Codename "synthetic system strainer"
- #
- 
--CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -std=gnu99
-+CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -std=gnu99
- 
- #
- # Pedantic flags
-@@ -358,12 +358,10 @@
- .o: stress-ng.h Makefile
- 
- .c.o:
--  @echo "CC $<"
--  @$(CC) $(CFLAGS) -c -o $@ $<
-+  $(CC) $(CFLAGS) -c -o $@ $<
- 
- stress-ng: $(OBJS)
--  @echo "LD $@"
--  @$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@
-+  $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@
-   @sync
- 
- makeconfig:
-@@ -384,7 +382,7 @@
-   sed '$$ s/.$$//' >> apparmor-data.c
-   @echo "};" >> apparmor-data.c
-   @echo "const size_t g_apparmor_data_len = sizeof(g_apparmor_data);" >> 
apparmor-data.c
--  @echo "CC $<"
-+  echo "CC $<"
-   @$(CC) -c apparmor-data.c -o apparmor-data.o
-   @rm -rf apparmor-data.c apparmor-data.bin
- 
-@@ -401,12 +399,12 @@
-   @$(CC) $(CFLAGS) -E core-perf-event.c | grep "PERF_COUNT" | \
-   sed 's/,/ /' | sed s/'^ *//' | \
-   awk {'print "#define _SNG_" $$1 " (1)"'} > core-perf-event.h
--  @echo CC $<
--  @$(CC) $(CFLAGS) -c -o $@ $<
-+  echo CC $<
-+  $(CC) $(CFLAGS) -c -o $@ $<
- 
- stress-vecmath.o: stress-vecmath.c
--  @echo CC $<
--  @$(CC) $(CFLAGS) -fno-builtin -c -o $@ $<
-+  echo CC $<
-+  $(CC) $(CFLAGS) -fno-builtin -c -o $@ $<
-   @touch stress-ng.c
- 
- $(OBJS): stress-ng.h Makefile
-@@ -459,7 +457,7 @@
-   mkdir -p ${DESTDIR}${BINDIR}
-   cp stress-ng ${DESTDIR}${BINDIR}
-   mkdir -p ${DESTDIR}${MANDIR}
--  cp stress-ng.1.gz ${DESTDIR}${MANDIR}
-+  cp stress-ng.1 ${DESTDIR}${MANDIR}
-   mkdir -p ${DESTDIR}${JOBDIR}
-   cp -rp example-jobs/*.job ${DESTDIR}${JOBDIR}
-   mkdir -p ${DESTDIR}${BASHDIR}

diff --git a/app-benchmarks/stress-ng/stress-ng-0.11.22.ebuild 
b/app-benchmarks/stress-ng/stress-ng-0.11.22.ebuild
deleted file mode 100644
index 3985c5e0570..000
--- a/app-benchmarks/stress-ng/stress-ng-0.11.22.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit optfeature toolchain-funcs
-
-DESCRIPTION="Stress test for a computer system with various selectable ways"
-HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/;
-SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-
-DEPEND="
-   dev-libs/libaio
-   dev-libs/libbsd
-   dev-libs/libgcrypt:0=
-   sys-apps/attr
-   sys-apps/keyutils:=
-   sys-libs/libcap
-   sys-libs/zlib
-"
-
-RDEPEND="${DEPEND}"
-
-DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
-
-PATCHES=( "${FILESDIR}/${PN}-0.11.17-makefile.patch" )
-
-src_compile() {
-   tc-export CC
-
-   default
-}
-
-pkg_postinst() {
-   optfeature "AppArmor support" sys-libs/libapparmor
-   

[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/stress-ng/, app-benchmarks/stress-ng/files/

2020-10-30 Thread Conrad Kostecki
commit: 52bc9443c8e57b964a8325a9209d851461bc8b69
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Oct 30 22:24:13 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Oct 30 22:43:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52bc9443

app-benchmarks/stress-ng: bump to version 0.11.23

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-benchmarks/stress-ng/Manifest  |  1 +
 .../files/stress-ng-0.11.23-makefile.patch | 60 ++
 app-benchmarks/stress-ng/stress-ng-0.11.23.ebuild  | 41 +++
 3 files changed, 102 insertions(+)

diff --git a/app-benchmarks/stress-ng/Manifest 
b/app-benchmarks/stress-ng/Manifest
index 1e292ca6e33..5aa29283411 100644
--- a/app-benchmarks/stress-ng/Manifest
+++ b/app-benchmarks/stress-ng/Manifest
@@ -1 +1,2 @@
 DIST stress-ng-0.11.22.tar.xz 495692 BLAKE2B 
738883d59f4054d650de33f67ddf1e4a27625631e22295e3df00ba115d229a1f747e1b2948313beca55af160010683c20f4acad02eb2231c0a908af6534b266e
 SHA512 
1685c7eb675bae1f751d8dbeb20dcd4ce753c564524d773dd6a396ace83bd94558425a3557d7d8cb86b87fb9a477069f85b81aec41649db3ccee2a32422b2546
+DIST stress-ng-0.11.23.tar.xz 499540 BLAKE2B 
ccba08bdb756737e782f896fe364869e4f939f7c8e9d5a02f8138d85f3d1922740100a58d9652169735eab994ab89df331b97bb08b588a721a6b1a8511fab937
 SHA512 
1642e6ea8ee75e400d5ea4e40d61384f9a895cd489715be1107d6cd06eea2274ac0b32320cabe806d0f919efbea8061848d9c9c4bdc5980704e7a2db45c9be70

diff --git a/app-benchmarks/stress-ng/files/stress-ng-0.11.23-makefile.patch 
b/app-benchmarks/stress-ng/files/stress-ng-0.11.23-makefile.patch
new file mode 100644
index 000..77687d2a114
--- /dev/null
+++ b/app-benchmarks/stress-ng/files/stress-ng-0.11.23-makefile.patch
@@ -0,0 +1,60 @@
+--- a/Makefile
 b/Makefile
+@@ -21,7 +21,7 @@
+ # Codename "synthetic system strainer"
+ #
+ 
+-CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -std=gnu99
++CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -std=gnu99
+ 
+ #
+ # Pedantic flags
+@@ -364,12 +364,10 @@
+ .o: stress-ng.h Makefile
+ 
+ .c.o:
+-  @echo "CC $<"
+-  @$(CC) $(CFLAGS) -c -o $@ $<
++  $(CC) $(CFLAGS) -c -o $@ $<
+ 
+ stress-ng: $(OBJS)
+-  @echo "LD $@"
+-  @$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@
++  $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@
+   @sync
+ 
+ makeconfig:
+@@ -390,8 +388,7 @@
+   sed '$$ s/.$$//' >> apparmor-data.c
+   @echo "};" >> apparmor-data.c
+   @echo "const size_t g_apparmor_data_len = sizeof(g_apparmor_data);" >> 
apparmor-data.c
+-  @echo "CC $<"
+-  @$(CC) -c apparmor-data.c -o apparmor-data.o
++  $(CC) -c apparmor-data.c -o apparmor-data.o
+   @rm -rf apparmor-data.c apparmor-data.bin
+ 
+ #
+@@ -419,12 +416,10 @@
+   @$(CC) $(CFLAGS) -E core-perf-event.c | $(GREP) "PERF_COUNT" | \
+   sed 's/,/ /' | sed s/'^ *//' | \
+   awk {'print "#define _SNG_" $$1 " (1)"'} > core-perf-event.h
+-  @echo CC $<
+-  @$(CC) $(CFLAGS) -c -o $@ $<
++  $(CC) $(CFLAGS) -c -o $@ $<
+ 
+ stress-vecmath.o: stress-vecmath.c
+-  @echo CC $<
+-  @$(CC) $(CFLAGS) -fno-builtin -c -o $@ $<
++  $(CC) $(CFLAGS) -fno-builtin -c -o $@ $<
+ 
+ $(OBJS): stress-ng.h Makefile
+ 
+@@ -478,7 +473,7 @@
+   mkdir -p ${DESTDIR}${BINDIR}
+   cp stress-ng ${DESTDIR}${BINDIR}
+   mkdir -p ${DESTDIR}${MANDIR}
+-  cp stress-ng.1.gz ${DESTDIR}${MANDIR}
++  cp stress-ng.1 ${DESTDIR}${MANDIR}
+   mkdir -p ${DESTDIR}${JOBDIR}
+   cp -rp example-jobs/*.job ${DESTDIR}${JOBDIR}
+   mkdir -p ${DESTDIR}${BASHDIR}

diff --git a/app-benchmarks/stress-ng/stress-ng-0.11.23.ebuild 
b/app-benchmarks/stress-ng/stress-ng-0.11.23.ebuild
new file mode 100644
index 000..a01d58d2dda
--- /dev/null
+++ b/app-benchmarks/stress-ng/stress-ng-0.11.23.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="Stress test for a computer system with various selectable ways"
+HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/;
+SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+   dev-libs/libaio
+   dev-libs/libbsd
+   dev-libs/libgcrypt:0=
+   sys-apps/attr
+   sys-apps/keyutils:=
+   sys-libs/libcap
+   sys-libs/zlib
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
+
+PATCHES=( "${FILESDIR}/${PN}-0.11.23-makefile.patch" )
+
+src_compile() {
+   tc-export CC
+
+   default
+}
+
+pkg_postinst() {
+   optfeature "AppArmor support" sys-libs/libapparmor
+   optfeature "SCTP support" net-misc/lksctp-tools
+}



[gentoo-commits] proj/catalyst:master commit in: catalyst/base/, catalyst/targets/

2020-10-30 Thread Matt Turner
commit: 2c28062446246e246c992ea7084a3950b1337827
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 00:32:34 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2c280624

catalyst: Use .extend() and .append() for action_sequence

Ensures that we don't overwrite and lose some settings.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py| 6 +++---
 catalyst/targets/embedded.py  | 4 ++--
 catalyst/targets/livecd_stage1.py | 4 ++--
 catalyst/targets/livecd_stage2.py | 8 
 catalyst/targets/netboot.py   | 4 ++--
 catalyst/targets/stage4.py| 4 ++--
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 801df2fb..46b7c59c 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -478,13 +478,13 @@ class StageBase(TargetBase, ClearBase, GenBase):
 Or it calls the normal set_action_sequence() for the target stage.
 """
 if "purgeonly" in self.settings["options"]:
-self.action_sequence = ["remove_chroot"]
+self.action_sequence.append("remove_chroot")
 return
 self.set_action_sequence()
 
 def set_action_sequence(self):
 """Set basic stage1, 2, 3 action sequences"""
-self.action_sequence = [
+self.action_sequence.extend([
 "unpack",
 "setup_confdir",
 "portage_overlay",
@@ -495,7 +495,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
 "preclean",
 "unbind",
 "clean",
-]
+])
 self.set_completion_action_sequences()
 
 def set_completion_action_sequences(self):

diff --git a/catalyst/targets/embedded.py b/catalyst/targets/embedded.py
index 3899cf1b..75eb68e4 100644
--- a/catalyst/targets/embedded.py
+++ b/catalyst/targets/embedded.py
@@ -41,7 +41,7 @@ class embedded(StageBase):
 StageBase.__init__(self, spec, addlargs)
 
 def set_action_sequence(self):
-self.action_sequence = [
+self.action_sequence.extend([
 "unpack",
 "config_profile_link",
 "setup_confdir",
@@ -60,7 +60,7 @@ class embedded(StageBase):
 "clean",
 "capture",
 "clear_autoresume",
-]
+])
 
 def set_stage_path(self):
 self.settings["stage_path"] = normpath(

diff --git a/catalyst/targets/livecd_stage1.py 
b/catalyst/targets/livecd_stage1.py
index b8c26cb1..9dbfa506 100644
--- a/catalyst/targets/livecd_stage1.py
+++ b/catalyst/targets/livecd_stage1.py
@@ -23,7 +23,7 @@ class livecd_stage1(StageBase):
 StageBase.__init__(self, spec, addlargs)
 
 def set_action_sequence(self):
-self.action_sequence = [
+self.action_sequence.extend([
 "unpack",
 "config_profile_link",
 "setup_confdir",
@@ -34,7 +34,7 @@ class livecd_stage1(StageBase):
 "build_packages",
 "unbind",
 "clean",
-]
+])
 self.set_completion_action_sequences()
 
 def set_spec_prefix(self):

diff --git a/catalyst/targets/livecd_stage2.py 
b/catalyst/targets/livecd_stage2.py
index cac16b6e..c9b5ce08 100644
--- a/catalyst/targets/livecd_stage2.py
+++ b/catalyst/targets/livecd_stage2.py
@@ -87,7 +87,7 @@ class livecd_stage2(StageBase):
 print_traceback=True)
 
 def set_action_sequence(self):
-self.action_sequence = [
+self.action_sequence.extend([
 "unpack",
 "config_profile_link",
 "setup_confdir",
@@ -97,9 +97,9 @@ class livecd_stage2(StageBase):
 "setup_environment",
 "run_local",
 "build_kernel"
-]
+])
 if "fetch" not in self.settings["options"]:
-self.action_sequence += [
+self.action_sequence.extend([
 "bootloader",
 "preclean",
 "livecd_update",
@@ -114,5 +114,5 @@ class livecd_stage2(StageBase):
 "target_setup",
 "setup_overlay",
 "create_iso",
-]
+])
 self.action_sequence.append("clear_autoresume")

diff --git a/catalyst/targets/netboot.py b/catalyst/targets/netboot.py
index 61583f0d..e5c6d43c 100644
--- a/catalyst/targets/netboot.py
+++ b/catalyst/targets/netboot.py
@@ -160,7 +160,7 @@ class netboot(StageBase):
 self.resume.enable("empty")
 
 def set_action_sequence(self):
-self.action_sequence = [
+self.action_sequence.extend([
 "unpack",
 "config_profile_link",
 "setup_confdir",
@@ -179,4 +179,4 @@ class netboot(StageBase):
 "unbind",
 "clean",
 "clear_autoresume",
-]
+])


[gentoo-commits] proj/catalyst:master commit in: targets/support/, catalyst/base/

2020-10-30 Thread Matt Turner
commit: f7fe02da2825122eb6347e569170e34515f112e3
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 22 18:19:09 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f7fe02da

catalyst: Remove kill_support_pids()

mount_namespaces(7) says

A mount ceases to be a member of a peer group when either the
mount is explicitly unmounted, or when the mount is implicitly
unmounted because a mount namespace is removed (because it has
no more member processes).

Now that the build sequence is executed in its own mount namespace, the
mounts are implicitly unmounted when the last process in the namespace
dies, meaning we don't need to try any funny business around cleaning up
processes in order to unmount.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py  | 30 +++---
 targets/support/kill-chroot-pids.sh | 62 -
 2 files changed, 4 insertions(+), 88 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index caec5935..bd5ba8d0 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -638,17 +638,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 assert self.settings[verify] == "blake2"
 self.settings.setdefault("gk_mainargs", []).append("--b2sum")
 
-def kill_chroot_pids(self):
-log.info('Checking for processes running in chroot and killing them.')
-
-# Force environment variables to be exported so script can see them
-self.setup_environment()
-
-killcmd = normpath(self.settings["sharedir"] +
-   self.settings["shdir"] + 
"/support/kill-chroot-pids.sh")
-if os.path.exists(killcmd):
-cmd([killcmd], env=self.env)
-
 def mount_safety_check(self):
 """
 Check and verify that none of our paths in mypath are mounted. We don't
@@ -920,18 +909,10 @@ class StageBase(TargetBase, ClearBase, GenBase):
 try:
 cxt = libmount.Context(target=str(target))
 cxt.umount()
-except OSError:
-log.warning('First attempt to unmount failed: %s', target)
-log.warning('Killing any pids still running in the chroot')
-
-self.kill_chroot_pids()
-
-try:
-cxt.umount()
-except OSError as e:
-umount_failed = True
-log.warning("Couldn't umount: %s, %s", target,
-e.strerror)
+except OSError as e:
+log.warning("Couldn't umount: %s, %s", target,
+e.strerror)
+umount_failed = True
 
 if umount_failed:
 # if any bind mounts really failed, then we need to raise
@@ -1382,9 +1363,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 def run(self):
 self.chroot_lock.write_lock()
 
-# Kill any pids in the chroot
-self.kill_chroot_pids()
-
 # Check for mounts right away and abort if we cannot unmount them
 self.mount_safety_check()
 

diff --git a/targets/support/kill-chroot-pids.sh 
b/targets/support/kill-chroot-pids.sh
deleted file mode 100755
index ea8ee402..
--- a/targets/support/kill-chroot-pids.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/bash
-# Script to kill processes found running in the chroot.
-
-if [ "${clst_chroot_path}" == "/" ]
-then
-   echo "Aborting  clst_chroot_path is set to /"
-   echo "This is very dangerous"
-   exit 1
-fi
-
-if [ "${clst_chroot_path}" == "" ]
-then
-   echo "Aborting  clst_chroot_path is NOT set"
-   echo "This is very dangerous"
-   exit 1
-fi
-
-j=0
-declare -a pids
-# Get files and dirs in /proc
-for i in `ls /proc`
-do
-   # Test for directories
-   if [ -d /proc/$i ]
-   then
-   # Search for exe containing string inside ${clst_chroot_path}
-   ls -la --color=never /proc/$i 2>&1 |grep exe|grep ${clst_chroot_path} > 
/dev/null
-
-   # If found
-   if [ $? == 0 ]
-   then
-   # Assign the pid into the pids array
-   pids[$j]=$i
-   j=$(($j+1))
-   fi
-   fi
-done
-
-if [ ${j} -gt 0 ]
-then
-   echo
-   echo "Killing process(es)"
-   echo "pid: process name"
-   for pid in ${pids[@]}
-   do
-   P_NAME=$(ls -la --color=never /proc/${pid} 2>&1 |grep exe|grep 
${clst_chroot_path}|awk '{print $11}')
-   echo ${pid}: ${P_NAME}
-   done
-   echo
-   echo "Press Ctrl-C within 10 seconds to abort"
-
-   sleep 10
-
-   for pid in ${pids[@]}
-   do
-   kill -9 ${pid}
-   done
-
-   # Small sleep here to give the process(es) a chance to die before 
running unbind again.
-   sleep 5

[gentoo-commits] proj/catalyst:master commit in: catalyst/targets/, catalyst/base/

2020-10-30 Thread Matt Turner
commit: dfc4ed516b839bbc225cc7459e8c3085970801f6
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 00:28:24 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=dfc4ed51

catalyst: Move action_sequence out of self.settings[]

This self.settings[] dictionary is very similar to the god object
anti-pattern. Moving action_sequence out it starts us down the road of
fixing this.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py| 17 +
 catalyst/targets/embedded.py  |  2 +-
 catalyst/targets/livecd_stage1.py |  2 +-
 catalyst/targets/livecd_stage2.py |  6 +++---
 catalyst/targets/netboot.py   |  2 +-
 catalyst/targets/stage1.py| 12 ++--
 catalyst/targets/stage4.py|  2 +-
 7 files changed, 22 insertions(+), 21 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 73eacfbe..801df2fb 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -64,6 +64,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
 "portage_overlay",
 "portage_prefix",
 ])
+self.action_sequence = []
 
 self.set_valid_build_kernel_vars(addlargs)
 TargetBase.__init__(self, myspec, addlargs)
@@ -477,13 +478,13 @@ class StageBase(TargetBase, ClearBase, GenBase):
 Or it calls the normal set_action_sequence() for the target stage.
 """
 if "purgeonly" in self.settings["options"]:
-self.settings["action_sequence"] = ["remove_chroot"]
+self.action_sequence = ["remove_chroot"]
 return
 self.set_action_sequence()
 
 def set_action_sequence(self):
 """Set basic stage1, 2, 3 action sequences"""
-self.settings['action_sequence'] = [
+self.action_sequence = [
 "unpack",
 "setup_confdir",
 "portage_overlay",
@@ -499,14 +500,14 @@ class StageBase(TargetBase, ClearBase, GenBase):
 
 def set_completion_action_sequences(self):
 if "fetch" not in self.settings["options"]:
-self.settings["action_sequence"].append("capture")
+self.action_sequence.append("capture")
 if "keepwork" in self.settings["options"]:
-self.settings["action_sequence"].append("clear_autoresume")
+self.action_sequence.append("clear_autoresume")
 elif "seedcache" in self.settings["options"]:
-self.settings["action_sequence"].append("remove_autoresume")
+self.action_sequence.append("remove_autoresume")
 else:
-self.settings["action_sequence"].append("remove_autoresume")
-self.settings["action_sequence"].append("remove_chroot")
+self.action_sequence.append("remove_autoresume")
+self.action_sequence.append("remove_chroot")
 
 def set_use(self):
 use = self.settings["spec_prefix"] + "/use"
@@ -1380,7 +1381,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
 self.purge()
 
 failure = False
-for x in self.settings["action_sequence"]:
+for x in self.action_sequence:
 log.notice('--- Running action sequence: %s', x)
 sys.stdout.flush()
 try:

diff --git a/catalyst/targets/embedded.py b/catalyst/targets/embedded.py
index 99739512..3899cf1b 100644
--- a/catalyst/targets/embedded.py
+++ b/catalyst/targets/embedded.py
@@ -41,7 +41,7 @@ class embedded(StageBase):
 StageBase.__init__(self, spec, addlargs)
 
 def set_action_sequence(self):
-self.settings['action_sequence'] = [
+self.action_sequence = [
 "unpack",
 "config_profile_link",
 "setup_confdir",

diff --git a/catalyst/targets/livecd_stage1.py 
b/catalyst/targets/livecd_stage1.py
index f0b6be8b..b8c26cb1 100644
--- a/catalyst/targets/livecd_stage1.py
+++ b/catalyst/targets/livecd_stage1.py
@@ -23,7 +23,7 @@ class livecd_stage1(StageBase):
 StageBase.__init__(self, spec, addlargs)
 
 def set_action_sequence(self):
-self.settings['action_sequence'] = [
+self.action_sequence = [
 "unpack",
 "config_profile_link",
 "setup_confdir",

diff --git a/catalyst/targets/livecd_stage2.py 
b/catalyst/targets/livecd_stage2.py
index 88c0d95c..cac16b6e 100644
--- a/catalyst/targets/livecd_stage2.py
+++ b/catalyst/targets/livecd_stage2.py
@@ -87,7 +87,7 @@ class livecd_stage2(StageBase):
 print_traceback=True)
 
 def set_action_sequence(self):
-self.settings['action_sequence'] = [
+self.action_sequence = [
 "unpack",
 "config_profile_link",
 "setup_confdir",
@@ -99,7 +99,7 @@ class livecd_stage2(StageBase):
 "build_kernel"
 ]
 if "fetch" not in 

[gentoo-commits] proj/catalyst:master commit in: catalyst/base/, catalyst/targets/

2020-10-30 Thread Matt Turner
commit: 3d85d537b1a00d05234cea064f863602b83ffaab
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 03:08:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3d85d537

catalyst: Split action_sequence into prepare/build/finish

We want to run the "build" sequence in a different mount namespace from
the "prepare" and "finish" sequences, so this splits action_sequence
into those groupings.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py| 24 +++-
 catalyst/targets/embedded.py  |  6 +-
 catalyst/targets/livecd_stage1.py |  6 +-
 catalyst/targets/livecd_stage2.py | 10 +++---
 catalyst/targets/netboot.py   |  6 +-
 catalyst/targets/stage1.py| 12 ++--
 catalyst/targets/stage4.py|  6 +-
 7 files changed, 48 insertions(+), 22 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 46b7c59c..75c84baa 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -64,7 +64,9 @@ class StageBase(TargetBase, ClearBase, GenBase):
 "portage_overlay",
 "portage_prefix",
 ])
-self.action_sequence = []
+self.prepare_sequence = []
+self.build_sequence = []
+self.finish_sequence = []
 
 self.set_valid_build_kernel_vars(addlargs)
 TargetBase.__init__(self, myspec, addlargs)
@@ -478,36 +480,40 @@ class StageBase(TargetBase, ClearBase, GenBase):
 Or it calls the normal set_action_sequence() for the target stage.
 """
 if "purgeonly" in self.settings["options"]:
-self.action_sequence.append("remove_chroot")
+self.build_sequence.append("remove_chroot")
 return
 self.set_action_sequence()
 
 def set_action_sequence(self):
 """Set basic stage1, 2, 3 action sequences"""
-self.action_sequence.extend([
+self.prepare_sequence.extend([
 "unpack",
 "setup_confdir",
 "portage_overlay",
+])
+self.build_sequence.extend([
 "bind",
 "chroot_setup",
 "setup_environment",
 "run_local",
 "preclean",
 "unbind",
+])
+self.finish_sequence.extend([
 "clean",
 ])
 self.set_completion_action_sequences()
 
 def set_completion_action_sequences(self):
 if "fetch" not in self.settings["options"]:
-self.action_sequence.append("capture")
+self.finish_sequence.append("capture")
 if "keepwork" in self.settings["options"]:
-self.action_sequence.append("clear_autoresume")
+self.finish_sequence.append("clear_autoresume")
 elif "seedcache" in self.settings["options"]:
-self.action_sequence.append("remove_autoresume")
+self.finish_sequence.append("remove_autoresume")
 else:
-self.action_sequence.append("remove_autoresume")
-self.action_sequence.append("remove_chroot")
+self.finish_sequence.append("remove_autoresume")
+self.finish_sequence.append("remove_chroot")
 
 def set_use(self):
 use = self.settings["spec_prefix"] + "/use"
@@ -1381,7 +1387,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
 self.purge()
 
 failure = False
-for x in self.action_sequence:
+for x in self.prepare_sequence + self.build_sequence + 
self.finish_sequence:
 log.notice('--- Running action sequence: %s', x)
 sys.stdout.flush()
 try:

diff --git a/catalyst/targets/embedded.py b/catalyst/targets/embedded.py
index 75eb68e4..1314ce7c 100644
--- a/catalyst/targets/embedded.py
+++ b/catalyst/targets/embedded.py
@@ -41,11 +41,13 @@ class embedded(StageBase):
 StageBase.__init__(self, spec, addlargs)
 
 def set_action_sequence(self):
-self.action_sequence.extend([
+self.prepare_sequence.extend([
 "unpack",
 "config_profile_link",
 "setup_confdir",
 "portage_overlay",
+])
+self.build_sequence.extend([
 "bind",
 "chroot_setup",
 "setup_environment",
@@ -55,6 +57,8 @@ class embedded(StageBase):
 "fsscript",
 "unmerge",
 "unbind",
+])
+self.finish_sequence.extend([
 "remove",
 "empty",
 "clean",

diff --git a/catalyst/targets/livecd_stage1.py 
b/catalyst/targets/livecd_stage1.py
index 9dbfa506..81367053 100644
--- a/catalyst/targets/livecd_stage1.py
+++ b/catalyst/targets/livecd_stage1.py
@@ -23,16 +23,20 @@ class livecd_stage1(StageBase):
 StageBase.__init__(self, spec, addlargs)
 
 def set_action_sequence(self):
-

[gentoo-commits] proj/catalyst:master commit in: catalyst/base/

2020-10-30 Thread Matt Turner
commit: 595ab9922f4ed8f88148ca7fbc9fe533db63fb4c
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 14:39:35 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=595ab992

catalyst: Remove mount_safety_check()

mount_safety_check() exists to prevent bad things from happening if a
previous catalyst invocation left bind mounts active in the chroot.
E.g., a previous catalyst invocation is interrupted without unmounting
the bind mounts. A new catalyst invocation runs and cleans the old
chroot, which inadvertently deletes files outside of the chroot via the
bind mounts.

With all the mounts now inside a namespace, it is no longer possible to
have mounts accessible outside the build sequence. In fact, I think this
code has been unnecessary since commit e5a53e42 ("catalyst: create
namespaces for building").

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py | 37 -
 1 file changed, 37 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index bd5ba8d0..b9c220d0 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -638,39 +638,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
 assert self.settings[verify] == "blake2"
 self.settings.setdefault("gk_mainargs", []).append("--b2sum")
 
-def mount_safety_check(self):
-"""
-Check and verify that none of our paths in mypath are mounted. We don't
-want to clean up with things still mounted, and this allows us to 
check.
-Returns 1 on ok, 0 on "something is still mounted" case.
-"""
-
-if not os.path.exists(self.settings["chroot_path"]):
-return
-
-log.debug('self.mount = %s', self.mount)
-for x in [x for x in self.mount if self.mount[x]['enable']]:
-target = normpath(self.settings['chroot_path'] +
-  self.mount[x]['target'])
-log.debug('mount_safety_check() x = %s %s', x, target)
-if not os.path.exists(target):
-continue
-
-if ismount(target):
-# Something is still mounted
-try:
-log.warning(
-'%s is still mounted; performing auto-bind-umount...', 
target)
-# Try to umount stuff ourselves
-self.unbind()
-if ismount(target):
-raise CatalystError("Auto-unbind failed for " + target)
-log.notice('Auto-unbind successful...')
-except CatalystError:
-raise CatalystError("Unable to auto-unbind " + target)
-
 def unpack(self):
-
 clst_unpack_hash = self.resume.get("unpack")
 
 # Set up all unpack info settings
@@ -755,8 +723,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 % self.settings["source_path"])
 
 if _unpack:
-self.mount_safety_check()
-
 if invalid_chroot:
 if "autoresume" in self.settings["options"]:
 log.notice(
@@ -1363,9 +1329,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 def run(self):
 self.chroot_lock.write_lock()
 
-# Check for mounts right away and abort if we cannot unmount them
-self.mount_safety_check()
-
 if "clear-autoresume" in self.settings["options"]:
 self.clear_autoresume()
 



[gentoo-commits] proj/catalyst:master commit in: catalyst/

2020-10-30 Thread Matt Turner
commit: cf50ce228e766252fe0ea901f86671fed6a99cfa
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Oct 28 20:50:00 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=cf50ce22

catalyst: Replace pathcompare()

Modern Python allows us to do this in a much cleaner way.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/support.py | 24 +++-
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/catalyst/support.py b/catalyst/support.py
index f49315a5..4458ed20 100644
--- a/catalyst/support.py
+++ b/catalyst/support.py
@@ -5,6 +5,7 @@ import os
 import re
 import shutil
 import time
+from pathlib import Path
 from subprocess import Popen
 
 from catalyst import log
@@ -179,31 +180,20 @@ def read_makeconf(mymakeconffile):
 return makeconf
 
 
-def pathcompare(path1, path2):
-# Change double slashes to slash
-path1 = re.sub(r"//", r"/", path1)
-path2 = re.sub(r"//", r"/", path2)
-# Removing ending slash
-path1 = re.sub("/$", "", path1)
-path2 = re.sub("/$", "", path2)
-
-if path1 == path2:
-return 1
-return 0
-
-
 def ismount(path):
 """Like os.path.ismount, but also support bind mounts"""
 if os.path.ismount(path):
-return 1
+return True
+
 a = os.popen("mount")
 mylines = a.readlines()
 a.close()
 for line in mylines:
 mysplit = line.split()
-if pathcompare(path, mysplit[2]):
-return 1
-return 0
+if Path(path) == Path(mysplit[2]):
+return True
+
+return False
 
 
 def addl_arg_parse(myspec, addlargs, requiredspec, validspec):



[gentoo-commits] proj/catalyst:master commit in: catalyst/base/, catalyst/

2020-10-30 Thread Matt Turner
commit: 488b06bf5dbe1eba68ac11de95f56feeb6cead83
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 15:00:42 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=488b06bf

catalyst: Run the build sequence in new mount namespace

Catalyst has a lot of code to unmount the bind mounts it's made, and
then more to try harder when something fails. This is important because
if bind mounts still exist within the chroot when clean up happens,
files outside of the chroot on the host system can inadvertently be
deleted. E.g., distfiles, binpkgs, kerncache.

Running the build sequence (the steps that need bind mounts) within a
mount namespace and exiting the mount namespace when finished ensures
that clean up can never accidentally delete files outside the chroot.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py | 7 ---
 catalyst/main.py   | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 06ec8727..caec5935 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -15,6 +15,7 @@ from snakeoil.osutils import pjoin
 from DeComp.compress import CompressMap
 
 from catalyst import log
+from catalyst.context import namespace
 from catalyst.defaults import (confdefaults, MOUNT_DEFAULTS, PORT_LOGDIR_CLEAN)
 from catalyst.support import (CatalystError, file_locate, normpath,
   cmd, read_makeconf, ismount, file_check,
@@ -1405,9 +1406,9 @@ class StageBase(TargetBase, ClearBase, GenBase):
 if not self.run_sequence(self.prepare_sequence):
 return False
 
-if not self.run_sequence(self.build_sequence):
-self.unbind()
-return False
+with namespace(mount=True):
+if not self.run_sequence(self.build_sequence):
+return False
 
 if not self.run_sequence(self.finish_sequence):
 return False

diff --git a/catalyst/main.py b/catalyst/main.py
index 93a4a0d3..5536471a 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
@@ -355,7 +355,7 @@ def _main(parser, opts):
 # use pid & user namespaces, but snakeoil's namespace module has signal
 # transfer issues (CTRL+C doesn't propagate), and user namespaces need
 # more work due to Gentoo build process (uses sudo/root/portage).
-with namespace(mount=True, uts=True, ipc=True, hostname='catalyst'):
+with namespace(uts=True, ipc=True, hostname='catalyst'):
 # everything is setup, so the build is a go
 try:
 success = build_target(addlargs)



[gentoo-commits] proj/catalyst:master commit in: catalyst/base/

2020-10-30 Thread Matt Turner
commit: d5747d138a0ce706d4b18be60d99ea55bdbc4120
Author: Matt Turner  gentoo  org>
AuthorDate: Sat May 16 21:44:37 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d5747d13

catalyst: Use libmount for handling mounts

Handle the mounts/unmounts in all in process rather than shelling out
(pun intended!) to an external program.

While we're here, change some log.notice to log.debug since those cases
are normal and expected.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py | 57 --
 1 file changed, 35 insertions(+), 22 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index e71ce344..73eacfbe 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -6,6 +6,7 @@ import sys
 
 from pathlib import Path
 
+import libmount
 import toml
 
 from snakeoil import fileutils
@@ -853,7 +854,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
 
 source = str(self.mount[x]['source'])
 target = self.settings['chroot_path'] + 
str(self.mount[x]['target'])
-mount = ['mount']
+fstype = ''
+options = ''
 
 log.debug('bind %s: "%s" -> "%s"', x, source, target)
 
@@ -861,18 +863,20 @@ class StageBase(TargetBase, ClearBase, GenBase):
 if 'var_tmpfs_portage' not in self.settings:
 continue
 
-mount += ['-t', 'tmpfs', '-o',
-  f"size={self.settings['var_tmpfs_portage']}G"]
+fstype = 'tmpfs'
+options = f"size={self.settings['var_tmpfs_portage']}G"
 elif source == 'tmpfs':
-mount += ['-t', 'tmpfs']
+fstype = 'tmpfs'
 elif source == 'shm':
-mount += ['-t', 'tmpfs', '-o', 'noexec,nosuid,nodev']
+fstype = 'tmpfs'
+options = 'noexec,nosuid,nodev'
 else:
 source_path = Path(self.mount[x]['source'])
 if source_path.suffix == '.sqfs':
-mount += ['-o', 'ro']
+fstype = 'squashfs'
+options = 'ro,loop'
 else:
-mount.append('--bind')
+options = 'bind'
 
 # We may need to create the source of the bind mount. 
E.g., in the
 # case of an empty package cache we must create the 
directory that
@@ -881,38 +885,47 @@ class StageBase(TargetBase, ClearBase, GenBase):
 
 Path(target).mkdir(mode=0o755, parents=True, exist_ok=True)
 
-cmd(mount + [source, target], env=self.env, fail_func=self.unbind)
+try:
+cxt = libmount.Context(source=source, target=target,
+   fstype=fstype, options=options)
+cxt.mount()
+except OSError as e:
+self.unbind()
+raise CatalystError(f"Couldn't mount: {source}, {e.strerror}")
 
 def unbind(self):
-ouch = 0
-mypath = self.settings["chroot_path"]
+chroot_path = self.settings["chroot_path"]
+umount_failed = False
 
 # Unmount in reverse order
-for x in [x for x in reversed(self.mount) if self.mount[x]['enable']]:
-target = normpath(mypath + self.mount[x]['target'])
-if not os.path.exists(target):
-log.notice('%s does not exist. Skipping', target)
+for target in [Path(chroot_path + self.mount[x]['target'])
+   for x in reversed(self.mount)
+   if self.mount[x]['enable']]:
+if not target.exists():
+log.debug('%s does not exist. Skipping', target)
 continue
 
 if not ismount(target):
-log.notice('%s is not a mount point. Skipping', target)
+log.debug('%s is not a mount point. Skipping', target)
 continue
 
 try:
-cmd(['umount', target], env=self.env)
-except CatalystError:
+cxt = libmount.Context(target=str(target))
+cxt.umount()
+except OSError:
 log.warning('First attempt to unmount failed: %s', target)
 log.warning('Killing any pids still running in the chroot')
 
 self.kill_chroot_pids()
 
 try:
-cmd(['umount', target], env=self.env)
-except CatalystError:
-ouch = 1
-log.warning("Couldn't umount bind mount: %s", target)
+cxt.umount()
+except OSError as e:
+umount_failed = True
+log.warning("Couldn't umount: %s, %s", target,
+

[gentoo-commits] proj/catalyst:master commit in: catalyst/, /

2020-10-30 Thread Matt Turner
commit: efe2e4fa789550473734269f27a4029df208a2b2
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 22 18:52:46 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=efe2e4fa

catalyst: Rewrite ismount() to use libmount

libmount is provided by util-linux, so this adds a dependency on
sys-apps/util-linux[python]. A later patch will make more extensive use
of this API.

Signed-off-by: Matt Turner  gentoo.org>

 README  |  2 +-
 catalyst/support.py | 14 +++---
 setup.py|  2 --
 3 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/README b/README
index 1cceb63e..594de9e1 100644
--- a/README
+++ b/README
@@ -17,7 +17,7 @@ simple and reproducable manner. Use at your own risk.
 Requirements
 ===
 
-- Python 3.6 or greater
+- Python 3.8 or greater
 - A generic stage3 tarball for your architecture
 - A squashfs ebuild repository snapshot
   - Or an ebuild git repo with sys-fs/squashfs-tools-ng and dev-vcs/git

diff --git a/catalyst/support.py b/catalyst/support.py
index 4458ed20..ddbd9ab9 100644
--- a/catalyst/support.py
+++ b/catalyst/support.py
@@ -8,6 +8,8 @@ import time
 from pathlib import Path
 from subprocess import Popen
 
+import libmount
+
 from catalyst import log
 
 BASH_BINARY = "/bin/bash"
@@ -182,15 +184,13 @@ def read_makeconf(mymakeconffile):
 
 def ismount(path):
 """Like os.path.ismount, but also support bind mounts"""
-if os.path.ismount(path):
+path = Path(path)
+if path.is_mount():
 return True
 
-a = os.popen("mount")
-mylines = a.readlines()
-a.close()
-for line in mylines:
-mysplit = line.split()
-if Path(path) == Path(mysplit[2]):
+cxt = libmount.Context()
+while (fs := cxt.mtab.next_fs()) is not None:
+if path == Path(fs.target):
 return True
 
 return False

diff --git a/setup.py b/setup.py
index 7a97b30c..fc1ac005 100755
--- a/setup.py
+++ b/setup.py
@@ -101,8 +101,6 @@ _setup(
 'Topic :: System :: Installation/Setup',
 'Topic :: System :: Software Distribution',
 'Programming Language :: Python :: 3',
-'Programming Language :: Python :: 3.6',
-'Programming Language :: Python :: 3.7',
 'Programming Language :: Python :: 3.8',
 ],
 scripts=['bin/{0}'.format(_package_name)],



[gentoo-commits] proj/catalyst:master commit in: catalyst/

2020-10-30 Thread Matt Turner
commit: 4bcc64dcf2b27ab3d0effed0fa2516e3513a9171
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Oct 28 21:59:17 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4bcc64dc

catalyst: Add and use namespace context manager

Wraps snakeoil's simple_unshare; returns to the previous namespaces on
context exit. Will be used by the next commit.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/context.py | 32 
 catalyst/main.py| 17 +++--
 2 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/catalyst/context.py b/catalyst/context.py
new file mode 100644
index ..8a58f33d
--- /dev/null
+++ b/catalyst/context.py
@@ -0,0 +1,32 @@
+
+import contextlib
+import os
+
+from snakeoil.process.namespaces import setns, simple_unshare
+
+@contextlib.contextmanager
+def namespace(mount=False, uts=False, ipc=False, net=False, pid=False,
+  user=False, hostname=None):
+namespaces = {
+(mount, "mnt"):  None,
+(uts,   "uts"):  None,
+(ipc,   "ipc"):  None,
+(net,   "net"):  None,
+(pid,   "pid"):  None,
+(user,  "user"): None,
+}
+
+# Save fds of current namespaces
+for ns in [ns for ns in namespaces if ns[0]]:
+fp = open(f"/proc/self/ns/{ns[1]}")
+namespaces[ns] = fp
+
+simple_unshare(mount=mount, uts=uts, ipc=ipc, net=net, pid=pid, user=user,
+   hostname=hostname)
+try:
+yield
+finally:
+for ns in [ns for ns in namespaces if ns[0]]:
+fp = namespaces[ns]
+setns(fp.fileno(), 0)
+fp.close()

diff --git a/catalyst/main.py b/catalyst/main.py
index 543895c6..93a4a0d3 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
@@ -7,14 +7,13 @@ import textwrap
 
 import toml
 
-from snakeoil.process import namespaces
-
 from DeComp.definitions import (COMPRESS_DEFINITIONS, DECOMPRESS_DEFINITIONS,
 CONTENTS_DEFINITIONS)
 from DeComp.contents import ContentsMap
 
 from catalyst import log
 import catalyst.config
+from catalyst.context import namespace
 from catalyst.defaults import (confdefaults, option_messages,
DEFAULT_CONFIG_FILE, valid_config_file_values)
 from catalyst.support import CatalystError
@@ -356,15 +355,13 @@ def _main(parser, opts):
 # use pid & user namespaces, but snakeoil's namespace module has signal
 # transfer issues (CTRL+C doesn't propagate), and user namespaces need
 # more work due to Gentoo build process (uses sudo/root/portage).
-namespaces.simple_unshare(
-mount=True, uts=True, ipc=True, pid=False, net=False, user=False,
-hostname='catalyst')
+with namespace(mount=True, uts=True, ipc=True, hostname='catalyst'):
+# everything is setup, so the build is a go
+try:
+success = build_target(addlargs)
+except KeyboardInterrupt:
+log.critical('Catalyst build aborted due to user interrupt 
(Ctrl-C)')
 
-# everything is setup, so the build is a go
-try:
-success = build_target(addlargs)
-except KeyboardInterrupt:
-log.critical('Catalyst build aborted due to user interrupt (Ctrl-C)')
 if not success:
 sys.exit(2)
 sys.exit(0)



[gentoo-commits] proj/catalyst:master commit in: catalyst/base/

2020-10-30 Thread Matt Turner
commit: d9010dead74470b2be148412e5b9ed9cca7a8b45
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 13:03:33 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d9010dea

catalyst: Factor out run_sequence()

This is preparation for the next patch, which will run the build
sequence in a separate mount namespace.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py | 40 +++-
 1 file changed, 23 insertions(+), 17 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 75c84baa..06ec8727 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1362,6 +1362,22 @@ class StageBase(TargetBase, ClearBase, GenBase):
 
 log.debug('setup_environment(); env = %r', self.env)
 
+def run_sequence(self, sequence):
+for func in sequence:
+log.notice('--- Running action sequence: %s', func)
+sys.stdout.flush()
+try:
+getattr(self, func)()
+except LockInUse:
+log.error('Unable to aquire the lock...')
+return False
+except Exception:
+log.error('Exception running action sequence %s',
+  func, exc_info=True)
+return False
+
+return True
+
 def run(self):
 self.chroot_lock.write_lock()
 
@@ -1386,26 +1402,16 @@ class StageBase(TargetBase, ClearBase, GenBase):
 log.info('StageBase: run() purge')
 self.purge()
 
-failure = False
-for x in self.prepare_sequence + self.build_sequence + 
self.finish_sequence:
-log.notice('--- Running action sequence: %s', x)
-sys.stdout.flush()
-try:
-getattr(self, x)()
-except LockInUse:
-log.error('Unable to aquire the lock...')
-failure = True
-break
-except Exception:
-log.error('Exception running action sequence %s',
-  x, exc_info=True)
-failure = True
-break
+if not self.run_sequence(self.prepare_sequence):
+return False
 
-if failure:
-log.notice('Cleaning up... Running unbind()')
+if not self.run_sequence(self.build_sequence):
 self.unbind()
 return False
+
+if not self.run_sequence(self.finish_sequence):
+return False
+
 return True
 
 def unmerge(self):



[gentoo-commits] proj/catalyst:master commit in: catalyst/targets/, catalyst/base/

2020-10-30 Thread Matt Turner
commit: 4b5ff905a7ad2ffe1ed8c863b91e9d0ce6981f5f
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 22 20:37:54 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:40:52 2020 +
URL:https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4b5ff905

catalyst: Drop unbind()

mount_namespaces(7) says

A mount ceases to be a member of a peer group when either the
mount is explicitly unmounted, or when the mount is implicitly
unmounted because a mount namespace is removed (because it has
no more member processes).

As a result, we can rely on exiting the mount namespace to unmount the
bind mounts.

Signed-off-by: Matt Turner  gentoo.org>

 catalyst/base/stagebase.py| 44 +--
 catalyst/targets/embedded.py  |  1 -
 catalyst/targets/livecd_stage1.py |  1 -
 catalyst/targets/livecd_stage2.py |  2 --
 catalyst/targets/netboot.py   |  3 ---
 catalyst/targets/stage4.py|  1 -
 6 files changed, 1 insertion(+), 51 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index b9c220d0..a75dbdf9 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -498,7 +498,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 "setup_environment",
 "run_local",
 "preclean",
-"unbind",
 ])
 self.finish_sequence.extend([
 "clean",
@@ -853,40 +852,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
fstype=fstype, options=options)
 cxt.mount()
 except OSError as e:
-self.unbind()
 raise CatalystError(f"Couldn't mount: {source}, {e.strerror}")
 
-def unbind(self):
-chroot_path = self.settings["chroot_path"]
-umount_failed = False
-
-# Unmount in reverse order
-for target in [Path(chroot_path + self.mount[x]['target'])
-   for x in reversed(self.mount)
-   if self.mount[x]['enable']]:
-if not target.exists():
-log.debug('%s does not exist. Skipping', target)
-continue
-
-if not ismount(target):
-log.debug('%s is not a mount point. Skipping', target)
-continue
-
-try:
-cxt = libmount.Context(target=str(target))
-cxt.umount()
-except OSError as e:
-log.warning("Couldn't umount: %s, %s", target,
-e.strerror)
-umount_failed = True
-
-if umount_failed:
-# if any bind mounts really failed, then we need to raise
-# this to potentially prevent an upcoming bash stage cleanup script
-# from wiping our bind mounts.
-raise CatalystError(
-"Couldn't umount one or more bind-mounts; aborting for 
safety.")
-
 def chroot_setup(self):
 self.makeconf = read_makeconf(normpath(self.settings["chroot_path"] +
self.settings["make_conf"]))
@@ -1190,7 +1157,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 env=self.env)
 self.resume.enable("remove")
 except:
-self.unbind()
 raise
 
 def preclean(self):
@@ -1206,7 +1172,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 self.resume.enable("preclean")
 
 except:
-self.unbind()
 raise CatalystError("Build failed, could not execute preclean")
 
 def capture(self):
@@ -1269,7 +1234,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
  self.settings['controller_file'])
 
 except CatalystError:
-self.unbind()
 raise CatalystError("Stage build aborting due to error.",
 print_traceback=False)
 
@@ -1374,7 +1338,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 env=self.env)
 log.info('unmerge shell script')
 except CatalystError:
-self.unbind()
 raise
 self.resume.enable("unmerge")
 
@@ -1449,7 +1412,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 fileutils.touch(build_packages_resume)
 self.resume.enable("build_packages")
 except CatalystError:
-self.unbind()
 raise CatalystError(
 self.settings["spec_prefix"] +
 "build aborting due to error.")
@@ -1473,7 +1435,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 self._build_kernel(kname=kname)
 self.resume.enable("build_kernel")
 except CatalystError:
-self.unbind()
  

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/, dev-libs/libxml2/files/

2020-10-30 Thread Matt Turner
commit: f016ee441ef5590db02e09198fcbf6b12a463c50
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Oct 30 22:37:29 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:38:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f016ee44

dev-libs/libxml2: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/libxml2/Manifest  |   3 -
 .../files/2.9.9-python3-unicode-errors.patch   |  34 ---
 dev-libs/libxml2/libxml2-2.9.10-r2.ebuild  | 224 
 dev-libs/libxml2/libxml2-2.9.9-r4.ebuild   | 227 -
 4 files changed, 488 deletions(-)

diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest
index ee77f61e855..9ded83cf33f 100644
--- a/dev-libs/libxml2/Manifest
+++ b/dev-libs/libxml2/Manifest
@@ -1,8 +1,5 @@
-DIST libxml2-2.9.10-patchset.tar.xz 71584 BLAKE2B 
4925a28570ed4f84da0407c3ce5b257d0959661855792160e4c534125fe0bbfa3749e7fc43b6c91a17206ac08a85922f4158bf40164c8a17ec940bf12b7dde1c
 SHA512 
cd5a6aa86b6cf9ff852922ecfa23f34edeecab10a0e6d1bcd4dca56a6e17713b10af9387c7a6276bfec612f1d44fc06c16a7bdcab01ef9080f4dd10fab253b93
 DIST libxml2-2.9.10-r1-patchset.tar.xz 72088 BLAKE2B 
4d5f8aed35d6c0232089e09f22a77cbd25cbd2007c1330538e1c7acc4398ec3ef9023289129677cf5499dbacde4c2f28850ae81acab351d02625d3452aedaede
 SHA512 
a63032d1e85128f637c2b54356aab06a17e31eb1f5facd8fdf88463eb21df6a1d9fd8cc751fa94b8d322fa4f796be4e1d9aa071cbd0826ab31fae46525fde952
 DIST libxml2-2.9.10.tar.gz 5624761 BLAKE2B 
a9958bd7db17fbfb8259b64d66548eb19d28f1aecf40cf66752fcec5720855d31cea9941d52963badd8c18ea1770485f1c11da6213149458336ce0273418f421
 SHA512 
0adfd12bfde89cbd6296ba6e66b6bed4edb814a74b4265bda34d95c41d9d92c696ee7adb0c737aaf9cc6e10426a31a35079b2a23d26c074e299858da12c072ed
-DIST libxml2-2.9.9-patchset.tar.xz 16792 BLAKE2B 
f761b5cda41d57543dadf2cdd8915b69727a818f31badc1092903a9e4341b807852fed0887e9ec7a06a0c19c4a49f9afc2f3c048947f21a09006bb51ef8399ef
 SHA512 
c8c0ee6d0a2833e5664aa754f8ba63b9f0bbfda46510507d3a958c33ef55daba8cfb1ca73ebffeb44d411b5f4259fe6e11ef0204ad2deebd1708ebfb
-DIST libxml2-2.9.9.tar.gz 5476717 BLAKE2B 
00a67c38084f2effd5d68d7d3e68f0c96cf4f52eab6d8d9b96dc91f03a84baa132abeaf303a836ff9bbf04f832432a036077316c464398e433c9779d8519074b
 SHA512 
cb7784ba4e72e942614e12e4f83f4ceb275f3d738b30e3b5c1f25edf8e9fa6789e854685974eed95b362049dbf6c8e7357e0327d64c681ed390534ac154e6810
 DIST xmlts20080827.tar.gz 638940 BLAKE2B 
c5aab959c6e0698acd5b9be82b48a8ac26f4d01cc03f9acfff20d344f97f4711fc6d4a524ae70457147e8e30c72e27b6726829e1dd21896286aa974ed60774e7
 SHA512 
7325d0977c4427fc4944b291ccf896a665f654cc24399e5565c12a849c2bc3aef4fa3ee42a09ac115abcb6570c51a8fbd052c38d64d164279ecdecad5a4e884d
 DIST xsts-2002-01-16.tar.gz 6894439 BLAKE2B 
1e9ec63d2c104655e64249e07440a04d862fcbcd4d4e19745d81b34994319b510a531c9d6df1491fae1e90b5d0764f0f1a827251ca8df5d613178b0eab01ef25
 SHA512 
43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288
 DIST xsts-2004-01-14.tar.gz 2761085 BLAKE2B 
41545995fb3a65d053257c376c07d45ffd1041a433bfbdb46d4dd87a5afb60c18c8629a3d988323f9e7a1d709775b5a7e5930276a7121c0725a22705c0976e36
 SHA512 
32854388d7e720ad67156baf50bf2bae7bd878ca3e35fd7e44e57cad3f434f69d56bbbedd61509f8a1faf01c9eae74a078df8fe130780b182c05c05cb1c39ebe

diff --git a/dev-libs/libxml2/files/2.9.9-python3-unicode-errors.patch 
b/dev-libs/libxml2/files/2.9.9-python3-unicode-errors.patch
deleted file mode 100644
index e87dcdedf88..000
--- a/dev-libs/libxml2/files/2.9.9-python3-unicode-errors.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Index: libxml2-2.9.5/python/libxml.c
-===
 libxml2-2.9.5.orig/python/libxml.c
-+++ libxml2-2.9.5/python/libxml.c
-@@ -1620,6 +1620,7 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU
- PyObject *message;
- PyObject *result;
- char str[1000];
-+unsigned char *ptr = (unsigned char *)str;
- 
- #ifdef DEBUG_ERROR
- printf("libxml_xmlErrorFuncHandler(%p, %s, ...) called\n", ctx, msg);
-@@ -1636,12 +1637,20 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU
-   str[999] = 0;
- va_end(ap);
- 
-+#if PY_MAJOR_VERSION >= 3
-+/* Ensure the error string doesn't start at UTF8 continuation. */
-+while (*ptr && (*ptr & 0xc0) == 0x80)
-+ptr++;
-+#endif
-+
- list = PyTuple_New(2);
- PyTuple_SetItem(list, 0, libxml_xmlPythonErrorFuncCtxt);
- Py_XINCREF(libxml_xmlPythonErrorFuncCtxt);
--message = libxml_charPtrConstWrap(str);
-+message = libxml_charPtrConstWrap(ptr);
- PyTuple_SetItem(list, 1, message);
- result = PyEval_CallObject(libxml_xmlPythonErrorFuncHandler, list);
-+/* Forget any errors caused in the error handler. */
-+PyErr_Clear();
- Py_XDECREF(list);
- Py_XDECREF(result);
- }

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-util/catalyst/

2020-10-30 Thread Matt Turner
commit: 108891a186ac0756c72da2a3f93f05c1aa4c0fc2
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 16:27:23 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:33:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108891a1

dev-util/catalyst: Remove python3_7

Catalyst now requires Python 3.8+ (uses the assignment expression
operator).

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/catalyst/catalyst-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/catalyst/catalyst-.ebuild 
b/dev-util/catalyst/catalyst-.ebuild
index e51ab58b667..60587f23f48 100644
--- a/dev-util/catalyst/catalyst-.ebuild
+++ b/dev-util/catalyst/catalyst-.ebuild
@@ -12,7 +12,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 fi
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_8 )
 DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 linux-info optfeature ${SRC_ECLASS}



[gentoo-commits] repo/gentoo:master commit in: dev-util/catalyst/

2020-10-30 Thread Matt Turner
commit: b203936ca1f8c298b68fbe506b5245dff7debd5f
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct 29 16:24:51 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:33:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b203936c

dev-util/catalyst: Depend on sys-apps/util-linux[python]

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/catalyst/catalyst-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/catalyst/catalyst-.ebuild 
b/dev-util/catalyst/catalyst-.ebuild
index 8b532c332b7..e51ab58b667 100644
--- a/dev-util/catalyst/catalyst-.ebuild
+++ b/dev-util/catalyst/catalyst-.ebuild
@@ -31,6 +31,7 @@ DEPEND="
sys-apps/portage[${PYTHON_USEDEP}]
>=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
+   sys-apps/util-linux[python,${PYTHON_USEDEP}]
 "
 RDEPEND="
${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/, dev-libs/libxml2/files/

2020-10-30 Thread Matt Turner
commit: ffcf01ad268f711faa94fcb5f7d5b3e22ad4a567
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Oct 30 22:27:50 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Oct 30 22:33:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffcf01ad

dev-libs/libxml2: Add patch to fix build with icu-68.1

Closes: https://bugs.gentoo.org/751922
Signed-off-by: Matt Turner  gentoo.org>

 .../libxml2/files/libxml2-2.9.10-remove-TRUE.patch | 31 ++
 dev-libs/libxml2/libxml2-2.9.10-r3.ebuild  |  2 ++
 2 files changed, 33 insertions(+)

diff --git a/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch 
b/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch
new file mode 100644
index 000..e405feb37c3
--- /dev/null
+++ b/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/751922
+https://gitlab.gnome.org/GNOME/libxml2/-/issues/202
+
+From c1bae734f3850f6900cf54d186ca0a9102895d82 Mon Sep 17 00:00:00 2001
+From: Lars Wendler 
+Date: Fri, 30 Oct 2020 10:27:23 +0100
+Subject: [PATCH] Fix build with icu-68.1
+
+icu-68.1 removed macro definitions for TRUE and FALSE
+
+Signed-off-by: Lars Wendler 
+---
+ encoding.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/encoding.c b/encoding.c
+index ad4d8a63..ea1fa99e 100644
+--- a/encoding.c
 b/encoding.c
+@@ -1958,7 +1958,7 @@ xmlEncOutputChunk(xmlCharEncodingHandler *handler, 
unsigned char *out,
+ #ifdef LIBXML_ICU_ENABLED
+ else if (handler->uconv_out != NULL) {
+ ret = xmlUconvWrapper(handler->uconv_out, 0, out, outlen, in, inlen,
+-  TRUE);
++  1);
+ }
+ #endif /* LIBXML_ICU_ENABLED */
+ else {
+-- 
+2.29.2
+

diff --git a/dev-libs/libxml2/libxml2-2.9.10-r3.ebuild 
b/dev-libs/libxml2/libxml2-2.9.10-r3.ebuild
index 360bcffb202..916abdd469c 100644
--- a/dev-libs/libxml2/libxml2-2.9.10-r3.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.10-r3.ebuild
@@ -78,6 +78,8 @@ src_prepare() {
# Patches needed for prefix support
eapply "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
 
+   eapply "${FILESDIR}"/${P}-remove-TRUE.patch
+
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
 
# Fix build for Windows platform



[gentoo-commits] repo/gentoo:master commit in: sys-process/parallel/

2020-10-30 Thread Thomas Deutschmann
commit: 73d47379a0a579df4982f6e2edcebb0ad04fb9fa
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 22:32:16 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 22:32:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d47379

sys-process/parallel: x86 stable (bug #751820)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-process/parallel/parallel-20200922.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/parallel/parallel-20200922.ebuild 
b/sys-process/parallel/parallel-20200922.ebuild
index b26f0ef3040..3629223b9de 100644
--- a/sys-process/parallel/parallel-20200922.ebuild
+++ b/sys-process/parallel/parallel-20200922.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
 
 RDEPEND="dev-lang/perl:=
dev-perl/Devel-Size



[gentoo-commits] repo/gentoo:master commit in: net-irc/irssistats/, net-irc/irssistats/files/

2020-10-30 Thread Patrice Clement
commit: 0f642cf46a0e86a99c1be9cbff985b2b5a272143
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Oct 30 22:31:56 2020 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Oct 30 22:32:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f642cf4

net-irc/irssistats: honor LDFLAGS.

Closes: https://bugs.gentoo.org/740704
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrice Clement  gentoo.org>

 .../files/irssistats-0.75-Makefile.patch   | 26 ++
 net-irc/irssistats/irssistats-0.75-r1.ebuild   |  9 ++--
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/net-irc/irssistats/files/irssistats-0.75-Makefile.patch 
b/net-irc/irssistats/files/irssistats-0.75-Makefile.patch
new file mode 100644
index 000..ac91c7deb51
--- /dev/null
+++ b/net-irc/irssistats/files/irssistats-0.75-Makefile.patch
@@ -0,0 +1,26 @@
+--- a/Makefile 2020-10-30 22:07:33.519994135 -
 b/Makefile 2020-10-30 22:26:46.042808724 -
+@@ -1,17 +1,18 @@
+-PRE = /usr/local
++CC = gcc
++CFLAGS ?= -O2 -Wall
++PRE = /usr
+ BIN = $(PRE)/bin
+ DAT = $(PRE)/share/irssistats/data
+ DOC = $(PRE)/share/doc/irssistats
+ MAN = $(PRE)/share/man/man1
+-CFLAGS ?= -O2
+ 
+-irssistats:irssistats.c
+-  gcc $(CFLAGS) -o irssistats irssistats.c
++irssistats: irssistats.c
++  $(CC) $(CFLAGS) -o irssistats irssistats.c $(LDFLAGS)
+ 
+ clean:
+   rm -f irssistats
+ 
+-install:irssistats
++install: irssistats
+   mkdir -p $(BIN) $(DAT) $(DOC) $(MAN)
+   cp -f irssistats $(BIN)
+   cp -f data/* $(DAT)

diff --git a/net-irc/irssistats/irssistats-0.75-r1.ebuild 
b/net-irc/irssistats/irssistats-0.75-r1.ebuild
index 3f7fd1cb742..0a674f4d68c 100644
--- a/net-irc/irssistats/irssistats-0.75-r1.ebuild
+++ b/net-irc/irssistats/irssistats-0.75-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,8 +16,13 @@ KEYWORDS="amd64 ppc sparc x86"
 
 DEPEND="net-irc/irssi"
 
+src_prepare() {
+   default
+   eapply "${FILESDIR}/${P}-Makefile.patch"
+}
+
 src_compile() {
-   $(tc-getCC) -o irssistats ${CFLAGS} ${LDFLAGS} irssistats.c
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-10-30 Thread Thomas Deutschmann
commit: f97183faade9684d8b7a7b359c1d226d19b00e7e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 22:31:56 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 22:32:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97183fa

app-admin/keepass: x86 stable (bug #751826)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-admin/keepass/keepass-2.46.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.46.ebuild 
b/app-admin/keepass/keepass-2.46.ebuild
index db354f61366..cc9a5d395e3 100644
--- a/app-admin/keepass/keepass-2.46.ebuild
+++ b/app-admin/keepass/keepass-2.46.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/

2020-10-30 Thread Thomas Deutschmann
commit: 269830570dbdba8027b33dc7b9553effeb6a77d1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 22:31:41 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 22:32:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26983057

sys-libs/glibc: x86 stable (bug #751955)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/glibc/glibc-2.31-r7.ebuild | 2 +-
 sys-libs/glibc/glibc-2.32-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.31-r7.ebuild 
b/sys-libs/glibc/glibc-2.31-r7.ebuild
index 01548ad138d..6c3974c64e8 100644
--- a/sys-libs/glibc/glibc-2.31-r7.ebuild
+++ b/sys-libs/glibc/glibc-2.31-r7.ebuild
@@ -22,7 +22,7 @@ PATCH_DEV=dilfridge
 if [[ ${PV} == * ]]; then
inherit git-r3
 else
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
SRC_URI+=" 
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz;
 fi

diff --git a/sys-libs/glibc/glibc-2.32-r2.ebuild 
b/sys-libs/glibc/glibc-2.32-r2.ebuild
index 6dcb8cf95b1..5f8215683ad 100644
--- a/sys-libs/glibc/glibc-2.32-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.32-r2.ebuild
@@ -22,7 +22,7 @@ PATCH_DEV=dilfridge
 if [[ ${PV} == * ]]; then
inherit git-r3
 else
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
SRC_URI+=" 
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz;
SRC_URI+=" riscv? ( 
https://dev.gentoo.org/~dilfridge/distfiles/backport-rv32.txz )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pandas/

2020-10-30 Thread Michał Górny
commit: 4194276421ac6fa619397b4c6beac11ac4eff71e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 30 21:03:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 30 22:23:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41942764

dev-python/pandas: Bump to 1.1.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pandas/Manifest|   1 +
 dev-python/pandas/pandas-1.1.4.ebuild | 180 ++
 2 files changed, 181 insertions(+)

diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest
index a065b2f84c0..5134cc5e650 100644
--- a/dev-python/pandas/Manifest
+++ b/dev-python/pandas/Manifest
@@ -1,3 +1,4 @@
 DIST pandas-1.0.5.tar.gz 5007108 BLAKE2B 
6aff9602f8b1642af1dca70c7c596f2978bfef8ca9bc782d55aeeab85d3768289849ccd0150291c33cab3442d38cedada91fb846abaade1b3905098edb06c06e
 SHA512 
bb9e3ed9988f7b878ac6f9d7c6c054b119acfc4b960ae42ea92436979ef2098289123cac32b176753942a1edb3b6bd35c4eaf05112a25fbf8a89078fd76a2646
 DIST pandas-1.1.1.tar.gz 5213685 BLAKE2B 
6604c7def761f8eef4596a9ad6c1afe1f59fdd6181f9cdc9edfa97939a9e668e745ebc0abd8664eda4f864be54740d46e4aa10f32728306b897e397bd6e1f682
 SHA512 
db93e66956d832da594f04aaa5cb895ea22f66acd0e97ad76f22153f9e872e46845dad5b952b54463ec8ef3e2a73a766eea8d53e980a5508e3a3346429a07999
 DIST pandas-1.1.2.tar.gz 5220166 BLAKE2B 
3351bf0e539335b7f13dd6e6590309989c3bd5d36c0fd188808be14a147b828f1a3a14007fc499e2b5f580072b02de8587885629a8ffb1fc70b2577fbd034001
 SHA512 
a81e9f82b866cc48eaf55c288610b150fe3fa6ba6100c0b13516eb0ce4b569397127b85161e53454d0b2b24f276aa9806baa007a521623aad2345e7b7168cbb5
+DIST pandas-1.1.4.tar.gz 5226971 BLAKE2B 
9386eefdd1be566dee7e950d6c791a1127f5736b61a2f062f0cfbf1a83879c68b39fade863ed77acc38f619b681060b0e73ff290fbcba6d8d2d2d3332f4e32e4
 SHA512 
abc6e23ccc066bd9aaea5688df4803ef2fe2f038df9f45bd59696e94b589174d9bc79bfe6b36315307ab39b31a4e8cf32217f9135ac977320bf29968e12cb271

diff --git a/dev-python/pandas/pandas-1.1.4.ebuild 
b/dev-python/pandas/pandas-1.1.4.ebuild
new file mode 100644
index 000..db6f0cd767d
--- /dev/null
+++ b/dev-python/pandas/pandas-1.1.4.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE="threads(+)"
+
+VIRTUALX_REQUIRED="manual"
+
+inherit distutils-r1 flag-o-matic multiprocessing optfeature virtualx
+
+DESCRIPTION="Powerful data structures for data analysis and statistics"
+HOMEPAGE="https://pandas.pydata.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_/}.tar.gz"
+S="${WORKDIR}/${P/_/}"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="doc full-support minimal test X"
+RESTRICT="!test? ( test )"
+
+RECOMMENDED_DEPEND="
+   >=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}]
+   >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]
+"
+
+# TODO: add pandas-gbq to the tree
+OPTIONAL_DEPEND="
+   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+   dev-python/blosc[${PYTHON_USEDEP}]
+   || (
+   dev-python/html5lib[${PYTHON_USEDEP}]
+   dev-python/lxml[${PYTHON_USEDEP}]
+   )
+   dev-python/jinja[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   || (
+   dev-python/openpyxl[${PYTHON_USEDEP}]
+   dev-python/xlsxwriter[${PYTHON_USEDEP}]
+   )
+   >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}]
+   dev-python/s3fs[${PYTHON_USEDEP}]
+   dev-python/statsmodels[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}]
+   ' python3_{6,7})
+   >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}]
+   >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}]
+   dev-python/xlwt[${PYTHON_USEDEP}]
+   >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
+   X? (
+   || (
+   dev-python/PyQt5[${PYTHON_USEDEP}]
+   x11-misc/xclip
+   x11-misc/xsel
+   )
+   )
+"
+COMMON_DEPEND="
+   >dev-python/numpy-1.15.4[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}
+   >=dev-python/cython-0.29.21[${PYTHON_USEDEP}]
+   doc? (
+   ${VIRTUALX_DEPEND}
+   app-text/pandoc
+   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+   dev-python/html5lib[${PYTHON_USEDEP}]
+   dev-python/ipython[${PYTHON_USEDEP}]
+   dev-python/lxml[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/nbsphinx[${PYTHON_USEDEP}]
+   >=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}]
+   >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
+   >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/

2020-10-30 Thread Andreas K. Hüttel
commit: f5bef89a1670a6116564c133efa817ffdaa02068
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 30 19:36:48 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Oct 30 21:45:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5bef89a

sys-libs/glibc: Remove old

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/glibc/Manifest |1 -
 sys-libs/glibc/glibc-2.32-r1.ebuild | 1505 ---
 2 files changed, 1506 deletions(-)

diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index 90e1d760143..0131d63d77c 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -11,7 +11,6 @@ DIST glibc-2.30.tar.xz 16576920 BLAKE2B 
bd5aae4c9854f40785b91f83c3b632de6d48d811
 DIST glibc-2.31-patches-8.tar.xz 60868 BLAKE2B 
c641a77cab0b3e5379a6911a548483266110d747300f6bd4c138754cc35aff266088be8682ba45ac105c946ee309db0bc094b0c3bc48fd4303c925a7594e17e2
 SHA512 
1bc069d487ff9d4cd33c5d293bb0789114f65af5179b3d9df8ff0a9f043d5ffbcd030d8eabc90b329c896dfdd0409c4b8dac371eafdd380ecc660b9540320637
 DIST glibc-2.31-patches-9.tar.xz 74712 BLAKE2B 
62991b67de4def4cca944e8420d2f0139f88b6754c6bc81072bb321c574c1db22641857345325848e1dfb551c10758f582e4425e687a7921cdbd4e7e7923a047
 SHA512 
699d898e3a8ed02b04573c675f572076e8f747767bfc577a033a49cd7d9078a7a60ac325acd4bd419a93b56edf90ce067baa7578ab315e27885f1f0e13916354
 DIST glibc-2.31.tar.xz 16676764 BLAKE2B 
91df1792345f157265eae405185a81fd4b8ce36d4c2388f44b0d5b1ae38174ea374cbc909cd260770b9f38ea58051da13766d4fa22abf41c2d4a2493257b179b
 SHA512 
735e4c0ef10418b6ea945ad3906585e5bbd8b282d76f2131309dce4cec6b15066a5e4a3731773ce428a819b542579c9957867bb0abf05ed2030983fca4412306
-DIST glibc-2.32-patches-1.tar.xz 7640 BLAKE2B 
849bdc1108e1f68f307bb9673f5ecda7c5470815f7d2de7956d529b638aafd4a8f37c22f79bc89d8e5f2efd51878927d3999d80586ec1074c46a52b6e148ea18
 SHA512 
a206d69693c3d9c527e17307b413aed05bcdefdf2537bb16af97ef31e85e4c48812971b60c00107b6a7c4bdc83c7e8ba1c9ea96f5641520852f98928f1018349
 DIST glibc-2.32-patches-2.tar.xz 8588 BLAKE2B 
57a85241e3270d14df0332b039a933c5a7ee4d089684d85cca564eeec2d6796735de60b628c5746858757342922d58993d6cf7187ce1d7102b2299ca2cf8513f
 SHA512 
45bbab9e2f813f55cb4a1438dcd9365170b8facff50b11648ba6022da06c20029bb65a4b06fd906af82aa7461b7374f85105fd7eedb7915cec3f1df3779b68a3
 DIST glibc-2.32.tar.xz 16744512 BLAKE2B 
a56b4afbb35315c5cd6dca0f62e44455dceae3e6e88a8453621f9a5394a60ddf10ca9309b2db0911830c7fd77e3faa5d94694eb94d5b2c05fc5285cef52255da
 SHA512 
8460c155b7003e04f18dabece4ed9ad77445fa2288a7dc08e80a8fc4c418828af29e0649951bd71a54ea2ad2d4da7570aafd9bdfe4a37e9951b772b442afe50b
 DIST locale-gen-2.00.tar.gz 7738 BLAKE2B 
cde6de5ba3400aea24d0d5f1b79471f89f09fb747c8e371e38316c7ada92f967e0865f573f23cb353d82419c234724143c0aeca9eb70eb945dfc581cc7491eb1
 SHA512 
b609fddb9ec5e567c008841fef3390eddb5d6e7699a8271b3b8c0ade1b44b0ac2e5d1daa8b9acabf3432e3b88110b538a96f209b1ad0f9e988b7efce66606dff

diff --git a/sys-libs/glibc/glibc-2.32-r1.ebuild 
b/sys-libs/glibc/glibc-2.32-r1.ebuild
deleted file mode 100644
index 18d94a7b0ef..000
--- a/sys-libs/glibc/glibc-2.32-r1.ebuild
+++ /dev/null
@@ -1,1505 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit python-any-r1 prefix eutils toolchain-funcs flag-o-matic gnuconfig \
-   multilib systemd multiprocessing
-
-DESCRIPTION="GNU libc C library"
-HOMEPAGE="https://www.gnu.org/software/libc/;
-LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE"
-SLOT="2.2"
-
-EMULTILIB_PKG="true"
-
-# Gentoo patchset (ignored for live ebuilds)
-PATCH_VER=1
-PATCH_DEV=dilfridge
-
-if [[ ${PV} == * ]]; then
-   inherit git-r3
-else
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
-   SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
-   SRC_URI+=" 
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz;
-   SRC_URI+=" riscv? ( 
https://dev.gentoo.org/~dilfridge/distfiles/backport-rv32.txz )"
-fi
-
-RELEASE_VER=${PV}
-
-GCC_BOOTSTRAP_VER=20180511
-
-LOCALE_GEN_VER=2.10
-
-SRC_URI+=" 
https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/locale-gen-${LOCALE_GEN_VER}.tar.gz;
-SRC_URI+=" multilib? ( 
https://dev.gentoo.org/~dilfridge/distfiles/gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz
 )"
-
-IUSE="audit caps cet compile-locales +crypt custom-cflags doc gd headers-only 
+multiarch multilib nscd profile selinux +ssp +static-libs static-pie suid 
systemtap test vanilla"
-
-# Minimum kernel version that glibc requires
-MIN_KERN_VER="3.2.0"
-
-# Here's how the cross-compile logic breaks down ...
-#  CTARGET - machine that will target the binaries
-#  CHOST   - machine that will host the binaries
-#  CBUILD  - machine that will build the binaries
-# If CTARGET != CHOST, it 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils/

2020-10-30 Thread Andreas K. Hüttel
commit: a7067c3c19ddc3b38b69195cf06dc4de5ef855ab
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 30 21:42:08 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Oct 30 21:45:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7067c3c

sys-devel/binutils: 2.35.1 patchset bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-devel/binutils/Manifest  |   1 +
 sys-devel/binutils/binutils-2.35.1-r1.ebuild | 437 +++
 2 files changed, 438 insertions(+)

diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index 3d995073da3..1c4e8ce1c45 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -6,4 +6,5 @@ DIST binutils-2.33.1.tar.xz 21490848 BLAKE2B 
c336a8412938dc8c224f40a763a8bea9937
 DIST binutils-2.34-patches-6.tar.xz 103028 BLAKE2B 
d0e866d0941d2b550c7d7f23530c6ee393fa13b4f2f27832f07790989476f11d1beddb5ad5a9be5c65c1d4dff9d4598d21adcb00c1d0490f69a99127f4527447
 SHA512 
e05ed8886acb5cb95a3e97c5bc0564215f7d44b604610f5c4545997fd9625d6de909c37063127e819926cd1548a48d3529dd3e82e98ee6a5dbaced028c57355d
 DIST binutils-2.34.tar.xz 21637796 BLAKE2B 
07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d
 SHA512 
2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd
 DIST binutils-2.35.1-patches-1.tar.xz 10088 BLAKE2B 
fa4b0c417b6452757f90243921c60b2406c9bf60d1aaa393654fb23ce52e32fb3e7ed90f6d59286786dd95398a10d008c75bfdca065d704025cc828ff65b225f
 SHA512 
dccb4407f4f2a8b38488f9f42638c10777ee344239cf5d4fcc8f580df3e8ff15d03211dc51ef18d905c326a71771da4b38f47381d6d549422a8353b5da0e7b0b
+DIST binutils-2.35.1-patches-2.tar.xz 72236 BLAKE2B 
584cb3edbda28c69171ed64e941535f992150d86f25201cadd07b63daaa36bf76b07dc0aa8a4837da17d1672feb47a7b15f83efdeec5409e695965a10142147a
 SHA512 
b704ebe82c4402f058f9c96991a89256a6b369d28f844bf020ed2c77766894d9a2ca0596cd609de7b389fa8cd52bfab674b6deb10ea2096e50aa57921be2083e
 DIST binutils-2.35.1.tar.xz 22031720 BLAKE2B 
d3468da90b75e9b5fa7fbd64d3fdb0a4bc445e4cb7da5ae058f73a1e9d948b3e9438bc9f1b5b351db369b76a25960c9c1f58f828fd2c7646f555de45fa3c052b
 SHA512 
94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb

diff --git a/sys-devel/binutils/binutils-2.35.1-r1.ebuild 
b/sys-devel/binutils/binutils-2.35.1-r1.ebuild
new file mode 100644
index 000..03297128b67
--- /dev/null
+++ b/sys-devel/binutils/binutils-2.35.1-r1.ebuild
@@ -0,0 +1,437 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="https://sourceware.org/binutils/;
+LICENSE="GPL-3+"
+IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test 
vanilla"
+REQUIRED_USE="default-gold? ( gold )"
+
+# Variables that can be set here  (ignored for live ebuilds)
+# PATCH_VER  - the patchset version
+#  Default: empty, no patching
+# PATCH_BINUTILS_VER - the binutils version in the patchset name
+#- Default: PV
+# PATCH_DEV  - Use download URI 
https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
+#  for the patchsets
+
+PATCH_VER=2
+PATCH_DEV=dilfridge
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   SLOT=${PV}
+else
+   PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
+   PATCH_DEV=${PATCH_DEV:-slyfox}
+   SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+   [[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
+   
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz;
+   SLOT=$(ver_cut 1-2)
+   # live ebuild
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+#
+# The cross-compile logic
+#
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+#
+# The dependencies
+#
+RDEPEND="
+   >=sys-devel/binutils-config-3
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( sys-apps/texinfo )
+   test? ( dev-util/dejagnu )
+   nls? ( sys-devel/gettext )
+   sys-devel/flex
+   virtual/yacc
+"
+
+RESTRICT="!test? ( test )"
+
+MY_BUILDDIR=${WORKDIR}/build
+
+src_unpack() {
+   if [[ ${PV} == * ]] ; then
+   
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/toolchain/binutils-patches.git;
+   EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git
+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-hppa64/

2020-10-30 Thread Andreas K. Hüttel
commit: f0a55611c0ed6a9d77ee58d3f07b6018b2838f6a
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 30 21:43:09 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Oct 30 21:45:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a55611

sys-devel/binutils-hppa64: 2.35.1 patchset bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-devel/binutils-hppa64/Manifest |   1 +
 .../binutils-hppa64-2.35.1-r1.ebuild   | 430 +
 2 files changed, 431 insertions(+)

diff --git a/sys-devel/binutils-hppa64/Manifest 
b/sys-devel/binutils-hppa64/Manifest
index 089a85714e6..3a92df3667a 100644
--- a/sys-devel/binutils-hppa64/Manifest
+++ b/sys-devel/binutils-hppa64/Manifest
@@ -5,4 +5,5 @@ DIST binutils-2.33.1.tar.xz 21490848 BLAKE2B 
c336a8412938dc8c224f40a763a8bea9937
 DIST binutils-2.34-patches-6.tar.xz 103028 BLAKE2B 
d0e866d0941d2b550c7d7f23530c6ee393fa13b4f2f27832f07790989476f11d1beddb5ad5a9be5c65c1d4dff9d4598d21adcb00c1d0490f69a99127f4527447
 SHA512 
e05ed8886acb5cb95a3e97c5bc0564215f7d44b604610f5c4545997fd9625d6de909c37063127e819926cd1548a48d3529dd3e82e98ee6a5dbaced028c57355d
 DIST binutils-2.34.tar.xz 21637796 BLAKE2B 
07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d
 SHA512 
2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd
 DIST binutils-2.35.1-patches-1.tar.xz 10088 BLAKE2B 
fa4b0c417b6452757f90243921c60b2406c9bf60d1aaa393654fb23ce52e32fb3e7ed90f6d59286786dd95398a10d008c75bfdca065d704025cc828ff65b225f
 SHA512 
dccb4407f4f2a8b38488f9f42638c10777ee344239cf5d4fcc8f580df3e8ff15d03211dc51ef18d905c326a71771da4b38f47381d6d549422a8353b5da0e7b0b
+DIST binutils-2.35.1-patches-2.tar.xz 72236 BLAKE2B 
584cb3edbda28c69171ed64e941535f992150d86f25201cadd07b63daaa36bf76b07dc0aa8a4837da17d1672feb47a7b15f83efdeec5409e695965a10142147a
 SHA512 
b704ebe82c4402f058f9c96991a89256a6b369d28f844bf020ed2c77766894d9a2ca0596cd609de7b389fa8cd52bfab674b6deb10ea2096e50aa57921be2083e
 DIST binutils-2.35.1.tar.xz 22031720 BLAKE2B 
d3468da90b75e9b5fa7fbd64d3fdb0a4bc445e4cb7da5ae058f73a1e9d948b3e9438bc9f1b5b351db369b76a25960c9c1f58f828fd2c7646f555de45fa3c052b
 SHA512 
94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild
new file mode 100644
index 000..d277e1a234b
--- /dev/null
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild
@@ -0,0 +1,430 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+export CTARGET=hppa64-${CHOST#*-}
+
+inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs
+
+DESCRIPTION="Tools necessary to build programs"
+HOMEPAGE="https://sourceware.org/binutils/;
+LICENSE="GPL-3+"
+IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test"
+REQUIRED_USE="default-gold? ( gold )"
+
+# Variables that can be set here:
+# PATCH_VER  - the patchset version
+#  Default: empty, no patching
+# PATCH_BINUTILS_VER - the binutils version in the patchset name
+#- Default: PV
+# PATCH_DEV  - Use download URI 
https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
+#  for the patchsets
+
+PATCH_VER=2
+PATCH_DEV=dilfridge
+
+case ${PV} in
+   )
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   S=${WORKDIR}/binutils
+   EGIT_CHECKOUT_DIR=${S}
+   SLOT=${PV}
+   ;;
+   *)
+   SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+   SLOT=$(ver_cut 1-2)
+   # KEYWORDS="-* ~hppa"
+   ;;
+esac
+
+#
+# The Gentoo patchset
+#
+PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
+PATCH_DEV=${PATCH_DEV:-slyfox}
+
+[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
+   
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz;
+
+#
+# The cross-compile logic
+#
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+#
+# The dependencies
+#
+RDEPEND="
+   >=sys-devel/binutils-config-3
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( sys-apps/texinfo )
+   test? ( dev-util/dejagnu )
+   nls? ( sys-devel/gettext )
+   sys-devel/flex
+   virtual/yacc
+"
+
+RESTRICT="!test? ( test )"
+
+MY_BUILDDIR=${WORKDIR}/build

[gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/

2020-10-30 Thread Andreas K. Hüttel
commit: 60cad9dcb3611c6a0058f33fcf0ac34ceca32d6c
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 30 21:44:35 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Oct 30 21:45:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60cad9dc

sys-libs/binutils-libs: 2.35.1 patchset bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/binutils-libs/Manifest|   1 +
 .../binutils-libs/binutils-libs-2.35.1-r1.ebuild   | 119 +
 2 files changed, 120 insertions(+)

diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
index 887e435638c..655fe8e24bf 100644
--- a/sys-libs/binutils-libs/Manifest
+++ b/sys-libs/binutils-libs/Manifest
@@ -3,4 +3,5 @@ DIST binutils-2.33.1.tar.xz 21490848 BLAKE2B 
c336a8412938dc8c224f40a763a8bea9937
 DIST binutils-2.34-patches-6.tar.xz 103028 BLAKE2B 
d0e866d0941d2b550c7d7f23530c6ee393fa13b4f2f27832f07790989476f11d1beddb5ad5a9be5c65c1d4dff9d4598d21adcb00c1d0490f69a99127f4527447
 SHA512 
e05ed8886acb5cb95a3e97c5bc0564215f7d44b604610f5c4545997fd9625d6de909c37063127e819926cd1548a48d3529dd3e82e98ee6a5dbaced028c57355d
 DIST binutils-2.34.tar.xz 21637796 BLAKE2B 
07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d
 SHA512 
2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd
 DIST binutils-2.35.1-patches-1.tar.xz 10088 BLAKE2B 
fa4b0c417b6452757f90243921c60b2406c9bf60d1aaa393654fb23ce52e32fb3e7ed90f6d59286786dd95398a10d008c75bfdca065d704025cc828ff65b225f
 SHA512 
dccb4407f4f2a8b38488f9f42638c10777ee344239cf5d4fcc8f580df3e8ff15d03211dc51ef18d905c326a71771da4b38f47381d6d549422a8353b5da0e7b0b
+DIST binutils-2.35.1-patches-2.tar.xz 72236 BLAKE2B 
584cb3edbda28c69171ed64e941535f992150d86f25201cadd07b63daaa36bf76b07dc0aa8a4837da17d1672feb47a7b15f83efdeec5409e695965a10142147a
 SHA512 
b704ebe82c4402f058f9c96991a89256a6b369d28f844bf020ed2c77766894d9a2ca0596cd609de7b389fa8cd52bfab674b6deb10ea2096e50aa57921be2083e
 DIST binutils-2.35.1.tar.xz 22031720 BLAKE2B 
d3468da90b75e9b5fa7fbd64d3fdb0a4bc445e4cb7da5ae058f73a1e9d948b3e9438bc9f1b5b351db369b76a25960c9c1f58f828fd2c7646f555de45fa3c052b
 SHA512 
94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb

diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild 
b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild
new file mode 100644
index 000..ed1b5ffa1e8
--- /dev/null
+++ b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PATCH_VER=2
+PATCH_DEV=dilfridge
+
+inherit eutils libtool toolchain-funcs multilib-minimal
+
+MY_PN="binutils"
+MY_P="${MY_PN}-${PV}"
+PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
+PATCH_DEV=${PATCH_DEV:-slyfox}
+
+DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for 
external packages"
+HOMEPAGE="https://sourceware.org/binutils/;
+SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
+   
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz;
+
+LICENSE="|| ( GPL-3 LGPL-3 )"
+SLOT="0/${PV}"
+IUSE="64-bit-bfd multitarget nls static-libs"
+# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+
+BDEPEND="nls? ( sys-devel/gettext )"
+DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
+# Need a newer binutils-config that'll reset include/lib symlinks for us.
+RDEPEND="${DEPEND}
+   >=sys-devel/binutils-config-5
+"
+
+S="${WORKDIR}/${MY_P}"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/bfd.h
+)
+
+src_prepare() {
+   if [[ ! -z ${PATCH_VER} ]] ; then
+   einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset 
${PATCH_VER}"
+   eapply "${WORKDIR}/patch"/*.patch
+   fi
+
+   # Fix cross-compile relinking issue, bug #626402
+   elibtoolize
+
+   default
+}
+
+pkgversion() {
+   printf "Gentoo ${PVR}"
+   [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
+}
+
+multilib_src_configure() {
+   local myconf=(
+   --enable-obsolete
+   --enable-shared
+   --enable-threads
+   # Newer versions (>=2.24) make this an explicit option. #497268
+   --enable-install-libiberty
+   --disable-werror
+   --with-bugurl="https://bugs.gentoo.org/;
+   --with-pkgversion="$(pkgversion)"
+   $(use_enable static-libs static)
+   # The binutils eclass enables this flag for all bi-arch builds,
+   # but other tools often don't 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/gscan2pdf/

2020-10-30 Thread Thomas Deutschmann
commit: 19a7a08ac2d32ee123bf7f8b10a3e3e4d4a87332
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 21:26:50 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 21:26:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a7a08a

media-gfx/gscan2pdf: x86 stable (bug #751391)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild 
b/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild
index 164bb1510f6..0a695a65773 100644
--- a/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild
+++ b/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gscan2pdf/

2020-10-30 Thread Thomas Deutschmann
commit: 76ba2a730a8e0c4ab7b24338589e31b73aad28bc
Author: Chris Mayo  gmail  com>
AuthorDate: Thu Oct 29 19:18:44 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 21:25:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ba2a73

media-gfx/gscan2pdf: add USE flags required for tests

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Chris Mayo  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18062
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild 
b/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild
index 602062853d6..164bb1510f6 100644
--- a/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild
+++ b/media-gfx/gscan2pdf/gscan2pdf-2.9.1.ebuild
@@ -54,9 +54,9 @@ BDEPEND="
dev-perl/Sub-Override
media-libs/fontconfig
 
-   app-text/djvu[tiff]
+   app-text/djvu[jpeg,tiff]
app-text/poppler[utils]
-   app-text/tesseract[-opencl,osd(+),tiff]
+   app-text/tesseract[-opencl,osd(+),png,tiff]
app-text/unpaper
media-gfx/imagemagick[djvu,jpeg,png,tiff,perl,postscript]
media-gfx/sane-backends[sane_backends_test]



[gentoo-commits] repo/gentoo:master commit in: dev-util/bcc/files/, dev-util/bcc/

2020-10-30 Thread Patrick McLean
commit: 6f97265a969eaa6d9b846dcb858f4c9d469149e1
Author: Patrick McLean  sony  com>
AuthorDate: Fri Oct 30 19:16:37 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Oct 30 21:13:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f97265a

dev-util/bcc-0.17.0: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-util/bcc/Manifest  |   1 +
 dev-util/bcc/bcc-0.17.0.ebuild | 102 +
 dev-util/bcc/files/60bcc.env   |   1 +
 3 files changed, 104 insertions(+)

diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest
index 8632824ea45..52fb0809ba4 100644
--- a/dev-util/bcc/Manifest
+++ b/dev-util/bcc/Manifest
@@ -4,6 +4,7 @@ DIST bcc-0.13.0.tar.gz 3928016 BLAKE2B 
ecaf2dc077a5e0b808ea1d588a89793291ed56de8
 DIST bcc-0.14.0.tar.gz 4021098 BLAKE2B 
2c66c82e14ee7f858f2e4ff8aa158d03c1580686f4023e920f643454283ed26265ec1e122695a308c4e570c369a0f66e6b0a9347fd9046f2eeb6cd4b536e4dc6
 SHA512 
216033a6944134c9f9b03a254c83236ff49b02c87808d2719a51a5ebe3b2e3f6b283e905cfbbc85084eab60cf8ef89c3135b4e07ddb9bd83348c69f6e49a84b8
 DIST bcc-0.15.0.tar.gz 4056782 BLAKE2B 
4ae1ee615111b7fadc29fecc0799e3bd65da4f741c83f86e75b7376dca397ed83e6b159dba149a5e675110a0fae92397c0685085b9691786361cfbedff31d4dd
 SHA512 
d340ff54138cb44f610804edc7c8f7424d7182d81fd48c1e3edc6b45977eca8171b6367242abc4418e1baf2c8d3b53a77d0a408d053f246a0c169ddeeea2a68e
 DIST bcc-0.16.0.tar.gz 4124285 BLAKE2B 
443077ffd5ad02e34d28a86ee64b8ec52fa4a18696295d58e87aaf2aeb833c394047cd0d87b3bf1da52d5512b889f8873b788e8141bdd91c9463e27cf30a1ef6
 SHA512 
50d09d6d02335a63d7c01c22f16a706584f231ee16973a80df5b640c31b8e25775da13a2bdff9e57c04c7f6181bb8c46cf3bd11c1e59741234024da71c7f6cdb
+DIST bcc-0.17.0.tar.gz 4166410 BLAKE2B 
6833c7a58ed9e99b58bf147dc499ba7c7c113961ff5c21a3ac388abab8caa01dc2a67378899e26050460c4af851a5ddd8747911bda7c7b405dfcb6df29981f85
 SHA512 
32f27bdd3d8f3e850e59011bcf662b91842b1dcef94d118a0662ffda3b2c48c97a359d736d01f6d06afd74e3d7a4efda4966c71a5c9146b2076d4fba087a85cf
 DIST libbpf-0.0.5.tar.gz 160335 BLAKE2B 
2cf4a3e6edc002b3a32f9d08bb22a07863d8f6f90472e9593a9e9a93b08a00f0557d5a59fa841325b947e6f7b129232e7cd1fdc906f45de57b0dbe594548f1c2
 SHA512 
e42f6cc8f834f2d3cf9138d655bd3727b2693850f7f6409ec4d536336bc5fa479a64eefc802a5915e333677eca843f8f1bd0132589bba10bdc89064eee0c
 DIST libbpf-0.0.6.tar.gz 213791 BLAKE2B 
9f0a08cc7bae41f7fa93d5ba2f535f76ce47fe691efb6bac6257b88a5607deb62fa53f59984d83b6070ccd573c902899f7528b376d9acbfd77317659de6ab061
 SHA512 
1678133d9a2bd1cf13d4d1f9b83bb3f0642de91e3e3c8d785e2993257035573aff39b9a1a457e73d9c4c1c66b6a52544a8ad06ac560766d335428bb3fc421e71
 DIST libbpf-0.0.7.tar.gz 262068 BLAKE2B 
e77ff25449274881ddb9d32f25cd6ad8988e4524102bd109049ee6cfce3e2753fd99ebe2a080f809a4c5422dbf6b17633e4b0cea156f289bf95b92f8375a273c
 SHA512 
c2cbc869b7e11339deab3152a6e2d0b3bba25da513d18d77fb0a698cbe61d6bd48175a58e7dd7a3695fbf27faf48b4f517ac5d3a3c66c086df2e5d1b73a2595d

diff --git a/dev-util/bcc/bcc-0.17.0.ebuild b/dev-util/bcc/bcc-0.17.0.ebuild
new file mode 100644
index 000..f2b68b2fd87
--- /dev/null
+++ b/dev-util/bcc/bcc-0.17.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit cmake linux-info llvm python-r1
+
+DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, 
and more"
+HOMEPAGE="https://iovisor.github.io/bcc/;
+
+SRC_URI="https://github.com/iovisor/bcc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+luajit test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   >=dev-libs/libbpf-0.2[static-libs(-)]
+   >=sys-kernel/linux-headers-4.14
+   >=dev-libs/elfutils-0.166:=
+   <=sys-devel/clang-12:=
+   <=sys-devel/llvm-12:=[llvm_targets_BPF(+)]
+   luajit? ( dev-lang/luajit )
+   ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}
+   test? (
+   || (
+   net-misc/iputils[arping]
+   net-analyzer/arping
+   )
+   net-analyzer/netperf
+   net-misc/iperf:*
+   )
+"
+BDEPEND="
+   dev-util/cmake
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/bcc-0.9.0-no-luajit-automagic-dep.patch"
+   "${FILESDIR}/bcc-0.14.0-cmakelists.patch"
+)
+
+# tests need root access
+RESTRICT="test"
+
+pkg_pretend() {
+   local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF
+   ~EBPF_JIT ~BPF_EVENTS ~DEBUG_INFO ~FUNCTION_TRACER ~KALLSYMS_ALL
+   ~KPROBES"
+
+   check_extra_config
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=11 llvm_pkg_setup
+   python_setup
+}
+
+src_prepare() {
+   local bpf_link_path
+
+   # this avoids bundling
+   bpf_link_path="$(realpath 

[gentoo-commits] repo/gentoo:master commit in: dev-util/bcc/

2020-10-30 Thread Patrick McLean
commit: 890c228fb22fe783aa28bbd7b836dba77d4d2310
Author: Patrick McLean  sony  com>
AuthorDate: Fri Oct 30 21:09:20 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Oct 30 21:13:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890c228f

dev-util/bcc-0.16.0-r1: Revbump, add tools to path, fix deps

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-util/bcc/bcc-0.16.0-r1.ebuild | 103 ++
 1 file changed, 103 insertions(+)

diff --git a/dev-util/bcc/bcc-0.16.0-r1.ebuild 
b/dev-util/bcc/bcc-0.16.0-r1.ebuild
new file mode 100644
index 000..55b56ac3dcb
--- /dev/null
+++ b/dev-util/bcc/bcc-0.16.0-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit cmake linux-info llvm python-r1
+
+DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, 
and more"
+HOMEPAGE="https://iovisor.github.io/bcc/;
+
+SRC_URI="https://github.com/iovisor/bcc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+luajit test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   >=dev-libs/libbpf-0.1.0-r1[static-libs(-)]
+   =sys-kernel/linux-headers-4.14
+   >=dev-libs/elfutils-0.166:=
+   <=sys-devel/clang-12:=
+   <=sys-devel/llvm-12:=[llvm_targets_BPF(+)]
+   luajit? ( dev-lang/luajit )
+   ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}
+   test? (
+   || (
+   net-misc/iputils[arping]
+   net-analyzer/arping
+   )
+   net-analyzer/netperf
+   net-misc/iperf:*
+   )
+"
+BDEPEND="
+   dev-util/cmake
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/bcc-0.9.0-no-luajit-automagic-dep.patch"
+   "${FILESDIR}/bcc-0.14.0-cmakelists.patch"
+)
+
+# tests need root access
+RESTRICT="test"
+
+pkg_pretend() {
+   local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF
+   ~BPF_JIT ~BPF_EVENTS ~DEBUG_INFO ~FUNCTION_TRACER ~KALLSYMS_ALL
+   ~KPROBES"
+
+   check_extra_config
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=11 llvm_pkg_setup
+   python_setup
+}
+
+src_prepare() {
+   local bpf_link_path
+
+   # this avoids bundling
+   bpf_link_path="$(realpath --relative-to="${S}/src/cc/libbpf" 
/usr/include/bpf)" || die
+   ln -sfn "${bpf_link_path}" src/cc/libbpf/include || die
+
+   cmake_src_prepare
+}
+
+python_add_impl() {
+   bcc_python_impls+="${EPYTHON};"
+}
+
+src_configure() {
+   local bcc_python_impls
+   python_foreach_impl python_add_impl
+
+   local -a mycmakeargs=(
+   -DREVISION=${PV%%_*}
+   -DENABLE_LLVM_SHARED=ON
+   -DCMAKE_USE_LIBBPF_PACKAGE=ON
+   -DKERNEL_INCLUDE_DIRS="${KERNEL_DIR}"
+   -DPYTHON_CMD="${bcc_python_impls%;}"
+   $(usex luajit '-DWITH_LUAJIT=1')
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   python_foreach_impl python_optimize
+   python_replicate_script $(grep -Flr '#!/usr/bin/python' 
"${ED}/usr/share/bcc/tools")
+
+   newenvd "${FILESDIR}"/60bcc.env 60bcc.env
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/bpftrace/

2020-10-30 Thread Patrick McLean
commit: cd4b4f37eafc00df6b82a5623d6c9571fddcdce0
Author: Patrick McLean  sony  com>
AuthorDate: Fri Oct 30 21:12:50 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Oct 30 21:13:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4b4f37

dev-util/bpftrace-0.11.2: Version bump (fixes #749561)

Closes: https://bugs.gentoo.org/749561
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-util/bpftrace/Manifest   |  1 +
 dev-util/bpftrace/bpftrace-0.11.2.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/dev-util/bpftrace/Manifest b/dev-util/bpftrace/Manifest
index dfcb4d56f4d..9c98fa4972f 100644
--- a/dev-util/bpftrace/Manifest
+++ b/dev-util/bpftrace/Manifest
@@ -1,3 +1,4 @@
 DIST bpftrace-0.10.0.tar.gz 835854 BLAKE2B 
623369bb2a2ad8d5eec364afa98bdae3fbe5e66182d8f1187fe86a8bd70ee357a554eb063fdbe5476eab23912adf2cf027092cac3e6989d8f716e91aa5d01212
 SHA512 
da400efe78cea505a32deead594b047ec4394d3eefe86e7b6853fe2dc715c5847a3abcbd26c1fac39d0a534f1e57d6c0bc3625e0c3f1054b0d84b7b1d6eb69b9
 DIST bpftrace-0.11.0.tar.gz 867444 BLAKE2B 
a99255befadea0b4cb54299a8318c0a7a667ac2258b612750705b4d351ac59f4411f2567bc0100929291e3c9756d276671e41af9d398b118b3d486dace2953d7
 SHA512 
32bf0c23a7b0e1a57d0e0b8fc845a9e184e201ac3f6018a3d3cee8c97096093b333578cb898ede02fb3ab8d55ba9bcd2bb67ac70b81a49461c0f6e5c03c2a6f5
 DIST bpftrace-0.11.1.tar.gz 867481 BLAKE2B 
d77e69e21a1cdd65c610b57a8e16d02ff2da69bbb6fd207ff312d2ee3dd4ccbaded205e4b9f16a7ff24177fbc227304ffbb447cd974f44c7828d54f38ad573d5
 SHA512 
361cedc6ce8a950188717db5ffd005b9709371010810cf6bc870ca945c1db9bdc7ab99b55b694345d580d03145b3eb6ca169f2f1f9909f3e9fc34250dff3
+DIST bpftrace-0.11.2.tar.gz 867724 BLAKE2B 
6d0a10c8a4261277fc3a6e5f422e26238673dcd76abcae6bd8079cc98ee713d3d34d3e09284f5c79ba323d7203d6d944999da17f73ab2afbf1d403cb0dd1a392
 SHA512 
25bcc9863d24646108252f0010b96afb823eb795c8c6d94112b7804740d7688139ead7d862a205a1b44b86ef135b412e533fc119939ce550e5509b1bd37952fa

diff --git a/dev-util/bpftrace/bpftrace-0.11.2.ebuild 
b/dev-util/bpftrace/bpftrace-0.11.2.ebuild
new file mode 100644
index 000..263e993188e
--- /dev/null
+++ b/dev-util/bpftrace/bpftrace-0.11.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs llvm linux-info cmake
+
+DESCRIPTION="High-level tracing language for eBPF"
+HOMEPAGE="https://github.com/iovisor/bpftrace;
+
+if [[ ${PV} =~ 9{4,} ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/iovisor/${PN};
+   BDEPEND=""
+else
+   MY_PV="${PV//_/}"
+   SRC_URI="https://github.com/iovisor/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~x86"
+   BDEPEND="app-arch/xz-utils "
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+
+COMMON_DEPEND="
+   dev-util/systemtap
+   =sys-devel/llvm-3.7.1:=[llvm_targets_BPF(+)]
+   <=sys-devel/llvm-12:=[llvm_targets_BPF(+)]
+   <=sys-devel/clang-12:=
+   >=dev-util/bcc-0.13.0:=
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libbpf/

2020-10-30 Thread Patrick McLean
commit: 1d467d89c1b285527ea1404135d76d681dd7895a
Author: Patrick McLean  sony  com>
AuthorDate: Fri Oct 30 18:25:53 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Oct 30 21:13:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d467d89

dev-libs/libbpf-0.2: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/libbpf/Manifest  |  1 +
 dev-libs/libbpf/libbpf-0.2.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/dev-libs/libbpf/Manifest b/dev-libs/libbpf/Manifest
index c7be82c7c2e..fbde9fd1377 100644
--- a/dev-libs/libbpf/Manifest
+++ b/dev-libs/libbpf/Manifest
@@ -4,3 +4,4 @@ DIST libbpf-0.0.8.tar.gz 262519 BLAKE2B 
2a3620c97834cc23e716476b6966c1c65c1c8206
 DIST libbpf-0.0.9.tar.gz 273726 BLAKE2B 
1277ce5b9dab9037e287910c43a71ee33cd6607d7cbe59d40c6930bf49407e04fcdfa6f4795f98202930fd564c1569c2feef0bca73294334f00abd601a288ed0
 SHA512 
d54bbdee6f7ea83ffef3fd0abe07f71644bcf83e5cf4a307fb4e03d885503617f1af2d324cc869f0f01a92bcb58836780a4802ac4db83b9f037ea196edc1131a
 DIST libbpf-0.1.0.tar.gz 666896 BLAKE2B 
5923b4c8fb915722f8cc2015ab8f07773a83c4252a59aef784983e46db7cd784e8ff5cc2284d3f5ded6bb92957f8d73b367a35fa1b5693e0cacaaef414a2f410
 SHA512 
3a5d823e4751408fd9e3bafe0be0a6a78de7dea0114bbd1166d8b3887938eef4e355ba6221b4bded9fc8a8280edede606c8c8078fd40aebdeae38f4221fe
 DIST libbpf-0.1.1.tar.gz 666908 BLAKE2B 
0efb044b1dc02230d14a6e92c40d66f7cb28c7efbecc3d97d084a52dde581dbd02b02fb7fbbe8b4ca051f2f64497c6240c5dd9c992e6fe4629a1332311b7833c
 SHA512 
b9f68323a8f53b0fb0bf418b8a37685e7d74b6f5ad7aa2f266f65cd57199b3b9b5865bc4579758e5adcfbb027ced83e12ee87f3ff3bf159c7b54cbdcd50fd62f
+DIST libbpf-0.2.tar.gz 699136 BLAKE2B 
d3c7005e5c27f805a33b444267ee28c3fb143c809a8a3ac733d51c56e7ee310e089964844cd4f1f7519b20dea1f4e4d6b0e6acd7bbdd173c99af54fad3635771
 SHA512 
22fed87cd4da1765465d812979b39ee3126b444fd6b460472a0a7e2f4fb496d278c9d7d672c3fb15005a58d361fd87c5173c18dcf55664dfbb8e6cadb2eed33a

diff --git a/dev-libs/libbpf/libbpf-0.2.ebuild 
b/dev-libs/libbpf/libbpf-0.2.ebuild
new file mode 100644
index 000..1c250842513
--- /dev/null
+++ b/dev-libs/libbpf/libbpf-0.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+if [[ ${PV} =~ [9]{4,} ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/libbpf/libbpf.git;
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+S="${WORKDIR}/${P}/src"
+
+HOMEPAGE="https://github.com/libbpf/libbpf;
+DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0/${PV}"
+IUSE="+static-libs"
+
+COMMON_DEPEND="virtual/libelf
+   !<=dev-util/bcc-0.7.0"
+DEPEND="${COMMON_DEPEND}
+   sys-kernel/linux-headers"
+RDEPEND="${COMMON_DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/libbpf-0.0.7-paths.patch"
+)
+
+src_compile() {
+   append-cflags -fPIC
+   emake \
+   BUILD_SHARED=y \
+   LIBSUBDIR="$(get_libdir)" \
+   $(usex static-libs 'BUILD_STATIC=y' '' '' '') \
+   CC="$(tc-getCC)"
+}
+
+src_install() {
+   emake \
+   BUILD_SHARED=y \
+   LIBSUBDIR="$(get_libdir)" \
+   DESTDIR="${D}" \
+   $(usex static-libs 'BUILD_STATIC=y' '' '' '') \
+   install install_uapi_headers
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins ${PN}.pc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-concurrency/

2020-10-30 Thread Matthew Thode
commit: f3a1dbe7b6577acbcee544524d51b96b1768d3eb
Author: Matthew Thode  gentoo  org>
AuthorDate: Fri Oct 30 21:09:38 2020 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Fri Oct 30 21:09:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a1dbe7

dev-python/oslo-concurrency: 4.3.1 bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/oslo-concurrency/Manifest| 2 +-
 .../{oslo-concurrency-4.3.0.ebuild => oslo-concurrency-4.3.1.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/oslo-concurrency/Manifest 
b/dev-python/oslo-concurrency/Manifest
index 6728d2c207a..bd82324fd44 100644
--- a/dev-python/oslo-concurrency/Manifest
+++ b/dev-python/oslo-concurrency/Manifest
@@ -1,2 +1,2 @@
 DIST oslo.concurrency-4.0.2.tar.gz 53910 BLAKE2B 
090d9ba4b5267f63edf6cbc6f585e48019a4ac293e24914a8f7c52009b34ce9a4822a8705934c642663bd2a09be3085458868159ef041498e2085e4ccbec50f9
 SHA512 
ca1ef615ebe986acac853666877061bbc7a02c09bec294ec6221ae4800a561cf9f218855f7eb8b96184d645924e5c68963b47116835c7d2495de83617439d1ef
-DIST oslo.concurrency-4.3.0.tar.gz 54698 BLAKE2B 
dbbc75092834b0446ba7288468633fdfd47dd8b73d9db148eec6c7de5e591a6b9b8acafedaa5a08897de3927f3f413f9529e57b7b2f95fa73ea6fdd87ddcb010
 SHA512 
069512bf7e0cc605fef5ecf0d843a993b8d678243db2c5798b815f01c0252b91d5f16920ccfafac04b602db91d544d4ec3f80de3873486f1ced28b32921786ab
+DIST oslo.concurrency-4.3.1.tar.gz 54815 BLAKE2B 
5926ffb363003e899e08d630e352cc4842b45939a23d8f26db0dbf96432c19cc37f8629d396fe86f5afbfc1b8e9a64a14d3a9d9d53b3ded1300e3f1e6d0151a4
 SHA512 
fdf89a622bcb999b1a7a77b9c5bdf15baa986e288d2af47485abf5dc4617b84ba53621a6cff72a9764e9c8a4f1504d6b5faa96c13ef29c37f2d63f7a1c3b4d61

diff --git a/dev-python/oslo-concurrency/oslo-concurrency-4.3.0.ebuild 
b/dev-python/oslo-concurrency/oslo-concurrency-4.3.1.ebuild
similarity index 100%
rename from dev-python/oslo-concurrency/oslo-concurrency-4.3.0.ebuild
rename to dev-python/oslo-concurrency/oslo-concurrency-4.3.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/croc/

2020-10-30 Thread Stephan Hartmann
commit: 3680e9fdeaaab20ae321245d9aa173863a94337c
Author: Stephan Hartmann  gentoo  org>
AuthorDate: Fri Oct 30 19:59:08 2020 +
Commit: Stephan Hartmann  gentoo  org>
CommitDate: Fri Oct 30 19:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3680e9fd

net-misc/croc: bump to 8.6.5

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Stephan Hartmann  gentoo.org>

 net-misc/croc/Manifest | 34 +++--
 .../croc/{croc-8.5.1.ebuild => croc-8.6.5.ebuild}  | 35 +++---
 2 files changed, 21 insertions(+), 48 deletions(-)

diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
index 5adb87ca368..845e0190daa 100644
--- a/net-misc/croc/Manifest
+++ b/net-misc/croc/Manifest
@@ -1,4 +1,4 @@
-DIST croc-8.5.1.tar.gz 2554874 BLAKE2B 
0eb40f9c3e32dfb2a4f8d2de7a0769677df3482b1a269f3118056dbd2190b409feffbe78242a7b9a2397b6249601a59452d62b75b8766d3c9b5e1693a02ff2dc
 SHA512 
56e57161b41941ef8b71a0f4a48213760155357200ad59335a87ca4febc5e70e5cdc7bf8e31f79d3c26c2fffb105085300d5374c9126928eb22195be335be565
+DIST croc-8.6.5.tar.gz 2537258 BLAKE2B 
4c409774553035ba089128ca41eccaf4b734a4860b6650abbf35e1da3b347f98418102b3d6a9ae437e0983526fef8ffc1a3b6f9bf361b5e9dd8008497f694ba1
 SHA512 
c2b714bd2121eede02bbbc6fec148d4eaccbb59bb786e07abecb1a8bf8199757792550cc3395b31c3923dce28ac6fcb70c71a9590656611903cd89baa271cb49
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
 DIST github.com%2F!one!of!one%2Fxxhash%2F@v%2Fv1.2.2.mod 34 BLAKE2B 
83966cb7de9bb687f99f17c5c89c03718258d2df34e3dda01b96a2fcb1273a0ba0e3253ba5950d5458193d3e54962371317a8fe85020ae338b44e864bd96667f
 SHA512 
9081c69a2480ef726f547047306dc9136211ac7550882e68d458e2c04e5343366cb08f20525a51c804ab9a554dfe8363a1d9660bc0f9e501e1d996f7b6f320e4
 DIST github.com%2F!one!of!one%2Fxxhash%2F@v%2Fv1.2.5.mod 43 BLAKE2B 
60ec6257dc0098e3dabfb32b6c668db9159d69dfc7daa06b9d7f9089f4a6dfc11d2b6d39393e1b990f6ca126019baa1b3d99364fe8a6df9ae323626c8d82494c
 SHA512 
beb482157b8c8dda0f45a71e587b51ef78cc9676db4cb560bf0e71c112f45bd048bab7f1b0a64651777bb395c0ce210cf3df20a4afe08e66a42b6da89765
@@ -13,8 +13,6 @@ DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.mod 34 
BLAKE2B 7e09c2779bf7a84
 DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.zip 60320 BLAKE2B 
86bdbc333e5c23ccf4f805945ca9f2aecc5c242d2ae824d20127eceaa2bf7bbab239ff2799572a2c8fa206166a36e97d5eccc8fc5021743d8ad32f39cd53b9eb
 SHA512 
7b4e4df2fea731e23e05437f26f24e32b2e99028d685b72e3a726c1cb616ada4a77ca4fb9db4a6fae48178cc5172e724b74499bc776d63a9110cb97377d5edeb
 DIST github.com%2Fdenisbrodbeck%2Fmachineid%2F@v%2Fv1.0.1.mod 42 BLAKE2B 
82ce41a468f86b7e890b3f78540b186af17a4dba7dc95f9e19ae08a0008af3ab1a4f6dc4038233dad1cc62b9c8e0950c6ea062f03f4502cbccb256a84c4cea45
 SHA512 
330121b143198b7a6564df33fd8cb6b2526d641c08301f7e26c06a4274e8e038b16b0bc833ec3363770f0c177882fe0e8021d721a2fc32e8050e75a2051febf9
 DIST github.com%2Fdenisbrodbeck%2Fmachineid%2F@v%2Fv1.0.1.zip 32312 BLAKE2B 
37cf6c05b306d6d88aaf6455a0068dcd5744657e057529ec6e62b1117b87c09c40d159e1d1205f675c4eea3194cbfe199de5d7a74d3a0ada349ceb4b8e51
 SHA512 
ca740e3296a7699459cfc4ce454277c7b5dc2bacd12ad5959f6d2a77d9d268f6671d4c30b1c84072d53045935838005d2dcc5beeab1acfee6e952c67e0bbc859
-DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.9.0.mod 126 BLAKE2B 
629ef676ff997553b93c44e9024e6b3d613b51e276d2ffb65bd9042ec1cb0455124e5ea7c5dd0e69599a25031ed536cb3356321e37248921fd8287b47656104a
 SHA512 
a61784b08b335d2a893688c279cf6f4b1ca222c3bc8236fd24536aad2b185fa718805c9022e1ce142bd87e39fed639fdc9035c9ea9ff110e985cd01cd612e9a0
-DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.9.0.zip 12428 BLAKE2B 
caf7a05e79d8b7dca069966765705619ee15800d8276d968bdf4385bc1141cc06b24755ac49c65caafdde5d8b34869df1f7e42ca302ee6a80b9ac7edd8a803d2
 SHA512 
c757f8455ce261c06749eda03ba807ba8b2427f0a14b0b62a6ee4e9d1ba220986e6f122b061fed6f44d68e4802864a988c722604b52989a4e31761e0e7ea8163
 DIST 
github.com%2Fk0kubun%2Fgo-ansi%2F@v%2Fv0.0.0-20180517002512-3bf9e2903213.mod 34 
BLAKE2B 
86aaf734f424439c38d57c59bb08da879781d897196a6f1c6486fe74677d055bc301fdfd72825e079b50bb04ef2a12db0c0e65a0a59f0be65db12f03c731bed9
 SHA512 
8664f01b08e210d9f70e72a1c8add0547055979561ebc689e9b7f601f4ee8359d00649a5f8a0bc0c9715009ef8066a1924f5311377b7346685b3bef676481dcc
 DIST github.com%2Fkalafut%2Fimohash%2F@v%2Fv1.0.0.mod 142 BLAKE2B 
61dc9cff180fdd116136f37018e74635e19370e37f237c8cf7b52cc026d91ca0e97c1da39232828405f26b786fc39a81b70a2ffa09a9279bdff711a0f219072f
 SHA512 
33c28ef3ee2d71f8f2a4c02a443bf9f40c6b7bab1e56a686e5f7e0e497eae7f2878d3e725be8cf15ad1be26716ab0d783404529f082a36056173f718f4bdd68a
 DIST github.com%2Fkalafut%2Fimohash%2F@v%2Fv1.0.0.zip 9682 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: www-client/chromium/

2020-10-30 Thread Stephan Hartmann
commit: 491122faf23d00adaf1c297a7604878f9a4ce783
Author: Stephan Hartmann  gentoo  org>
AuthorDate: Fri Oct 30 19:56:45 2020 +
Commit: Stephan Hartmann  gentoo  org>
CommitDate: Fri Oct 30 19:57:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491122fa

www-client/chromium: beta channel bump to 87.0.4280.40

Closes: https://bugs.gentoo.org/750038
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Stephan Hartmann  gentoo.org>

 www-client/chromium/Manifest  | 4 ++--
 .../{chromium-87.0.4280.27.ebuild => chromium-87.0.4280.40.ebuild}| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index ce03193110d..9c1944abeda 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -2,8 +2,8 @@ DIST chromium-86-patchset-6.tar.xz 7152 BLAKE2B 
494b412caec2b3e3fd6c838ba4b61d49
 DIST chromium-86-patchset-7.tar.xz 7560 BLAKE2B 
b7efc559bebe048e7c1a8ff7e3a88f4c47889976d7f573ed48562cc0b70a9282751145e1f5b90cb651c34fe7c43f8f414c42cc8c78cf70e5ffa8eaff13334630
 SHA512 
cbcee766a2aea1c339ef9589828875dc431aba002d77fa9531731514cbb219437dfc1d766ebc184ac477990589386070cf3d0f68ceb3211f8dac6c6be7da3a09
 DIST chromium-86.0.4240.111.tar.xz 825565060 BLAKE2B 
e3c68cb7e66421ad7d275c45969b5dcd5210f7e82a98042ddbf6aa145a76996f9da7bc3a3e71611b9c60c2aac1da16ac43f0527115e714e698a872c605eaef0f
 SHA512 
809bcab82c44976f109f0db0ce0470f88893a0999596b057e82675093f8fa0fc0badae4431a9160b4e94ae09219fa01914cad4b3143cebc530c71d420e7add54
 DIST chromium-86.0.4240.75.tar.xz 825512672 BLAKE2B 
d7b596c6f3b0ac15eafdca53c10d520206f562331e6b858da585070f0f6f6be97e49524ffba2fd1c31429eb21ad0f0d5047aa5f78de7d338b84c9a989cfcb675
 SHA512 
d553d2ea1fd1d7e3fc64f0d0c5a4fd53235bdabd07c9f85b58c26d371ff587f2917cf0d50993d878c72a4a9f7d8031bf7e542be3bc3e9aeeb8625e4c1570efd8
-DIST chromium-87-patchset-7.tar.xz 5016 BLAKE2B 
9077a409d4c650f14533544243791b79e2ab771efbb3238d3e8690c45a171a28481c1308021a9b7701f71caadc42a92ec545567f91ef4e5d41024e0bdbdfe30a
 SHA512 
c8ff9ecc93b26217fd7058352524fef1481cf31dec98f8f0800f7d29a374847f8cabd5637304bd51362efea2b94604bd3c297818825d9a82411aa948b5ff31a6
-DIST chromium-87.0.4280.27.tar.xz 855898516 BLAKE2B 
ef052d560f731fb451646368455bf3f2dbe2c3b83bff67492ecfed4b82ab5b9ebc95faf25499fe3b83e200ba7f85087cdb45ecaa9284c8d4aa63a9747253c4de
 SHA512 
021ac1e49245cf2ff547907e31c6fdb56f6e0578136e23146ac572feac307ebe5b33ae820134db95b60a71784b21b88a7991edc9a372989e02672e983dc8468e
+DIST chromium-87-patchset-8.tar.xz 5484 BLAKE2B 
732fe9b293a0956478ca8fc7a8b09a4ae7b618cffa193cc886c2a618adb33eccdc15bcf5cb4b878f970385d93c025129a6048ac3e9de62acc0021f0c5e6cabee
 SHA512 
9fd7057341d35c23577f48fc0c95ca96d723dd11a7c24aa91de90898c0a4958b3f2c699594b5d32d59e8c587018da2be83caf1a1746656e5c24d14045b1d2c2a
+DIST chromium-87.0.4280.40.tar.xz 856363660 BLAKE2B 
a1e4e3d8c101e1e801ef8d88a600bbdbda16e9c9c55882471c7abed3b4cdce3cf1017d310033a4bfdb3a8afc481d6a0e6d17c4bbcd9e2c66a6b9d5c6c7dd906b
 SHA512 
bdfcbe417c0258ba7f3f2418fe118ce5320803b3a338d51859c420933d6d68a76bcad59bc425fbf90238781b4c41fc0b5c46ca9150db1181598fd5178881
 DIST chromium-88-patchset-1.tar.xz 9224 BLAKE2B 
0fca6f309ebfab5735f6ef468177cbfb35530336f6640938e6bfdd4f251a5b8cd6a0573be186db13e255f5ddf6862f64830b19b6112a974dfcfb4930b4cb28e9
 SHA512 
8bdbc15bc02400d39d7f31b00a6a0129d7cf4c08571b490ea7224ba752b4536fd2cc455cd513ca28105ca6eda0d4a8736ece3a97c7d2c57aa47137f576613c4e
 DIST chromium-88.0.4300.0.tar.xz 844288696 BLAKE2B 
26ce30b580d09677d65d1b85af5ac3498463315f2d23f2ad5b762a29109a2d8ebf89a556782b252e6ca7a96b7d68656d0d41be8877368ac502f7130e99b6284c
 SHA512 
ede4fbbba98a4cdfa8ec42818441aaf30d955a48a75dd61fff4b823c47722583d63b68fcfe43baacb1767bdb52f8e9682015274de00b66791b45d7efe9ee9f5c
 DIST setuptools-44.1.0.zip 858569 BLAKE2B 
f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68
 SHA512 
4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf

diff --git a/www-client/chromium/chromium-87.0.4280.27.ebuild 
b/www-client/chromium/chromium-87.0.4280.40.ebuild
similarity index 99%
rename from www-client/chromium/chromium-87.0.4280.27.ebuild
rename to www-client/chromium/chromium-87.0.4280.40.ebuild
index 1b842f1526d..0912c8df09e 100644
--- a/www-client/chromium/chromium-87.0.4280.27.ebuild
+++ b/www-client/chromium/chromium-87.0.4280.40.ebuild
@@ -12,7 +12,7 @@ inherit check-reqs chromium-2 desktop flag-o-matic multilib 
ninja-utils pax-util
 
 DESCRIPTION="Open-source version of Google Chrome web browser"
 HOMEPAGE="https://chromium.org/;
-PATCHSET="7"
+PATCHSET="8"
 PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
 
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz


[gentoo-commits] repo/gentoo:master commit in: profiles/

2020-10-30 Thread Andreas K. Hüttel
commit: 25382c826776a6af264da6af0153022bc30487ff
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Oct 30 19:27:56 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Oct 30 19:29:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25382c82

package.mask: extend glibc mask to <2.31-r6

Bug: https://bugs.gentoo.org/717058
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/package.mask | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 95ac735d3cf..878677bf10d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -519,7 +519,7 @@ sys-devel/automake:1.10
 # If you still use one of these old toolchain packages, please upgrade (and
 # switch the compiler / the binutils) ASAP. If you need them for a specific
 # (isolated) use case, feel free to unmask them on your system.
-

[gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/

2020-10-30 Thread Mikle Kolyada
commit: d9072665c8535b7eb8f2d25380fd7f8e47923f65
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Oct 30 19:00:59 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Oct 30 19:01:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9072665

media-sound/mpd: Version bump (v0.22.2)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 media-sound/mpd/Manifest  |   1 +
 media-sound/mpd/mpd-0.22.2.ebuild | 299 ++
 2 files changed, 300 insertions(+)

diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index 01f005b616b..75aba0d3a38 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -1,2 +1,3 @@
 DIST mpd-0.21.26.tar.xz 685396 BLAKE2B 
176c75069190c8df79e5c0b37605abeafac2358dc1840ec66b2eecb809449cf0908b7a3af61c499e88d82b210c8907a752b4f006bcffb7c7d279cbdbc082032f
 SHA512 
31eb5d42bcfc942116cb203d8b1ceb8489b46251204f7288d1e8d7e052ff4cab2c8b2087795cc8118c8b86f080613f80cb182163fcb1c5b5027053d53c5a594a
 DIST mpd-0.22.1.tar.xz 725204 BLAKE2B 
7032472776129c9cb302545d8bdd266a7551df4647d6fc09e9f5e287f25b25158759316dde5bb481a7b87366d7eaa5a91613bbc6679a9f1b768297b63b1fb9fb
 SHA512 
b7c0156bb85bbc551435bbb9a49ed719e51fe0446dcecbaadbe083e705fc16da9d03d83814c7dcc041075a46544473cf63e5d1576dbc3961bfdfa44ef5fb27d7
+DIST mpd-0.22.2.tar.xz 725808 BLAKE2B 
5961177dd33b5e008b17131c6a83b8fc61df62317acdfd6bac4e20a9e3d1307be79223a23fdaa0e2ae0593aa8015ac140648ea4b5b699a8b64632fc589ef
 SHA512 
13ec85bda79d0c2588c50e2ebbf53b733f23c9700abfd7ccd4140db8080a4c496073727c8c04e9a2f8897669beeced0d77caa2bac7e2ca9adb41ad56dcf92aeb

diff --git a/media-sound/mpd/mpd-0.22.2.ebuild 
b/media-sound/mpd/mpd-0.22.2.ebuild
new file mode 100644
index 000..94b862cb343
--- /dev/null
+++ b/media-sound/mpd/mpd-0.22.2.ebuild
@@ -0,0 +1,299 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic linux-info meson systemd xdg-utils
+
+DESCRIPTION="The Music Player Daemon (mpd)"
+HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD;
+SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+alsa ao +audiofile bzip2 cdio chromaprint +cue +curl doc +dbus
+   +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag 
+inotify
+   +ipv6 jack lame libmpdclient libsamplerate libsoxr +mad mikmod mms
+   modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio 
qobuz
+   recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd
+   test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp
+   zeroconf zip zlib"
+
+OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
+DECODER_PLUGINS="audiofile faad ffmpeg flac fluidsynth mad mikmod
+   modplug mpg123 musepack flac sid vorbis wavpack wildmidi"
+ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
+
+REQUIRED_USE="
+   || ( ${OUTPUT_PLUGINS} )
+   || ( ${DECODER_PLUGINS} )
+   network? ( || ( ${ENCODER_PLUGINS} ) )
+   recorder? ( || ( ${ENCODER_PLUGINS} ) )
+   upnp? ( expat )
+   webdav? ( curl expat )
+   "
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   acct-user/mpd
+   sys-libs/liburing
+   alsa? (
+   media-libs/alsa-lib
+   media-sound/alsa-utils
+   )
+
+   ao? ( media-libs/libao[alsa?,pulseaudio?] )
+   audiofile? ( media-libs/audiofile:= )
+
+   cdio? (
+   dev-libs/libcdio:=
+   dev-libs/libcdio-paranoia
+   )
+
+   chromaprint? ( media-libs/chromaprint )
+   curl? ( net-misc/curl )
+   dbus? ( sys-apps/dbus )
+   doc? ( dev-python/sphinx )
+   expat? ( dev-libs/expat )
+   faad? ( media-libs/faad2 )
+   ffmpeg? ( media-video/ffmpeg:0= )
+   flac? ( media-libs/flac )
+   fluidsynth? ( media-sound/fluidsynth )
+   gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
+   icu? (  dev-libs/icu:= )
+   id3tag? ( media-libs/libid3tag )
+   jack? ( virtual/jack )
+   lame? ( network? ( media-sound/lame ) )
+   libmpdclient? ( media-libs/libmpdclient )
+   libsamplerate? ( media-libs/libsamplerate )
+   libsoxr? ( media-libs/soxr )
+   mad? ( media-libs/libmad )
+   mikmod? ( media-libs/libmikmod )
+   mms? ( media-libs/libmms )
+   modplug? ( media-libs/libmodplug )
+   mpg123? ( media-sound/mpg123 )
+   musepack? ( media-sound/musepack-tools )
+   network? ( media-libs/libshout )
+   nfs? ( net-fs/libnfs )
+   openal? ( media-libs/openal )
+   opus? ( media-libs/opus )
+   pulseaudio? ( media-sound/pulseaudio )
+   qobuz? ( dev-libs/libgcrypt:0 )
+   samba? ( net-fs/samba )
+   selinux? ( sec-policy/selinux-mpd )
+ 

[gentoo-commits] proj/sci:master commit in: sci-libs/mlpack/

2020-10-30 Thread Aisha Tammy
commit: 033b43107c3df4c0fbc239df480cc0bc3343b8d0
Author: Aisha Tammy  aisha  cc>
AuthorDate: Fri Oct 30 14:51:32 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Fri Oct 30 14:51:32 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=033b4310

sci-libs/mlpack: version bump to 3.4.2

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>

 sci-libs/mlpack/mlpack-3.4.2.ebuild | 112 
 1 file changed, 112 insertions(+)

diff --git a/sci-libs/mlpack/mlpack-3.4.2.ebuild 
b/sci-libs/mlpack/mlpack-3.4.2.ebuild
new file mode 100644
index 0..661299d6d
--- /dev/null
+++ b/sci-libs/mlpack/mlpack-3.4.2.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit cmake python-single-r1 toolchain-funcs
+
+DESCRIPTION="scalable C++ machine learning library"
+HOMEPAGE="http://www.mlpack.org/;
+SRC_URI="http://www.mlpack.org/files/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE+="arma-debug debug doc go julia matlab openmp profile R test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} arma-debug? ( debug )"
+RESTRICT="!test? ( test )"
+
+CDEPEND="
+   ${PYTHON_DEPS}
+   julia? ( || (
+   dev-lang/julia
+   dev-lang/julia-bin
+   )
+   )
+   go? ( dev-lang/go )
+   R? ( dev-lang/R )
+"
+
+RDEPEND="
+   ${CDEPEND}
+   $(python_gen_cond_dep '
+   dev-libs/boost[${PYTHON_USEDEP}]
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   ')
+   dev-python/pandas
+   dev-python/cython
+   dev-python/numpy
+   dev-libs/stb
+   >=sci-libs/armadillo-8.4.0[arpack,blas,lapack]
+   sci-libs/ensmallen
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${CDEPEND}
+   app-text/txt2man
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-libs/mathjax
+   )
+   test? ( $( python_gen_cond_dep '
+   dev-python/pytest[${PYTHON_USEDEP}]
+   ')
+   )
+"
+
+pkg_setup() {
+   elog "If you want to build matlab bindings then you"
+   elog "need to make sure that matlab has been installed"
+   elog "prior to building this package and it is available"
+   elog "in the standard locations to be found by"
+   elog "CMake, library finders, header includes and other"
+   elog "trinkets that are used while compiling."
+   elog "Matlab will not be entertained as a first class"
+   elog "citizen until we have enough personnel"
+
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i \
+   -e "s:share/doc/mlpack:share/doc/${PF}:" \
+   -e 's/-O3//g' \
+   CMakeLists.txt || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DDISABLE_DOWNLOADS=ON
+   -DDOWNLOAD_ENSMALLEN=OFF
+   -DDOWNLOAD_STB_IMAGE=OFF
+   -DBUILD_WITH_COVERAGE=OFF
+   -DBUILD_PYTHON_BINDINGS=ON
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_CLI_EXECUTABLES=ON
+   -DTEST_VERBOSE=$(usex test)
+   -DBUILD_TESTS=$(usex test)
+   -DDEBUG=$(usex debug)
+   -DPROFILE=$(usex profile)
+   -DARMA_EXTRA_DEBUG=$(usex arma-debug)
+   -DUSE_OPENMP=$(usex openmp)
+   -DMATLAB_BINDINGS=$(usex matlab)
+   -DBUILD_GO_SHLIB=$(usex go)
+   -DBUILD_JULIA_BINDINGS=$(usex julia)
+   -DBUILD_GO_BINDINGS=$(usex go)
+   -DBUILD_R_BINDINGS=$(usex R)
+   -DBUILD_MARKDOWN_BINDINGS=$(usex doc)
+   -DMATHJAX=$(usex doc)
+   ${EXTRA_ECONF[@]}
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   python_optimize
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-tmpfiles/

2020-10-30 Thread Georgy Yakovlev
commit: 3e6848b7832c4c83b1200bb8041aaaec6c208614
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Oct 30 18:28:28 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Oct 30 18:28:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6848b7

sys-apps/systemd-tmpfiles: fix shebang before running tests

just in case

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild 
b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
index f47e1b24c1e..4c6ac9a06cb 100644
--- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
+++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
@@ -186,8 +186,9 @@ src_install() {
 
 src_test() {
# 'meson test' will compile full systemd, but we can still outsmart it
+   python_fix_shebang src/test/test-systemd-tmpfiles.py
"${EPYTHON}" src/test/test-systemd-tmpfiles.py \
-   "${BUILD_DIR}"/systemd-tmpfiles.standalone || die
+   "${BUILD_DIR}"/systemd-tmpfiles.standalone || die "${FUNCNAME} 
failed"
 }
 
 # adapted from opentmpfiles ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/

2020-10-30 Thread Zac Medico
commit: 7c27aabbd9265fbb8cf8bef3dbad109c85341d39
Author: Theo Anderson  posteo  de>
AuthorDate: Fri Oct 30 07:24:43 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Oct 30 17:37:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c27aabb

dev-util/ostree: libressl support

Closes: https://github.com/gentoo/gentoo/pull/18072
Closes: https://bugs.gentoo.org/751103
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: Zac Medico  gentoo.org>

 dev-util/ostree/ostree-2020.7.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-util/ostree/ostree-2020.7.ebuild 
b/dev-util/ostree/ostree-2020.7.ebuild
index f3dbd52e229..65675eb0f6b 100644
--- a/dev-util/ostree/ostree-2020.7.ebuild
+++ b/dev-util/ostree/ostree-2020.7.ebuild
@@ -13,7 +13,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 LICENSE="LGPL-2+"
 SLOT="0"
 
-IUSE="archive curl doc dracut gnutls +gpg grub http2 httpd introspection 
libmount selinux sodium ssl soup systemd zeroconf"
+IUSE="archive curl doc dracut gnutls +gpg grub http2 httpd introspection 
libmount libressl selinux sodium ssl soup systemd zeroconf"
 RESTRICT="test"
 REQUIRED_USE="httpd? ( || ( curl soup ) )"
 
@@ -33,7 +33,11 @@ COMMON_DEPEND="
introspection? ( dev-libs/gobject-introspection )
ssl? (
gnutls? ( net-libs/gnutls )
-   !gnutls? ( dev-libs/openssl:0= ) )
+   !gnutls? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   )
>=sys-fs/fuse-2.9.2:0
sys-libs/zlib
libmount? ( sys-apps/util-linux )



[gentoo-commits] repo/gentoo:master commit in: dev-libs/simdjson/

2020-10-30 Thread Patrick McLean
commit: b80f675612649cf60fbd140e1c637cf533866ea5
Author: Patrick McLean  sony  com>
AuthorDate: Fri Oct 30 17:33:22 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Oct 30 17:33:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80f6756

dev-libs/simdjson-0.6.0-r1: Get rid of -Werror (bug #751613)

Closes: https://bugs.gentoo.org/751613
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/simdjson/simdjson-0.6.0-r1.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild 
b/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild
index 259715be295..eb43ca1874b 100644
--- a/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild
+++ b/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild
@@ -26,8 +26,15 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
-# applies cleanly from master, can be dropped on next release
-PATCHES=( "${WORKDIR}/${P}-ppc64.patch" )
+PATCHES=(
+   # applies cleanly from master, can be dropped on next release
+   "${WORKDIR}/${P}-ppc64.patch"
+)
+
+src_prepare() {
+   sed -e 's:-Werror ::' -i cmake/simdjson-flags.cmake || die
+   cmake_src_prepare
+}
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: net-dns/bind/

2020-10-30 Thread Mikle Kolyada
commit: a199435dbeebcd76826abdf3a6832af96c1fec33
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Oct 30 17:28:37 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Oct 30 17:29:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a199435d

net-dns/bind: fix tmpfiles phase handeling

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-dns/bind/bind-9.16.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/bind/bind-9.16.8.ebuild b/net-dns/bind/bind-9.16.8.ebuild
index 3ee669a35b7..2c16964d689 100644
--- a/net-dns/bind/bind-9.16.8.ebuild
+++ b/net-dns/bind/bind-9.16.8.ebuild
@@ -267,8 +267,6 @@ src_install() {
dotmpfiles "${FILESDIR}"/named.conf
exeinto /usr/libexec
doexe "${FILESDIR}/generate-rndc-key.sh"
-
-   tmpfiles_process
 }
 
 python_install() {
@@ -281,6 +279,8 @@ python_install() {
 }
 
 pkg_postinst() {
+   tmpfiles_process "${FILESDIR}"/named.conf
+
if [ ! -f '/etc/bind/rndc.key' ]; then
if use urandom; then
einfo "Using /dev/urandom for generating rndc.key"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-services/

2020-10-30 Thread Michał Górny
commit: 2883c4cda370663d9f126c6b87177740110bb394
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 30 17:15:43 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 30 17:23:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2883c4cd

dev-python/pytest-services: Bump to 2.2.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-services/Manifest|  1 +
 .../pytest-services/pytest-services-2.2.1.ebuild   | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/pytest-services/Manifest 
b/dev-python/pytest-services/Manifest
index 33203f5efd3..aa7af4dde44 100644
--- a/dev-python/pytest-services/Manifest
+++ b/dev-python/pytest-services/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-services-2.1.0.tar.gz 20552 BLAKE2B 
6359c419591efed553e095e267c24f78f36b152f0eefe21d46742f7c15f05e92a9e86891f99762a3716fef5284b00d07d8d6eb825008dbbbf07e36dc62a7a6b4
 SHA512 
54a487546a2af7996acdbcd63bfc01626832aa41683617cdd345453cf6518afdf03cb8c2465e1f5d28c88b2cc801ffb0d9d4440582865f899e21fe42ab431ebc
 DIST pytest-services-2.2.0.tar.gz 20995 BLAKE2B 
a65455d89190d6b63854df7509124c8056c962640972f67210e3b3dbf2d669708e4edb124077cd32e7fe429e884372f4248396377b5d4879d9f7313c3ef7df46
 SHA512 
48430d6c107626a4e13a8eb16cf5cc3b2068e34869b8a4e3e615fd7a20f3644a028c911211f3de885ffd942cafd3946c313e76ddcf6199bedc9731f7b88c843a
+DIST pytest-services-2.2.1.tar.gz 21303 BLAKE2B 
6f4b66b713ca4976eae61bf516bfecf13b8d6f56e03ae772ba9465e7c4c52b8d5ffa713b9441c73538a0b05665da7b7aa53d5f5da1626c6c208edf1c8239b1b1
 SHA512 
95d70431a7c3fa3b1602e6ad0e72975cecf5f0464e1bbc21d5b4eee6aefee52794c7b1d8dacf0681cc4cbb5ae7910075a7d0b3859647cc55298a2792489c4bfb

diff --git a/dev-python/pytest-services/pytest-services-2.2.1.ebuild 
b/dev-python/pytest-services/pytest-services-2.2.1.ebuild
new file mode 100644
index 000..a10297b8270
--- /dev/null
+++ b/dev-python/pytest-services/pytest-services-2.2.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Collection of fixtures and utility functions to run service 
processes for pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-services;
+SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/zc-lockfile[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? ( ${RDEPEND}
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pylibmc[${PYTHON_USEDEP}]
+   x11-base/xorg-server[xvfb]
+   net-misc/memcached
+   !dev-python/pytest-salt
+   )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/pytest-services-2.0.1-no-mysql.patch"
+   "${FILESDIR}/pytest-services-2.0.1-lockdir.patch"
+)
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv tests || die "Tests failed under ${EPYTHON}"
+}
+
+python_install() {
+   distutils-r1_python_install
+
+   find "${D}" -name '*.pth' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/elementpath/

2020-10-30 Thread Michał Górny
commit: 7c5b8d43b61e2dfc2d8ba2608743e7ada698cfbc
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 30 17:16:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 30 17:23:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5b8d43

dev-python/elementpath: Bump to 2.0.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/elementpath/Manifest |  1 +
 dev-python/elementpath/elementpath-2.0.4.ebuild | 26 +
 2 files changed, 27 insertions(+)

diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest
index b47eed41300..fd26efdec1f 100644
--- a/dev-python/elementpath/Manifest
+++ b/dev-python/elementpath/Manifest
@@ -1 +1,2 @@
 DIST elementpath-2.0.3.tar.gz 191499 BLAKE2B 
dd8ee226b5e04168de90e0375db971bb51aad233cbc56a63e1a79aa847fffbeddc5438ca769317ccd0ad6f30aad61ec65fe9dc7c32dfff687e8cd208ccf9ee46
 SHA512 
fccb291405aafa5751f0dbb636171145a41941e929dd93b097d61f11366e71757f47a65c32b83fd8ad0fafcfb530315417ea879b3e05421bc479b2e309960006
+DIST elementpath-2.0.4.tar.gz 191601 BLAKE2B 
fc2f29a737c180fb04cc289b8cd9149b7a4f3c317a5efd746c42658aa6fbfe5cb78b957f517ba9a9e8650cc1ba0ee885a723695a8a107ec4cc05328828f5cf21
 SHA512 
b114ebe054eb6f46e261ae2a39c8126b86abafba26803eee676731d8d46d613daf5493215873ae96c9b098f6ebf9961a1ac777ddc0a1e2b1e4a3ca924d74c213

diff --git a/dev-python/elementpath/elementpath-2.0.4.ebuild 
b/dev-python/elementpath/elementpath-2.0.4.ebuild
new file mode 100644
index 000..c7a8e1d2336
--- /dev/null
+++ b/dev-python/elementpath/elementpath-2.0.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
+HOMEPAGE="https://github.com/sissaschool/elementpath
+   https://pypi.org/project/elementpath/;
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   dev-python/lxml[${PYTHON_USEDEP}]
+   dev-python/xmlschema[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests unittest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xprocess/

2020-10-30 Thread Michał Górny
commit: 095d9de8e83661a96146fe5bca549bda922fcc00
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 30 17:14:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 30 17:23:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095d9de8

dev-python/pytest-xprocess: Bump to 0.16.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-xprocess/Manifest|  1 +
 .../pytest-xprocess/pytest-xprocess-0.16.0.ebuild  | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/pytest-xprocess/Manifest 
b/dev-python/pytest-xprocess/Manifest
index a4c00d52ca0..ee88b6a384d 100644
--- a/dev-python/pytest-xprocess/Manifest
+++ b/dev-python/pytest-xprocess/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-xprocess-0.13.1.tar.gz 10273 BLAKE2B 
0c2a8bdf5e31543b32ada50f2bb5e1a09b45de820064807bf41321638d11d6b6fea28fd2a8c795e7bc6f7ac7370a3e78988e8aee318fad9df194fd3b06cce7cd
 SHA512 
e0ab9e13d7f90ffca1bb3646e5789582806519ff5e665e13ed0db00896d799a7828b39e7657e947783d15ec1a961b33c1c981e39069dd298bf352826dbdc496f
 DIST pytest-xprocess-0.14.0.tar.gz 13272 BLAKE2B 
54a308b2d2783875c51b747c6c54fc7d8bf3542ea80590bdd51de0ee4ffeea73463793cfcfa8b8b75b45345b88ca4caebf3f5e45bc1de3fdc1649e0bdeebd72d
 SHA512 
fc808d10f4adea1fba501178e30f82af575fa64fab9e3f44a73f1f1e809a09530be465d20be91ca0abb1fd270e9ebc397d64bccabfb3dc497b7b8f1123ef1fad
 DIST pytest-xprocess-0.15.0.tar.gz 13512 BLAKE2B 
97ffef1e63f50ad2a1651f1791663f99e39c8fd8fc63427534efa5d60c9a4d856b7e036cd03faed73a1ba609716595ceeefe63604403a2bbd8a13407612a6402
 SHA512 
d2c7f6859b1696a8cb4445396376ce36bdcfdc8677fd97def716f240ae243c954f4110a3e500315a7f0c7f7ab7c337bf6749cbd1df3485db9fb95f42c2ffd181
+DIST pytest-xprocess-0.16.0.tar.gz 17218 BLAKE2B 
60411ed5af2add7f7c7f6b6e2074f9703cdae8a450c65eda483635a1cf8f60a3dbd84218d9e99bb3783ae00ba50b3449335df92397dab0fc7281ea72d3f5696b
 SHA512 
3cf5d05c6693ebddc91fb2ad62eacd5b8f231e78ee82908b20268367649d6d73f0c1fbbf93a31f97feabe8bddf02cb176b2ffb9f6de4387b46cd0b97ad3c3eea

diff --git a/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild 
b/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild
new file mode 100644
index 000..d9f406cc465
--- /dev/null
+++ b/dev-python/pytest-xprocess/pytest-xprocess-0.16.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Manage external processes across test runs"
+HOMEPAGE="https://pypi.org/project/pytest-xprocess/ 
https://github.com/pytest-dev/pytest-xprocess;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/

2020-10-30 Thread Michał Górny
commit: 4be54eb442b8487899c0492a0cc6a88a1c7256c0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 30 17:14:15 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 30 17:23:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be54eb4

dev-python/hypothesis: Bump to 5.41.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/hypothesis/Manifest |  1 +
 dev-python/hypothesis/hypothesis-5.41.0.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 8939c7500de..d91e37c87f6 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -6,3 +6,4 @@ DIST hypothesis-python-5.37.5.tar.gz 9092380 BLAKE2B 
b5bf9f5c5bb1002154ea6041c38
 DIST hypothesis-python-5.38.0.tar.gz 9092764 BLAKE2B 
ec805c3df17af88e122e9a462c73768b67d420172d72c088add8056b8de64606a8e6c01f82a0ca4fd0552082e10b488b4ccf2b78b951288c4e1827e1ce12
 SHA512 
2a4e57ace3c6487598353bd40a9295d8dd05c6b18493d61674bbb403a4bbd863c43af683b59da990cc5add5dedc789462337140c4d2ed7d2c16567fb254261ff
 DIST hypothesis-python-5.38.1.tar.gz 9093201 BLAKE2B 
093b847524ca1a4a7ec4172585d8cbdc63820165f367a7f5782c0e94ed190f9f271fe0d76f570a5ab95d794951260b93cb4114ac090b56bcdf904e988c00c4c5
 SHA512 
26db08680464710246bfa3a3dfddbe41e9480e4ce2a50bf75597aa96efe8976d3b7bcf639e2efe9a8bfec64bdfef3fec14093e14cbe8db3f1cf5dafe813a91a0
 DIST hypothesis-python-5.39.0.tar.gz 9094029 BLAKE2B 
32f98b9a57993fe95d894625ac2ab44eb52ed1fb301566ad01064a2beb37ae768484797220386c55e5c72f4022819c5be9abaf68b57bfd3385860d8bed9b
 SHA512 
fd683781ea7bf0806cf6f15d0065808e5a83410b9860c23803f9f18ea7be1e372a75221116e1f661f189870141de4b8585029cfcdca5d6140a5140226578a610
+DIST hypothesis-python-5.41.0.tar.gz 9094817 BLAKE2B 
3025caf9a0ccba19abfd12273edefe1db825a40615a378fb076e8d3ba96bfecc64ec23be6ef72b6fcd89d7d6b5c94bbf12abf3212e4a521a21def892b0d95a56
 SHA512 
76a0147d36179368d62a3d9e6f9f27effa903476fa0cccdba4574937c470bbfd020daccf9b3df73f457b543b6a94ce0858fe4d9abdfe9c16a8c49858c8bc0e92

diff --git a/dev-python/hypothesis/hypothesis-5.41.0.ebuild 
b/dev-python/hypothesis/hypothesis-5.41.0.ebuild
new file mode 100644
index 000..b817839fd0a
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-5.41.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 eutils multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis 
https://pypi.org/project/hypothesis/;
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz;
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cli test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+   cli? (
+   $(python_gen_cond_dep '
+   dev-python/black[${PYTHON_USEDEP}]
+   dev-python/click[${PYTHON_USEDEP}]
+   ' python3_{6..9})
+   )
+"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   !!

[gentoo-commits] repo/gentoo:master commit in: dev-python/more-itertools/

2020-10-30 Thread Michał Górny
commit: 8ffbea89c1a3c91a0ea68ae8d991eab2ae3df3cb
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 30 16:57:35 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 30 17:23:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffbea89

dev-python/more-itertools: Bump to 8.6.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/more-itertools/Manifest |  1 +
 .../more-itertools/more-itertools-8.6.0.ebuild | 24 ++
 2 files changed, 25 insertions(+)

diff --git a/dev-python/more-itertools/Manifest 
b/dev-python/more-itertools/Manifest
index d1466377e63..dc83bf5ff76 100644
--- a/dev-python/more-itertools/Manifest
+++ b/dev-python/more-itertools/Manifest
@@ -1,2 +1,3 @@
 DIST more-itertools-5.0.0.tar.gz 67359 BLAKE2B 
a2448b218eea4442cc4739a4df414ba69e0530cd6206a13c5c017a13daa297d00c08a94cec8aec0639d8b03663f4b698702f5e700ae118ae9fb5854a6d105b36
 SHA512 
f72c8d6c75799c39708443ba75862801ddd3fc0382c9eee7ed24ecf04cbc7d9ff6a8e35b6fff1eaccf45ddd470c2cc8959532eca32c2ff50b0a12588727c68b4
 DIST more-itertools-8.5.0.tar.gz 86861 BLAKE2B 
6c5d7e0e2bfa89b65636115d5539ca5a36de24b7e0971638721d8fa13f6ad84f0fc64b297b5c3c30d380f78e271f6b6622d72a41ffb8f1941945d5918ec6c78a
 SHA512 
f11a4443d4d5e79fe241fc6e170ae51b08cfb1f1093dddad036e1ba043c30d03c53ab9fccbfb4de97279862c6cfe44759ae88ce6027d871515b032e7d9e435e7
+DIST more-itertools-8.6.0.tar.gz 88371 BLAKE2B 
79c9020c641e61d97c350ec9004fabfc4a94969d17c517e421f63f41aedf101217906d5bc1d397dc1ed7666143b15ea7ff0401a2a6b3fccc1d08f3cf9ff55eff
 SHA512 
9fb6cbb1d303c79a1c67d1c473a161d71bc5d88c8ebaf290947c1a6e64c2a224478063c58ffc4d1dfdcb2931bcff9cd165bd8724a9e78e95c6f163000c138a5e

diff --git a/dev-python/more-itertools/more-itertools-8.6.0.ebuild 
b/dev-python/more-itertools/more-itertools-8.6.0.ebuild
new file mode 100644
index 000..b3ba108b129
--- /dev/null
+++ b/dev-python/more-itertools/more-itertools-8.6.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="More routines for operating on iterables, beyond itertools"
+HOMEPAGE="https://pypi.org/project/more-itertools/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme
+distutils_enable_tests unittest



[gentoo-commits] repo/gentoo:master commit in: sys-libs/db/

2020-10-30 Thread David Seifert
commit: 8ba76d90f9cfddccfd6935dee71ef442395abd8d
Author: David Seifert  gentoo  org>
AuthorDate: Fri Oct 30 17:22:51 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Oct 30 17:22:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba76d90

sys-libs/db: Revbump for --disable-static

Bug: https://bugs.gentoo.org/378289
Closes: https://github.com/gentoo/gentoo/pull/18073
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/db/db-4.5.20_p2-r4.ebuild | 194 
 sys-libs/db/db-4.6.21_p4-r3.ebuild | 183 +++
 sys-libs/db/db-4.7.25_p4-r3.ebuild | 190 
 sys-libs/db/db-4.8.30-r4.ebuild| 197 +
 .../db/{db-6.1.38.ebuild => db-5.3.28-r5.ebuild}   | 123 +++--
 .../db/{db-6.1.38.ebuild => db-6.0.35-r3.ebuild}   | 116 ++--
 sys-libs/db/db-6.1.38.ebuild   |   4 +
 sys-libs/db/db-6.2.38.ebuild   |   4 +
 8 files changed, 906 insertions(+), 105 deletions(-)

diff --git a/sys-libs/db/db-4.5.20_p2-r4.ebuild 
b/sys-libs/db/db-4.5.20_p2-r4.ebuild
new file mode 100644
index 000..12148350901
--- /dev/null
+++ b/sys-libs/db/db-4.5.20_p2-r4.ebuild
@@ -0,0 +1,194 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools db flag-o-matic java-pkg-opt-2 multilib
+
+#Number of official patches
+#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"`
+PATCHNO="${PV/*.*.*_p}"
+if [[ ${PATCHNO} == "${PV}" ]] ; then
+   MY_PV="${PV}"
+   MY_P="${P}"
+   PATCHNO=0
+else
+   MY_PV="${PV/_p${PATCHNO}}"
+   MY_P="${PN}-${MY_PV}"
+fi
+
+S="${WORKDIR}/${MY_P}/build_unix"
+DESCRIPTION="Oracle Berkeley DB"
+HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html;
+SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz;
+for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do
+   export SRC_URI="${SRC_URI} 
http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i};
+done
+
+LICENSE="Sleepycat"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+IUSE="tcl java doc cxx"
+RESTRICT="!test? ( test )"
+
+DEPEND="tcl? ( >=dev-lang/tcl-8.4 )
+   java? ( >=virtual/jdk-1.4 )
+   >=sys-devel/binutils-2.16.1"
+RDEPEND="tcl? ( dev-lang/tcl )
+   java? ( >=virtual/jre-1.4 )"
+
+PATCHES=(
+   "${FILESDIR}"/"${PN}"-4.4-libtool.patch
+
+   # use the includes from the prefix
+   "${FILESDIR}"/"${PN}"-4.2-jni-check-prefix-first.patch
+   "${FILESDIR}"/"${PN}"-4.2-listen-to-java-options.patch
+)
+
+# Required to avoid unpack attempt of patches
+src_unpack() {
+   unpack "${MY_P}".tar.gz
+}
+
+src_prepare() {
+   pushd "${WORKDIR}"/"${MY_P}" &>/dev/null || die
+   for (( i=1 ; i<=${PATCHNO} ; i++ ))
+   do
+   eapply -p0 "${DISTDIR}"/patch."${MY_PV}"."${i}"
+   done
+
+   default
+
+   sed -e "/^DB_RELEASE_DATE=/s/%B %e, %Y/%Y-%m-%d/" \
+   -i dist/RELEASE || die
+
+   # Include the SLOT for Java JAR files
+   # This supersedes the unused jarlocation patches.
+   sed -r \
+   -e '/jarfile=.*\.jar$/s,(.jar$),-$(LIBVERSION)\1,g' \
+   -i dist/Makefile.in || die
+
+   # START of 4.5+earlier specific
+   # Upstream sucks, they normally concat these
+   local i j
+   for j in dist/aclocal{,_java} ; do
+   pushd ${j} &>/dev/null || die
+   for i in * ; do
+   ln -s ${i} ${i%.ac}.m4 || die
+   done
+   popd &>/dev/null || die
+   done
+   # END of 4.5+earlier specific
+   pushd dist &>/dev/null || die
+   rm aclocal/libtool.{m4,ac} || die
+   sed \
+   -e '/AC_PROG_LIBTOOL$/aLT_OUTPUT' \
+   -i configure.ac || die
+   sed \
+   -e '/^AC_PATH_TOOL/s/ sh, none/ bash, none/' \
+   -i aclocal/programs.m4 || die
+
+   AT_M4DIR="aclocal aclocal_java" eautoreconf
+
+   # Upstream sucks - they do autoconf and THEN replace the version 
variables.
+   . ./RELEASE
+   sed \
+   -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \
+   -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \
+   -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \
+   -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \
+   -e 
"s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \
+   -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" \
+   -i configure || die
+
+   popd &>/dev/null || die
+   popd &>/dev/null || die
+}
+
+src_configure() {
+   # compilation with -O0 fails on 

[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2020-10-30 Thread Craig Andrews
commit: a688226f17383d689eb3b852e3f81d0e79867c4b
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Oct 30 17:19:59 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Oct 30 17:20:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a688226f

media-tv/kodi: Cleanup old version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/Manifest|   1 -
 media-tv/kodi/kodi-19.0_alpha2.ebuild | 321 --
 2 files changed, 322 deletions(-)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index ebe0e2d43d9..a23ea44a1df 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -5,7 +5,6 @@ DIST kodi-18.7.tar.gz 51051040 BLAKE2B 
7ff04cd0ddcf74e46eef4318cf870662b9e076b36
 DIST kodi-18.8.tar.gz 51052219 BLAKE2B 
6e49b08b5e2bfe778dafb687658e82b90226a9f1c1a7827a4290d601fe4c98e5cbaabaa39563c19a2956b83ce3a76640f081a56a41dfea4d65fb8b503c6f37b0
 SHA512 
242eaa9144ba0d9b15f02ab41282295de76d375cf66d595e7f6687d47c996133fcf5647448dcd06759df9f30bd86cdba239720b9bdd8b57827b6f261c08c4aaa
 DIST kodi-18.9.tar.gz 51052509 BLAKE2B 
e7cd888a38ed81e90566ae5e8a6f28c93688c8293af4b210674f224b02e7452ac81c25128cfbeaa3c67980fc00e18631060640ddff61263c782c807f8c5ea00e
 SHA512 
72e4e2afa46d5d2061ed348af5c9a4218474589cb38d630e6d0643b35aff3b0aefb3db81333d52da6c799c530a1b709b1d7ccb6ec77dcb0cba06fce6791cb353
 DIST kodi-19.0_alpha2_p20201030.tar.gz 52309285 BLAKE2B 
13d20b526675f7338f4ef033004710917da2fee4851fa96290d461941465f46de82b76124ba67fb301c4f460443fdf14b1271895f35a45409d3d6c4938d6abb7
 SHA512 
84c3d7aaf35585c278929749c539f2a3f33709d716d52019ad13a5780b05ccaca3a15a727a295b41c5479f50313d4bce1751af998c326c77aa729910a1915132
-DIST kodi-19.0a2.tar.gz 52124537 BLAKE2B 
f61ad74fdcf7254731842feb45897d46291bfe591fed7a1de2d91db36275e3310443fc943f3a93b7ff21f83cad6b4a781b3d60701d6f56a93de231300f5ecd86
 SHA512 
22c3b214f31f614955b1559ae5405c563b96a18162bb1d66ef0ad4999eff16fe846c38406ab9d471e12232b70b373fb917e81b2b57ae3e2cf958dcc362eef5ee
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72
 DIST libdvdread-6.0.0-Leia-Alpha-3.tar.gz 130649 BLAKE2B 
0c206acdaf0776841ab792c74e023af07d9539eb72e03ae164382a31ed950f60e5e15f1d055979d28f1398924471b294d11f064b11b8373353b3962a3777ff3c
 SHA512 
b3419ba0a1a2dd70f1bb6236afdfe1c6e88c9ad4264198b289e3bba9375e077cecf7f89848c7b09debaa445327f3507101f3d157e692f7a7163b2bb52643e1e7

diff --git a/media-tv/kodi/kodi-19.0_alpha2.ebuild 
b/media-tv/kodi/kodi-19.0_alpha2.ebuild
deleted file mode 100644
index 00063a3470d..000
--- a/media-tv/kodi/kodi-19.0_alpha2.ebuild
+++ /dev/null
@@ -1,321 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_REQ_USE="libressl?,sqlite,ssl"
-LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5"
-LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3"
-LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
-FFMPEG_VERSION="4.3.1"
-CODENAME="Matrix"
-FFMPEG_KODI_VERSION="Alpha1-2"
-PYTHON_COMPAT=( python3_{6,7,8,9} )
-SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
-   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
-   !system-ffmpeg? ( 
https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz
 -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/xbmc/xbmc.git;
-   inherit git-r3
-else
-   MY_PV=${PV/_p/_r}
-   MY_PV=${MY_PV/_alpha/a}
-   MY_PV=${MY_PV/_beta/b}
-   MY_PV=${MY_PV/_rc/rc}
-   MY_P="${PN}-${MY_PV}"
-   SRC_URI+=" 
https://github.com/xbmc/xbmc/archive/${MY_PV}-${CODENAME}.tar.gz -> 
${MY_P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-   S=${WORKDIR}/xbmc-${MY_PV}-${CODENAME}
-fi
-
-inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg
-
-DESCRIPTION="A free and open source media-player and entertainment hub"
-HOMEPAGE="https://kodi.tv/ https://kodi.wiki/;
-
-LICENSE="GPL-2+"
-SLOT="0"
-# use flag is called libusb so that it doesn't fool 

[gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/

2020-10-30 Thread Thomas Deutschmann
commit: 5051834606a77afa11c0e9c96bc298872bc11650
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 16:37:00 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 16:45:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50518346

sys-kernel/linux-firmware: keep misc files

Whitelist misc files like copy-firmware.sh or WHENCE which we will use
later.

Closes: https://bugs.gentoo.org/751901
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../linux-firmware/linux-firmware-.ebuild| 20 +---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/sys-kernel/linux-firmware/linux-firmware-.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-.ebuild
index fcd90451c74..6a67500e679 100644
--- a/sys-kernel/linux-firmware/linux-firmware-.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-.ebuild
@@ -114,6 +114,13 @@ src_prepare() {
fi
fi
 
+   # whitelist of misc files
+   local misc_files=(
+   copy-firmware.sh
+   WHENCE
+   README
+   )
+
# whitelist of images with a free software license
local free_software=(
# keyspan_pda (GPL-2+)
@@ -238,9 +245,16 @@ src_prepare() {
# everything else is confirmed (or assumed) to be 
redistributable
# based on upstream acceptance policy
einfo "Removing non-redistributable files ..."
-   IFS=$'\n' find ! -type d -printf "%P\n" \
-   | grep -Fvx -e "${free_software[*]}" -e 
"${unknown_license[*]}" \
-   | xargs -d '\n' rm -v || die
+   local OLDIFS="${IFS}"
+   local IFS=$'\n'
+   set -o pipefail
+   find ! -type d -printf "%P\n" \
+   | grep -Fvx -e "${misc_files[*]}" -e 
"${free_software[*]}" -e "${unknown_license[*]}" \
+   | xargs -d '\n' --no-run-if-empty rm -v
+
+   [[ ${?} -ne 0 ]] && die "Failed to remove non-redistributable 
files"
+
+   IFS="${OLDIFS}"
fi
 
restore_config ${PN}.conf



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/

2020-10-30 Thread Thomas Deutschmann
commit: 2e61b022eaf4c3b25d17c8f6aafe81c34a27bba6
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 16:41:55 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 16:45:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e61b022

sys-kernel/linux-firmware: always create config file for USE=savedconfig

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-.ebuild | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/sys-kernel/linux-firmware/linux-firmware-.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-.ebuild
index 620398e13c2..63f85a38567 100644
--- a/sys-kernel/linux-firmware/linux-firmware-.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-.ebuild
@@ -295,11 +295,10 @@ src_install() {
die "Refusing to install an empty package"
fi
 
-   if use savedconfig; then
-   echo "# Remove files that shall not be installed from this 
list." > "${S}"/${PN}.conf || die
-   find * ! -type d >> "${S}"/${PN}.conf || die
-   save_config "${S}"/${PN}.conf
-   fi
+   # create config file
+   echo "# Remove files that shall not be installed from this list." > 
"${S}"/${PN}.conf || die
+   find * ! -type d >> "${S}"/${PN}.conf || die
+   save_config "${S}"/${PN}.conf
 
popd &>/dev/null || die
 



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/

2020-10-30 Thread Thomas Deutschmann
commit: 9831b5fb7b0a05f133178ec40127fc3dabaaeaff
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 16:39:58 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 16:45:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9831b5fb

sys-kernel/linux-firmware: delete broken symlinks

copy-firmware.sh can create broken symlinks when it tries to
symlink files we have removed due to set USE flags.

Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-kernel/linux-firmware/linux-firmware-.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-.ebuild
index 6a67500e679..620398e13c2 100644
--- a/sys-kernel/linux-firmware/linux-firmware-.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-.ebuild
@@ -265,6 +265,10 @@ src_install() {
 
pushd "${ED}/lib/firmware" &>/dev/null || die
 
+   # especially use !redistributable will cause some broken symlinks
+   einfo "Removing broken symlinks ..."
+   find * -xtype l -print -delete || die
+
if use savedconfig; then
if [[ -s "${S}/${PN}.conf" ]]; then
local files_to_keep="${T}/files_to_keep.lst"



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/

2020-10-30 Thread Thomas Deutschmann
commit: ad9f44ef8ff4f98e3cfcfb2505856c39e532dc09
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 16:43:50 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 16:45:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9f44ef

sys-kernel/linux-firmware: rev bump to incorporate latest changes

See changes for live ebuild for details.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 ...r1.ebuild => linux-firmware-20201022-r2.ebuild} | 33 --
 1 file changed, 25 insertions(+), 8 deletions(-)

diff --git a/sys-kernel/linux-firmware/linux-firmware-20201022-r1.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-20201022-r2.ebuild
similarity index 92%
rename from sys-kernel/linux-firmware/linux-firmware-20201022-r1.ebuild
rename to sys-kernel/linux-firmware/linux-firmware-20201022-r2.ebuild
index fcd90451c74..63f85a38567 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20201022-r1.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20201022-r2.ebuild
@@ -114,6 +114,13 @@ src_prepare() {
fi
fi
 
+   # whitelist of misc files
+   local misc_files=(
+   copy-firmware.sh
+   WHENCE
+   README
+   )
+
# whitelist of images with a free software license
local free_software=(
# keyspan_pda (GPL-2+)
@@ -238,9 +245,16 @@ src_prepare() {
# everything else is confirmed (or assumed) to be 
redistributable
# based on upstream acceptance policy
einfo "Removing non-redistributable files ..."
-   IFS=$'\n' find ! -type d -printf "%P\n" \
-   | grep -Fvx -e "${free_software[*]}" -e 
"${unknown_license[*]}" \
-   | xargs -d '\n' rm -v || die
+   local OLDIFS="${IFS}"
+   local IFS=$'\n'
+   set -o pipefail
+   find ! -type d -printf "%P\n" \
+   | grep -Fvx -e "${misc_files[*]}" -e 
"${free_software[*]}" -e "${unknown_license[*]}" \
+   | xargs -d '\n' --no-run-if-empty rm -v
+
+   [[ ${?} -ne 0 ]] && die "Failed to remove non-redistributable 
files"
+
+   IFS="${OLDIFS}"
fi
 
restore_config ${PN}.conf
@@ -251,6 +265,10 @@ src_install() {
 
pushd "${ED}/lib/firmware" &>/dev/null || die
 
+   # especially use !redistributable will cause some broken symlinks
+   einfo "Removing broken symlinks ..."
+   find * -xtype l -print -delete || die
+
if use savedconfig; then
if [[ -s "${S}/${PN}.conf" ]]; then
local files_to_keep="${T}/files_to_keep.lst"
@@ -277,11 +295,10 @@ src_install() {
die "Refusing to install an empty package"
fi
 
-   if use savedconfig; then
-   echo "# Remove files that shall not be installed from this 
list." > "${S}"/${PN}.conf || die
-   find * ! -type d >> "${S}"/${PN}.conf || die
-   save_config "${S}"/${PN}.conf
-   fi
+   # create config file
+   echo "# Remove files that shall not be installed from this list." > 
"${S}"/${PN}.conf || die
+   find * ! -type d >> "${S}"/${PN}.conf || die
+   save_config "${S}"/${PN}.conf
 
popd &>/dev/null || die
 



[gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/

2020-10-30 Thread Craig Andrews
commit: 3bf131911d0560ecc3b58a1d69837f836ecb067d
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Oct 30 16:10:28 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Oct 30 16:10:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf13191

media-tv/kodi: 19.0_alpha2_p20201030 version bump

Closes: https://bugs.gentoo.org/751433
Closes: https://bugs.gentoo.org/751334
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Craig Andrews  gentoo.org>

 media-tv/kodi/Manifest  |   1 +
 media-tv/kodi/kodi-19.0_alpha2_p20201030.ebuild | 298 
 2 files changed, 299 insertions(+)

diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest
index 61cd871e4da..ebe0e2d43d9 100644
--- a/media-tv/kodi/Manifest
+++ b/media-tv/kodi/Manifest
@@ -4,6 +4,7 @@ DIST kodi-18-libmicrohttpd-0.9.71.patch 84981 BLAKE2B 
e07c7df63bdfbaf9dfc5d0989a
 DIST kodi-18.7.tar.gz 51051040 BLAKE2B 
7ff04cd0ddcf74e46eef4318cf870662b9e076b362322958a6b8019d49134e37981f7ca21b5806e38b942adc4c29ea2b25a19f46e5da3d469613cf19a29f4e8c
 SHA512 
7e5678f5e23e8af929056a49b0ce0b992a1f53a1fe970a149610c5a24adb591085bb06cc405e8bdc6040eef853d23e99df660d7006fc1ea4e79afd3a697875c5
 DIST kodi-18.8.tar.gz 51052219 BLAKE2B 
6e49b08b5e2bfe778dafb687658e82b90226a9f1c1a7827a4290d601fe4c98e5cbaabaa39563c19a2956b83ce3a76640f081a56a41dfea4d65fb8b503c6f37b0
 SHA512 
242eaa9144ba0d9b15f02ab41282295de76d375cf66d595e7f6687d47c996133fcf5647448dcd06759df9f30bd86cdba239720b9bdd8b57827b6f261c08c4aaa
 DIST kodi-18.9.tar.gz 51052509 BLAKE2B 
e7cd888a38ed81e90566ae5e8a6f28c93688c8293af4b210674f224b02e7452ac81c25128cfbeaa3c67980fc00e18631060640ddff61263c782c807f8c5ea00e
 SHA512 
72e4e2afa46d5d2061ed348af5c9a4218474589cb38d630e6d0643b35aff3b0aefb3db81333d52da6c799c530a1b709b1d7ccb6ec77dcb0cba06fce6791cb353
+DIST kodi-19.0_alpha2_p20201030.tar.gz 52309285 BLAKE2B 
13d20b526675f7338f4ef033004710917da2fee4851fa96290d461941465f46de82b76124ba67fb301c4f460443fdf14b1271895f35a45409d3d6c4938d6abb7
 SHA512 
84c3d7aaf35585c278929749c539f2a3f33709d716d52019ad13a5780b05ccaca3a15a727a295b41c5479f50313d4bce1751af998c326c77aa729910a1915132
 DIST kodi-19.0a2.tar.gz 52124537 BLAKE2B 
f61ad74fdcf7254731842feb45897d46291bfe591fed7a1de2d91db36275e3310443fc943f3a93b7ff21f83cad6b4a781b3d60701d6f56a93de231300f5ecd86
 SHA512 
22c3b214f31f614955b1559ae5405c563b96a18162bb1d66ef0ad4999eff16fe846c38406ab9d471e12232b70b373fb917e81b2b57ae3e2cf958dcc362eef5ee
 DIST libdvdcss-1.4.2-Leia-Beta-5.tar.gz 101068 BLAKE2B 
283aa2cec0a2200d3569bc280cb9659e9224a6b3a77db8a35b269cd8caf1337ac9d8b92b806df66f63ef7458a46bd6261f0b8b14678b10e26644a79dcbeea5da
 SHA512 
5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e
 DIST libdvdnav-6.0.0-Leia-Alpha-3.tar.gz 137942 BLAKE2B 
7573434a0ae8e8ccabf48173f81fcde29074eb138e119a2ae9156cde3c3d8bfd716f5d0e605b97f2dcac21f570781137c8533c5ae306b51e3905822fda318355
 SHA512 
11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72

diff --git a/media-tv/kodi/kodi-19.0_alpha2_p20201030.ebuild 
b/media-tv/kodi/kodi-19.0_alpha2_p20201030.ebuild
new file mode 100644
index 000..ef588cb282a
--- /dev/null
+++ b/media-tv/kodi/kodi-19.0_alpha2_p20201030.ebuild
@@ -0,0 +1,298 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_REQ_USE="libressl?,sqlite,ssl"
+LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5"
+LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3"
+LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3"
+FFMPEG_VERSION="4.3.1"
+CODENAME="Matrix"
+FFMPEG_KODI_VERSION="Alpha1-2"
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz 
-> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz 
-> libdvdread-${LIBDVDREAD_VERSION}.tar.gz
+   https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz 
-> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz
+   !system-ffmpeg? ( 
https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz
 -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/xbmc/xbmc.git;
+   inherit git-r3
+else
+   GIT_COMMIT="5f3a7ca53fd8d60a920d2ca89d6f136db6163d0a"
+   SRC_URI+=" https://github.com/xbmc/xbmc/archive/${GIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   S=${WORKDIR}/xbmc-${GIT_COMMIT}
+fi
+
+inherit autotools cmake desktop linux-info pax-utils python-single-r1 xdg
+
+DESCRIPTION="A free and open source media-player and entertainment hub"
+HOMEPAGE="https://kodi.tv/ https://kodi.wiki/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+# use flag is called libusb so that it 

[gentoo-commits] repo/gentoo:master commit in: media-plugins/kodi-pvr-stalker/

2020-10-30 Thread Craig Andrews
commit: 41bcfead35b4b014c0a3804b5e88929eb8ea0012
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Oct 30 16:03:41 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Oct 30 16:10:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41bcfead

media-plugins/kodi-pvr-stalker: 7.0.0 version bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Craig Andrews  gentoo.org>

 media-plugins/kodi-pvr-stalker/Manifest|  1 +
 .../kodi-pvr-stalker/kodi-pvr-stalker-7.0.0.ebuild | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/media-plugins/kodi-pvr-stalker/Manifest 
b/media-plugins/kodi-pvr-stalker/Manifest
index b035cf91d33..852d38aba8b 100644
--- a/media-plugins/kodi-pvr-stalker/Manifest
+++ b/media-plugins/kodi-pvr-stalker/Manifest
@@ -4,3 +4,4 @@ DIST kodi-pvr-stalker-3.4.9.tar.gz 115275 BLAKE2B 
bd9df715d3f5e630d4a47fe24f2451
 DIST kodi-pvr-stalker-6.0.0.tar.gz 114838 BLAKE2B 
31f567d73dc4851acd748bcfa8187014aad9451e05727cf8b8b705ec936b10b39e62c82f451c6b4049bc70c70708beae2228cb0b5ced71b34de53b497c137076
 SHA512 
99b9c2a2876023efe510a9970e0520804180e138d63ed1a13fb94e86b346d09c252c8edf12f3c3a7d2610d80d25cc74e938b35ecd925846f6adf648430b0938e
 DIST kodi-pvr-stalker-6.0.1.tar.gz 114575 BLAKE2B 
cb42fcd4ecc7c65bac75eb12579d0dcdb5827312c275a9db998953366c6a59a1033d7d26cc9db91c909d694340bb0eaf53e9d982604ec45b8cb349c4210565c4
 SHA512 
e71e37e7b440cb2d4e6f72400cdb457fbcdcc39893cbe70144b9ac1941429f45b00dbf7516b25a8ac874ae471a14335ce74c845239a46b1fda97361b0757
 DIST kodi-pvr-stalker-6.0.2.tar.gz 114593 BLAKE2B 
673a512ba369a85c6b08820bce845ec38d1ad4710767e585fe18f24c73bbf2b589ed3b52e3a0868a468e57094509ec2bbf1a7477c3602aafbac40095e2948bad
 SHA512 
c8d5a2fce823e9dd00af53f12544ef6f5294b736032fc94d53312b018fb9d6ccbb9a2249cf4d41a40c89b0a0e42dbf252c7897e14c33e5f75487620260e493a5
+DIST kodi-pvr-stalker-7.0.0.tar.gz 114736 BLAKE2B 
a039de58e9f0cc687553b9bf852b4b4fe2f7d1af2682322b29d97c7452b8f2bf5015b72262ae680557666144403bed605b9379e4b7a79eb1e832091cf21e8f98
 SHA512 
d916bf0bf12196672c8576a1e30fb4a6e4fca48d0dcb0e5dbf28bdd78a4266d13a801d92b304bc2b08cc80c45c78081b3676d71331ef42849e99ecfd5848a88d

diff --git a/media-plugins/kodi-pvr-stalker/kodi-pvr-stalker-7.0.0.ebuild 
b/media-plugins/kodi-pvr-stalker/kodi-pvr-stalker-7.0.0.ebuild
new file mode 100644
index 000..72e70d8feae
--- /dev/null
+++ b/media-plugins/kodi-pvr-stalker/kodi-pvr-stalker-7.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Kodi's Stalker client addon"
+HOMEPAGE="https://github.com/kodi-pvr/pvr.stalker;
+SRC_URI=""
+
+case ${PV} in
+)
+   SRC_URI=""
+   EGIT_REPO_URI="https://github.com/kodi-pvr/pvr.stalker.git;
+   inherit git-r3
+   ;;
+*)
+   CODENAME="Matrix"
+   KEYWORDS="~amd64 ~x86"
+   
SRC_URI="https://github.com/kodi-pvr/pvr.stalker/archive/${PV}-${CODENAME}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/pvr.stalker-${PV}-${CODENAME}"
+   ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   =media-tv/kodi-19*
+   dev-libs/jsoncpp
+   dev-libs/tinyxml
+   "
+
+RDEPEND="
+   ${DEPEND}
+   "
+
+src_prepare() {
+   [ -d depends ] && rm -rf depends || die
+   cmake_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: media-plugins/kodi-pvr-filmon/

2020-10-30 Thread Craig Andrews
commit: 0eb807e114364ccf72e34e17de667253aa4b9f80
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Oct 30 16:04:11 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Oct 30 16:10:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb807e1

media-plugins/kodi-pvr-filmon: 6.0.0 version bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Craig Andrews  gentoo.org>

 media-plugins/kodi-pvr-filmon/Manifest |  1 +
 .../kodi-pvr-filmon/kodi-pvr-filmon-6.0.0.ebuild   | 37 ++
 2 files changed, 38 insertions(+)

diff --git a/media-plugins/kodi-pvr-filmon/Manifest 
b/media-plugins/kodi-pvr-filmon/Manifest
index c96ec2a0fb7..0ab80fd51b9 100644
--- a/media-plugins/kodi-pvr-filmon/Manifest
+++ b/media-plugins/kodi-pvr-filmon/Manifest
@@ -1,3 +1,4 @@
 DIST kodi-pvr-filmon-2.4.4.tar.gz 104862 BLAKE2B 
8333be55812ec5cb18535aa696c07e16cc02712522b540bef346bd030fdbd572daae47d81bed78be243014fb920911309d5f924079d323104c60090d0ca2c72b
 SHA512 
f6d7c90842ca59ebb3b254860b47d7c1b7e6e5bd70f06744341eaf30a4bc2847027818a2bb097e56398354315753cfea7878cf2b82c3fc69b0aeed106b8d8e80
 DIST kodi-pvr-filmon-2.4.6.tar.gz 105423 BLAKE2B 
75c64e863da1609ed7f8176635c90062de9008d1f814fd4cfbb7110d6e46fc1a9bb79dbddfce2e3edbb341048c11f80a12701209afc5152ccd2035d7b4d1
 SHA512 
832840319bfb8d9d89883ecc58a4cbc1e32807bed5296dd1bcf033199109b47c5a48be4609e6879ba49a69da61958b2dec033729bb9536a0d26990102472f400
 DIST kodi-pvr-filmon-5.1.0.tar.gz 111224 BLAKE2B 
8c65a7ed7bcd1846c0bf64ccf99111d8fdbd882a06a6045577d031fa68730ade691362f8b60105714e5ebe7f57e31d1e76927b1b505926b4fd7f3e99efc24983
 SHA512 
02ba24e23c44ae3000c4f41e90169ea1455678927c6de1fda1927c705bbb236ed06bd5ecd0da59f547f02afe7b695306f7282cdc5014816fd9e0f1922243b2fd
+DIST kodi-pvr-filmon-6.0.0.tar.gz 108084 BLAKE2B 
a30f73569fdea28d9c4beca1e605099e9ee4bdfc61c9c56e7c5089d26857cd67785bff0b7ac81916379d8ec825e2f1c1f870a9351bd49d24f35e7274777596ec
 SHA512 
c86f649a12fca13ba5aabcd3c4c37a75279646fd093f48aa20ed3d6a75ad1de0980daffd3aac4771581628974515351c8f9618f60b4b5ea6b66ad91ea6ba0f6d

diff --git a/media-plugins/kodi-pvr-filmon/kodi-pvr-filmon-6.0.0.ebuild 
b/media-plugins/kodi-pvr-filmon/kodi-pvr-filmon-6.0.0.ebuild
new file mode 100644
index 000..6c7b6067036
--- /dev/null
+++ b/media-plugins/kodi-pvr-filmon/kodi-pvr-filmon-6.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Kodi's Filmon client addon"
+HOMEPAGE="https://github.com/kodi-pvr/pvr.filmon;
+SRC_URI=""
+
+case ${PV} in
+)
+   SRC_URI=""
+   EGIT_REPO_URI="https://github.com/kodi-pvr/pvr.filmon.git;
+   inherit git-r3
+   ;;
+*)
+   CODENAME="Matrix"
+   KEYWORDS="~amd64 ~x86"
+   
SRC_URI="https://github.com/kodi-pvr/pvr.filmon/archive/${PV}-${CODENAME}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/pvr.filmon-${PV}-${CODENAME}"
+   ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   =media-tv/kodi-19*
+   dev-libs/jsoncpp
+   "
+
+RDEPEND="
+   ${DEPEND}
+   "



[gentoo-commits] repo/gentoo:master commit in: media-plugins/kodi-pvr-dvbviewer/

2020-10-30 Thread Craig Andrews
commit: c729c755197ca3533df00976e7eac55a1b97bc07
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Oct 30 16:04:47 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Oct 30 16:10:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c729c755

media-plugins/kodi-pvr-dvbviewer: 7.0.0 version bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Craig Andrews  gentoo.org>

 media-plugins/kodi-pvr-dvbviewer/Manifest  |  1 +
 .../kodi-pvr-dvbviewer-7.0.0.ebuild| 37 ++
 2 files changed, 38 insertions(+)

diff --git a/media-plugins/kodi-pvr-dvbviewer/Manifest 
b/media-plugins/kodi-pvr-dvbviewer/Manifest
index c50723e61b0..7f74b309e72 100644
--- a/media-plugins/kodi-pvr-dvbviewer/Manifest
+++ b/media-plugins/kodi-pvr-dvbviewer/Manifest
@@ -3,3 +3,4 @@ DIST kodi-pvr-dvbviewer-3.7.5-Leia.tar.gz 125918 BLAKE2B 
413a752c092ff250e01db40
 DIST kodi-pvr-dvbviewer-3.7.8-Leia.tar.gz 127666 BLAKE2B 
a1f73598ec8b3c6db067b6c991ea829ebfeae526e4575f9392c0fe36280b467ccee46eadc65f14309bf422e06f9ce9754ae3b2d3444f58fe0c938541be9130d3
 SHA512 
8d0c16c21b6b80f16801d0d253987f292aaa324f0eabd508c0023e87fce9502ebecbcc89f8fb7dbd792ced83a8925e280f6cb1dbf0a5f319699a8b7d95d8
 DIST kodi-pvr-dvbviewer-6.0.6-Matrix.tar.gz 137151 BLAKE2B 
51eb189d9a2f7a5f36f7efbc542c68b4460e0e23bb829b1dec39d38fdbeab5700078b06fc2b39187f8602e6b59e371e097481238f506069f3deda73bdcdbee57
 SHA512 
c4bdc8459d6d9b396540397b33d9055779056edbcb226a6d033825f3bb71d31981886813350b943d55247d6d8cade9c7ae0d3b921ceacba312cf9de2944777a5
 DIST kodi-pvr-dvbviewer-6.0.7-Matrix.tar.gz 137278 BLAKE2B 
5dd775d9d721a07213f5b33fd3e0391a920342a57cf3b58a13283a2df951a38eed987c23fdc269c7221912a3b4d8f508c11adb0fe467e08dab4ee8c91c115335
 SHA512 
c74747b3f7c8198f9593e5e9682d431061402bf88cee028aac92089dc64093ae42b4cbca7c610275656a68c08a9330c963a45752cedf109c55cf5170cadbeb07
+DIST kodi-pvr-dvbviewer-7.0.0-Matrix.tar.gz 137286 BLAKE2B 
86ec3f7c41e48cf1f47a55fe03dad4e362c7d279dbe11a9a014353fcb1afe67ad56498fd6d5054aa472ced9e8813de78cd89767a6546344caebbb33171661f83
 SHA512 
c2c43767f8cfaa5a2b50bd807a192ca73e4a52de242a0127e9486d9a9dc02cb5dea9ce4f57601e42f697f2121ce6c7347fd2ace2ea4f1ab834bf9877f1f35cc6

diff --git a/media-plugins/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer-7.0.0.ebuild 
b/media-plugins/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer-7.0.0.ebuild
new file mode 100644
index 000..6c015a0ae55
--- /dev/null
+++ b/media-plugins/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer-7.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Kodi's DVBViewer client addon"
+HOMEPAGE="https://github.com/kodi-pvr/pvr.dvbviewer;
+SRC_URI=""
+
+case ${PV} in
+)
+   SRC_URI=""
+   EGIT_REPO_URI="https://github.com/kodi-pvr/pvr.dvbviewer.git;
+   inherit git-r3
+   ;;
+*)
+   CODENAME="Matrix"
+   KEYWORDS="~amd64 ~x86"
+   
SRC_URI="https://github.com/kodi-pvr/pvr.dvbviewer/archive/${PV}-${CODENAME}.tar.gz
 -> ${P}-${CODENAME}.tar.gz"
+   S="${WORKDIR}/pvr.dvbviewer-${PV}-${CODENAME}"
+   ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   =media-tv/kodi-19*
+   dev-libs/tinyxml
+   "
+
+RDEPEND="
+   ${DEPEND}
+   "



[gentoo-commits] repo/gentoo:master commit in: profiles/

2020-10-30 Thread Lars Wendler
commit: 2b73a1be8ce62a761a15e8a9bba81ef35c3c6ed5
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Oct 30 16:01:56 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Oct 30 16:03:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b73a1be

package.mask: Masked dev-libs/icu-68.1 until revdeps have been fixed

Signed-off-by: Lars Wendler  gentoo.org>

 profiles/package.mask | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 17219369e43..95ac735d3cf 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -32,6 +32,12 @@
 
 #--- END OF EXAMPLES ---
 
+# Lars Wendler  (2020-10-30)
+# Removed public macro definitions for TRUE and FALSE which breaks lots of
+# revdeps. See tacker bug at https://bugs.gentoo.org/751919
+=dev-libs/icu-68.1
+=dev-libs/icu-layoutex-68.1
+
 # Georgy Yakovlev  (2020-10-30)
 # broken acl handling, possible broken chattr handling
 # needs more testing



[gentoo-commits] repo/gentoo:master commit in: dev-libs/icu-layoutex/

2020-10-30 Thread Lars Wendler
commit: 89240782417899928b549038f55f162429fe65a4
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Oct 30 15:58:23 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Oct 30 16:03:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89240782

dev-libs/icu-layoutex: Bump to version 68.1

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 dev-libs/icu-layoutex/Manifest |   1 +
 dev-libs/icu-layoutex/icu-layoutex-68.1.ebuild | 109 +
 2 files changed, 110 insertions(+)

diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest
index 0a1add51ea7..c5f1ce69c8b 100644
--- a/dev-libs/icu-layoutex/Manifest
+++ b/dev-libs/icu-layoutex/Manifest
@@ -1 +1,2 @@
 DIST icu4c-67_1-src.tgz 24518055 BLAKE2B 
f8a263b5c3e5e8ffea88a3bb766cb265aac026b5f9b2f45a1f06076f99f9f0dc3a4512487652d774ccfc8dc65f8f4c40a974e0aa2aa4381ee0c9885f6b871779
 SHA512 
4779f1ce1ca7976f6fad6768853ea8c540da54d11509e3b6cfd864a04b5f2db1c3d4b546387f91ad02fb90804525bc37d2543173f0d705d6ca11dc6f2b7640a8
+DIST icu4c-68_1-src.tgz 24722348 BLAKE2B 
252ef254cba1a953a0defabae5bf06ba24b3cf48ae18fc4984b883d9f83a3a57129a0e782c85578cf69e9f397a8d6d3b16b70c3802084617d39ade68154f98f5
 SHA512 
24ff4ce5947c41fc12a168e15d4037556562c7f32c1da0bbedd705232476174a3b2318955a7124426a63c2034eb9ae077e728a5dbada8b9433d7173cac3db307

diff --git a/dev-libs/icu-layoutex/icu-layoutex-68.1.ebuild 
b/dev-libs/icu-layoutex/icu-layoutex-68.1.ebuild
new file mode 100644
index 000..62b585924f4
--- /dev/null
+++ b/dev-libs/icu-layoutex/icu-layoutex-68.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs
+
+DESCRIPTION="External layout part of International Components for Unicode"
+HOMEPAGE="http://www.icu-project.org/;
+SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug static-libs"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+DEPEND="
+   ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}]
+   dev-libs/icu-le-hb[${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN/-layoutex}/source"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-65.1-remove-bashisms.patch"
+)
+
+src_prepare() {
+   # apply patches
+   default
+
+   # Disable renaming as it is stupid thing to do
+   sed -i \
+   -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 
1/" \
+   common/unicode/uconfig.h || die
+
+   # Fix linking of icudata
+   sed -i \
+   -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
+   config/mh-linux || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # Use C++14
+   append-cxxflags -std=c++14
+
+   if tc-is-cross-compiler; then
+   mkdir "${WORKDIR}"/host || die
+   pushd "${WORKDIR}"/host >/dev/null || die
+
+   CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
+   CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" 
AR="$(tc-getBUILD_AR)" \
+   RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
+   "${S}"/configure --disable-renaming --disable-debug \
+   --disable-samples --enable-static || die
+   emake
+
+   popd >/dev/null || die
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-renaming
+   --disable-samples
+   --enable-layoutex
+   $(use_enable debug)
+   $(use_enable static-libs static)
+   )
+
+   tc-is-cross-compiler && myeconfargs+=(
+   --with-cross-build="${WORKDIR}"/host
+   )
+
+   # icu tries to use clang by default
+   tc-export CC CXX
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_test() {
+   # INTLTEST_OPTS: intltest options
+   #   -e: Exhaustive testing
+   #   -l: Reporting of memory leaks
+   #   -v: Increased verbosity
+   # IOTEST_OPTS: iotest options
+   #   -e: Exhaustive testing
+   #   -v: Increased verbosity
+   # CINTLTST_OPTS: cintltst options
+   #   -e: Exhaustive testing
+   #   -v: Increased verbosity
+   pushd layoutex &>/dev/null || die
+   emake -j1 VERBOSE="1" check
+   popd &>/dev/null || die
+}
+
+multilib_src_install() {
+   pushd layoutex &>/dev/null || die
+   default
+   popd &>/dev/null || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/

2020-10-30 Thread Lars Wendler
commit: 636bfb76c5e0d68c0155745a379e10d0a9094048
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Oct 30 15:50:03 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Oct 30 16:03:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=636bfb76

dev-libs/icu: Bump to version 68.1

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 dev-libs/icu/Manifest|   1 +
 dev-libs/icu/icu-68.1.ebuild | 141 +++
 2 files changed, 142 insertions(+)

diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest
index 0a1add51ea7..c5f1ce69c8b 100644
--- a/dev-libs/icu/Manifest
+++ b/dev-libs/icu/Manifest
@@ -1 +1,2 @@
 DIST icu4c-67_1-src.tgz 24518055 BLAKE2B 
f8a263b5c3e5e8ffea88a3bb766cb265aac026b5f9b2f45a1f06076f99f9f0dc3a4512487652d774ccfc8dc65f8f4c40a974e0aa2aa4381ee0c9885f6b871779
 SHA512 
4779f1ce1ca7976f6fad6768853ea8c540da54d11509e3b6cfd864a04b5f2db1c3d4b546387f91ad02fb90804525bc37d2543173f0d705d6ca11dc6f2b7640a8
+DIST icu4c-68_1-src.tgz 24722348 BLAKE2B 
252ef254cba1a953a0defabae5bf06ba24b3cf48ae18fc4984b883d9f83a3a57129a0e782c85578cf69e9f397a8d6d3b16b70c3802084617d39ade68154f98f5
 SHA512 
24ff4ce5947c41fc12a168e15d4037556562c7f32c1da0bbedd705232476174a3b2318955a7124426a63c2034eb9ae077e728a5dbada8b9433d7173cac3db307

diff --git a/dev-libs/icu/icu-68.1.ebuild b/dev-libs/icu/icu-68.1.ebuild
new file mode 100644
index 000..50248a6dbbd
--- /dev/null
+++ b/dev-libs/icu/icu-68.1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit autotools flag-o-matic multilib-minimal python-any-r1 toolchain-funcs
+
+DESCRIPTION="International Components for Unicode"
+HOMEPAGE="http://site.icu-project.org/;
+SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz;
+
+LICENSE="BSD"
+
+SLOT="0/${PV}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="debug doc examples static-libs"
+
+BDEPEND="${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen[dot] )
+"
+
+S="${WORKDIR}/${PN}/source"
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/icu-config
+)
+
+PATCHES=(
+   "${FILESDIR}/${PN}-65.1-remove-bashisms.patch"
+   "${FILESDIR}/${PN}-64.2-darwin.patch"
+)
+
+src_prepare() {
+   default
+
+   local variable
+
+   # Disable renaming as it is stupid thing to do
+   sed -i \
+   -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 
1/" \
+   common/unicode/uconfig.h || die
+
+   # Fix linking of icudata
+   sed -i \
+   -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
+   config/mh-linux || die
+
+   # Append doxygen configuration to configure
+   sed -i \
+   -e 's:icudefs.mk:icudefs.mk Doxyfile:' \
+   configure.ac || die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cxxflags -std=c++14
+
+   if tc-is-cross-compiler; then
+   mkdir "${WORKDIR}"/host || die
+   pushd "${WORKDIR}"/host >/dev/null || die
+
+   CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
+   CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" 
AR="$(tc-getBUILD_AR)" \
+   RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
+   "${S}"/configure --disable-renaming --disable-debug \
+   --disable-samples --enable-static || die
+   emake
+
+   popd >/dev/null || die
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-renaming
+   --disable-samples
+   --disable-layoutex
+   $(use_enable debug)
+   $(use_enable static-libs static)
+   $(multilib_native_use_enable examples samples)
+   )
+
+   tc-is-cross-compiler && myeconfargs+=(
+   --with-cross-build="${WORKDIR}"/host
+   )
+
+   # icu tries to use clang by default
+   tc-export CC CXX
+
+   # make sure we configure with the same shell as we run icu-config
+   # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
+   export CONFIG_SHELL="${EPREFIX}/bin/sh"
+   # probably have no /bin/sh in prefix-chain
+   [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   default
+
+   if multilib_is_native_abi && use doc; then
+   doxygen -u Doxyfile || die
+   doxygen Doxyfile || die
+   fi
+}
+
+multilib_src_test() {
+   # 

[gentoo-commits] repo/gentoo:master commit in: dev-lisp/sbcl/

2020-10-30 Thread Andrey Grozin
commit: bd5b6ca955a9a3e1a0c7375b19f3c1255275b899
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Oct 30 15:39:57 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Oct 30 15:39:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5b6ca9

dev-lisp/sbcl: bump to 2.0.10

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 dev-lisp/sbcl/Manifest   |   2 +
 dev-lisp/sbcl/sbcl-2.0.10.ebuild | 245 +++
 2 files changed, 247 insertions(+)

diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index 5c98ca80fc9..de2facbdcb5 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -26,6 +26,8 @@ DIST sbcl-2.0.0-source.tar.bz2 6457217 BLAKE2B 
ae09d4d80ca7100fb412be57012691861
 DIST sbcl-2.0.0-x86-64-linux-binary.tar.bz2 10196560 BLAKE2B 
161d53df96817a50606ffc6a5ad502a94a1aa622e0a45c17c4ff4148deafb2e1db560aacd33b1198eb6fd3bc462b320e01d4925097bec3954f9d6ce564a2b1f5
 SHA512 
23d3974656a33ae0cfce340e2fbdd60a4e595353e7cc6e75dbab0242d7baaa30d677d1163d4440e953cd7f859fc737b073055b68fbeb2e57e3542a0133d7648f
 DIST sbcl-2.0.1-source.tar.bz2 6466983 BLAKE2B 
f040fb288f5b7adb8a7f56aae60a37e38034c2fed958b1361f473096769367b0a10a76a0e45380e6dcf3b4bd2c1038957448f70eede38b04c228a14e3afc1fc2
 SHA512 
1d92589033e123c21377f820dbc22e27f2610a372c5545799bec7c247795ba4b8b65102c7fe739f4a15a84579ec72f63fb9f4b197db5c6da1f8d59bd35966bea
 DIST sbcl-2.0.1-x86-64-linux-binary.tar.bz2 10151722 BLAKE2B 
445fcaa5a6f1c2a7a7d80dd28d1126c33437af2a59dadd25cbbe9ca4e12488a985e78aa12095fda8e38e21dceca77a0e1bca0949133b0ac2666d4367bf881f68
 SHA512 
1d24981b42c5d91f6037ad6fed782786bbc75edcb2f125a6d5b793448d00c211af515f56b6dd70a68bd33ea7174fd1d96ef9ab353c96905835b6299dcb170f47
+DIST sbcl-2.0.10-source.tar.bz2 6522183 BLAKE2B 
c8717f85dfcbf3fc960e91efc884ebd3e825041c4916181c6dc690fda2704dfb92a5c46332d4b1ae4d0d304532436a444c4ee0404b4927d3fdbd77d2e5a3e86f
 SHA512 
441418719a236853ae316c4d8a74e05fb31d5b27775e17ff4383ea1b5671786378231fc4d5a2908416d8fde3704e6d2737e58d6e76b119c19a9e0d81444f3277
+DIST sbcl-2.0.10-x86-64-linux-binary.tar.bz2 10179170 BLAKE2B 
c3fd9b5ee73db1152bf02ec6f67b7d8ad190557990bb28b32088687fc68173aaa300738f35c7a7bbdc6b5a743a30d0aa78220ea73aafd5f94948534a7be190f7
 SHA512 
a4d410655626a4c247e9b6505508df8f0ecae7726dd474fc19b259ed1f4507953bec0a7ff876ea97dd86150b08e8d8ad12a5d701f77a5a2cb3b367d5ae4af8f2
 DIST sbcl-2.0.3-source.tar.bz2 6489521 BLAKE2B 
f610367e2fbc58e47b3c7a825cd03344e8dd288e2e2a202327c5caa652aa13f1d675c52a65626acf2d577402552ac620973278197c95d7bfaeea31c2e372a2c7
 SHA512 
c29c115fff0e118e5c05959dd8d73ae876458daeb5ddde67ce485b10e6d1583b1f8a9597b54b45606696ab1b1eea5392dcb09357c83fce31323f2a5a154f2dd1
 DIST sbcl-2.0.3-x86-64-linux-binary.tar.bz2 10180812 BLAKE2B 
feebf6e957acd8cbe3a5549f6b9e5832d8ee6cc40e7c319a24db0be93cacbc33f5dd5cc3d187be0dfdee6997e3a114267ee0a8cf9fc7defbe63941739a3e2d44
 SHA512 
7d7fc106aa9c17552d5a7343a2776ebdc24613516c44523c568a4b4045baa9a5356c37480594bc7a6fe8e012c570963915dd80b18c50e4e58f273455d35a8b4d
 DIST sbcl-2.0.4-source.tar.bz2 6512479 BLAKE2B 
95e42f8d77bb914cf0d45e59bb90c8229cbcf32352cebfc4b7fe44a00205751eddae7910b8453981bfe5ea16574ea3c539a7daecbe71d9c79fb93e65aac8b5df
 SHA512 
855e25d3a25c558cfd4a97c6d6a0130910556ad4b1d4a7df924a34b50f1d9d3cc3d4373510353548c6ddf3000b55c70285ccbd888fab59f73d137c16539df816

diff --git a/dev-lisp/sbcl/sbcl-2.0.10.ebuild b/dev-lisp/sbcl/sbcl-2.0.10.ebuild
new file mode 100644
index 000..1bceec1ccda
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-2.0.10.ebuild
@@ -0,0 +1,245 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib eutils flag-o-matic pax-utils toolchain-funcs
+
+#same order as http://www.sbcl.org/platform-table.html
+BV_X86=1.4.3
+BV_AMD64=2.0.10
+BV_PPC=1.2.7
+BV_SPARC=1.0.28
+BV_ALPHA=1.0.28
+BV_ARM=1.4.11
+BV_ARM64=1.4.2
+BV_X86_MACOS=1.1.6
+BV_X64_MACOS=1.2.11
+BV_PPC_MACOS=1.0.47
+BV_X86_SOLARIS=1.2.7
+BV_X64_SOLARIS=1.2.7
+BV_SPARC_SOLARIS=1.0.23
+
+DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common 
Lisp"
+HOMEPAGE="http://sbcl.sourceforge.net/;
+SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
+   x86? ( 
mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
+   amd64? ( 
mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
+   ppc? ( 
mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
+   sparc? ( 
mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
+   alpha? ( 
mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
+   arm? ( 
mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
+   arm64? ( 
mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 )
+   x86-macos? ( 

[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpxsee/

2020-10-30 Thread Andrey Grozin
commit: 3bc00a220c02499109336f35ece1e71964adef50
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Oct 30 15:37:52 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Oct 30 15:37:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc00a22

sci-geosciences/gpxsee: bump to 7.35

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-geosciences/gpxsee/Manifest   |  1 +
 sci-geosciences/gpxsee/gpxsee-7.35.ebuild | 55 +++
 2 files changed, 56 insertions(+)

diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 0fa54d5c4f3..f5667de43ce 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -2,3 +2,4 @@ DIST gpxsee-7.29.tar.gz 5363181 BLAKE2B 
4d3a5693a7b5939847c2dc32bff2056492647669
 DIST gpxsee-7.30.tar.gz 5371435 BLAKE2B 
49f257dc50201b2fd5a621d51fba67fd8511399c2fb97bd30087e0daedb3db78b678d658bfc6e5c3faedeea84940a8fb1ebe7df16cf3002e40d934c3798ce44a
 SHA512 
b1771cc63df538e6ed5b9c7f47a0aaf4f31969a03a1727870372a249c36f3504adfbb31fdc321cc0da3547f02be7f33639f6e5569a83c98092f2d9a998690c00
 DIST gpxsee-7.31.tar.gz 5377234 BLAKE2B 
5f968ad4846a458809b135bd37a978b742a17866a1041d73d6aa14eb5c36f516ae5fade7d8988ef82a0bdb9208e3122f70e5fc982469288fd58f68aa19f6623e
 SHA512 
616dff64295fb83ce10ede3ec79a308682659bef9f0ca25aaafd50c231d84bb7bf8fc4b658fb8c1210db8e14d1941d07f8dfaef50e0c033a988d1f838a483203
 DIST gpxsee-7.33.tar.gz 5400194 BLAKE2B 
172bd05ab0ae961abdcde9023727e855781ea6548cfc634d0504a43adce1c11873bfdf5901021bb6c0160da23885e1a7d8dac54d1fd8c4a53b630f4d3c0e2319
 SHA512 
fdc3dc24b65dcc828073c58003a820b927ca9f8e3d46d4a5236c1339efeb04f81dc97a2f3125be40eac533dc2f008235a059124240ab881cbff70a478c7c3d5b
+DIST gpxsee-7.35.tar.gz 5403169 BLAKE2B 
901c77aa0fd0a54976a8d88daa98acc0125dacae7b9e45455ed79f2c633f33a6311dd3c9a388eae1350dac82ac1e02b811680b15f161cb8a523878698d993aae
 SHA512 
d3346e2ed8593d5b57c2484a2153c9900289380a79799dbbe587879c9fc0b3e95d21f14d178e7e2a4b586062cc22c4ba1d90b3e66e73f0c334360f3b04625f8e

diff --git a/sci-geosciences/gpxsee/gpxsee-7.35.ebuild 
b/sci-geosciences/gpxsee/gpxsee-7.35.ebuild
new file mode 100644
index 000..d9d146091a2
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.35.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="cs da de en es fi fr hu it nb pl pt_BR ru sv tr uk"
+inherit desktop qmake-utils l10n xdg
+
+MY_PN="GPXSee"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and 
nmea files"
+HOMEPAGE="https://www.gpxsee.org/;
+SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtopengl:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtsql:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtcore:5"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
+
+src_prepare() {
+   default
+
+   l10n_find_plocales_changes lang "${PN}_" '.ts'
+
+   rm_ts() {
+   sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
+   }
+
+   l10n_for_each_disabled_locale_do rm_ts
+}
+
+src_compile() {
+   lrelease gpxsee.pro
+   eqmake5 gpxsee.pro
+   emake
+}
+
+src_install() {
+   emake INSTALL_ROOT="${D}" install
+   dodoc README.md
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/

2020-10-30 Thread Andrey Grozin
commit: 73bdedfdbc98bb5e4fb1837981a7fa0a2dbb1431
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Oct 30 15:36:03 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Oct 30 15:36:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bdedfd

app-text/qpdfview: bump to 0.4.18_p1

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 app-text/qpdfview/Manifest  |  1 +
 app-text/qpdfview/qpdfview-0.4.18_p1.ebuild | 86 +
 2 files changed, 87 insertions(+)

diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest
index c4ba32684ed..170e1a1035e 100644
--- a/app-text/qpdfview/Manifest
+++ b/app-text/qpdfview/Manifest
@@ -1 +1,2 @@
 DIST qpdfview-0.4.18.tar.gz 786577 BLAKE2B 
07ef444ba39435578481e549fcbbd2d97362c6bda3092a17f1daa8b8437febf50cd2f145cd5e80cc1be565c5a658e85a428314a1bcd2a5a38efce0830f1cffba
 SHA512 
38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66
+DIST qpdfview-0.4.18_p1.tar.bz2 448818 BLAKE2B 
690f93c7f0af376e2b60d69a9802cdb159a97eb66b572a913badcd7ce3b9303d69bf8fbb359b5aa09ad1c63b1b6865e3602c8dc9cdad2506a43273d410a64d89
 SHA512 
41152596e39e6084e4e46c1aca28dfa4c619bf31068ee3272c6119793da5d99c58868ecf682ed0dc81e740f20193372e2780cf7d7fb917545662c93e6a2a1b4a

diff --git a/app-text/qpdfview/qpdfview-0.4.18_p1.ebuild 
b/app-text/qpdfview/qpdfview-0.4.18_p1.ebuild
new file mode 100644
index 000..e7a36da831a
--- /dev/null
+++ b/app-text/qpdfview/qpdfview-0.4.18_p1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="ast az be bg bs ca cs da de el en_AU en_GB eo es eu fa fi fr gl he 
hr hu id it ja kk ko ku ky lt lv ms my nb nds oc pl pt pt_BR ro ru sk sr sv th 
tr ug uk uz vi zh_CN zh_TW"
+inherit l10n qmake-utils xdg
+
+DESCRIPTION="A tabbed document viewer"
+HOMEPAGE="https://launchpad.net/qpdfview;
+# bzr revision 2107
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cups +dbus djvu fitz +pdf postscript +sqlite +svg synctex"
+
+REQUIRED_USE="?? ( fitz pdf )"
+
+BDEPEND="
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+RDEPEND="
+   cups? ( net-print/cups )
+   djvu? ( app-text/djvu )
+   fitz? ( >=app-text/mupdf-1.7:= )
+   postscript? ( app-text/libspectre )
+   dev-qt/qtconcurrent:5
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtprintsupport:5[cups?]
+   dev-qt/qtwidgets:5
+   dbus? ( dev-qt/qtdbus:5 )
+   pdf? ( >=app-text/poppler-0.35[qt5]
+   dev-qt/qtxml:5 )
+   sqlite? ( dev-qt/qtsql:5[sqlite] )
+   svg? ( dev-qt/qtsvg:5 )
+   !svg? ( virtual/freedesktop-icon-theme )
+   synctex? ( app-text/texlive-core )"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGES CONTRIBUTORS README TODO )
+
+src_prepare() {
+   default
+
+   local mylrelease="$(qt5_get_bindir)"/lrelease
+   prepare_locale() {
+   "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing 
${1} locale failed"
+   }
+
+   rm_help() {
+   rm -f "help/help_${1}.html" || die "removing ${1} help file 
failed"
+   }
+
+   l10n_find_plocales_changes translations ${PN}_ .ts
+   l10n_for_each_locale_do prepare_locale
+   l10n_for_each_disabled_locale_do rm_help
+
+   # adapt for prefix
+   sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die
+}
+
+src_configure() {
+   local myconfig=() i=
+   for i in cups dbus djvu pdf svg synctex; do
+   use ${i} || myconfig+=(without_${i})
+   done
+   use fitz && myconfig+=(with_fitz)
+   use postscript || myconfig+=(without_ps)
+   use sqlite || myconfig+=(without_sql)
+
+   local myqmakeargs=(
+   qpdfview.pro
+   CONFIG+="${myconfig[@]}"
+   PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
+   )
+   eqmake5 "${myqmakeargs[@]}"
+}
+
+src_install() {
+   emake INSTALL_ROOT="${D}" install
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/foliate/

2020-10-30 Thread Andrey Grozin
commit: c5e8b06c34b35a1b3de29d47d4b8b319446bd73a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Oct 30 15:33:57 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Oct 30 15:33:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e8b06c

app-text/foliate: bump to 2.5.0

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 app-text/foliate/Manifest |  1 +
 app-text/foliate/foliate-2.5.0.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest
index f7f03772d3b..a0c37fef574 100644
--- a/app-text/foliate/Manifest
+++ b/app-text/foliate/Manifest
@@ -1 +1,2 @@
 DIST foliate-2.4.2.tar.gz 4638211 BLAKE2B 
4263e047d7251a0f15a2cda2592ba24dbbb9754a37ba6367f0d1e778e3f926cd46777d505e9f92d74bdcd28a722988b60f064f1a841c53a9b2849130941d9481
 SHA512 
6dda76c9bd3f9f3273bafdd65463adfcab84d9c81ca89c2fd1cda4c5d7618d84610e11c75936c5df2bb118caa3f3e1e77ded506da670263e5af5b0ad92a97a07
+DIST foliate-2.5.0.tar.gz 4716094 BLAKE2B 
c2db3116df1117db06dca93cb3ac47e5f5c627c9e424e5add315f8623b9d71b6cc87112729ce6daa5cdfc81f3b8664555623ba55d6cf674369137ecf0859e321
 SHA512 
3eb3ecff36a105f6d9ba7e019312bef81e34f62f61310eaf3460c7aea41585fc9b410d08f9e4fd03fe60629b1ebb6f9f6a4c900e898ac712b104c615dc3737c8

diff --git a/app-text/foliate/foliate-2.5.0.ebuild 
b/app-text/foliate/foliate-2.5.0.ebuild
new file mode 100644
index 000..94288a8fb11
--- /dev/null
+++ b/app-text/foliate/foliate-2.5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PLOCALES="cs_CS de_DE es eu fr_FR id_ID ie it ko nb nl nn pt_BR ru_RU sv tr uk 
zh_CN zh_TW"
+inherit meson l10n xdg-utils gnome2-utils
+SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+DESCRIPTION="gtk ebook reader built with gjs"
+HOMEPAGE="https://github.com/johnfactotum/foliate/;
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="handy spell"
+
+BDEPEND="${MESON_DEPEND}
+   sys-devel/gettext"
+RDEPEND="dev-libs/gjs
+   x11-libs/gtk+:3[introspection]
+   x11-libs/pango[introspection]
+   x11-libs/gdk-pixbuf:2[introspection]
+   net-libs/webkit-gtk:4[introspection]
+   handy? ( gui-libs/libhandy:=[introspection] )
+   spell? ( app-text/gspell[introspection] )"
+
+src_prepare() {
+   default
+
+   l10n_find_plocales_changes "${S}"/po '' '.po'
+
+   rm_po() {
+   rm po/${1}.po
+   sed -e "/^${1}/d" -i po/LINGUAS
+   }
+
+   l10n_for_each_disabled_locale_do rm_po
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+   xdg_icon_cache_update
+   gnome2_schemas_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+   xdg_icon_cache_update
+   gnome2_schemas_update
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/coolreader/

2020-10-30 Thread Andrey Grozin
commit: a173c8dcbd6e1865a91f89d06a0cd6f153785514
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Oct 30 15:31:35 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Oct 30 15:31:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a173c8dc

app-text/coolreader: bump to 3.2.50

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 app-text/coolreader/Manifest |  1 +
 app-text/coolreader/coolreader-3.2.50.ebuild | 96 
 2 files changed, 97 insertions(+)

diff --git a/app-text/coolreader/Manifest b/app-text/coolreader/Manifest
index 0c9afd92e85..eeffc59a41d 100644
--- a/app-text/coolreader/Manifest
+++ b/app-text/coolreader/Manifest
@@ -2,3 +2,4 @@ DIST coolreader-3.2.2.1.tar.gz 12463566 BLAKE2B 
208026a87b36a06cd0a2e83b60bb5061
 DIST coolreader-3.2.39.tar.gz 17679570 BLAKE2B 
e84fb7d8032ae62fec24a74a9cebab086664a2ed3827f0664e667a4ab3b8d76b722790958f71f5fcd79729238e897c6592059f9b45eb4069c9ad483883bc0600
 SHA512 
1b92b35750174a8ef4df4b7c4f33bb9fcc94b36008c08a7f9d1f8e85c6b642c5b037e0673a783cde1aa98296887bb286c4a2da186911b26f298f689605e1eb4b
 DIST coolreader-3.2.45.tar.gz 20290340 BLAKE2B 
a4e6218965618a1b0938606ca323534112a5d7b64a1d56e06f56ba8b2e5591d380d7fb2aeb9c37d007fb834963a42e684e2af939720272c3a7494e5afc65501e
 SHA512 
d7dc9921b74d1da236aeb02edcb39d44dfcfb9da5d6d3b1bf428157f67415c19af218c2454a602828d12d0c6d8c80d1335e92101acda1af8abd6bd312900c33c
 DIST coolreader-3.2.49.tar.gz 21398327 BLAKE2B 
9a63f34d661f7c12d55e08788edb0c348d33c67708890e89a857975ce3a6fc82d8788dc0a15ad18e025d68254293b1b34977b2ffe24ea19ab4865727d5afbdcb
 SHA512 
06c8416c33ccf939c0292b573352c097c4b2a0b1390181428e5f1bf08e145f1fa1f8ebdcf658bb0f9e8846c1fd5a57a67fb075b8e7285e1e7602e26aba6790b0
+DIST coolreader-3.2.50.tar.gz 21252394 BLAKE2B 
68550656c644d623e24a7da310baf77881c72621db03f481eeaaceddc0a3c77ecd4d2098c4afe0b56fc50a67f471a9a6a20c172590365bd888222894d27c1826
 SHA512 
01417c1daae5da6ebb4d92fd68693d3aff09013d1f5679a30138941e23f79db58bdf2b20721deb10ad3d0b9ab0530f8237aeaa2b6f1c1fabbff1c43f48d68ac3

diff --git a/app-text/coolreader/coolreader-3.2.50.ebuild 
b/app-text/coolreader/coolreader-3.2.50.ebuild
new file mode 100644
index 000..0b26482993e
--- /dev/null
+++ b/app-text/coolreader/coolreader-3.2.50.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER="3.0"
+PLOCALES="bg cs de es hu pl ru uk"
+inherit cmake-utils wxwidgets l10n xdg-utils gnome2-utils eapi7-ver
+
+CR_PV=$(ver_rs 3 '-')
+
+if [ "${PV}" !=  ]
+then
+   SRC_URI="https://github.com/buggins/${PN}/archive/cr${CR_PV}.tar.gz -> 
${P}.tar.gz"
+   S="${WORKDIR}/${PN}-cr${CR_PV}"
+else
+   inherit git-r3
+   # github mirror has some new commits to fix page margins settings
+   # sourceforge mirror saved as backup
+   #EGIT_REPO_URI="git://git.code.sf.net/p/crengine/crengine"
+   EGIT_REPO_URI="https://github.com/buggins/${PN}.git;
+   SRC_URI=""
+fi
+
+DESCRIPTION="CoolReader - reader of eBook files (fb2,epub,htm,rtf,txt)"
+HOMEPAGE="https://github.com/buggins/coolreader/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="wxwidgets"
+
+CDEPEND="sys-libs/zlib
+   media-libs/libpng:0
+   virtual/jpeg:0
+   media-libs/freetype
+   wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
+   !wxwidgets? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 )"
+DEPEND="${CDEPEND}
+   !wxwidgets? ( dev-qt/linguist-tools:5 )"
+RDEPEND="${CDEPEND}
+   wxwidgets? ( || ( media-fonts/liberation-fonts media-fonts/corefonts ) 
)"
+
+for lang in ${PLOCALES}; do
+   IUSE="${IUSE} l10n_${lang}"
+done
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   # locales
+   l10n_find_plocales_changes "${S}"/cr3qt/src/i18n 'cr3_' '.ts'
+   local lang langs
+   langs=""
+   for lang in ${PLOCALES}; do
+   if use l10n_${lang}; then
+   langs="${langs} ${lang}"
+   fi
+   done
+   sed -e "s|SET(LANGUAGES .*)|SET(LANGUAGES ${langs})|" \
+   -i "${S}"/cr3qt/CMakeLists.txt \
+   || die "sed CMakeLists.txt failed"
+}
+
+src_configure() {
+   CMAKE_USE_DIR="${S}"
+   CMAKE_BUILD_TYPE="Release"
+   if use wxwidgets; then
+   setup-wxwidgets
+   local mycmakeargs=(-D GUI=WX)
+   else
+   local mycmakeargs=(-D GUI=QT5)
+   fi
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   if ! use wxwidgets; then
+   mv "${D}"usr/share/doc/cr3/changelog.gz 
"${D}"usr/share/doc/${PF}/ || die "mv changelog.gz failed"
+   rmdir "${D}"usr/share/doc/cr3 || die "rmdir doc/cr3 failed"
+   gunzip "${D}"usr/share/doc/${PF}/changelog.gz || die "gunzip 
changelog.gz failed"
+   gunzip 

[gentoo-commits] repo/gentoo:master commit in: dev-util/bbe/

2020-10-30 Thread Daniel Pielmeier
commit: 945da8f092da033504cc68c28784ed47b1476e45
Author: Daniel Pielmeier  gentoo  org>
AuthorDate: Fri Oct 30 15:19:38 2020 +
Commit: Daniel Pielmeier  gentoo  org>
CommitDate: Fri Oct 30 15:19:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945da8f0

dev-util/bbe: Filter -Os.

Thanks to James Cloos for the report.

Closes: https://bugs.gentoo.org/750545
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Daniel Pielmeier  gentoo.org>

 dev-util/bbe/bbe-0.2.2-r1.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-util/bbe/bbe-0.2.2-r1.ebuild b/dev-util/bbe/bbe-0.2.2-r1.ebuild
index 3a57f98b2b4..63a113fdda8 100644
--- a/dev-util/bbe/bbe-0.2.2-r1.ebuild
+++ b/dev-util/bbe/bbe-0.2.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Sed-like editor for binary files"
 HOMEPAGE="https://sourceforge.net/projects/bbe-/;
@@ -21,3 +21,10 @@ src_prepare() {
eaclocal
eautoreconf
 }
+
+src_configure() {
+   # Avoid linking problems, bug #750545.
+   replace-flags -Os -O2
+
+   default
+}



  1   2   >