[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2023-03-13 Thread Louis Sautier
commit: afbb50b1d7530f2a380bb251f24d9dc655238c2f
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 13 20:27:51 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 13 20:28:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbb50b1

net-irc/eggdrop: drop 1.9.3

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 -
 net-irc/eggdrop/eggdrop-1.9.3.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index 2edd3f8dcab7..1b2df9b6fabd 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,4 +1,3 @@
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
-DIST eggdrop-1.9.3.tar.gz 2046726 BLAKE2B 
979190536c3c0718ef4b030d8f6df817b8ee823854c104b7d6f9009c10a7f8394d59afca40fc5c9778f130788fac7e14458d62d30a55413dea4653ca00c83f0a
 SHA512 
67d6d0f798222e54e09acb319aa4926181c34b6e4cdc2cbb4fc7a8433915a7d6281904fd190fe2ee92bcc2cb99943e3fb5b9d99831cc0bfd930205e63e33d1a1
 DIST eggdrop-1.9.4.tar.gz 2065217 BLAKE2B 
f9d1e6c0491d6c7959e3b67e8186082d074d648497cd66f244dfb4c919a566d81fdce83d034f0cc1e5247bc924022faf56004cdd8a6cc174fe8d0f44af5e2a9a
 SHA512 
ed3145411a1832d1a6d4f191c6ff30e64aa45f803df00585c1c69f6bbc8a16d07e9608c57e31fb723f7a9c66a24422e5080aab7746e562ac5b6a678a08c7b2a4
 DIST eggdrop-1.9.5.tar.gz 2109996 BLAKE2B 
80d7b44356f0c5750c276f15412fdb847bc7583c7d1e990735ad4aec1b6bec9822124b089654dfb4dfbd393127804da1019d184d01b867b0dd84ba0342167d94
 SHA512 
863e6f94a92ac02e135c306000379ce516d9c9381eb5ca249e7656f4f0f504a159ddf1f658016d05e422d8036e808664101ab4f8944a42438c273f71b676189b

diff --git a/net-irc/eggdrop/eggdrop-1.9.3.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.3.ebuild
deleted file mode 100644
index 9114a4dc8c97..
--- a/net-irc/eggdrop/eggdrop-1.9.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit readme.gentoo-r1
-
-MY_P="${PN}-${PV/_rc/rc}"
-DESCRIPTION="An IRC bot extensible with C or TCL"
-HOMEPAGE="https://www.eggheads.org/";
-SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~riscv ~sparc ~x86"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="debug doc ipv6 ssl static"
-
-DEPEND="
-   dev-lang/tcl:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-RDEPEND="
-   sys-apps/gentoo-functions
-   ${DEPEND}
-"
-
-DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
-
-src_configure() {
-   econf $(use_enable ssl tls) \
-   $(use_enable ipv6 ipv6)
-
-   emake config
-}
-
-src_compile() {
-   local target
-
-   if use static && use debug; then
-   target="sdebug"
-   elif use static; then
-   target="static"
-   elif use debug; then
-   target="debug"
-   fi
-
-   emake ${target}
-}
-
-src_install() {
-   emake DEST="${D}"/opt/eggdrop install
-
-   use doc && HTML_DOCS=( doc/html/. )
-   rm -r "${D}"/opt/eggdrop/doc/html || die
-   DOC_CONTENTS="
-   Additional documentation can be found
-   in ${EPREFIX}/opt/eggdrop/doc
-   "
-   readme.gentoo_create_doc
-   einstalldocs
-
-   dobin "${FILESDIR}"/eggdrop-installer
-   doman doc/man1/eggdrop.1
-}
-
-pkg_postinst() {
-   # Only display this for new installs
-   if [[ -z ${REPLACING_VERSIONS} ]]; then
-   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2023-03-13 Thread Louis Sautier
commit: 8ddffbaae428093638655a772994bf52bc77a2a9
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 13 20:25:38 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 13 20:28:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ddffbaa

net-irc/eggdrop: add 1.9.5

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 +
 net-irc/eggdrop/eggdrop-1.9.5.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index 8d09716059f3..2edd3f8dcab7 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,3 +1,4 @@
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
 DIST eggdrop-1.9.3.tar.gz 2046726 BLAKE2B 
979190536c3c0718ef4b030d8f6df817b8ee823854c104b7d6f9009c10a7f8394d59afca40fc5c9778f130788fac7e14458d62d30a55413dea4653ca00c83f0a
 SHA512 
67d6d0f798222e54e09acb319aa4926181c34b6e4cdc2cbb4fc7a8433915a7d6281904fd190fe2ee92bcc2cb99943e3fb5b9d99831cc0bfd930205e63e33d1a1
 DIST eggdrop-1.9.4.tar.gz 2065217 BLAKE2B 
f9d1e6c0491d6c7959e3b67e8186082d074d648497cd66f244dfb4c919a566d81fdce83d034f0cc1e5247bc924022faf56004cdd8a6cc174fe8d0f44af5e2a9a
 SHA512 
ed3145411a1832d1a6d4f191c6ff30e64aa45f803df00585c1c69f6bbc8a16d07e9608c57e31fb723f7a9c66a24422e5080aab7746e562ac5b6a678a08c7b2a4
+DIST eggdrop-1.9.5.tar.gz 2109996 BLAKE2B 
80d7b44356f0c5750c276f15412fdb847bc7583c7d1e990735ad4aec1b6bec9822124b089654dfb4dfbd393127804da1019d184d01b867b0dd84ba0342167d94
 SHA512 
863e6f94a92ac02e135c306000379ce516d9c9381eb5ca249e7656f4f0f504a159ddf1f658016d05e422d8036e808664101ab4f8944a42438c273f71b676189b

diff --git a/net-irc/eggdrop/eggdrop-1.9.5.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.5.ebuild
new file mode 100644
index ..a174ad7aeb29
--- /dev/null
+++ b/net-irc/eggdrop/eggdrop-1.9.5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1
+
+MY_P="${PN}-${PV/_rc/rc}"
+DESCRIPTION="An IRC bot extensible with C or TCL"
+HOMEPAGE="https://www.eggheads.org/";
+SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~riscv ~sparc ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug doc ssl static"
+
+DEPEND="
+   dev-lang/tcl:0=
+   ssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="
+   sys-apps/gentoo-functions
+   ${DEPEND}
+"
+
+DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
+
+src_configure() {
+   econf --enable-ipv6 \
+   $(use_enable ssl tls)
+
+   emake config
+}
+
+src_compile() {
+   local target
+
+   if use static && use debug; then
+   target="sdebug"
+   elif use static; then
+   target="static"
+   elif use debug; then
+   target="debug"
+   fi
+
+   emake ${target}
+}
+
+src_install() {
+   emake DEST="${D}"/opt/eggdrop install
+
+   use doc && HTML_DOCS=( doc/html/. )
+   rm -r "${D}"/opt/eggdrop/doc/html || die
+   DOC_CONTENTS="
+   Additional documentation can be found
+   in ${EPREFIX}/opt/eggdrop/doc
+   "
+   readme.gentoo_create_doc
+   einstalldocs
+
+   dobin "${FILESDIR}"/eggdrop-installer
+   doman doc/man1/eggdrop.1
+}
+
+pkg_postinst() {
+   # Only display this for new installs
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/

2023-03-13 Thread Louis Sautier
commit: 80dddbb3a2f9676ea92912bd38052a7f399eb22a
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 13 20:21:10 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 13 20:21:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80dddbb3

net-p2p/airdcpp-webclient: add 2.11.4

Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/airdcpp-webclient/Manifest |  1 +
 .../airdcpp-webclient-2.11.4.ebuild| 61 ++
 2 files changed, 62 insertions(+)

diff --git a/net-p2p/airdcpp-webclient/Manifest 
b/net-p2p/airdcpp-webclient/Manifest
index cb381b8e41a5..9e615f35f8e2 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -1,2 +1,3 @@
 DIST airdcpp-webclient-2.11.2.tar.gz 978294 BLAKE2B 
cb15e02dc5381cc5f0ecb1b4d65cdd1c4a3d007f3ea1e78a159b8a62af03831318b8f6d8c0692c5a9145dda616627ea97f4bd3eeb1270a7452c7d78bf01d147f
 SHA512 
281d4a9da88f23a4c02eef7f09c4fc2c91c44ac93d932ea4bfe097029b45dbd12a8d04d4ef8b493d261f5dade15b62ed4d564197fbfb2d9d98b9dfcc9a9e6379
 DIST airdcpp-webclient-2.11.3.tar.gz 957277 BLAKE2B 
fd80433e6c8138c4f60758e4813a056a59586b4f51048a7b717114781fa7b11e5ef0a4cf4fee8441bce6bebc3889acd0ae597c07850da50776454d9ba8230f19
 SHA512 
59b6189021411fdd3c75ec4744fdb03eb6e6b39b08c1ca9da9519998546a5be5218b4ff2eea7f2d3894fd9146693e807d2cc2396f0f03c074f45cbb4403fe326
+DIST airdcpp-webclient-2.11.4.tar.gz 958611 BLAKE2B 
f0ff3a39c8615edbc541a952460b831eefd37f1825da4881da147c54a00612479382a9d69d4399f55fbdd77c77ab6716097594c8d10c6a3839db5ae14d11cc87
 SHA512 
0ab8fbdc6d1b815546724bfdcd436aa2e07ffdb499b91a3506db18c2f494f76bc1203d0d9d3cfd3ae6ad9d0f2fb4038df46aada0515747e2477c7f6595a05436

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.4.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.4.ebuild
new file mode 100644
index ..cf6f9ec68059
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+
+inherit cmake python-any-r1 systemd
+
+DESCRIPTION="Cross-platform Direct Connect client"
+HOMEPAGE="https://airdcpp-web.github.io/";
+SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64 ~riscv ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug nat-pmp +tbb +webui"
+
+RDEPEND="
+   acct-user/airdcppd
+   acct-group/airdcppd
+   app-arch/bzip2
+   dev-cpp/websocketpp
+   dev-libs/boost:=
+   dev-libs/leveldb:=
+   dev-libs/libmaxminddb:=
+   dev-libs/openssl:0=[-bindist(-)]
+   net-libs/miniupnpc:=
+   sys-libs/zlib
+   virtual/libiconv
+   nat-pmp? ( net-libs/libnatpmp:= )
+   tbb? ( dev-cpp/tbb:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   ${PYTHON_DEPS}
+"
+PDEPEND="webui? ( www-apps/airdcpp-webui )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_NATPMP=$(usex nat-pmp)
+   -DENABLE_TBB=$(usex tbb)
+   -DINSTALL_WEB_UI=OFF
+   )
+   CMAKE_BUILD_TYPE=$(usex debug Debug Gentoo) cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   newconfd "${FILESDIR}/airdcppd.confd" airdcppd
+   newinitd "${FILESDIR}/airdcppd.initd" airdcppd
+   systemd_dounit "${FILESDIR}/airdcppd.service"
+}
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   elog "Run 'airdcppd --configure' to set up ports and 
authentication"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2023-03-13 Thread Louis Sautier
commit: 36c85a01138d4ea5a8e9140a11fe2a63953c1d0e
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 13 20:19:55 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 13 20:21:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c85a01

www-apps/airdcpp-webui: add 2.11.5

Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/Manifest|  1 +
 www-apps/airdcpp-webui/airdcpp-webui-2.11.5.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index afc07125a153..1eee4983529a 100644
--- a/www-apps/airdcpp-webui/Manifest
+++ b/www-apps/airdcpp-webui/Manifest
@@ -1,3 +1,4 @@
 DIST airdcpp-webui-2.11.0.tgz 8148062 BLAKE2B 
2a47bae691667aae14afadbfd5a5b1f938c72de7ba3ff75f0feca6a5d13f890fdb663057237ff29ed85eea6fe55f72e421201fe2c44efd9181dc751e59748bb8
 SHA512 
00147c4f1d19a0866735a6bb0b4789e915ae028bf92e4a46aea586c1c4eea57fd85558cdffd9504abb36ffb78764bf6c310a5937f06d99de03883bdfaf6a2b33
 DIST airdcpp-webui-2.11.2.tgz 7200053 BLAKE2B 
e5a8f1d39d8cdc96cdfd1ea97d4ba8e4a943eaa0c53902b66fa0731432527e5f1a27a40ea08c968ca58281f6a1064166072302b37999396db395a3a66c052a17
 SHA512 
3d505dd231dd3e7cc1aae32668b7567eae5346f8a67bded3a54b1be830145ba6c13cfbcfc2eb4eedcfb306096b760690cc19602db314535d48d0a30c1334ff73
 DIST airdcpp-webui-2.11.4.tgz 8736640 BLAKE2B 
5dbdcd7edc1a2317166d59ec28ba35eb582ca5472acce64ac8dc888c4914dbf563a19f8ce1f394fe22c6232175e8d12009ab497cd8643a9feed7c00168509eda
 SHA512 
405638dd824aba7e1004c5821b5bc4cf088e6db0a990e73e627c4c151802f99cd2de745053a71e4cc5ffdda4edc31ce60bf2ecf1a31d3bbcf7b7619fb7e6
+DIST airdcpp-webui-2.11.5.tgz 8591663 BLAKE2B 
37df77b5e4dd6d2ea1c9b83e25938d3618f32f0d9daa5b744a2684dd7b3b0ad2c6c03f676833e81bf5e4839a5fbeec487d04b5b891e1603a34c5723dc5ca300b
 SHA512 
33beae8a96273ab5ed603163d567ae2c4588519dd136e19826607cc90eab9b1e436ff1ea585bfc5d852ebecd7da80c46a7699c02b98bafacc5509fe3f2eedf74

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.5.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.5.ebuild
new file mode 100644
index ..eb45f0428a26
--- /dev/null
+++ b/www-apps/airdcpp-webui/airdcpp-webui-2.11.5.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Web interface for airdcpp-webclient"
+HOMEPAGE="https://airdcpp-web.github.io/";
+SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz";
+
+KEYWORDS="~amd64 ~riscv ~x86"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+RDEPEND="=net-p2p/airdcpp-webclient-${PV%.*}*"
+
+S="${WORKDIR}/package"
+
+src_install() {
+   insinto "/usr/share/airdcpp/web-resources"
+   doins -r dist/.
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2023-03-13 Thread Louis Sautier
commit: de33d4c9a00e5a0cf964b7f701b791e8deff81c0
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 13 20:20:46 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 13 20:21:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de33d4c9

www-apps/airdcpp-webui: drop 2.11.2

Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/Manifest|  1 -
 www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild | 22 --
 2 files changed, 23 deletions(-)

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index 1eee4983529a..c4f52a054469 100644
--- a/www-apps/airdcpp-webui/Manifest
+++ b/www-apps/airdcpp-webui/Manifest
@@ -1,4 +1,3 @@
 DIST airdcpp-webui-2.11.0.tgz 8148062 BLAKE2B 
2a47bae691667aae14afadbfd5a5b1f938c72de7ba3ff75f0feca6a5d13f890fdb663057237ff29ed85eea6fe55f72e421201fe2c44efd9181dc751e59748bb8
 SHA512 
00147c4f1d19a0866735a6bb0b4789e915ae028bf92e4a46aea586c1c4eea57fd85558cdffd9504abb36ffb78764bf6c310a5937f06d99de03883bdfaf6a2b33
-DIST airdcpp-webui-2.11.2.tgz 7200053 BLAKE2B 
e5a8f1d39d8cdc96cdfd1ea97d4ba8e4a943eaa0c53902b66fa0731432527e5f1a27a40ea08c968ca58281f6a1064166072302b37999396db395a3a66c052a17
 SHA512 
3d505dd231dd3e7cc1aae32668b7567eae5346f8a67bded3a54b1be830145ba6c13cfbcfc2eb4eedcfb306096b760690cc19602db314535d48d0a30c1334ff73
 DIST airdcpp-webui-2.11.4.tgz 8736640 BLAKE2B 
5dbdcd7edc1a2317166d59ec28ba35eb582ca5472acce64ac8dc888c4914dbf563a19f8ce1f394fe22c6232175e8d12009ab497cd8643a9feed7c00168509eda
 SHA512 
405638dd824aba7e1004c5821b5bc4cf088e6db0a990e73e627c4c151802f99cd2de745053a71e4cc5ffdda4edc31ce60bf2ecf1a31d3bbcf7b7619fb7e6
 DIST airdcpp-webui-2.11.5.tgz 8591663 BLAKE2B 
37df77b5e4dd6d2ea1c9b83e25938d3618f32f0d9daa5b744a2684dd7b3b0ad2c6c03f676833e81bf5e4839a5fbeec487d04b5b891e1603a34c5723dc5ca300b
 SHA512 
33beae8a96273ab5ed603163d567ae2c4588519dd136e19826607cc90eab9b1e436ff1ea585bfc5d852ebecd7da80c46a7699c02b98bafacc5509fe3f2eedf74

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
deleted file mode 100644
index 40745bed8dfd..
--- a/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Web interface for airdcpp-webclient"
-HOMEPAGE="https://airdcpp-web.github.io/";
-SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz";
-
-KEYWORDS="~amd64 ~riscv ~x86"
-LICENSE="MIT"
-SLOT="0"
-IUSE=""
-
-RDEPEND="=net-p2p/airdcpp-webclient-${PV%.*}*"
-
-S="${WORKDIR}/package"
-
-src_install() {
-   insinto "/usr/share/airdcpp/web-resources"
-   doins -r dist/.
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/rmlint/

2023-03-04 Thread Louis Sautier
commit: d96cea38608ec84bf77bf27b77266af08a9017b7
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 21:06:47 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Mar  4 13:09:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96cea38

app-misc/rmlint: fix dependencies and startup with USE=gui

This fixes two things:
* Some dependencies were missing, I added them by checking all imports
  from "gi.repository" and calls to "gi.require_version". The list
  should be exhaustive. Only dev-libs/gobject-introspection itself was
  skipped as it is implied by the introspection USE flag.
* The GUI could start with the wrong Python version because it simply
  called "python3". By making it call ${EPYTHON} instead, we force it to
  use the correct version.

Closes: https://bugs.gentoo.org/828111
Signed-off-by: Louis Sautier  gentoo.org>

 .../{rmlint-2.10.1-r1.ebuild => rmlint-2.10.1-r2.ebuild}   | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-misc/rmlint/rmlint-2.10.1-r1.ebuild 
b/app-misc/rmlint/rmlint-2.10.1-r2.ebuild
similarity index 89%
rename from app-misc/rmlint/rmlint-2.10.1-r1.ebuild
rename to app-misc/rmlint/rmlint-2.10.1-r2.ebuild
index 0bb48648fcc8..4d755cc14da3 100644
--- a/app-misc/rmlint/rmlint-2.10.1-r1.ebuild
+++ b/app-misc/rmlint/rmlint-2.10.1-r2.ebuild
@@ -27,7 +27,12 @@ RDEPEND="
${DEPEND}
gui? (
${PYTHON_DEPS}
-   x11-libs/gtksourceview:3.0
+   gnome-base/librsvg:2[introspection]
+   sys-auth/polkit[introspection]
+   x11-libs/gdk-pixbuf[introspection]
+   x11-libs/gtk+:3[introspection]
+   x11-libs/gtksourceview:3.0[introspection]
+   x11-libs/pango[introspection]
$(python_gen_cond_dep '
dev-python/colorlog[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
@@ -76,6 +81,9 @@ PATCHES=(
 
 src_prepare() {
default
+   # Force the GUI to run with the correct PYTHON_SINGLE_TARGET
+   sed -i "/const char \*commands/s/python3/${EPYTHON}/" \
+   lib/cmdline.c || die
if use test && use x86; then
# Skip part of a test until this is fixed:
# https://github.com/sahib/rmlint/issues/522



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/cctz/

2023-03-02 Thread Louis Sautier
commit: ae21df0a95d3b3c8abc88309fecfc0c35ace837d
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Feb 21 22:44:05 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Mar  2 22:57:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae21df0a

dev-cpp/cctz: new package, version 2.3_p20230228

This package will be used by future version of net-irc/znc.

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Louis Sautier  gentoo.org>

 dev-cpp/cctz/Manifest  |  1 +
 dev-cpp/cctz/cctz-2.3_p20230228.ebuild | 32 
 dev-cpp/cctz/metadata.xml  | 16 
 3 files changed, 49 insertions(+)

diff --git a/dev-cpp/cctz/Manifest b/dev-cpp/cctz/Manifest
new file mode 100644
index ..49f2faf82ba8
--- /dev/null
+++ b/dev-cpp/cctz/Manifest
@@ -0,0 +1 @@
+DIST cctz-2.3_p20230228.tar.gz 218332 BLAKE2B 
c29f2acf12d73387faf0087ef94b8624b5eefa2cf3136e0003e59a6a89b8a73f6de97f1962031ca1b1b1f4f6e888a363314aa1e160ad54c618189ad4a7d8f60e
 SHA512 
ab6a103a6073a8169cd08587d2415dcab6c6e6c005b4b67fb69cc718b8b73a1331c5782b27aa4924aa5bdedc1563e31aa3ac76196078c50a13773d35d8df993b

diff --git a/dev-cpp/cctz/cctz-2.3_p20230228.ebuild 
b/dev-cpp/cctz/cctz-2.3_p20230228.ebuild
new file mode 100644
index ..448b7f921122
--- /dev/null
+++ b/dev-cpp/cctz/cctz-2.3_p20230228.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ library for dealing with time zones and time conversion"
+HOMEPAGE="https://github.com/google/cctz";
+MY_COMMIT="3803b96130934f48b1fc1d47c5da5f542949c4b0"
+SRC_URI="https://github.com/google/cctz/archive/${MY_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   dev-cpp/gtest
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DBUILD_BENCHMARK=OFF
+   )
+   cmake_src_configure
+}

diff --git a/dev-cpp/cctz/metadata.xml b/dev-cpp/cctz/metadata.xml
new file mode 100644
index ..aadf008c9297
--- /dev/null
+++ b/dev-cpp/cctz/metadata.xml
@@ -0,0 +1,16 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   sb...@gentoo.org
+   Louis Sautier
+   
+   
+   alexey+gen...@asokolov.org
+   Alexey Sokolov
+   
+   
+   google/cctz
+   https://github.com/google/cctz/issues
+   
+



[gentoo-commits] repo/gentoo:master commit in: app-misc/rmlint/files/, app-misc/rmlint/

2023-02-26 Thread Louis Sautier
commit: 1996c841ed565836c1633515175c7ecb40ec370c
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 20:27:27 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 26 20:31:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1996c841

app-misc/rmlint: add Python 3.11, fix GUI installation

Also:
* remove redundant eclass inherit.
* switch to EAPI 8.

Closes: https://bugs.gentoo.org/896596
Signed-off-by: Louis Sautier  gentoo.org>

 app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch | 11 +++
 .../rmlint/{rmlint-2.10.1.ebuild => rmlint-2.10.1-r1.ebuild}  |  8 +---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch 
b/app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch
new file mode 100644
index ..2ae13cd4abb0
--- /dev/null
+++ b/app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch
@@ -0,0 +1,11 @@
+--- a/gui/setup.py
 b/gui/setup.py
+@@ -19,7 +19,7 @@ def read_version():
+ with open('../.version', 'r') as handle:
+ version_string = handle.read()
+
+-return version_string.strip()
++return version_string.split()[0]
+
+ class install_glib_resources(install):
+ user_options = install.user_options + [

diff --git a/app-misc/rmlint/rmlint-2.10.1.ebuild 
b/app-misc/rmlint/rmlint-2.10.1-r1.ebuild
similarity index 94%
rename from app-misc/rmlint/rmlint-2.10.1.ebuild
rename to app-misc/rmlint/rmlint-2.10.1-r1.ebuild
index 838041b4fc6e..0bb48648fcc8 100644
--- a/app-misc/rmlint/rmlint-2.10.1.ebuild
+++ b/app-misc/rmlint/rmlint-2.10.1-r1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
-inherit gnome2-utils python-single-r1 scons-utils toolchain-funcs xdg-utils
+inherit gnome2-utils python-single-r1 scons-utils toolchain-funcs
 
 DESCRIPTION="Extremely fast tool to remove duplicates and other lint from your 
filesystem"
 HOMEPAGE="https://rmlint.readthedocs.io/";
@@ -70,6 +70,8 @@ PATCHES=(
"${FILESDIR}/${PN}-2.10.1-x86-fix-size.patch"
# https://github.com/sahib/rmlint/pull/526
"${FILESDIR}/${PN}-2.10.1-fix-cc.patch"
+   # https://github.com/sahib/rmlint/issues/608#issuecomment-1406811107
+   "${FILESDIR}/${PN}-2.10.1-fix-gui-install.patch"
 )
 
 src_prepare() {



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

2023-02-26 Thread Louis Sautier
commit: d0df52d22c3d99d129d14a9ddfa2d1a791c9ba04
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 20:19:37 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 26 20:21:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0df52d2

dev-python/blessed: switch to pypi.eclass

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/blessed/blessed-1.20.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/blessed/blessed-1.20.0.ebuild 
b/dev-python/blessed/blessed-1.20.0.ebuild
index 208bbf607353..12937dfae776 100644
--- a/dev-python/blessed/blessed-1.20.0.ebuild
+++ b/dev-python/blessed/blessed-1.20.0.ebuild
@@ -6,14 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Library for making terminal apps using colors, keyboard input and 
positioning"
 HOMEPAGE="
https://github.com/jquast/blessed/
https://pypi.org/project/blessed/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="MIT"



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

2023-02-26 Thread Louis Sautier
commit: adac7c749634358a1586b65d693e9115b0de6e89
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 20:12:41 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 26 20:13:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adac7c74

dev-python/pymediainfo: update HOMEPAGE, use pypi.eclass

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pymediainfo/pymediainfo-6.0.1.ebuild | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild 
b/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild
index 1df296187ae4..a161439ad7b3 100644
--- a/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild
+++ b/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,11 +7,13 @@ DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 PYTHON_REQ_USE="xml(+)"
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="A wrapper around the mediainfo library"
-HOMEPAGE="https://github.com/sbraz/pymediainfo";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="
+   https://github.com/sbraz/pymediainfo/
+   https://pypi.org/project/pymediainfo/
+"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2023-02-26 Thread Louis Sautier
commit: 9a2564b54105fae34807d493db3df216192a255a
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 20:03:52 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 26 20:09:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2564b5

www-misc/urlwatch: use pypi.eclass, update HOMEPAGE

Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/urlwatch-2.25.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/www-misc/urlwatch/urlwatch-2.25.ebuild 
b/www-misc/urlwatch/urlwatch-2.25.ebuild
index c597fe8b05c1..746a7b008c8f 100644
--- a/www-misc/urlwatch/urlwatch-2.25.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.25.ebuild
@@ -6,11 +6,14 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="A tool for monitoring webpages for updates"
-HOMEPAGE="https://thp.io/2008/urlwatch/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="
+   https://thp.io/2008/urlwatch/
+   https://github.com/thp/urlwatch/
+   https://pypi.org/project/urlwatch/
+"
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2023-02-26 Thread Louis Sautier
commit: c20e26bd8df42b5e8dc11b0c15b54b3a8e9374a6
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 19:53:24 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 26 19:53:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20e26bd

www-misc/urlwatch: drop 2.22

Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/Manifest |  1 -
 www-misc/urlwatch/urlwatch-2.22.ebuild | 69 --
 2 files changed, 70 deletions(-)

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index b39491bccf29..1dce1b8b8b63 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,3 +1,2 @@
-DIST urlwatch-2.22.tar.gz 136306 BLAKE2B 
e7f10872e5d7f42ec0ac1073783431c4b0e4fcdcf40884a9f7f52aee36705fbdbaaf5f9e671223715040c6f68cc580f531ba753c9326a2b1380d2fb707f66f1c
 SHA512 
f2c1e0d279689d1e5761203ba139614b972c6266c30877262d59759b0ce63342a820a063f001039848427ea4af4325505c636762cdedb3dc60ebd09e859914f4
 DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
 DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca

diff --git a/www-misc/urlwatch/urlwatch-2.22.ebuild 
b/www-misc/urlwatch/urlwatch-2.22.ebuild
deleted file mode 100644
index 7a488bf29146..
--- a/www-misc/urlwatch/urlwatch-2.22.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_9 )
-
-inherit distutils-r1
-
-DESCRIPTION="A tool for monitoring webpages for updates"
-HOMEPAGE="https://thp.io/2008/urlwatch/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="
-   dev-python/appdirs[${PYTHON_USEDEP}]
-   dev-python/cssselect[${PYTHON_USEDEP}]
-   dev-python/keyring[${PYTHON_USEDEP}]
-   dev-python/lxml[${PYTHON_USEDEP}]
-   dev-python/minidb[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/docutils[${PYTHON_USEDEP}]
-   dev-python/pycodestyle[${PYTHON_USEDEP}]
-   )
-"
-
-DOCS=( CHANGELOG.md README.md )
-
-distutils_enable_sphinx docs/source dev-python/alabaster
-distutils_enable_tests pytest
-
-python_test() {
-   local skipped_tests=(
-   # Require the pdftotext module
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf-job12]";
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf-job13]";
-   # Requires the pytesseract module
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png-job26]";
-   )
-   pytest -vv ${skipped_tests[@]/#/--deselect } \
-   || die "Tests failed with ${EPYTHON}"
-}
-
-pkg_postinst() {
-   if [[ -z "${REPLACING_VERSIONS}" ]]; then
-   if ! has_version dev-python/chump; then
-   elog "Install 'dev-python/chump' to enable Pushover" \
-   "notifications support"
-   fi
-   if ! has_version dev-python/pushbullet-py; then
-   elog "Install 'dev-python/pushbullet-py' to enable" \
-   "Pushbullet notifications support"
-   fi
-   elog "HTML parsing can be improved by installing one of the 
following packages"
-   elog "and changing the html2text subfilter parameter:"
-   elog "dev-python/beautifulsoup4"
-   elog "app-text/html2text"
-   elog "dev-python/html2text"
-   elog "www-client/lynx"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2023-02-26 Thread Louis Sautier
commit: ba146f6239aa624de89d575fa393a6606d07623e
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 26 19:51:41 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 26 19:52:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba146f62

www-misc/urlwatch: enable py3.11

Closes: https://bugs.gentoo.org/897338
Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/urlwatch-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-misc/urlwatch/urlwatch-2.25.ebuild 
b/www-misc/urlwatch/urlwatch-2.25.ebuild
index b8f55930bcc2..c597fe8b05c1 100644
--- a/www-misc/urlwatch/urlwatch-2.25.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.25.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/files/, media-video/gaupol/

2023-02-22 Thread Louis Sautier
commit: 1209f9f0bd96f5bf326f7ccd780da84053fb1b97
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Feb 22 12:54:56 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Feb 22 22:15:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1209f9f0

media-video/gaupol: add 1.12, switch to PEP517

In order to use PEP517, we need to prevent setup.py from using
setuptools-related variables to define the location of data files.

Closes: https://bugs.gentoo.org/839267
Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/Manifest|  1 +
 .../gaupol/files/gaupol-1.12-fix-prefix.patch  | 30 ++
 media-video/gaupol/gaupol-1.12.ebuild  | 69 ++
 3 files changed, 100 insertions(+)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 9ac89580c751..204e968018aa 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1 +1,2 @@
 DIST gaupol-1.11.tar.gz 581799 BLAKE2B 
d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e
 SHA512 
8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
+DIST gaupol-1.12.tar.gz 575537 BLAKE2B 
acedc1b73b6bea35d2853aa26117a7823767aeff3f9cd59ed828aa173c0ab4a46ef1433d169cd551b9d453289412aec31ede32e388dfc22d14e60e18b4c5ec0a
 SHA512 
7e8002ceeff0a6c1144a6c23743aff006101a63aee394c4a4eb2742ad37635fe45425964d60ab2d6f10f9e212c72db673f5f1d849f738efcd7d9389054a1de36

diff --git a/media-video/gaupol/files/gaupol-1.12-fix-prefix.patch 
b/media-video/gaupol/files/gaupol-1.12-fix-prefix.patch
new file mode 100644
index ..9aa0dd582c04
--- /dev/null
+++ b/media-video/gaupol/files/gaupol-1.12-fix-prefix.patch
@@ -0,0 +1,30 @@
+From b638bf5352194ba08b1139375e27523ce43834b0 Mon Sep 17 00:00:00 2001
+From: Louis Sautier 
+Date: Wed, 22 Feb 2023 13:49:26 +0100
+Subject: [PATCH] Rely on sys.prefix instead of setuptools-computed prefix
+
+When using PEP517 mode, we ended up with
+DATA_DIR = '/gaupol-1.12.data/data/share/gaupol'
+LOCALE_DIR = '/gaupol-1.11.data/data/share/locale'
+
+By relying on sys.prefix instead, we work around the issue.
+Bug: https://bugs.gentoo.org/839267
+--- a/setup.py
 b/setup.py
+@@ -335,11 +335,11 @@ class InstallLib(install_lib):
+ path = os.path.join(self.build_dir, "aeidon", "paths.py")
+ text = open(path, "r", encoding="utf_8").read()
+ patt = r"^DATA_DIR = .*$"
+-repl = "DATA_DIR = {!r}".format(data_dir)
++repl = 'DATA_DIR = os.path.join(sys.prefix, "share", "gaupol")'
+ text = re.sub(patt, repl, text, flags=re.MULTILINE)
+ assert text.count(repl) == 1
+ patt = r"^LOCALE_DIR = .*$"
+-repl = "LOCALE_DIR = {!r}".format(locale_dir)
++repl = 'LOCALE_DIR = os.path.join(sys.prefix, "share", "locale")'
+ text = re.sub(patt, repl, text, flags=re.MULTILINE)
+ assert text.count(repl) == 1
+ open(path, "w", encoding="utf_8").write(text)
+-- 
+2.39.2
+

diff --git a/media-video/gaupol/gaupol-1.12.ebuild 
b/media-video/gaupol/gaupol-1.12.ebuild
new file mode 100644
index ..17ce40934060
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.12.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 virtualx xdg-utils
+
+DESCRIPTION="A subtitle editor for text-based subtitles"
+HOMEPAGE="https://otsaloma.io/gaupol/ https://github.com/otsaloma/gaupol/";
+SRC_URI="https://github.com/otsaloma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="spell"
+
+RDEPEND="
+   app-text/iso-codes
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   x11-libs/gtk+:3[introspection]
+   spell? ( app-text/gspell[introspection] )
+"
+BDEPEND="
+   sys-devel/gettext
+   test? (
+   app-dicts/myspell-en
+   app-text/enchant[hunspell]
+   app-text/gspell[introspection]
+   )
+"
+
+distutils_enable_tests pytest
+
+DOCS=( AUTHORS.md NEWS.md README.md README.aeidon.md )
+
+PATCHES=(
+   "${FILESDIR}/${P}-fix-prefix.patch"
+)
+
+python_test() {
+   virtx epytest
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "The integrated video player requires 

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

2023-01-05 Thread Louis Sautier
commit: 394a1d705b25fab267fa4938d5d3b4aaab27569f
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Jan  5 23:34:33 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Jan  5 23:34:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=394a1d70

dev-python/wand: add 0.6.11

Closes: https://bugs.gentoo.org/888499
Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest
index ed0d00d96ab1..a0f5c54c4125 100644
--- a/dev-python/wand/Manifest
+++ b/dev-python/wand/Manifest
@@ -1 +1,2 @@
 DIST Wand-0.6.10.tar.gz 11885159 BLAKE2B 
206a652fa87a69f4d7af6156b2dc2b0ff515f317f9ad3d938ee15e50043ab3e3ffc052e0650ebfb2e5f5c5d1d1f1500f4880578a6cd7765d6c3af02f877fd843
 SHA512 
bde72e0ec56898c0885e483ec8dafc5dd2fbc1319736b5d46074cb00d1643c5368fbf66e0c8ff918dbe4b7b6ac4901551ee2c8563317c90c269e7ccfe53edf6f
+DIST Wand-0.6.11.tar.gz 11883567 BLAKE2B 
561bcf6645f6eb41737c5e999f01e2719b5170d6e662e3812b4bd444fa77331175a22eff95eeb94ce17ecbe6dbef9a97e9a4f509f878431b64b357843fb15061
 SHA512 
4e551c2942835872f52247c2d642faf2ad4bad6bb206376e4f8dc5cdabe981e73b7e0f58a705d5dcbf8f95c445ed13bbe6b8443b9b29d0056e7aaf50565a608d

diff --git a/dev-python/wand/wand-0.6.11.ebuild 
b/dev-python/wand/wand-0.6.11.ebuild
new file mode 100644
index ..a7c1e7ca5dd4
--- /dev/null
+++ b/dev-python/wand/wand-0.6.11.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+MY_P=${P^}
+DESCRIPTION="Ctypes-based simple ImageMagick binding for Python"
+HOMEPAGE="
+   https://docs.wand-py.org/
+   https://github.com/emcconville/wand/
+   https://pypi.org/project/Wand/
+"
+SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-gfx/imagemagick
+"
+BDEPEND="
+   test? (
+   media-gfx/imagemagick[fftw,jpeg,png,truetype,xml]
+   )
+"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+python_test() {
+   # PDF support is blocked by the default ImageMagick security policy
+   epytest --skip-pdf
+}



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

2022-12-24 Thread Louis Sautier
commit: c3de54a5703f1cc9977052374e9c7abcc8ccebe4
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec 24 18:04:21 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec 24 18:34:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3de54a5

app-admin/supervisor: add 4.2.5, Python 3.11 support

And switch to DISTUTILS_USE_PEP517.

Signed-off-by: Louis Sautier  gentoo.org>

 app-admin/supervisor/Manifest|  1 +
 app-admin/supervisor/supervisor-4.2.5.ebuild | 51 
 2 files changed, 52 insertions(+)

diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest
index f20cd79a3b38..635d9abb518d 100644
--- a/app-admin/supervisor/Manifest
+++ b/app-admin/supervisor/Manifest
@@ -1,2 +1,3 @@
 DIST supervisor-4.2.2.tar.gz 463657 BLAKE2B 
766feffcbd70b575b6b7dfd6ed98e3510e0fd9362c423b677d44a2b5dd23ded14a349a279d3d28d4fd9e04a2175c8f00e24c07df310b61d34c7f69f60d26a4ac
 SHA512 
f787206e6c6a5d3dfc4284974a4a87cbcaeac0c705afb2b8eae53f066413bd9e68095c5309e29625e01469a4748613370e1ac0d7be84b9d72c3623244bdd2eb3
 DIST supervisor-4.2.4.tar.gz 465151 BLAKE2B 
91b99a64950dc874bdc008ba53ca8b1962cc34981fee27c2fd82956d73ace9eaaf91439ef6be40530c4860fe1eee193e19b51ab81050f7368aa7d31f8444c785
 SHA512 
38c55aeadb8664337b667aad891a3a2134ae4af88e90d636054e6be9aebc8a3ef87d79d15fcafd2b9966af562deeedc96ac3730bde9439dde30208f0a874f2d7
+DIST supervisor-4.2.5.tar.gz 466073 BLAKE2B 
54b45c824a1ad2960b04ca4ca9e54337f8c4da1a13008b559103f9efb9043588e72b3ee97c41218eb9252606d717575ad2615d12136047734f83d843d0a63bfa
 SHA512 
ea80c8c91356646deccf20735e065fd9b341f3be6d56838d333989297a912b0a59142338925b2eb08690e038f0617814e03447673701a19093aa483432ce6d41

diff --git a/app-admin/supervisor/supervisor-4.2.5.ebuild 
b/app-admin/supervisor/supervisor-4.2.5.ebuild
new file mode 100644
index ..de4148c5f9bd
--- /dev/null
+++ b/app-admin/supervisor/supervisor-4.2.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+# xml.etree.ElementTree module required.
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="A system for controlling process state under UNIX"
+HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="repoze ZPL BSD HPND GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="acct-group/supervisor"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newinitd "${FILESDIR}/init.d-r2" supervisord
+   newconfd "${FILESDIR}/conf.d-r1" supervisord
+   dodoc supervisor/skel/sample.conf
+   keepdir /etc/supervisord.d
+   insinto /etc
+   doins "${FILESDIR}/supervisord.conf"
+   keepdir /var/log/supervisor
+   systemd_dounit "${FILESDIR}/supervisord.service"
+}
+
+pkg_preinst() {
+   fowners :supervisor /var/log/supervisor
+   fperms 750 /var/log/supervisor
+}
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   # This is a new installation
+   elog "You may install your configuration files in 
${EROOT}/etc/supervisord.d"
+   elog "For config examples, see 
${EROOT}/usr/share/doc/${PF}/sample.conf.bz2"
+   elog ""
+   elog "By default, only members of the supervisor group can run 
supervisorctl."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2022-12-16 Thread Louis Sautier
commit: 6d8a8346bebf1a5ff0053790fd6085db5d88e34a
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec 17 02:19:33 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec 17 02:25:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d8a8346

net-irc/eggdrop: add 1.9.4, remove ipv6 USE flag

Enabling IPv6 unconditionally is recommended to avoid the
"UseFlagWithoutDeps" pkgcheck warning.

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 +
 net-irc/eggdrop/eggdrop-1.9.4.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index e07b2f3fb04d..10ec366bdba7 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,3 +1,4 @@
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
 DIST eggdrop-1.9.2.tar.gz 2296300 BLAKE2B 
ed409896718e45daab2b21c25e7f1a5a2664ef8afec7127943abb3018ce963413e714618ee730ef2c49e4542c6e87377cff405ee36ce91448335adf6c7ab5a8a
 SHA512 
67c8053a79ab5c4c418164e4e12f89a6e111b06b4e6dfdc69c52913b2f3b9a58b065a7601165112071c9ca2a778269aeb95c749a9da787c1932e6471a23146ce
 DIST eggdrop-1.9.3.tar.gz 2046726 BLAKE2B 
979190536c3c0718ef4b030d8f6df817b8ee823854c104b7d6f9009c10a7f8394d59afca40fc5c9778f130788fac7e14458d62d30a55413dea4653ca00c83f0a
 SHA512 
67d6d0f798222e54e09acb319aa4926181c34b6e4cdc2cbb4fc7a8433915a7d6281904fd190fe2ee92bcc2cb99943e3fb5b9d99831cc0bfd930205e63e33d1a1
+DIST eggdrop-1.9.4.tar.gz 2065217 BLAKE2B 
f9d1e6c0491d6c7959e3b67e8186082d074d648497cd66f244dfb4c919a566d81fdce83d034f0cc1e5247bc924022faf56004cdd8a6cc174fe8d0f44af5e2a9a
 SHA512 
ed3145411a1832d1a6d4f191c6ff30e64aa45f803df00585c1c69f6bbc8a16d07e9608c57e31fb723f7a9c66a24422e5080aab7746e562ac5b6a678a08c7b2a4

diff --git a/net-irc/eggdrop/eggdrop-1.9.4.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.4.ebuild
new file mode 100644
index ..0e23b091183d
--- /dev/null
+++ b/net-irc/eggdrop/eggdrop-1.9.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1
+
+MY_P="${PN}-${PV/_rc/rc}"
+DESCRIPTION="An IRC bot extensible with C or TCL"
+HOMEPAGE="https://www.eggheads.org/";
+SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~riscv ~sparc ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug doc ssl static"
+
+DEPEND="
+   dev-lang/tcl:0=
+   ssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="
+   sys-apps/gentoo-functions
+   ${DEPEND}
+"
+
+DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
+
+src_configure() {
+   econf --enable-ipv6 \
+   $(use_enable ssl tls)
+
+   emake config
+}
+
+src_compile() {
+   local target
+
+   if use static && use debug; then
+   target="sdebug"
+   elif use static; then
+   target="static"
+   elif use debug; then
+   target="debug"
+   fi
+
+   emake ${target}
+}
+
+src_install() {
+   emake DEST="${D}"/opt/eggdrop install
+
+   use doc && HTML_DOCS=( doc/html/. )
+   rm -r "${D}"/opt/eggdrop/doc/html || die
+   DOC_CONTENTS="
+   Additional documentation can be found
+   in ${EPREFIX}/opt/eggdrop/doc
+   "
+   readme.gentoo_create_doc
+   einstalldocs
+
+   dobin "${FILESDIR}"/eggdrop-installer
+   doman doc/man1/eggdrop.1
+}
+
+pkg_postinst() {
+   # Only display this for new installs
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2022-12-16 Thread Louis Sautier
commit: 12c385a2dd103f3502aa1417196905a4a3cc7f8b
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec 17 02:24:15 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec 17 02:25:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c385a2

net-irc/eggdrop: drop 1.9.2

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 -
 net-irc/eggdrop/eggdrop-1.9.2.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index 10ec366bdba7..8d09716059f3 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,4 +1,3 @@
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
-DIST eggdrop-1.9.2.tar.gz 2296300 BLAKE2B 
ed409896718e45daab2b21c25e7f1a5a2664ef8afec7127943abb3018ce963413e714618ee730ef2c49e4542c6e87377cff405ee36ce91448335adf6c7ab5a8a
 SHA512 
67c8053a79ab5c4c418164e4e12f89a6e111b06b4e6dfdc69c52913b2f3b9a58b065a7601165112071c9ca2a778269aeb95c749a9da787c1932e6471a23146ce
 DIST eggdrop-1.9.3.tar.gz 2046726 BLAKE2B 
979190536c3c0718ef4b030d8f6df817b8ee823854c104b7d6f9009c10a7f8394d59afca40fc5c9778f130788fac7e14458d62d30a55413dea4653ca00c83f0a
 SHA512 
67d6d0f798222e54e09acb319aa4926181c34b6e4cdc2cbb4fc7a8433915a7d6281904fd190fe2ee92bcc2cb99943e3fb5b9d99831cc0bfd930205e63e33d1a1
 DIST eggdrop-1.9.4.tar.gz 2065217 BLAKE2B 
f9d1e6c0491d6c7959e3b67e8186082d074d648497cd66f244dfb4c919a566d81fdce83d034f0cc1e5247bc924022faf56004cdd8a6cc174fe8d0f44af5e2a9a
 SHA512 
ed3145411a1832d1a6d4f191c6ff30e64aa45f803df00585c1c69f6bbc8a16d07e9608c57e31fb723f7a9c66a24422e5080aab7746e562ac5b6a678a08c7b2a4

diff --git a/net-irc/eggdrop/eggdrop-1.9.2.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.2.ebuild
deleted file mode 100644
index 31868072cbc1..
--- a/net-irc/eggdrop/eggdrop-1.9.2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit readme.gentoo-r1
-
-MY_P="${PN}-${PV/_rc/rc}"
-DESCRIPTION="An IRC bot extensible with C or TCL"
-HOMEPAGE="https://www.eggheads.org/";
-SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~riscv ~sparc ~x86"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="debug doc ipv6 ssl static"
-
-DEPEND="
-   dev-lang/tcl:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-RDEPEND="
-   sys-apps/gentoo-functions
-   ${DEPEND}
-"
-
-DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
-
-src_configure() {
-   econf $(use_enable ssl tls) \
-   $(use_enable ipv6 ipv6)
-
-   emake config
-}
-
-src_compile() {
-   local target
-
-   if use static && use debug; then
-   target="sdebug"
-   elif use static; then
-   target="static"
-   elif use debug; then
-   target="debug"
-   fi
-
-   emake ${target}
-}
-
-src_install() {
-   emake DEST="${D}"/opt/eggdrop install
-
-   use doc && HTML_DOCS=( doc/html/. )
-   rm -r "${D}"/opt/eggdrop/doc/html || die
-   DOC_CONTENTS="
-   Additional documentation can be found
-   in ${EPREFIX}/opt/eggdrop/doc
-   "
-   readme.gentoo_create_doc
-   einstalldocs
-
-   dobin "${FILESDIR}"/eggdrop-installer
-   doman doc/man1/eggdrop.1
-}
-
-pkg_postinst() {
-   # Only display this for new installs
-   if [[ -z ${REPLACING_VERSIONS} ]]; then
-   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-init-scripts/files/, dev-db/mysql-init-scripts/

2022-12-04 Thread Louis Sautier
commit: 11a14f552fc07767d2632cb4b09674cccfa715ff
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 26 09:55:52 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Dec  4 20:22:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a14f55

dev-db/mysql-init-scripts: stop using deprecated egrep alias

Since grep 3.8, this resulted in "egrep: warning: egrep is obsolescent;
using /bin/grep -E".

Signed-off-by: Louis Sautier  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28437

 dev-db/mysql-init-scripts/files/init.d-2.3  | 2 +-
 dev-db/mysql-init-scripts/files/init.d-supervise-2.3| 2 +-
 ...ysql-init-scripts-2.3-r4.ebuild => mysql-init-scripts-2.3-r5.ebuild} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/mysql-init-scripts/files/init.d-2.3 
b/dev-db/mysql-init-scripts/files/init.d-2.3
index f587e26f7322..90e7e7536881 100644
--- a/dev-db/mysql-init-scripts/files/init.d-2.3
+++ b/dev-db/mysql-init-scripts/files/init.d-2.3
@@ -47,7 +47,7 @@ bootstrap_galera() {
 
 start() {
# Check for old conf.d variables that mean migration was not yet done.
-   set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
+   set | grep -Esq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
rc=$?
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
# It does have a use in testing, as it is possible to build a config 
file

diff --git a/dev-db/mysql-init-scripts/files/init.d-supervise-2.3 
b/dev-db/mysql-init-scripts/files/init.d-supervise-2.3
index d0cbb312ccac..1bacbd4d8566 100644
--- a/dev-db/mysql-init-scripts/files/init.d-supervise-2.3
+++ b/dev-db/mysql-init-scripts/files/init.d-supervise-2.3
@@ -44,7 +44,7 @@ bootstrap_galera() {
 
 start() {
# Check for old conf.d variables that mean migration was not yet done.
-   set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
+   set | grep -Esq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
rc=$?
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
# It does have a use in testing, as it is possible to build a config 
file

diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild 
b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r5.ebuild
similarity index 100%
rename from dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild
rename to dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r5.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/

2022-12-02 Thread Louis Sautier
commit: 2808d34525c885edc18ad281d0cdc8cf5010176b
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec  3 00:28:55 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec  3 00:31:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2808d345

net-p2p/airdcpp-webclient: add 2.11.3

Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/airdcpp-webclient/Manifest |  1 +
 .../airdcpp-webclient-2.11.3.ebuild| 61 ++
 2 files changed, 62 insertions(+)

diff --git a/net-p2p/airdcpp-webclient/Manifest 
b/net-p2p/airdcpp-webclient/Manifest
index 83e81d7f5062..cb381b8e41a5 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -1 +1,2 @@
 DIST airdcpp-webclient-2.11.2.tar.gz 978294 BLAKE2B 
cb15e02dc5381cc5f0ecb1b4d65cdd1c4a3d007f3ea1e78a159b8a62af03831318b8f6d8c0692c5a9145dda616627ea97f4bd3eeb1270a7452c7d78bf01d147f
 SHA512 
281d4a9da88f23a4c02eef7f09c4fc2c91c44ac93d932ea4bfe097029b45dbd12a8d04d4ef8b493d261f5dade15b62ed4d564197fbfb2d9d98b9dfcc9a9e6379
+DIST airdcpp-webclient-2.11.3.tar.gz 957277 BLAKE2B 
fd80433e6c8138c4f60758e4813a056a59586b4f51048a7b717114781fa7b11e5ef0a4cf4fee8441bce6bebc3889acd0ae597c07850da50776454d9ba8230f19
 SHA512 
59b6189021411fdd3c75ec4744fdb03eb6e6b39b08c1ca9da9519998546a5be5218b4ff2eea7f2d3894fd9146693e807d2cc2396f0f03c074f45cbb4403fe326

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.3.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.3.ebuild
new file mode 100644
index ..51a43500c666
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit cmake python-any-r1 systemd
+
+DESCRIPTION="Cross-platform Direct Connect client"
+HOMEPAGE="https://airdcpp-web.github.io/";
+SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64 ~riscv ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug nat-pmp +tbb +webui"
+
+RDEPEND="
+   acct-user/airdcppd
+   acct-group/airdcppd
+   app-arch/bzip2
+   dev-cpp/websocketpp
+   dev-libs/boost:=
+   dev-libs/leveldb:=
+   dev-libs/libmaxminddb:=
+   dev-libs/openssl:0=[-bindist(-)]
+   net-libs/miniupnpc:=
+   sys-libs/zlib
+   virtual/libiconv
+   nat-pmp? ( net-libs/libnatpmp:= )
+   tbb? ( dev-cpp/tbb:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   ${PYTHON_DEPS}
+"
+PDEPEND="webui? ( www-apps/airdcpp-webui )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_NATPMP=$(usex nat-pmp)
+   -DENABLE_TBB=$(usex tbb)
+   -DINSTALL_WEB_UI=OFF
+   )
+   CMAKE_BUILD_TYPE=$(usex debug Debug Gentoo) cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   newconfd "${FILESDIR}/airdcppd.confd" airdcppd
+   newinitd "${FILESDIR}/airdcppd.initd" airdcppd
+   systemd_dounit "${FILESDIR}/airdcppd.service"
+}
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   elog "Run 'airdcppd --configure' to set up ports and 
authentication"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2022-12-02 Thread Louis Sautier
commit: 719890e2279104bae3d57b243e025f5fcf1dbad1
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec  3 00:27:04 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec  3 00:27:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719890e2

www-apps/airdcpp-webui: add 2.11.4, drop 2.11.3

Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/Manifest | 2 +-
 .../{airdcpp-webui-2.11.3.ebuild => airdcpp-webui-2.11.4.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index fd50e363c225..afc07125a153 100644
--- a/www-apps/airdcpp-webui/Manifest
+++ b/www-apps/airdcpp-webui/Manifest
@@ -1,3 +1,3 @@
 DIST airdcpp-webui-2.11.0.tgz 8148062 BLAKE2B 
2a47bae691667aae14afadbfd5a5b1f938c72de7ba3ff75f0feca6a5d13f890fdb663057237ff29ed85eea6fe55f72e421201fe2c44efd9181dc751e59748bb8
 SHA512 
00147c4f1d19a0866735a6bb0b4789e915ae028bf92e4a46aea586c1c4eea57fd85558cdffd9504abb36ffb78764bf6c310a5937f06d99de03883bdfaf6a2b33
 DIST airdcpp-webui-2.11.2.tgz 7200053 BLAKE2B 
e5a8f1d39d8cdc96cdfd1ea97d4ba8e4a943eaa0c53902b66fa0731432527e5f1a27a40ea08c968ca58281f6a1064166072302b37999396db395a3a66c052a17
 SHA512 
3d505dd231dd3e7cc1aae32668b7567eae5346f8a67bded3a54b1be830145ba6c13cfbcfc2eb4eedcfb306096b760690cc19602db314535d48d0a30c1334ff73
-DIST airdcpp-webui-2.11.3.tgz 8736658 BLAKE2B 
fd6f12aecaa68b26e29de97ed561802fcd692f4b3e9c17f994f0bb1acc6006905166866d19070283e92ac3bb460ea8986ec66678c0c6f20c4c71cde4b6eec1a5
 SHA512 
c1d72ba497f3d0d4d7f44c197bd3d5ae3511e3fa9fcfb0e7c34891f1e9128552bdc322a4b3d817b7782e02052cc6556bcca3414820849da72399523f152cd490
+DIST airdcpp-webui-2.11.4.tgz 8736640 BLAKE2B 
5dbdcd7edc1a2317166d59ec28ba35eb582ca5472acce64ac8dc888c4914dbf563a19f8ce1f394fe22c6232175e8d12009ab497cd8643a9feed7c00168509eda
 SHA512 
405638dd824aba7e1004c5821b5bc4cf088e6db0a990e73e627c4c151802f99cd2de745053a71e4cc5ffdda4edc31ce60bf2ecf1a31d3bbcf7b7619fb7e6

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.3.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.4.ebuild
similarity index 100%
rename from www-apps/airdcpp-webui/airdcpp-webui-2.11.3.ebuild
rename to www-apps/airdcpp-webui/airdcpp-webui-2.11.4.ebuild



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2022-12-02 Thread Louis Sautier
commit: 492dc04eb690e40ed87ae197b67948c8b70a87e6
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec  3 00:24:11 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec  3 00:24:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492dc04e

www-apps/airdcpp-webui: add 2.11.3

Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/Manifest|  1 +
 www-apps/airdcpp-webui/airdcpp-webui-2.11.3.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index 1bd86b01a3b3..c06a0cad3c53 100644
--- a/www-apps/airdcpp-webui/Manifest
+++ b/www-apps/airdcpp-webui/Manifest
@@ -1,3 +1,4 @@
 DIST airdcpp-webui-2.11.0.tgz 8148062 BLAKE2B 
2a47bae691667aae14afadbfd5a5b1f938c72de7ba3ff75f0feca6a5d13f890fdb663057237ff29ed85eea6fe55f72e421201fe2c44efd9181dc751e59748bb8
 SHA512 
00147c4f1d19a0866735a6bb0b4789e915ae028bf92e4a46aea586c1c4eea57fd85558cdffd9504abb36ffb78764bf6c310a5937f06d99de03883bdfaf6a2b33
 DIST airdcpp-webui-2.11.1.tgz 8147412 BLAKE2B 
4d4eb713b1c0c570d5c1cf02053c87bf983c97c6ae33ac58b04f4cee0aab41828981fc299c74383da4bdd015695daba4dfed62b0a6bf5d925e1dd1065fe2e60e
 SHA512 
c54673ba2755e3b7e5889c34d2ca3a19c9682b81b2c527d579007931a7983e8faa905ef8f26b5a7c8479d98c7c9fd98de5c9aac2de0161aeb849460e28d22465
 DIST airdcpp-webui-2.11.2.tgz 7200053 BLAKE2B 
e5a8f1d39d8cdc96cdfd1ea97d4ba8e4a943eaa0c53902b66fa0731432527e5f1a27a40ea08c968ca58281f6a1064166072302b37999396db395a3a66c052a17
 SHA512 
3d505dd231dd3e7cc1aae32668b7567eae5346f8a67bded3a54b1be830145ba6c13cfbcfc2eb4eedcfb306096b760690cc19602db314535d48d0a30c1334ff73
+DIST airdcpp-webui-2.11.3.tgz 8736658 BLAKE2B 
fd6f12aecaa68b26e29de97ed561802fcd692f4b3e9c17f994f0bb1acc6006905166866d19070283e92ac3bb460ea8986ec66678c0c6f20c4c71cde4b6eec1a5
 SHA512 
c1d72ba497f3d0d4d7f44c197bd3d5ae3511e3fa9fcfb0e7c34891f1e9128552bdc322a4b3d817b7782e02052cc6556bcca3414820849da72399523f152cd490

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.3.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.3.ebuild
new file mode 100644
index ..40745bed8dfd
--- /dev/null
+++ b/www-apps/airdcpp-webui/airdcpp-webui-2.11.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Web interface for airdcpp-webclient"
+HOMEPAGE="https://airdcpp-web.github.io/";
+SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz";
+
+KEYWORDS="~amd64 ~riscv ~x86"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+RDEPEND="=net-p2p/airdcpp-webclient-${PV%.*}*"
+
+S="${WORKDIR}/package"
+
+src_install() {
+   insinto "/usr/share/airdcpp/web-resources"
+   doins -r dist/.
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2022-12-02 Thread Louis Sautier
commit: 180013a5d289db6865726accb761558fa84dfbbc
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Dec  3 00:24:35 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec  3 00:24:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=180013a5

www-apps/airdcpp-webui: drop 2.11.1

Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/Manifest|  1 -
 www-apps/airdcpp-webui/airdcpp-webui-2.11.1.ebuild | 22 --
 2 files changed, 23 deletions(-)

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index c06a0cad3c53..fd50e363c225 100644
--- a/www-apps/airdcpp-webui/Manifest
+++ b/www-apps/airdcpp-webui/Manifest
@@ -1,4 +1,3 @@
 DIST airdcpp-webui-2.11.0.tgz 8148062 BLAKE2B 
2a47bae691667aae14afadbfd5a5b1f938c72de7ba3ff75f0feca6a5d13f890fdb663057237ff29ed85eea6fe55f72e421201fe2c44efd9181dc751e59748bb8
 SHA512 
00147c4f1d19a0866735a6bb0b4789e915ae028bf92e4a46aea586c1c4eea57fd85558cdffd9504abb36ffb78764bf6c310a5937f06d99de03883bdfaf6a2b33
-DIST airdcpp-webui-2.11.1.tgz 8147412 BLAKE2B 
4d4eb713b1c0c570d5c1cf02053c87bf983c97c6ae33ac58b04f4cee0aab41828981fc299c74383da4bdd015695daba4dfed62b0a6bf5d925e1dd1065fe2e60e
 SHA512 
c54673ba2755e3b7e5889c34d2ca3a19c9682b81b2c527d579007931a7983e8faa905ef8f26b5a7c8479d98c7c9fd98de5c9aac2de0161aeb849460e28d22465
 DIST airdcpp-webui-2.11.2.tgz 7200053 BLAKE2B 
e5a8f1d39d8cdc96cdfd1ea97d4ba8e4a943eaa0c53902b66fa0731432527e5f1a27a40ea08c968ca58281f6a1064166072302b37999396db395a3a66c052a17
 SHA512 
3d505dd231dd3e7cc1aae32668b7567eae5346f8a67bded3a54b1be830145ba6c13cfbcfc2eb4eedcfb306096b760690cc19602db314535d48d0a30c1334ff73
 DIST airdcpp-webui-2.11.3.tgz 8736658 BLAKE2B 
fd6f12aecaa68b26e29de97ed561802fcd692f4b3e9c17f994f0bb1acc6006905166866d19070283e92ac3bb460ea8986ec66678c0c6f20c4c71cde4b6eec1a5
 SHA512 
c1d72ba497f3d0d4d7f44c197bd3d5ae3511e3fa9fcfb0e7c34891f1e9128552bdc322a4b3d817b7782e02052cc6556bcca3414820849da72399523f152cd490

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.1.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.1.ebuild
deleted file mode 100644
index e7bbc80f2a8b..
--- a/www-apps/airdcpp-webui/airdcpp-webui-2.11.1.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Web interface for airdcpp-webclient"
-HOMEPAGE="https://airdcpp-web.github.io/";
-SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz";
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="MIT"
-SLOT="0"
-IUSE=""
-
-RDEPEND="=net-p2p/airdcpp-webclient-${PV%.*}*"
-
-S="${WORKDIR}/package"
-
-src_install() {
-   insinto "/usr/share/airdcpp/web-resources"
-   doins -r dist/.
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/klaus/

2022-11-26 Thread Louis Sautier
commit: d6ccbc069aee2e5fef977ff0fc6c0d13e231ee4d
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 26 22:20:39 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 26 22:22:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ccbc06

www-apps/klaus: add 2.0.2, support Python 3.11, PEP517

Closes: https://bugs.gentoo.org/880751
Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/klaus/Manifest   |  1 +
 www-apps/klaus/klaus-2.0.2.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/www-apps/klaus/Manifest b/www-apps/klaus/Manifest
index 375f12323851..cdbfdada9389 100644
--- a/www-apps/klaus/Manifest
+++ b/www-apps/klaus/Manifest
@@ -1 +1,2 @@
 DIST klaus-1.5.2.tar.gz 38168 BLAKE2B 
4bcaf91ce641ca1f937d8b1b46367caf0ac7e9130fe222c820ded7cca8a708d1374142b09ae511da2695a64b3f2b67be69645d05602779c05081081b29494d9d
 SHA512 
6423bfbef83f09b9abe4a1150d096ae72fc058a81c60fac585796918fa7c12b9a81c4d5808cf2e18acda5f6b891eaf93ed72a2e229b5b8d6ab5f060ea3230932
+DIST klaus-2.0.2.tar.gz 43030 BLAKE2B 
ba3a1d07d92ab02e43a31f9e720e26bafc744c2867b8bd6cf300d6e2fdcbcb560a426e8cf55bd6d8c11d23775ae5beddb8fd3ee89c3b0f21302bb463cc2571f3
 SHA512 
87aa4943d4e918c7ac9c269c095b8381b9e367ed68a50fb70bd75e02ec723c379d0ceaa2da9d5b81484b4c308941283dd2fb58046ba18e0950611c51b2337edd

diff --git a/www-apps/klaus/klaus-2.0.2.ebuild 
b/www-apps/klaus/klaus-2.0.2.ebuild
new file mode 100644
index ..3bea3595f8e4
--- /dev/null
+++ b/www-apps/klaus/klaus-2.0.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A simple, easy-to-set-up Git web viewer"
+HOMEPAGE="https://github.com/jonashaag/klaus/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ctags"
+
+RDEPEND="
+   >=dev-python/dulwich-0.19.3[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+   dev-python/httpauth[${PYTHON_USEDEP}]
+   dev-python/humanize[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   ctags? ( dev-python/python-ctags[${PYTHON_USEDEP}] )
+"
+
+# The tests can only be run from a git repository
+# so they are not included in the source distributions
+
+python_install_all() {
+   distutils-r1_python_install_all
+   doman ${PN}.1
+}



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

2022-11-26 Thread Louis Sautier
commit: 0083001fd7b5dc20f3334b356707b08e016bda16
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 26 19:18:05 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 26 22:10:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0083001f

dev-python/httpauth: enable py3.11, drop nose

Signed-off-by: Louis Sautier  gentoo.org>

 .../httpauth-0.3-remove-nose-dependency.patch  | 40 ++
 dev-python/httpauth/httpauth-0.3-r1.ebuild | 12 +--
 2 files changed, 50 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch 
b/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch
new file mode 100644
index ..5cb607c2bb4c
--- /dev/null
+++ b/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch
@@ -0,0 +1,40 @@
+commit d57060ebaeca8cd38e03cc64f9ee0996e83b50a9
+Author: Jonas Haag 
+Date:   Thu Apr 21 08:58:36 2022 +0200
+
+Move CI to GHA (#3)
+
+--- a/tests.py
 b/tests.py
+@@ -10,7 +10,7 @@ except ImportError: # Python 2
+ 
+ from httpauth import DictHttpAuthMiddleware, DigestFileHttpAuthMiddleware, 
md5_str
+ 
+-from nose.tools import raises
++import pytest
+ 
+ 
+ def parse_dict_header(value):
+@@ -121,16 +121,16 @@ def test_without_realm():
+ assert 'Digest realm=""' in response.headers['WWW-Authenticate']
+ 
+ 
+-@raises(ValueError)
+ def test_invalid_digestfile_1():
+-DigestFileHttpAuthMiddleware(StringIO('u::realm:hash'),
+- wsgi_app=wsgi_app)
++with pytest.raises(ValueError):
++DigestFileHttpAuthMiddleware(StringIO('u::realm:hash'),
++ wsgi_app=wsgi_app)
+ 
+ 
+-@raises(ValueError)
+ def test_invalid_digestfile_2():
+-DigestFileHttpAuthMiddleware(StringIO('u:realm:hash\nu2:realm2:hash2'),
+- wsgi_app=wsgi_app)
++with pytest.raises(ValueError):
++
DigestFileHttpAuthMiddleware(StringIO('u:realm:hash\nu2:realm2:hash2'),
++ wsgi_app=wsgi_app)
+ 
+ 
+ def test_ticket_1():

diff --git a/dev-python/httpauth/httpauth-0.3-r1.ebuild 
b/dev-python/httpauth/httpauth-0.3-r1.ebuild
index 703fdd988ecb..ae8ef46058ed 100644
--- a/dev-python/httpauth/httpauth-0.3-r1.ebuild
+++ b/dev-python/httpauth/httpauth-0.3-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
 
 inherit distutils-r1
 
@@ -16,4 +16,12 @@ LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-distutils_enable_tests nose
+PATCHES=(
+   "${FILESDIR}/${P}-remove-nose-dependency.patch"
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest tests.py
+}



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

2022-11-26 Thread Louis Sautier
commit: 4338694a9420cb9bd1d05a160127ab90b579f589
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 26 17:27:43 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 26 17:32:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4338694a

dev-python/python-ctags: support Py3.11, use PEP517

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/python-ctags/Manifest   |  1 +
 .../python-ctags/python-ctags-1.5.0-r1.ebuild  | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/python-ctags/Manifest b/dev-python/python-ctags/Manifest
index 3d50d1c72c4b..6b470afec3f7 100644
--- a/dev-python/python-ctags/Manifest
+++ b/dev-python/python-ctags/Manifest
@@ -1 +1,2 @@
+DIST python-ctags-1.5.0.gh.tar.gz 63921 BLAKE2B 
1d25e7bafbdf157f1051321058b39fc9347bc479a61fae637bd11ef8540a3c67e2abd101493668977f05e464a8203b8c518fd1f4433defe5cec9939a200438b2
 SHA512 
414774c865af51e54c53f66dc7b3cfb5a03b64ea4eb94325658c158542615dfffdd1a5933d9ae03cedf1dbac30e1810d5914fbc3d6ab41e5f708c5d3000d161e
 DIST python-ctags3-1.5.0.tar.gz 59091 BLAKE2B 
303b061e7e660c1ed08c52fa76e4a96e288c6359167006a112de2262eff8c6bb564cb5c5ed310e091a3e88c5d5494e883020e7aa3ed900dc9a316cc8a9f597e8
 SHA512 
a5f1e2ff49abf9cf471a0139c1d2e1c4f836557386f394a96e67692d6153c60717df16fc7dbf832f69182270842fdc550f77194855111534c3b71b81ac94e483

diff --git a/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild 
b/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild
new file mode 100644
index ..12154624c3b7
--- /dev/null
+++ b/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+
+inherit distutils-r1
+
+MY_PN="${PN}3"
+DESCRIPTION="Exuberant Ctags indexing python bindings"
+HOMEPAGE="https://github.com/universal-ctags/python-ctags3";
+# PyPI tarballs don't contain pyx files
+SRC_URI="https://github.com/universal-ctags/python-ctags3/archive/${PV}.tar.gz 
-> ${P}.gh.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-util/ctags:="
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # We currently need to let Cython regenerate this file to make Python 
3.11
+   # support work
+   rm src/_readtags.c || die
+   cython -3 src/_readtags.pyx || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   # To prevent pytest from importing it and failing with:
+   # ModuleNotFoundError: No module named 'ctags._readtags'
+   rm -rf src/ctags || die
+   epytest
+}



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

2022-11-25 Thread Louis Sautier
commit: 25a1d86a23c05c52049f24d25946fccfb2271b77
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Nov 25 20:51:07 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 26 00:04:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a1d86a

dev-python/pymediainfo: add 6.0.1, Py3.11

* All tests pass without Internet access now.
* Bump to EAPI=8.
* Use PEP517.

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pymediainfo/Manifest |  1 +
 dev-python/pymediainfo/pymediainfo-6.0.1.ebuild | 32 +
 2 files changed, 33 insertions(+)

diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest
index c0da7add8fe8..f2f81ebb4b0f 100644
--- a/dev-python/pymediainfo/Manifest
+++ b/dev-python/pymediainfo/Manifest
@@ -1 +1,2 @@
 DIST pymediainfo-5.1.0.tar.gz 445630 BLAKE2B 
debef8de004232c4e39bd17018c447474a4f71bc386b01710bea8084febb5353cb70512ee77c33ea8b3e6c7b67baded99aecb77b60c52da58be35ef91919f34a
 SHA512 
d3c48e37f6d59b0f5bc1d66d4fad9fea26724863dc2ae75a30c80d972f68f3be650298d25105d330c20b83083f94d2ff5e2690c29573897e09afa44931f3228e
+DIST pymediainfo-6.0.1.tar.gz 446487 BLAKE2B 
402c71157e43fd03efe37934932c61e1e22d469c13f5b5e85d7e0f1d52d6e54289860777c1677efeb4710a5c55086a1c7db03da8ad2f88f49d144bd5484f8638
 SHA512 
7b373b133911eb320248f72627f6aeb6fa04705b55500639d18094ed8227296fd744c2c4b76d765e8b2d98d78f443114e9ca7ef8e2e0eb498d48d2b46956f952

diff --git a/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild 
b/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild
new file mode 100644
index ..ea0f2602e92f
--- /dev/null
+++ b/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="A wrapper around the mediainfo library"
+HOMEPAGE="https://github.com/sbraz/pymediainfo";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libmediainfo
+"
+# tests/test_pymediainfo.py::MediaInfoURLTest::test_parse_url requires 
libmediainfo with curl support
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   media-libs/libmediainfo[curl]
+   )
+"
+
+distutils_enable_sphinx docs dev-python/alabaster
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/, net-p2p/airdcpp-webclient/files/

2022-11-05 Thread Louis Sautier
commit: 3c87eae224d451e0433cd4338773f945fb879277
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  5 19:12:03 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov  5 19:35:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c87eae2

net-p2p/airdcpp-webclient: fix build with strict flags, add Py3.11

Closes: https://bugs.gentoo.org/861839
Signed-off-by: Louis Sautier  gentoo.org>

 .../airdcpp-webclient-2.11.2.ebuild|  6 +-
 .../files/airdcpp-webclient-2.11.2-fix-odr.patch   | 22 ++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
index 8b834ebeb9f1..76af45cb877b 100644
--- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
 
 inherit cmake python-any-r1 systemd
 
@@ -38,6 +38,10 @@ BDEPEND="
 "
 PDEPEND="webui? ( www-apps/airdcpp-webui )"
 
+PATCHES=(
+   "${FILESDIR}/${P}-fix-odr.patch"
+)
+
 src_configure() {
local mycmakeargs=(
-DENABLE_NATPMP=$(usex nat-pmp)

diff --git 
a/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.11.2-fix-odr.patch 
b/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.11.2-fix-odr.patch
new file mode 100644
index ..e44365ca1bd2
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.11.2-fix-odr.patch
@@ -0,0 +1,22 @@
+From 5f12f803c2fc045052e2ea5f649ed92f4b7f Mon Sep 17 00:00:00 2001
+From: maksis 
+Date: Thu, 13 Oct 2022 22:05:35 +0300
+Subject: [PATCH] Build: define the HAVE_POSIX_FADVISE flag correctly
+
+Fixes https://github.com/airdcpp-web/airdcpp-webclient/issues/425
+---
+ airdcpp-core/CMakeLists.txt | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+--- a/airdcpp-core/CMakeLists.txt
 b/airdcpp-core/CMakeLists.txt
+@@ -75,8 +75,7 @@ if (HAVE_MNTENT_H)
+ endif (HAVE_MNTENT_H)
+ 
+ if (HAVE_POSIX_FADVISE)
+-set_property(SOURCE ${PROJECT_SOURCE_DIR}/airdcpp/File.cpp PROPERTY 
COMPILE_DEFINITIONS HAVE_POSIX_FADVISE APPEND)
+-  set_property(SOURCE ${PROJECT_SOURCE_DIR}/airdcpp/File.h 
PROPERTY COMPILE_DEFINITIONS HAVE_POSIX_FADVISE APPEND)
++add_definitions (-DHAVE_POSIX_FADVISE)
+ endif (HAVE_POSIX_FADVISE)
+ 
+ 



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

2022-11-05 Thread Louis Sautier
commit: 9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  5 17:15:58 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov  5 18:35:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5aad2b

net-irc/znc: fix build with SWIG 4.1.0 and USE=perl/python

Also always enable IPv6 as it doesn't require additional dependencies
(pkgcheck warned of "UseFlagWithoutDeps").

Closes: https://bugs.gentoo.org/878587
Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/znc/files/znc-1.8.2-fix-swig.patch | 43 ++
 net-irc/znc/znc-1.8.2-r2.ebuild|  9 ---
 2 files changed, 48 insertions(+), 4 deletions(-)

diff --git a/net-irc/znc/files/znc-1.8.2-fix-swig.patch 
b/net-irc/znc/files/znc-1.8.2-fix-swig.patch
new file mode 100644
index ..d07d136c5940
--- /dev/null
+++ b/net-irc/znc/files/znc-1.8.2-fix-swig.patch
@@ -0,0 +1,43 @@
+From fecdd9895894b3afe903021b0843a422eb4d3308 Mon Sep 17 00:00:00 2001
+From: Alexey Sokolov 
+Date: Sat, 5 Nov 2022 12:54:40 +
+Subject: [PATCH] Add support SWIG 4.1.0, drop support for < 4.0.1
+
+https://bugs.gentoo.org/878587
+---
+ CMakeLists.txt   | 2 +-
+ modules/modperl/CMakeLists.txt   | 1 -
+ modules/modpython/CMakeLists.txt | 1 -
+ 3 files changed, 1 insertion(+), 3 deletions(-)
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -173,7 +173,7 @@ if(WANT_PYTHON AND NOT EXISTS
+   endif()
+ endif()
+ if(search_swig)
+-  find_package(SWIG 3.0.0)
++  find_package(SWIG 4.0.1)
+   if(NOT SWIG_FOUND)
+   message(FATAL_ERROR
+   "Can't find SWIG, therefore Perl and Python aren't 
supported. "
+--- a/modules/modperl/CMakeLists.txt
 b/modules/modperl/CMakeLists.txt
+@@ -53,7 +53,6 @@ if(SWIG_FOUND)
+   "-I${PROJECT_SOURCE_DIR}/include"
+   "-I${CMAKE_CURRENT_SOURCE_DIR}/.."
+   "-I${CMAKE_CURRENT_SOURCE_DIR}/include"
+-  -DZNC_EXPORT_LIB_EXPORT
+   -outdir "${CMAKE_CURRENT_BINARY_DIR}"
+   -o "${CMAKE_CURRENT_BINARY_DIR}/modperl_biglib.cpp"
+   "${CMAKE_CURRENT_SOURCE_DIR}/modperl.i"
+--- a/modules/modpython/CMakeLists.txt
 b/modules/modpython/CMakeLists.txt
+@@ -50,7 +50,6 @@ if(SWIG_FOUND)
+   "-I${PROJECT_BINARY_DIR}/include"
+   "-I${PROJECT_SOURCE_DIR}/include"
+   "-I${CMAKE_CURRENT_SOURCE_DIR}/.."
+-  -DZNC_EXPORT_LIB_EXPORT
+   -outdir "${CMAKE_CURRENT_BINARY_DIR}"
+   -o "${CMAKE_CURRENT_BINARY_DIR}/modpython_biglib.cpp"
+   "${CMAKE_CURRENT_SOURCE_DIR}/modpython.i"

diff --git a/net-irc/znc/znc-1.8.2-r2.ebuild b/net-irc/znc/znc-1.8.2-r2.ebuild
index b9d4a004fac3..885291374ae4 100644
--- a/net-irc/znc/znc-1.8.2-r2.ebuild
+++ b/net-irc/znc/znc-1.8.2-r2.ebuild
@@ -30,7 +30,7 @@ LICENSE="Apache-2.0"
 # "If you upgrade your ZNC version, you must recompile all your modules."
 # - https://wiki.znc.in/Compiling_modules
 SLOT="0/${PV}"
-IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
+IUSE="+icu nls perl python +ssl sasl tcl test +zlib"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
@@ -40,11 +40,11 @@ BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )
perl? (
-   >=dev-lang/swig-3.0.0
+   >=dev-lang/swig-4.0.1
>=dev-lang/perl-5.10
)
python? (
-   >=dev-lang/swig-3.0.0
+   >=dev-lang/swig-4.0.1
>=dev-lang/perl-5.10
)
test? (
@@ -75,6 +75,7 @@ PATCHES=(
"${FILESDIR}"/${P}-add-libera.patch
"${FILESDIR}"/${P}-fix-python-3.10.patch
"${FILESDIR}"/${P}-fix-odr-violation.patch
+   "${FILESDIR}"/${P}-fix-swig.patch
 )
 
 pkg_setup() {
@@ -103,7 +104,7 @@ src_configure() {
-DWANT_SYSTEMD=yes  # Causes -DSYSTEMD_DIR to be used.
-DSYSTEMD_DIR="$(systemd_get_systemunitdir)"
-DWANT_ICU="$(usex icu)"
-   -DWANT_IPV6="$(usex ipv6)"
+   -DWANT_IPV6=yes
-DWANT_I18N="$(usex nls)"
-DWANT_PERL="$(usex perl)"
-DWANT_PYTHON="$(usex python)"



[gentoo-commits] repo/gentoo:master commit in: net-irc/znc/

2022-11-05 Thread Louis Sautier
commit: ff6a22cae4d6df2b3dd968e183dae735b55521bf
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  5 17:24:17 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov  5 18:38:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6a22ca

net-irc/znc: sync live ebuild with 1.8.2-r2

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/znc/znc-.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-irc/znc/znc-.ebuild b/net-irc/znc/znc-.ebuild
index fc85afa7b5a1..39f23a0ebbd1 100644
--- a/net-irc/znc/znc-.ebuild
+++ b/net-irc/znc/znc-.ebuild
@@ -21,7 +21,7 @@ else
https://znc.in/releases/archive/${MY_P}.tar.gz
test? ( ${GTEST_URL} )
"
-   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
S=${WORKDIR}/${MY_P}
 fi
 
@@ -30,7 +30,7 @@ LICENSE="Apache-2.0"
 # "If you upgrade your ZNC version, you must recompile all your modules."
 # - https://wiki.znc.in/Compiling_modules
 SLOT="0/${PV}"
-IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
+IUSE="+icu nls perl python +ssl sasl tcl test +zlib"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
@@ -40,11 +40,11 @@ BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )
perl? (
-   >=dev-lang/swig-3.0.0
+   >=dev-lang/swig-4.0.1
>=dev-lang/perl-5.10
)
python? (
-   >=dev-lang/swig-3.0.0
+   >=dev-lang/swig-4.0.1
>=dev-lang/perl-5.10
)
test? (
@@ -98,7 +98,7 @@ src_configure() {
-DWANT_SYSTEMD=yes  # Causes -DSYSTEMD_DIR to be used.
-DSYSTEMD_DIR="$(systemd_get_systemunitdir)"
-DWANT_ICU="$(usex icu)"
-   -DWANT_IPV6="$(usex ipv6)"
+   -DWANT_IPV6=yes
-DWANT_I18N="$(usex nls)"
-DWANT_PERL="$(usex perl)"
-DWANT_PYTHON="$(usex python)"



[gentoo-commits] repo/gentoo:master commit in: app-arch/cfv/

2022-11-04 Thread Louis Sautier
commit: 640f8e674a25c16d37f95ba1b647628615847f5f
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  5 03:26:00 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov  5 04:30:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=640f8e67

app-arch/cfv: resurrect package, version 3.0.0

Signed-off-by: Louis Sautier  gentoo.org>

 app-arch/cfv/Manifest |  1 +
 app-arch/cfv/cfv-3.0.0.ebuild | 48 +++
 app-arch/cfv/metadata.xml | 20 ++
 3 files changed, 69 insertions(+)

diff --git a/app-arch/cfv/Manifest b/app-arch/cfv/Manifest
new file mode 100644
index ..db038dfc39a1
--- /dev/null
+++ b/app-arch/cfv/Manifest
@@ -0,0 +1 @@
+DIST cfv-3.0.0.gh.tar.gz 91600 BLAKE2B 
5a0d53a2b75973967ef976ce55d5262f71af97a8d7c64e8ea94ed9d66fd12778e10321e82bdbc4b8037df3f1a9c9c817694a7cd5e60615fc903127df9057b04f
 SHA512 
9a44bf20f0a4f48a93631353d0b0ab79ea15d19f1da5492296dd4bd4e6208d3f0d71e957165e31d07b5faa7fc75122f0ae5ddbd8d54b9c6b633c43695b362640

diff --git a/app-arch/cfv/cfv-3.0.0.ebuild b/app-arch/cfv/cfv-3.0.0.ebuild
new file mode 100644
index ..5b940295d074
--- /dev/null
+++ b/app-arch/cfv/cfv-3.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+# Tests fail with pypy3 as of PyPy 7.3.9 / Python 3.9.12
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Command-line File Verify - versatile file checksum creator and 
verifier"
+HOMEPAGE="https://github.com/cfv-project/cfv/";
+# Tests aren't included in PyPI tarballs
+SRC_URI="https://github.com/cfv-project/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   app-arch/cksfv
+   )
+"
+
+python_prepare_all() {
+   # Remove upstream's attempt to install the man page
+   sed -i '/\sdata_files=/d' setup.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   # In order to run integration tests in addition to unit tests, we can't
+   # just rely on pytest here, we need to use upstream's runner.
+   "${EPYTHON}" "test/test.py" || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   doman cfv.1
+}
+
+pkg_postinst() {
+   optfeature "the dimension column of JPEG Sheriff crc files" 
dev-python/pillow
+}

diff --git a/app-arch/cfv/metadata.xml b/app-arch/cfv/metadata.xml
new file mode 100644
index ..373591c9c7a7
--- /dev/null
+++ b/app-arch/cfv/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   sb...@gentoo.org
+   Louis Sautier
+   
+   
+   cfv is a utility to test and create a wide range of checksum
+   verification files. It currently supports testing and creating 
sfv,
+   sfvmd5, csv, csv2, csv4, md5, bsdmd5, sha1, sha224, sha256, 
sha384,
+   sha512, torrent and crc files. Test-only support is available 
for par,
+   par2.
+   
+   
+   cfv
+   cfv-project/cfv
+   https://github.com/cfv-project/cfv/issues
+   
+



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/files/, net-p2p/torrentinfo/

2022-11-04 Thread Louis Sautier
commit: aa35d194bad0b5845fc9fdbe00b36de306c45708
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  5 02:15:20 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov  5 02:22:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa35d194

net-p2p/torrentinfo: support Python 3.11, drop nose

Closes: https://bugs.gentoo.org/878719
Signed-off-by: Louis Sautier  gentoo.org>

 .../files/torrentinfo-1.8.6-remove-nose.patch  | 38 ++
 net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild| 26 +++
 2 files changed, 64 insertions(+)

diff --git a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch 
b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch
new file mode 100644
index ..260b5c494321
--- /dev/null
+++ b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch
@@ -0,0 +1,38 @@
+From ce97e73493bded33bf83934bd7affd49aff58379 Mon Sep 17 00:00:00 2001
+From: Louis Sautier 
+Date: Sat, 5 Nov 2022 02:54:34 +0100
+Subject: [PATCH] Remove dependency on nose, fixes #17
+
+Also rename the test file so that it uses a standard name that pytest
+autodetects.
+---
+ test/{tests.py => test_torrentinfo.py} | 5 -
+ 1 file changed, 5 deletions(-)
+ rename test/{tests.py => test_torrentinfo.py} (99%)
+ mode change 100755 => 100644
+
+diff --git a/test/tests.py b/test/test_torrentinfo.py
+old mode 100755
+new mode 100644
+similarity index 99%
+rename from test/tests.py
+rename to test/test_torrentinfo.py
+index 9e67c9c..ba9bbc7
+--- a/test/tests.py
 b/test/test_torrentinfo.py
+@@ -27,7 +27,6 @@
+ from io import StringIO
+ 
+ import unittest
+-import nose
+ import re
+ import torrentinfo
+ 
+@@ -704,7 +703,3 @@ def test_is_printable_ascii_success(self):
+ test_string = 'perfectly printable ascii'
+ torrentinfo.dump(test_string, self.config, 0, newline=False)
+ self.assertEqual(self.out.getvalue(), test_string)
+-
+-
+-if __name__ == '__main__':
+-nose.main(buffer=True)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
new file mode 100644
index ..877569c19445
--- /dev/null
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A torrent file parser"
+HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
+SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   # https://github.com/Fuuzetsu/torrentinfo/pull/16
+   "${FILESDIR}/${P}-fix-tests.patch"
+   # https://github.com/Fuuzetsu/torrentinfo/pull/18
+   "${FILESDIR}/${P}-remove-nose.patch"
+)
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2022-11-02 Thread Louis Sautier
commit: 786b89e85c6bc2b4ded43653da568eea2e6dd45b
Author: Chris Su  lesscrowds  org>
AuthorDate: Wed Nov  2 15:21:26 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Nov  3 01:52:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786b89e8

www-apps/airdcpp-webui: Keyword 2.11.2 riscv, #879189

Signed-off-by: Chris Su  lesscrowds.org>
Closes: https://github.com/gentoo/gentoo/pull/28106
Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
index e7bbc80f2a8b..40745bed8dfd 100644
--- a/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
+++ b/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ DESCRIPTION="Web interface for airdcpp-webclient"
 HOMEPAGE="https://airdcpp-web.github.io/";
 SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz";
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE=""



[gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/

2022-11-02 Thread Louis Sautier
commit: 50b9756b476fcd25fadec413b570a398e1f67c14
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Nov  3 01:52:54 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Nov  3 01:53:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b9756b

net-p2p/airdcpp-webclient: drop 2.11.0-r1, 2.11.1

Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/airdcpp-webclient/Manifest |  2 -
 .../airdcpp-webclient-2.11.0-r1.ebuild | 61 --
 .../airdcpp-webclient-2.11.1.ebuild| 61 --
 3 files changed, 124 deletions(-)

diff --git a/net-p2p/airdcpp-webclient/Manifest 
b/net-p2p/airdcpp-webclient/Manifest
index 2ac81f5df4f8..83e81d7f5062 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -1,3 +1 @@
-DIST airdcpp-webclient-2.11.0.tar.gz 967326 BLAKE2B 
47d257e47c332b4fd5351a680f0585360cb7329cd1bcf3c478d0a7847adbee68c024af7136eeb3b551188d3af7c4a6db2257eefaca7f82ee4670667a4a6e3e63
 SHA512 
926457e76b6bd29e0124c519b67d9e0f3cee48192c1b56e073b84d65f0171d53a7a4dbaf55e100f0685e01116935f4e4e2c193dab0ef0bed08d8101e12c33b82
-DIST airdcpp-webclient-2.11.1.tar.gz 967966 BLAKE2B 
d95760f3ae945255a396f20504995a2ea8843071ab19574a6faac919fb411a0a4e44ebcb005afce0056d960729d6b8bdd9df4ca457cea91931eedb1d329c7a12
 SHA512 
03f6ce82467f824d1b4e10075bf9e28b45282fb977b3feb67fc948044ed592672a83182d4716d0c10591c0b7568417997b335e25827d8e78fbd3735605cd052e
 DIST airdcpp-webclient-2.11.2.tar.gz 978294 BLAKE2B 
cb15e02dc5381cc5f0ecb1b4d65cdd1c4a3d007f3ea1e78a159b8a62af03831318b8f6d8c0692c5a9145dda616627ea97f4bd3eeb1270a7452c7d78bf01d147f
 SHA512 
281d4a9da88f23a4c02eef7f09c4fc2c91c44ac93d932ea4bfe097029b45dbd12a8d04d4ef8b493d261f5dade15b62ed4d564197fbfb2d9d98b9dfcc9a9e6379

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.0-r1.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.0-r1.ebuild
deleted file mode 100644
index 9771504e496c..
--- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
-
-inherit cmake python-any-r1 systemd
-
-DESCRIPTION="Cross-platform Direct Connect client"
-HOMEPAGE="https://airdcpp-web.github.io/";
-SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="amd64 x86"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="debug nat-pmp +tbb +webui"
-
-RDEPEND="
-   acct-user/airdcppd
-   acct-group/airdcppd
-   app-arch/bzip2
-   dev-cpp/websocketpp
-   dev-libs/boost:=
-   dev-libs/leveldb:=
-   dev-libs/libmaxminddb:=
-   dev-libs/openssl:0=[-bindist(-)]
-   net-libs/miniupnpc:=
-   sys-libs/zlib
-   virtual/libiconv
-   nat-pmp? ( net-libs/libnatpmp:= )
-   tbb? ( dev-cpp/tbb:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   ${PYTHON_DEPS}
-"
-PDEPEND="webui? ( www-apps/airdcpp-webui )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_NATPMP=$(usex nat-pmp)
-   -DENABLE_TBB=$(usex tbb)
-   -DINSTALL_WEB_UI=OFF
-   )
-   CMAKE_BUILD_TYPE=$(usex debug Debug Gentoo) cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-   newconfd "${FILESDIR}/airdcppd.confd" airdcppd
-   newinitd "${FILESDIR}/airdcppd.initd" airdcppd
-   systemd_dounit "${FILESDIR}/airdcppd.service"
-}
-
-pkg_postinst() {
-   if [[ -z "${REPLACING_VERSIONS}" ]]; then
-   elog "Run 'airdcppd --configure' to set up ports and 
authentication"
-   fi
-}

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.1.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.1.ebuild
deleted file mode 100644
index cc018d24b40d..
--- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..10} )
-
-inherit cmake python-any-r1 systemd
-
-DESCRIPTION="Cross-platform Direct Connect client"
-HOMEPAGE="https://airdcpp-web.github.io/";
-SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="debug nat-pmp +tbb +webui"
-
-RDEPEND="
-   acct-user/airdcppd
-   acct-group/airdcppd
-   app-arch/bzip2
-   dev-cpp/websocketpp
-   dev-libs/boost:=
-   dev-libs/leveldb:=
-   dev-libs/libmaxminddb:=
-   dev-

[gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/

2022-11-02 Thread Louis Sautier
commit: 0eea28c38bff1e166f34684eda975bf5bc11624d
Author: Chris Su  lesscrowds  org>
AuthorDate: Wed Nov  2 15:21:23 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Nov  3 01:52:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eea28c3

net-p2p/airdcpp-webclient: Keyword 2.11.2 riscv, #879189

Signed-off-by: Chris Su  lesscrowds.org>
Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
index 86506593229a..8b834ebeb9f1 100644
--- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="Cross-platform Direct Connect client"
 HOMEPAGE="https://airdcpp-web.github.io/";
 SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~riscv x86"
 LICENSE="GPL-2+"
 SLOT="0"
 IUSE="debug nat-pmp +tbb +webui"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2022-10-12 Thread Louis Sautier
commit: e7e48c6bbd28c76dd222e7bc93dcd4e3bec04b35
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Oct 13 00:01:23 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Oct 13 00:01:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e48c6b

net-analyzer/nagios-plugins-linux-madrisan: add 31

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 .../nagios-plugins-linux-madrisan-31.ebuild| 48 ++
 2 files changed, 49 insertions(+)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 985aed02d71a..e2a504d8820e 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-plugins-linux-madrisan-29.tar.xz 392700 BLAKE2B 
edc93bfb113cb12ce8a345e38627881decb952cb1e7a948dcdced2aaa9c940956b75a7c8f7ad1b72daac132236ab27762b6f8b14a5098eaac648bafae6dfdb33
 SHA512 
412464b894fe2a0953e495c7c87604ed6b282f65fd1988043757b162ba4fecf9e8f9740e7e09ec2dad8ba8d80fa928df4d7e644260538117d19776f4883045f6
 DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
+DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild
new file mode 100644
index ..6e71445b286d
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="nagios-plugins-linux"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Additional and alternative Nagios plugins for Linux"
+HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux";
+SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl varlink"
+
+DEPEND="
+   curl? ( net-misc/curl:0= )
+   varlink? ( dev-libs/libvarlink:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   # Avoid collision with net-analyzer/monitoring-plugins
+   # and net-analyzer/nagios-plugins
+   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
+   # Most options are already defaults for Gentoo
+   --disable-hardening
+   $(use_enable curl libcurl)
+   $(use_enable varlink libvarlink)
+   )
+   econf "${myconf[@]}"
+}
+
+src_test() {
+   emake check VERBOSE=1
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2022-10-12 Thread Louis Sautier
commit: 1dd7620f3b3f29ba3433d76c58906ee96b8e8050
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Oct 13 00:01:30 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Oct 13 00:01:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd7620f

net-analyzer/nagios-plugins-linux-madrisan: drop 29

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 -
 .../nagios-plugins-linux-madrisan-29.ebuild| 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index e2a504d8820e..68974a286f84 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,3 +1,2 @@
-DIST nagios-plugins-linux-madrisan-29.tar.xz 392700 BLAKE2B 
edc93bfb113cb12ce8a345e38627881decb952cb1e7a948dcdced2aaa9c940956b75a7c8f7ad1b72daac132236ab27762b6f8b14a5098eaac648bafae6dfdb33
 SHA512 
412464b894fe2a0953e495c7c87604ed6b282f65fd1988043757b162ba4fecf9e8f9740e7e09ec2dad8ba8d80fa928df4d7e644260538117d19776f4883045f6
 DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-29.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-29.ebuild
deleted file mode 100644
index 7d39abb43437..
--- 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-29.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_PN="nagios-plugins-linux"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Additional and alternative Nagios plugins for Linux"
-HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux";
-SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl varlink"
-
-DEPEND="
-   curl? ( net-misc/curl:0= )
-   varlink? ( dev-libs/libvarlink:= )
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   # Avoid collision with net-analyzer/monitoring-plugins
-   # and net-analyzer/nagios-plugins
-   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   local myconf=(
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
-   # Most options are already defaults for Gentoo
-   --disable-hardening
-   $(use_enable curl libcurl)
-   $(use_enable varlink libvarlink)
-   )
-   econf "${myconf[@]}"
-}
-
-src_test() {
-   emake check VERBOSE=1
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-classes/, dev-python/jaraco-logging/, ...

2022-10-11 Thread Louis Sautier
commit: 8192bf60d758fbf10720254147503ff7b2e15e65
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Oct 11 11:57:19 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Oct 11 12:00:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8192bf60

dev-python/jaraco-*: remove myself as maintainer

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/jaraco-classes/metadata.xml | 4 
 dev-python/jaraco-collections/metadata.xml | 4 
 dev-python/jaraco-functools/metadata.xml   | 4 
 dev-python/jaraco-itertools/metadata.xml   | 4 
 dev-python/jaraco-logging/metadata.xml | 4 
 dev-python/jaraco-stream/metadata.xml  | 4 
 dev-python/jaraco-text/metadata.xml| 4 
 7 files changed, 28 deletions(-)

diff --git a/dev-python/jaraco-classes/metadata.xml 
b/dev-python/jaraco-classes/metadata.xml
index 9b7ab3a06481..4a7ae337a195 100644
--- a/dev-python/jaraco-classes/metadata.xml
+++ b/dev-python/jaraco-classes/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   sb...@gentoo.org
-       Louis Sautier
-   

pyt...@gentoo.org
Python

diff --git a/dev-python/jaraco-collections/metadata.xml 
b/dev-python/jaraco-collections/metadata.xml
index b76c82d736e9..c974d8dc1f1b 100644
--- a/dev-python/jaraco-collections/metadata.xml
+++ b/dev-python/jaraco-collections/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   sb...@gentoo.org
-   Louis Sautier
-   

pyt...@gentoo.org
Python

diff --git a/dev-python/jaraco-functools/metadata.xml 
b/dev-python/jaraco-functools/metadata.xml
index d329dd905d76..360b23630476 100644
--- a/dev-python/jaraco-functools/metadata.xml
+++ b/dev-python/jaraco-functools/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   sb...@gentoo.org
-   Louis Sautier
-   

pyt...@gentoo.org
Python

diff --git a/dev-python/jaraco-itertools/metadata.xml 
b/dev-python/jaraco-itertools/metadata.xml
index 91dcf6028f4e..01f46e8a1c4d 100644
--- a/dev-python/jaraco-itertools/metadata.xml
+++ b/dev-python/jaraco-itertools/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-       sb...@gentoo.org
-   Louis Sautier
-   

pyt...@gentoo.org
Python

diff --git a/dev-python/jaraco-logging/metadata.xml 
b/dev-python/jaraco-logging/metadata.xml
index 66d80c3d099a..6eb1613dfbb7 100644
--- a/dev-python/jaraco-logging/metadata.xml
+++ b/dev-python/jaraco-logging/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-       sb...@gentoo.org
-   Louis Sautier
-   

pyt...@gentoo.org
Python

diff --git a/dev-python/jaraco-stream/metadata.xml 
b/dev-python/jaraco-stream/metadata.xml
index c8fed0930ca3..1644ba3908b4 100644
--- a/dev-python/jaraco-stream/metadata.xml
+++ b/dev-python/jaraco-stream/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   sb...@gentoo.org
-   Louis Sautier
-   

pyt...@gentoo.org
Python

diff --git a/dev-python/jaraco-text/metadata.xml 
b/dev-python/jaraco-text/metadata.xml
index 576c56c4a4b0..53b2aac86a52 100644
--- a/dev-python/jaraco-text/metadata.xml
+++ b/dev-python/jaraco-text/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   sb...@gentoo.org
-   Louis Sautier
-   

pyt...@gentoo.org
Python



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

2022-09-06 Thread Louis Sautier
commit: f3143451d895d1e7fef66328e2915932b681c45e
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Sep  6 16:32:02 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Sep  6 22:27:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3143451

net-irc/eggdrop: remove unused patches

Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/27164
Signed-off-by: Louis Sautier  gentoo.org>

 .../eggdrop-1.8.4-fix-array-bounds-warning.patch   | 24 -
 .../files/eggdrop-1.8.4-respect-ldflags.patch  | 39 --
 2 files changed, 63 deletions(-)

diff --git a/net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch 
b/net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch
deleted file mode 100644
index 7c6c2d6dae69..
--- a/net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/src/flags.c b/src/flags.c
-index 8cecd2898..3f0a7ea32 100644
 a/src/flags.c
-+++ b/src/flags.c
-@@ -403,7 +403,10 @@ void break_down_flags(const char *string, struct 
flag_record *plus,
-   which = plus;
-   mode++;
-   if ((mode == 2) && !(flags & (FR_CHAN | FR_BOT)))
--string = "";
-+goto breakout; /* string = ""; does not work here because we need to
-+  break out of while() / nested switch(), see
-+  "string++;" below and string = "\0"; is worse than
-+  goto */
-   else if (mode == 3)
- mode = 1;
-   break;
-@@ -447,6 +450,7 @@ void break_down_flags(const char *string, struct 
flag_record *plus,
- }
- string++;
-   }
-+breakout:
-   for (which = plus; which; which = (which == plus ? minus : 0)) {
- which->global &=USER_VALID;
- 

diff --git a/net-irc/eggdrop/files/eggdrop-1.8.4-respect-ldflags.patch 
b/net-irc/eggdrop/files/eggdrop-1.8.4-respect-ldflags.patch
deleted file mode 100644
index e41dbd664c51..
--- a/net-irc/eggdrop/files/eggdrop-1.8.4-respect-ldflags.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 36f2df10c6c39290f6896f9ad5eb9d1419a1abe3 Mon Sep 17 00:00:00 2001
-From: Michael Ortmann <41313082+michaelortm...@users.noreply.github.com>
-Date: Tue, 26 May 2020 01:08:03 +0200
-Subject: [PATCH] Respect LDFLAGS
-

- src/Makefile.in | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/Makefile.in b/src/Makefile.in
-index 6757bbc8c..c9605a049 100644
 a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -16,6 +16,7 @@ LD = @CC@
- STRIP = @STRIP@
- CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @SSL_INCLUDES@ @DEFS@ $(CFLGS)
- CPPFLAGS = @CPPFLAGS@
-+LDFLAGS = @LDFLAGS@
- 
- eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
- dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o \
-@@ -41,7 +42,7 @@ linkstart:
-   touch mod/mod.xlibs
- 
- link:
--  $(LD) $(CFLAGS) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) 
md5/md5c.o compat/*.o `cat mod/mod.xlibs`
-+  $(LD) $(CFLAGS) $(LDFLAGS) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) 
$(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`
- 
- linkfinish:
-   @$(STRIP) ../$(EGGEXEC) && \
-@@ -63,7 +64,7 @@ clean:
- main.o:
-   $(CC) $(CFLAGS) $(CPPFLAGS) \
-   '-DCCFLAGS="$(CC) $(CFLAGS) $(CPPFLAGS)"' \
--  '-DLDFLAGS="$(LD)"' \
-+  '-DLDFLAGS="$(LD) $(LDFLAGS)"' \
-   '-DSTRIPFLAGS="$(STRIP)"' -c $(srcdir)/main.c
- 
- compatibility:



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2022-08-29 Thread Louis Sautier
commit: 9dfd560bbfa8908c51c0e1f8e1858de49ae71d5c
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Aug 29 22:44:52 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Aug 29 22:47:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dfd560b

net-irc/eggdrop: add 1.9.3, EAPI=8

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 +
 net-irc/eggdrop/eggdrop-1.9.3.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index 987fe13d9f2d..e07b2f3fb04d 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,2 +1,3 @@
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
 DIST eggdrop-1.9.2.tar.gz 2296300 BLAKE2B 
ed409896718e45daab2b21c25e7f1a5a2664ef8afec7127943abb3018ce963413e714618ee730ef2c49e4542c6e87377cff405ee36ce91448335adf6c7ab5a8a
 SHA512 
67c8053a79ab5c4c418164e4e12f89a6e111b06b4e6dfdc69c52913b2f3b9a58b065a7601165112071c9ca2a778269aeb95c749a9da787c1932e6471a23146ce
+DIST eggdrop-1.9.3.tar.gz 2046726 BLAKE2B 
979190536c3c0718ef4b030d8f6df817b8ee823854c104b7d6f9009c10a7f8394d59afca40fc5c9778f130788fac7e14458d62d30a55413dea4653ca00c83f0a
 SHA512 
67d6d0f798222e54e09acb319aa4926181c34b6e4cdc2cbb4fc7a8433915a7d6281904fd190fe2ee92bcc2cb99943e3fb5b9d99831cc0bfd930205e63e33d1a1

diff --git a/net-irc/eggdrop/eggdrop-1.9.3.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.3.ebuild
new file mode 100644
index ..9114a4dc8c97
--- /dev/null
+++ b/net-irc/eggdrop/eggdrop-1.9.3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1
+
+MY_P="${PN}-${PV/_rc/rc}"
+DESCRIPTION="An IRC bot extensible with C or TCL"
+HOMEPAGE="https://www.eggheads.org/";
+SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~riscv ~sparc ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug doc ipv6 ssl static"
+
+DEPEND="
+   dev-lang/tcl:0=
+   ssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="
+   sys-apps/gentoo-functions
+   ${DEPEND}
+"
+
+DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
+
+src_configure() {
+   econf $(use_enable ssl tls) \
+   $(use_enable ipv6 ipv6)
+
+   emake config
+}
+
+src_compile() {
+   local target
+
+   if use static && use debug; then
+   target="sdebug"
+   elif use static; then
+   target="static"
+   elif use debug; then
+   target="debug"
+   fi
+
+   emake ${target}
+}
+
+src_install() {
+   emake DEST="${D}"/opt/eggdrop install
+
+   use doc && HTML_DOCS=( doc/html/. )
+   rm -r "${D}"/opt/eggdrop/doc/html || die
+   DOC_CONTENTS="
+   Additional documentation can be found
+   in ${EPREFIX}/opt/eggdrop/doc
+   "
+   readme.gentoo_create_doc
+   einstalldocs
+
+   dobin "${FILESDIR}"/eggdrop-installer
+   doman doc/man1/eggdrop.1
+}
+
+pkg_postinst() {
+   # Only display this for new installs
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2022-08-29 Thread Louis Sautier
commit: 49c42cbcbe1f4be4800d9cab1eb8072812336ff0
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Aug 29 22:45:33 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Aug 29 22:47:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c42cbc

net-irc/eggdrop: drop 1.8.4-r1

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest|  1 -
 net-irc/eggdrop/eggdrop-1.8.4-r1.ebuild | 77 -
 2 files changed, 78 deletions(-)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index 7a5a08889bdf..987fe13d9f2d 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,3 +1,2 @@
-DIST eggdrop-1.8.4.tar.gz 1784738 BLAKE2B 
a86cdc681ebd9c779b7da20f80ff312e4fc848e0cb0a0b9fa34941c91e1b89db1430126e3d0b94c7b4346c0bde099a6ddd343270943570744c46fc4ddd451540
 SHA512 
d08af09dc83045bf89eae957e7817591f16456f83ba3efe6b361fd421a3d4068348543275c26b27b006f09f06344c04cdf58ee4231f1aee0e7537ec39bc24b49
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
 DIST eggdrop-1.9.2.tar.gz 2296300 BLAKE2B 
ed409896718e45daab2b21c25e7f1a5a2664ef8afec7127943abb3018ce963413e714618ee730ef2c49e4542c6e87377cff405ee36ce91448335adf6c7ab5a8a
 SHA512 
67c8053a79ab5c4c418164e4e12f89a6e111b06b4e6dfdc69c52913b2f3b9a58b065a7601165112071c9ca2a778269aeb95c749a9da787c1932e6471a23146ce

diff --git a/net-irc/eggdrop/eggdrop-1.8.4-r1.ebuild 
b/net-irc/eggdrop/eggdrop-1.8.4-r1.ebuild
deleted file mode 100644
index e1c6469a9632..
--- a/net-irc/eggdrop/eggdrop-1.8.4-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit readme.gentoo-r1
-
-DESCRIPTION="An IRC bot extensible with C or TCL"
-HOMEPAGE="https://www.eggheads.org/";
-SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${P}.tar.gz";
-
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc sparc x86"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="debug doc ipv6 ssl static"
-
-DEPEND="
-   dev-lang/tcl:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-RDEPEND="
-   sys-apps/gentoo-functions
-   ${DEPEND}
-"
-
-PATCHES=(
-   # https://github.com/eggheads/eggdrop/pull/986
-   "${FILESDIR}/${P}-respect-ldflags.patch"
-   # https://github.com/eggheads/eggdrop/pull/841
-   "${FILESDIR}/${P}-fix-array-bounds-warning.patch"
-)
-
-DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
-
-src_configure() {
-   econf $(use_enable ssl tls) \
-   $(use_enable ipv6 ipv6)
-
-   emake config
-}
-
-src_compile() {
-   local target
-
-   if use static && use debug; then
-   target="sdebug"
-   elif use static; then
-   target="static"
-   elif use debug; then
-   target="debug"
-   fi
-
-   emake ${target}
-}
-
-src_install() {
-   emake DEST="${D}"/opt/eggdrop install
-
-   use doc && HTML_DOCS=( doc/html/. )
-   rm -r "${D}"/opt/eggdrop/doc/html || die
-   DOC_CONTENTS="
-   Additional documentation can be found
-   in ${EPREFIX}/opt/eggdrop/doc
-   "
-   readme.gentoo_create_doc
-   einstalldocs
-
-   dobin "${FILESDIR}"/eggdrop-installer
-   doman doc/man1/eggdrop.1
-}
-
-pkg_postinst() {
-   # Only display this for new installs
-   if [[ -z ${REPLACING_VERSIONS} ]]; then
-   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/

2022-08-24 Thread Louis Sautier
commit: 9b968463c83825d7a175eae0d4c675787ffeef9a
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Aug 24 10:37:03 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Aug 24 10:37:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b968463

net-nntp/nzbget: drop 21.0-r2

Signed-off-by: Louis Sautier  gentoo.org>

 net-nntp/nzbget/Manifest  |   1 -
 net-nntp/nzbget/nzbget-21.0-r2.ebuild | 112 --
 2 files changed, 113 deletions(-)

diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest
index 3f73bd02833c..c4912cd5ee43 100644
--- a/net-nntp/nzbget/Manifest
+++ b/net-nntp/nzbget/Manifest
@@ -1,2 +1 @@
-DIST nzbget-21.0.tar.gz 1988902 BLAKE2B 
ee9204a978502562348dc4945e19b084d8d17f566099cfe7e95dac154ffac6d772084c9c070fba0d585cd2229d0a5760b3298ef29eba52d7c75edbc9fe43e310
 SHA512 
bbee5073a2788a17d78009b7ae0c41473aa4d8424301e7e62b2544dc8993e1e3b6e1026dd9f71af5627293d2113d8637a4a6138eee0a328554df298117dd6bb3
 DIST nzbget-21.1.tar.gz 1988916 BLAKE2B 
74298c5c7f3986831f36832a8ffe596543196b5b46500925de478bf11cab8e66fb36dee9458533a4194d82123765b29e37914463d72fd206e218b4875861001a
 SHA512 
d8dc1ad324f675c5505e623049a14c022475267aa03dcd5d8fd6cf9ed3b776cc2776077b61d035e252937ea4b6bf8f90bd33e715cfd842d2e012615df3ffeafb

diff --git a/net-nntp/nzbget/nzbget-21.0-r2.ebuild 
b/net-nntp/nzbget/nzbget-21.0-r2.ebuild
deleted file mode 100644
index fa2ce4072770..
--- a/net-nntp/nzbget/nzbget-21.0-r2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-MY_PV=${PV/_pre/-r}
-MY_P=${PN}-${PV/_pre/-testing-r}
-
-DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files"
-HOMEPAGE="https://nzbget.net/";
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-src.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 arm ppc x86"
-IUSE="debug gnutls ncurses +parcheck ssl test zlib"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/libxml2:=
-   ncurses? ( sys-libs/ncurses:0= )
-   ssl? (
-   gnutls? (
-   net-libs/gnutls:=
-   dev-libs/nettle:=
-   )
-   !gnutls? ( dev-libs/openssl:0=[-bindist(-)] )
-   )
-   zlib? ( sys-libs/zlib:= )"
-RDEPEND="
-   ${DEPEND}
-   acct-user/nzbget
-   acct-group/nzbget
-"
-BDEPEND="
-   test? (
-   || (
-   app-arch/rar
-   app-arch/unrar
-   )
-   )
-   virtual/pkgconfig
-"
-DOCS=( ChangeLog README nzbget.conf )
-
-S=${WORKDIR}/${PN}-${PV/_pre*/-testing}
-
-src_prepare() {
-   default
-   eautoreconf
-
-   sed -i 's:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' 
nzbget.conf || die
-
-   sed \
-   -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \
-   -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \
-   -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \
-   -e 
's:^ConfigTemplate=.*:ConfigTemplate=/usr/share/nzbget/nzbget.conf:' \
-   -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \
-   nzbget.conf > nzbgetd.conf || die
-}
-
-src_configure() {
-   local myconf=(
-   $(use_enable debug)
-   $(use_enable ncurses curses)
-   $(use_enable parcheck)
-   $(use_enable ssl tls)
-   $(use_enable zlib gzip)
-   $(use_enable test tests)
-   --with-tlslib=$(usex gnutls GnuTLS OpenSSL)
-   )
-   econf "${myconf[@]}"
-}
-
-src_test() {
-   ./nzbget --tests || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   insinto /etc
-   doins nzbget.conf
-   doins nzbgetd.conf
-
-   keepdir /var/log/nzbget
-
-   newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget
-   newconfd "${FILESDIR}"/nzbget.confd nzbget
-   systemd_dounit "${FILESDIR}"/nzbget.service
-}
-
-pkg_preinst() {
-   fowners nzbget:nzbget /var/log/nzbget
-   fperms 750 /var/log/nzbget
-
-   fowners nzbget:nzbget /etc/nzbgetd.conf
-   fperms 640 /etc/nzbgetd.conf
-}
-
-pkg_postinst() {
-   if [[ -z ${REPLACING_VERSIONS} ]] ; then
-   elog
-   elog "Please add users that you want to be able to use the 
system-wide"
-   elog "nzbget daemon to the nzbget group. To access the daemon, 
run nzbget"
-   elog "with the --configfile /etc/nzbgetd.conf option."
-   elog
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/, net-nntp/nzbget/

2022-08-24 Thread Louis Sautier
commit: c1be114570a325d593fcc30c72e197e7fa015c52
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Aug 24 10:35:25 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Aug 24 10:39:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1be1145

net-nntp/nzbget: fix build with OpenSSL 3, bump to EAPI 8

Closes: https://bugs.gentoo.org/805896
Signed-off-by: Louis Sautier  gentoo.org>

 net-nntp/nzbget/files/nzbget-21.1-openssl-3.patch |  28 +
 net-nntp/nzbget/nzbget-21.1-r2.ebuild | 118 ++
 2 files changed, 146 insertions(+)

diff --git a/net-nntp/nzbget/files/nzbget-21.1-openssl-3.patch 
b/net-nntp/nzbget/files/nzbget-21.1-openssl-3.patch
new file mode 100644
index ..d1d89e9260c0
--- /dev/null
+++ b/net-nntp/nzbget/files/nzbget-21.1-openssl-3.patch
@@ -0,0 +1,28 @@
+From f76e804e3af4cf8dd4a8c8e374b3ca025099 Mon Sep 17 00:00:00 2001
+From: Simon Chopin 
+Date: Tue, 7 Dec 2021 13:23:21 +0100
+Subject: [PATCH] daemon:connect: don't use FIPS_mode_set with OpenSSL 3
+
+This function has been removed in OpenSSL 3, replaced by
+EVP_default_properties_enable_fips. See
+https://www.openssl.org/docs/man3.0/man7/migration_guide.html
+---
+ daemon/connect/TlsSocket.cpp | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/daemon/connect/TlsSocket.cpp b/daemon/connect/TlsSocket.cpp
+index 544bf6850..831da0dc0 100644
+--- a/daemon/connect/TlsSocket.cpp
 b/daemon/connect/TlsSocket.cpp
+@@ -189,7 +189,11 @@ void TlsSocket::Final()
+ 
+ #ifdef HAVE_OPENSSL
+ #ifndef LIBRESSL_VERSION_NUMBER
++#if OPENSSL_VERSION_NUMBER < 0x3000L
+   FIPS_mode_set(0);
++#else
++  EVP_default_properties_enable_fips(NULL, 0);
++#endif
+ #endif
+ #ifdef NEED_CRYPTO_LOCKING
+   CRYPTO_set_locking_callback(nullptr);

diff --git a/net-nntp/nzbget/nzbget-21.1-r2.ebuild 
b/net-nntp/nzbget/nzbget-21.1-r2.ebuild
new file mode 100644
index ..a7d5afecaf9a
--- /dev/null
+++ b/net-nntp/nzbget/nzbget-21.1-r2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+MY_PV=${PV/_pre/-r}
+MY_P=${PN}-${PV/_pre/-testing-r}
+
+DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files"
+HOMEPAGE="https://nzbget.net/";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-src.tar.gz
 -> ${P}.tar.gz"
+S=${WORKDIR}/${PN}-${PV/_pre*/-testing}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="debug gnutls ncurses +parcheck ssl test zlib"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/libxml2:=
+   ncurses? ( sys-libs/ncurses:0= )
+   ssl? (
+   gnutls? (
+   net-libs/gnutls:=
+   dev-libs/nettle:=
+   )
+   !gnutls? ( dev-libs/openssl:0=[-bindist(-)] )
+   )
+   zlib? ( sys-libs/zlib:= )"
+RDEPEND="
+   ${DEPEND}
+   acct-user/nzbget
+   acct-group/nzbget
+"
+BDEPEND="
+   test? (
+   || (
+   app-arch/rar
+   app-arch/unrar
+   )
+   )
+   virtual/pkgconfig
+"
+
+DOCS=( ChangeLog README nzbget.conf )
+
+PATCHES=(
+   # https://bugs.gentoo.org/805896
+   # https://github.com/nzbget/nzbget/pull/793
+   "${FILESDIR}/${P}-openssl-3.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+
+   sed -i 's:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' 
nzbget.conf || die
+
+   sed \
+   -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \
+   -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \
+   -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \
+   -e 
's:^ConfigTemplate=.*:ConfigTemplate=/usr/share/nzbget/nzbget.conf:' \
+   -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \
+   nzbget.conf > nzbgetd.conf || die
+}
+
+src_configure() {
+   local myconf=(
+   $(use_enable debug)
+   $(use_enable ncurses curses)
+   $(use_enable parcheck)
+   $(use_enable ssl tls)
+   $(use_enable zlib gzip)
+   $(use_enable test tests)
+   --with-tlslib=$(usex gnutls GnuTLS OpenSSL)
+   )
+   econf "${myconf[@]}"
+}
+
+src_test() {
+   ./nzbget --tests || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   insinto /etc
+   doins nzbget.conf
+   doins nzbgetd.conf
+
+   keepdir /var/log/nzbget
+
+   newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget
+   newconfd "${FILESDIR}"/nzbget.confd nzbget
+   systemd_d

[gentoo-commits] repo/gentoo:master commit in: net-irc/znc/

2022-08-07 Thread Louis Sautier
commit: da03374202ee2271360c87bb10e896f8d344c9c3
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Aug  7 15:55:50 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Aug  7 16:00:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da033742

net-irc/znc: drop 1.8.2

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/znc/znc-1.8.2.ebuild | 181 ---
 1 file changed, 181 deletions(-)

diff --git a/net-irc/znc/znc-1.8.2.ebuild b/net-irc/znc/znc-1.8.2.ebuild
deleted file mode 100644
index 8993eb8037d9..
--- a/net-irc/znc/znc-1.8.2.ebuild
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake python-single-r1 readme.gentoo-r1 systemd
-
-GTEST_VER="1.8.1"
-GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> 
gtest-${GTEST_VER}.tar.gz"
-DESCRIPTION="An advanced IRC Bouncer"
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/znc/znc.git"}
-   SRC_URI=""
-else
-   MY_PV=${PV/_/-}
-   MY_P=${PN}-${MY_PV}
-   SRC_URI="
-   https://znc.in/releases/archive/${MY_P}.tar.gz
-   test? ( ${GTEST_URL} )
-   "
-   KEYWORDS="amd64 arm arm64 x86"
-   S=${WORKDIR}/${MY_P}
-fi
-
-HOMEPAGE="https://znc.in";
-LICENSE="Apache-2.0"
-# "If you upgrade your ZNC version, you must recompile all your modules."
-# - https://wiki.znc.in/Compiling_modules
-SLOT="0/${PV}"
-IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
-
-DEPEND="
-   icu? ( dev-libs/icu:= )
-   nls? ( dev-libs/boost:=[nls] )
-   perl? ( >=dev-lang/perl-5.10:= )
-   python? ( ${PYTHON_DEPS} )
-   sasl? ( >=dev-libs/cyrus-sasl-2 )
-   ssl? ( dev-libs/openssl:0= )
-   tcl? ( dev-lang/tcl:0= )
-   zlib? ( sys-libs/zlib:0= )
-"
-RDEPEND="
-   ${DEPEND}
-   acct-user/znc
-   acct-group/znc
-"
-BDEPEND="
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   perl? (
-   >=dev-lang/swig-3.0.0
-   >=dev-lang/perl-5.10
-   )
-   python? (
-   >=dev-lang/swig-3.0.0
-   >=dev-lang/perl-5.10
-   )
-   test? (
-   ${PYTHON_DEPS}
-   dev-qt/qtnetwork:5
-   )
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.7.1-inttest-dir.patch )
-
-pkg_setup() {
-   if use python; then
-   python-single-r1_pkg_setup
-   fi
-}
-
-src_prepare() {
-   # Let SWIG rebuild modperl/modpython to make user patching easier.
-   if [[ ${PV} != ** ]]; then
-   rm modules/modperl/generated.tar.gz || die
-   rm modules/modpython/generated.tar.gz || die
-   fi
-
-   sed -i -e "s|DZNC_BIN_DIR:path=|DZNC_BIN_DIR:path=${T}/inttest|" \
-   test/CMakeLists.txt || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DWANT_SYSTEMD=yes  # Causes -DSYSTEMD_DIR to be used.
-   -DSYSTEMD_DIR="$(systemd_get_systemunitdir)"
-   -DWANT_ICU="$(usex icu)"
-   -DWANT_IPV6="$(usex ipv6)"
-   -DWANT_I18N="$(usex nls)"
-   -DWANT_PERL="$(usex perl)"
-   -DWANT_PYTHON="$(usex python)"
-   -DWANT_CYRUS="$(usex sasl)"
-   -DWANT_OPENSSL="$(usex ssl)"
-   -DWANT_TCL="$(usex tcl)"
-   -DWANT_ZLIB="$(usex zlib)"
-   )
-
-   if [[ ${PV} != ** ]] && use test; then
-   export 
GTEST_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googletest"
-   export 
GMOCK_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googlemock"
-   fi
-
-   cmake_src_configure
-}
-
-src_test() {
-   cmake_build unittest
-   DESTDIR="${T}/inttest" cmake_build install
-   local filter='-'
-   if ! use perl; then
-   filter="${filter}:ZNCTest.Modperl*"
-   fi
-   if ! use python; then
-   filter="${filter}:ZNCTest.Modpython*"
-   fi
-   # CMAKE_PREFIX_PATH and CXXFLAGS are needed for znc-buildmod
-   # invocations from inside the test
-   GTEST_FILTER="${filter}" ZNC_UNUSUAL_ROOT="${T}/inttest" \
-   CMAKE_PREFIX_PATH="${T}/inttest/usr/share/znc/cmake" \
-   CXXFLAGS="

[gentoo-commits] repo/gentoo:master commit in: net-irc/znc/

2022-08-07 Thread Louis Sautier
commit: b820f2afc2b1fb551ea4443569ad123c0a1cbec6
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Aug  7 15:55:20 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Aug  7 16:00:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b820f2af

net-irc/znc: update EAPI 7 -> 8, add Python 3.11

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/znc/znc-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-irc/znc/znc-.ebuild b/net-irc/znc/znc-.ebuild
index 018091f6423e..fc85afa7b5a1 100644
--- a/net-irc/znc/znc-.ebuild
+++ b/net-irc/znc/znc-.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit cmake python-single-r1 readme.gentoo-r1 systemd
 



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

2022-08-07 Thread Louis Sautier
commit: 7dd0463d8d7d3a9b80c6a702e8ad561de31db674
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Aug  7 15:51:33 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Aug  7 16:00:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd0463d

net-irc/znc: fix build with -Werror=odr, add py3.11, EAPI 8

Closes: https://bugs.gentoo.org/861470
Signed-off-by: Louis Sautier  gentoo.org>

 .../znc/files/znc-1.8.2-fix-odr-violation.patch|  56 ++
 net-irc/znc/znc-1.8.2-r2.ebuild| 195 +
 2 files changed, 251 insertions(+)

diff --git a/net-irc/znc/files/znc-1.8.2-fix-odr-violation.patch 
b/net-irc/znc/files/znc-1.8.2-fix-odr-violation.patch
new file mode 100644
index ..967d6e35c2ea
--- /dev/null
+++ b/net-irc/znc/files/znc-1.8.2-fix-odr-violation.patch
@@ -0,0 +1,56 @@
+From 3e45b2f35f194100ec3293c7f3e36f95f48b0cb8 Mon Sep 17 00:00:00 2001
+From: Uli Schlachter 
+Date: Fri, 5 Aug 2022 16:12:40 +0200
+Subject: [PATCH] Fix an ODR violation
+
+Building with CFLAGS="-flto -Werror=odr -Werror=lto-type-mismatch
+-Werror=strict-aliasing" CXXFLAGS="-flto -Werror=odr
+-Werror=lto-type-mismatch -Werror=strict-aliasing" LDFLAGS=-flto fails
+due to a violation of the one definition rule. There are two different
+definitions of TOption that are both linked into the znc binary.
+
+Fix this by putting them into anonymous namespaces.
+
+Fixes: https://github.com/znc/znc/issues/1834
+Signed-off-by: Uli Schlachter 
+---
+ src/IRCNetwork.cpp | 2 ++
+ src/User.cpp   | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/src/IRCNetwork.cpp b/src/IRCNetwork.cpp
+index 46a2481a49..99f9242907 100644
+--- a/src/IRCNetwork.cpp
 b/src/IRCNetwork.cpp
+@@ -363,11 +363,13 @@ CString CIRCNetwork::GetNetworkPath() const {
+ return sNetworkPath;
+ }
+ 
++namespace {
+ template 
+ struct TOption {
+ const char* name;
+ void (CIRCNetwork::*pSetter)(T);
+ };
++}
+ 
+ bool CIRCNetwork::ParseConfig(CConfig* pConfig, CString& sError,
+   bool bUpgrade) {
+diff --git a/src/User.cpp b/src/User.cpp
+index 2ab5fac66f..16624adbbe 100644
+--- a/src/User.cpp
 b/src/User.cpp
+@@ -135,11 +135,13 @@ CUser::~CUser() {
+ CZNC::Get().AddBytesWritten(m_uBytesWritten);
+ }
+ 
++namespace {
+ template 
+ struct TOption {
+ const char* name;
+ void (CUser::*pSetter)(T);
+ };
++}
+ 
+ bool CUser::ParseConfig(CConfig* pConfig, CString& sError) {
+ TOption StringOptions[] = {

diff --git a/net-irc/znc/znc-1.8.2-r2.ebuild b/net-irc/znc/znc-1.8.2-r2.ebuild
new file mode 100644
index ..fab250986d5e
--- /dev/null
+++ b/net-irc/znc/znc-1.8.2-r2.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake python-single-r1 readme.gentoo-r1 systemd
+
+GTEST_VER="1.8.1"
+GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> 
gtest-${GTEST_VER}.tar.gz"
+DESCRIPTION="An advanced IRC Bouncer"
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/znc/znc.git";
+else
+   MY_PV=${PV/_/-}
+   MY_P=${PN}-${MY_PV}
+   SRC_URI="
+   https://znc.in/releases/archive/${MY_P}.tar.gz
+   test? ( ${GTEST_URL} )
+   "
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+   S=${WORKDIR}/${MY_P}
+fi
+
+HOMEPAGE="https://znc.in";
+LICENSE="Apache-2.0"
+# "If you upgrade your ZNC version, you must recompile all your modules."
+# - https://wiki.znc.in/Compiling_modules
+SLOT="0/${PV}"
+IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
+
+# perl is a build-time dependency of modpython
+BDEPEND="
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   perl? (
+   >=dev-lang/swig-3.0.0
+   >=dev-lang/perl-5.10
+   )
+   python? (
+   >=dev-lang/swig-3.0.0
+   >=dev-lang/perl-5.10
+   )
+   test? (
+   ${PYTHON_DEPS}
+   dev-qt/qtnetwork:5
+   )
+"
+DEPEND="
+   icu? ( dev-libs/icu:= )
+   nls? ( dev-libs/boost:=[nls] )
+   perl? ( >=dev-lang/perl-5.10:= )
+   python? ( ${PYTHON_DEPS} )
+   sasl? ( >=dev-libs/cyrus-sasl-2 )
+   ssl? ( dev-libs/openssl:0= )
+   tcl? ( dev-lang/tcl:0= )
+   zlib? ( sys-libs/zlib:0= )
+"
+RDEPEND="
+   ${DEPEND}
+   acct-user/znc
+   acct-group/znc
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.7.1-inttest-dir.patch
+   # All these are backports
+   "${

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

2022-06-19 Thread Louis Sautier
commit: 907001799716ce909007b8ecb7540c8bf8895efa
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jun 19 16:53:12 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Jun 19 16:53:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90700179

dev-python/humanize: add 4.2.0

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/humanize/Manifest  |  1 +
 dev-python/humanize/humanize-4.2.0.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest
index cba3b1e01242..56452d90703d 100644
--- a/dev-python/humanize/Manifest
+++ b/dev-python/humanize/Manifest
@@ -1 +1,2 @@
 DIST humanize-4.1.0.tar.gz 73777 BLAKE2B 
fcbde90977ae9fcd706e423767b1d5617fd118ae8903283f4b307ee05a5adffb3bb68305e5d758b1860d37a37d22766127d84479d331a7ed05c83cd53e5b0829
 SHA512 
7e2d92ed44e773bd8a53d4b151e80949fda057d8f4a52003826efa9ec2a569360b76663d44c3d1239fd2ecdd5365357d3fac72a395d1c10d5207b4a27f248878
+DIST humanize-4.2.0.tar.gz 75169 BLAKE2B 
dc590d296362be20f607282686e18df73e1bb07aa37459431d7ec1f74ff6611497811da974b7eb62cd791536268018460d9171eb65ed958af6f12f668b3ae2a8
 SHA512 
ac0a067320d4dc236d97a69a3019cf01ce87efe2cb98e758f516f90986352fe87d03bfa497d66a2a75e61152a35fd8fac827bafd926d6bd84c8f0d2366e5beb7

diff --git a/dev-python/humanize/humanize-4.2.0.ebuild 
b/dev-python/humanize/humanize-4.2.0.ebuild
new file mode 100644
index ..b471878fc311
--- /dev/null
+++ b/dev-python/humanize/humanize-4.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Common humanization utilities"
+HOMEPAGE="
+   https://github.com/python-humanize/humanize/
+   https://pypi.org/project/humanize/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/freezegun[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/

2022-04-26 Thread Louis Sautier
commit: 027abfdc9fe9946c47318f5749c4629ed5d04c9c
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Apr 26 11:49:48 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Apr 26 12:00:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=027abfdc

media-video/gaupol: fix startup of v1.11

The switch to PEP517 broke the DATA_DIR constant, reverting for now.

Bug: https://bugs.gentoo.org/839267
Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/{gaupol-1.11.ebuild => gaupol-1.11-r1.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-video/gaupol/gaupol-1.11.ebuild 
b/media-video/gaupol/gaupol-1.11-r1.ebuild
similarity index 98%
rename from media-video/gaupol/gaupol-1.11.ebuild
rename to media-video/gaupol/gaupol-1.11-r1.ebuild
index b895c8078cc1..b8c6438c17c7 100644
--- a/media-video/gaupol/gaupol-1.11.ebuild
+++ b/media-video/gaupol/gaupol-1.11-r1.ebuild
@@ -4,7 +4,6 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1 virtualx xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/

2022-04-03 Thread Louis Sautier
commit: afc3c652a75711ee59bbbda424f251fec9626fee
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Apr  3 11:08:59 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Apr  3 11:08:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc3c652

media-video/gaupol: drop 1.9

Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/Manifest  |  1 -
 media-video/gaupol/gaupol-1.9.ebuild | 65 
 2 files changed, 66 deletions(-)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 385c02b6e75d..2f9ae2bc5fad 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,3 +1,2 @@
 DIST gaupol-1.10.1.tar.gz 580890 BLAKE2B 
eb3f5bc3f9ec371d4169a9517f83bd42371aa41532f99f650b51e4649f813f0a37c0de5a01f69ee0c73f38cf2b57dd3260b5cac88f4c09785e86da2ec82c0cba
 SHA512 
f294ea10c73dcf9941f70988ae58066917d7b321141e3a3ba3e12810e5f20a4711feca45d354dddc0e104a1ee2496fad24e529b129bdeee1cdb92010ec20be1d
 DIST gaupol-1.11.tar.gz 581799 BLAKE2B 
d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e
 SHA512 
8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
-DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/gaupol-1.9.ebuild 
b/media-video/gaupol/gaupol-1.9.ebuild
deleted file mode 100644
index 1bbf9094611d..
--- a/media-video/gaupol/gaupol-1.9.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1 virtualx xdg-utils
-
-DESCRIPTION="A subtitle editor for text-based subtitles"
-HOMEPAGE="https://otsaloma.io/gaupol/";
-SRC_URI="https://github.com/otsaloma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86"
-IUSE="spell"
-
-RDEPEND="
-   app-text/iso-codes
-   dev-python/chardet[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   x11-libs/gtk+:3[introspection]
-   spell? ( app-text/gspell[introspection] )
-"
-BDEPEND="
-   sys-devel/gettext
-   test? (
-   app-dicts/myspell-en
-   app-text/enchant[hunspell]
-   app-text/gspell[introspection]
-   )
-"
-
-distutils_enable_tests pytest
-
-DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md )
-
-python_test() {
-   virtx pytest -vv
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   xdg_icon_cache_update
-   if [[ -z ${REPLACING_VERSIONS} ]]; then
-   elog "The integrated video player requires 
media-plugins/gst-plugins-gtk."
-   elog ""
-   elog "External video previewing support requires MPV, MPlayer 
or VLC."
-   if use spell; then
-   elog ""
-   elog "Spell-checking requires a dictionary, any of 
app-dicts/myspell-*"
-   elog "or app-text/aspell with the appropriate L10N 
variable."
-   elog ""
-   elog "Additionally, make sure that app-text/enchant has 
the correct flags enabled:"
-   elog "USE=hunspell for myspell dictionaries and 
USE=aspell for aspell dictionaries."
-   fi
-   fi
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   xdg_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/

2022-04-03 Thread Louis Sautier
commit: 1af98b8fdd8a94cfcddcd128882a9e781c2fbf32
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Apr  3 11:04:15 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Apr  3 11:05:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af98b8f

media-video/gaupol: add 1.11

Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/Manifest   |  1 +
 media-video/gaupol/gaupol-1.11.ebuild | 65 +++
 2 files changed, 66 insertions(+)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index a9483cc3e913..385c02b6e75d 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,2 +1,3 @@
 DIST gaupol-1.10.1.tar.gz 580890 BLAKE2B 
eb3f5bc3f9ec371d4169a9517f83bd42371aa41532f99f650b51e4649f813f0a37c0de5a01f69ee0c73f38cf2b57dd3260b5cac88f4c09785e86da2ec82c0cba
 SHA512 
f294ea10c73dcf9941f70988ae58066917d7b321141e3a3ba3e12810e5f20a4711feca45d354dddc0e104a1ee2496fad24e529b129bdeee1cdb92010ec20be1d
+DIST gaupol-1.11.tar.gz 581799 BLAKE2B 
d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e
 SHA512 
8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
 DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/gaupol-1.11.ebuild 
b/media-video/gaupol/gaupol-1.11.ebuild
new file mode 100644
index ..b895c8078cc1
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.11.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 virtualx xdg-utils
+
+DESCRIPTION="A subtitle editor for text-based subtitles"
+HOMEPAGE="https://otsaloma.io/gaupol/";
+SRC_URI="https://github.com/otsaloma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="spell"
+
+RDEPEND="
+   app-text/iso-codes
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   x11-libs/gtk+:3[introspection]
+   spell? ( app-text/gspell[introspection] )
+"
+BDEPEND="
+   sys-devel/gettext
+   test? (
+   app-dicts/myspell-en
+   app-text/enchant[hunspell]
+   app-text/gspell[introspection]
+   )
+"
+
+distutils_enable_tests pytest
+
+DOCS=( AUTHORS.md NEWS.md README.md README.aeidon.md )
+
+python_test() {
+   virtx epytest
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "The integrated video player requires 
media-plugins/gst-plugins-gtk."
+   elog ""
+   elog "External video previewing support requires MPV, MPlayer 
or VLC."
+   if use spell; then
+   elog ""
+   elog "Spell-checking requires a dictionary, any of 
app-dicts/myspell-*"
+   elog "or app-text/aspell with the appropriate L10N 
variable."
+   elog ""
+   elog "Additionally, make sure that app-text/enchant has 
the correct flags enabled:"
+   elog "USE=hunspell for myspell dictionaries and 
USE=aspell for aspell dictionaries."
+   fi
+   fi
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2022-03-17 Thread Louis Sautier
commit: 768073cdc316945b180f492d501e35c7da23c475
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Mar 17 12:30:03 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Mar 17 12:30:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768073cd

www-misc/urlwatch: add 2.25

Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/Manifest |  1 +
 www-misc/urlwatch/urlwatch-2.25.ebuild | 75 ++
 2 files changed, 76 insertions(+)

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index 544bd35fcf03..c158afbf37c1 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,3 +1,4 @@
 DIST urlwatch-2.22.tar.gz 136306 BLAKE2B 
e7f10872e5d7f42ec0ac1073783431c4b0e4fcdcf40884a9f7f52aee36705fbdbaaf5f9e671223715040c6f68cc580f531ba753c9326a2b1380d2fb707f66f1c
 SHA512 
f2c1e0d279689d1e5761203ba139614b972c6266c30877262d59759b0ce63342a820a063f001039848427ea4af4325505c636762cdedb3dc60ebd09e859914f4
 DIST urlwatch-2.23.tar.gz 137917 BLAKE2B 
330c52cad62985d24b2cc4c7345156abe9d5d369f8b3f4402856eb96a98f75422de49045bc10910e5cc81306744aad2dce7c05667a6f4eeb22b2bba47869f260
 SHA512 
e54f8fe2d8307ca9f2f222e6a2082d517a330db60e410b7c991283a2bf88aa861306965b23ca644811aa69425ec2281f7f48d5e34047b808c0897f45ffc7fcbc
 DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
+DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca

diff --git a/www-misc/urlwatch/urlwatch-2.25.ebuild 
b/www-misc/urlwatch/urlwatch-2.25.ebuild
new file mode 100644
index ..4132a3152dba
--- /dev/null
+++ b/www-misc/urlwatch/urlwatch-2.25.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool for monitoring webpages for updates"
+HOMEPAGE="https://thp.io/2008/urlwatch/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/appdirs[${PYTHON_USEDEP}]
+   dev-python/cssselect[${PYTHON_USEDEP}]
+   dev-python/keyring[${PYTHON_USEDEP}]
+   dev-python/lxml[${PYTHON_USEDEP}]
+   >=dev-python/minidb-2.0.6[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/jq[${PYTHON_USEDEP}]
+   )
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+distutils_enable_sphinx docs/source dev-python/alabaster
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+   # Require the pdftotext module
+   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf]";
+   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf]";
+   # Requires the pytesseract module
+   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png]";
+   # Fail because of argv parsing: 
https://github.com/thp/urlwatch/issues/677
+   "lib/urlwatch/tests/test_handler.py::test_run_watcher"
+   
"lib/urlwatch/tests/test_handler.py::test_number_of_tries_in_cache_is_increased"
+   
"lib/urlwatch/tests/test_handler.py::test_report_error_when_out_of_tries"
+   
"lib/urlwatch/tests/test_handler.py::test_reset_tries_to_zero_when_successful"
+   # Skip code quality check
+   "lib/urlwatch/tests/test_handler.py::test_pep8_conformance"
+)
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   if ! has_version dev-python/chump; then
+   elog "Install 'dev-python/chump' to enable Pushover" \
+   "notifications support"
+   fi
+   if ! has_version dev-python/jq; then
+   elog "Install 'dev-python/jq' to enable jq filtering 
support"
+   fi
+   if ! has_version dev-python/pushbullet-py; then
+   elog "Install 'dev-python/pushbullet-py' to enable" \

[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2022-03-17 Thread Louis Sautier
commit: b97f5ec6b40bb99fc7e43e7155691e6659fa0966
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Mar 17 12:32:54 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Mar 17 12:32:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97f5ec6

www-misc/urlwatch: drop 2.23

Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/Manifest |  1 -
 www-misc/urlwatch/urlwatch-2.23.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index c158afbf37c1..b39491bccf29 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,4 +1,3 @@
 DIST urlwatch-2.22.tar.gz 136306 BLAKE2B 
e7f10872e5d7f42ec0ac1073783431c4b0e4fcdcf40884a9f7f52aee36705fbdbaaf5f9e671223715040c6f68cc580f531ba753c9326a2b1380d2fb707f66f1c
 SHA512 
f2c1e0d279689d1e5761203ba139614b972c6266c30877262d59759b0ce63342a820a063f001039848427ea4af4325505c636762cdedb3dc60ebd09e859914f4
-DIST urlwatch-2.23.tar.gz 137917 BLAKE2B 
330c52cad62985d24b2cc4c7345156abe9d5d369f8b3f4402856eb96a98f75422de49045bc10910e5cc81306744aad2dce7c05667a6f4eeb22b2bba47869f260
 SHA512 
e54f8fe2d8307ca9f2f222e6a2082d517a330db60e410b7c991283a2bf88aa861306965b23ca644811aa69425ec2281f7f48d5e34047b808c0897f45ffc7fcbc
 DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
 DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca

diff --git a/www-misc/urlwatch/urlwatch-2.23.ebuild 
b/www-misc/urlwatch/urlwatch-2.23.ebuild
deleted file mode 100644
index 42129d86b8d9..
--- a/www-misc/urlwatch/urlwatch-2.23.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A tool for monitoring webpages for updates"
-HOMEPAGE="https://thp.io/2008/urlwatch/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   dev-python/appdirs[${PYTHON_USEDEP}]
-   dev-python/cssselect[${PYTHON_USEDEP}]
-   dev-python/keyring[${PYTHON_USEDEP}]
-   dev-python/lxml[${PYTHON_USEDEP}]
-   dev-python/minidb[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/docutils[${PYTHON_USEDEP}]
-   )
-"
-
-DOCS=( CHANGELOG.md README.md )
-
-distutils_enable_sphinx docs/source dev-python/alabaster
-distutils_enable_tests pytest
-
-python_test() {
-   local skipped_tests=(
-   # Require the pdftotext module
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf-job12]";
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf-job13]";
-   # Require the pytesseract module
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png-job26]";
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png-job27]";
-   # Requires the jq module
-   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/jobs.json-job28]";
-   # Skip code quality check
-   "lib/urlwatch/tests/test_handler.py::test_pep8_conformance"
-   )
-   epytest ${skipped_tests[@]/#/--deselect }
-}
-
-pkg_postinst() {
-   if [[ -z "${REPLACING_VERSIONS}" ]]; then
-   if ! has_version dev-python/chump; then
-   elog "Install 'dev-python/chump' to enable Pushover" \
-   "notifications support"
-   fi
-   if ! has_version dev-python/pushbullet-py; then
-   elog "Install 'dev-python/pushbullet-py' to enable" \
-   "Pushbullet notifications support"
-   fi
-   elog "HTML parsing can be improved by installing one of the 
following packages"
-   elog "and changing the html2text subfilter parameter:"
-   elog "dev-python/beautifulsoup4"
-   elog "app-text/html2text"
-   elog "dev-python/html2text"
-   elog "www-client/lynx"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2022-03-05 Thread Louis Sautier
commit: 61624e9d528489f1b2e7d1bf0611c787a19b1fcc
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Mar  6 01:16:56 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Mar  6 01:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61624e9d

net-irc/eggdrop: add 1.9.2

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 +
 net-irc/eggdrop/eggdrop-1.9.2.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index 4dd5422d36f6..be05d000f269 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,3 +1,4 @@
 DIST eggdrop-1.8.4.tar.gz 1784738 BLAKE2B 
a86cdc681ebd9c779b7da20f80ff312e4fc848e0cb0a0b9fa34941c91e1b89db1430126e3d0b94c7b4346c0bde099a6ddd343270943570744c46fc4ddd451540
 SHA512 
d08af09dc83045bf89eae957e7817591f16456f83ba3efe6b361fd421a3d4068348543275c26b27b006f09f06344c04cdf58ee4231f1aee0e7537ec39bc24b49
 DIST eggdrop-1.9.0.tar.gz 2206230 BLAKE2B 
1c6c5c77558323ae80b4f486f30d106b2f336c61c50adc10302657c2878a755b48d8286ba70f662b6be132ffd569de5eb269cfca1e6e42675b007de43ccf4746
 SHA512 
e78e220c8207361c6d7bda06be6d0094d747809ff8554fed2ce4a5fb63df1d87f8b82a98d4f0b98909042af8f6719f4a7bf548f864d3d6dfa8caa57b346d32dc
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
+DIST eggdrop-1.9.2.tar.gz 2296300 BLAKE2B 
ed409896718e45daab2b21c25e7f1a5a2664ef8afec7127943abb3018ce963413e714618ee730ef2c49e4542c6e87377cff405ee36ce91448335adf6c7ab5a8a
 SHA512 
67c8053a79ab5c4c418164e4e12f89a6e111b06b4e6dfdc69c52913b2f3b9a58b065a7601165112071c9ca2a778269aeb95c749a9da787c1932e6471a23146ce

diff --git a/net-irc/eggdrop/eggdrop-1.9.2.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.2.ebuild
new file mode 100644
index ..31868072cbc1
--- /dev/null
+++ b/net-irc/eggdrop/eggdrop-1.9.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit readme.gentoo-r1
+
+MY_P="${PN}-${PV/_rc/rc}"
+DESCRIPTION="An IRC bot extensible with C or TCL"
+HOMEPAGE="https://www.eggheads.org/";
+SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~riscv ~sparc ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug doc ipv6 ssl static"
+
+DEPEND="
+   dev-lang/tcl:0=
+   ssl? ( dev-libs/openssl:0= )
+"
+RDEPEND="
+   sys-apps/gentoo-functions
+   ${DEPEND}
+"
+
+DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
+
+src_configure() {
+   econf $(use_enable ssl tls) \
+   $(use_enable ipv6 ipv6)
+
+   emake config
+}
+
+src_compile() {
+   local target
+
+   if use static && use debug; then
+   target="sdebug"
+   elif use static; then
+   target="static"
+   elif use debug; then
+   target="debug"
+   fi
+
+   emake ${target}
+}
+
+src_install() {
+   emake DEST="${D}"/opt/eggdrop install
+
+   use doc && HTML_DOCS=( doc/html/. )
+   rm -r "${D}"/opt/eggdrop/doc/html || die
+   DOC_CONTENTS="
+   Additional documentation can be found
+   in ${EPREFIX}/opt/eggdrop/doc
+   "
+   readme.gentoo_create_doc
+   einstalldocs
+
+   dobin "${FILESDIR}"/eggdrop-installer
+   doman doc/man1/eggdrop.1
+}
+
+pkg_postinst() {
+   # Only display this for new installs
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/

2022-03-05 Thread Louis Sautier
commit: 10f762d3db8b3cc00f2acd42ad1eaf2be4a1ba15
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Mar  6 01:17:40 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Mar  6 01:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f762d3

net-irc/eggdrop: drop 1.9.0

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/eggdrop/Manifest |  1 -
 net-irc/eggdrop/eggdrop-1.9.0.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest
index be05d000f269..7a5a08889bdf 100644
--- a/net-irc/eggdrop/Manifest
+++ b/net-irc/eggdrop/Manifest
@@ -1,4 +1,3 @@
 DIST eggdrop-1.8.4.tar.gz 1784738 BLAKE2B 
a86cdc681ebd9c779b7da20f80ff312e4fc848e0cb0a0b9fa34941c91e1b89db1430126e3d0b94c7b4346c0bde099a6ddd343270943570744c46fc4ddd451540
 SHA512 
d08af09dc83045bf89eae957e7817591f16456f83ba3efe6b361fd421a3d4068348543275c26b27b006f09f06344c04cdf58ee4231f1aee0e7537ec39bc24b49
-DIST eggdrop-1.9.0.tar.gz 2206230 BLAKE2B 
1c6c5c77558323ae80b4f486f30d106b2f336c61c50adc10302657c2878a755b48d8286ba70f662b6be132ffd569de5eb269cfca1e6e42675b007de43ccf4746
 SHA512 
e78e220c8207361c6d7bda06be6d0094d747809ff8554fed2ce4a5fb63df1d87f8b82a98d4f0b98909042af8f6719f4a7bf548f864d3d6dfa8caa57b346d32dc
 DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 
73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47
 SHA512 
d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
 DIST eggdrop-1.9.2.tar.gz 2296300 BLAKE2B 
ed409896718e45daab2b21c25e7f1a5a2664ef8afec7127943abb3018ce963413e714618ee730ef2c49e4542c6e87377cff405ee36ce91448335adf6c7ab5a8a
 SHA512 
67c8053a79ab5c4c418164e4e12f89a6e111b06b4e6dfdc69c52913b2f3b9a58b065a7601165112071c9ca2a778269aeb95c749a9da787c1932e6471a23146ce

diff --git a/net-irc/eggdrop/eggdrop-1.9.0.ebuild 
b/net-irc/eggdrop/eggdrop-1.9.0.ebuild
deleted file mode 100644
index 5d6de0a857df..
--- a/net-irc/eggdrop/eggdrop-1.9.0.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit readme.gentoo-r1
-
-MY_P="${PN}-${PV/_rc/rc}"
-DESCRIPTION="An IRC bot extensible with C or TCL"
-HOMEPAGE="https://www.eggheads.org/";
-SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${MY_P}.tar.gz";
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sparc ~x86"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="debug doc ipv6 ssl static"
-
-DEPEND="
-   dev-lang/tcl:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-RDEPEND="
-   sys-apps/gentoo-functions
-   ${DEPEND}
-"
-
-DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING )
-
-src_configure() {
-   econf $(use_enable ssl tls) \
-   $(use_enable ipv6 ipv6)
-
-   emake config
-}
-
-src_compile() {
-   local target
-
-   if use static && use debug; then
-   target="sdebug"
-   elif use static; then
-   target="static"
-   elif use debug; then
-   target="debug"
-   fi
-
-   emake ${target}
-}
-
-src_install() {
-   emake DEST="${D}"/opt/eggdrop install
-
-   use doc && HTML_DOCS=( doc/html/. )
-   rm -r "${D}"/opt/eggdrop/doc/html || die
-   DOC_CONTENTS="
-   Additional documentation can be found
-   in ${EPREFIX}/opt/eggdrop/doc
-   "
-   readme.gentoo_create_doc
-   einstalldocs
-
-   dobin "${FILESDIR}"/eggdrop-installer
-   doman doc/man1/eggdrop.1
-}
-
-pkg_postinst() {
-   # Only display this for new installs
-   if [[ -z ${REPLACING_VERSIONS} ]]; then
-   elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to 
install your eggdrop bot."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2022-01-30 Thread Louis Sautier
commit: c5b0206ce8dc33c146a285bd92df929c3602
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jan 30 13:27:06 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Jan 30 13:27:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b02069

net-analyzer/nagios-plugins-linux-madrisan: drop 28

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 -
 .../nagios-plugins-linux-madrisan-28.ebuild| 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 43c97183659f..985aed02d71a 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,3 +1,2 @@
-DIST nagios-plugins-linux-madrisan-28.tar.xz 390428 BLAKE2B 
bc41fb7d3b639fe2d133c2ff6643562ce94e5523b13aa18045d7265ae8d9d80873b0611aaee0f0fa8b959e0da3e2c350868574a8986c0d9436b6bd4e4154d908
 SHA512 
c72065ade12ec60c86479276370215bc0dc419ae9681d7260c550f8985300c39c1c8e39537c51c56e0c1ae61283befc5d111ffd47394de7dc7f7daa5993254fc
 DIST nagios-plugins-linux-madrisan-29.tar.xz 392700 BLAKE2B 
edc93bfb113cb12ce8a345e38627881decb952cb1e7a948dcdced2aaa9c940956b75a7c8f7ad1b72daac132236ab27762b6f8b14a5098eaac648bafae6dfdb33
 SHA512 
412464b894fe2a0953e495c7c87604ed6b282f65fd1988043757b162ba4fecf9e8f9740e7e09ec2dad8ba8d80fa928df4d7e644260538117d19776f4883045f6
 DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-28.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-28.ebuild
deleted file mode 100644
index a0e44b8d7feb..
--- 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-28.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MY_PN="nagios-plugins-linux"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Additional and alternative Nagios plugins for Linux"
-HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux";
-SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl varlink"
-
-DEPEND="
-   curl? ( net-misc/curl:0= )
-   varlink? ( dev-libs/libvarlink:= )
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   # Avoid collision with net-analyzer/monitoring-plugins
-   # and net-analyzer/nagios-plugins
-   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   local myconf=(
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
-   # Most options are already defaults for Gentoo
-   --disable-hardening
-   $(use_enable curl libcurl)
-   $(use_enable varlink libvarlink)
-   )
-   econf "${myconf[@]}"
-}
-
-src_test() {
-   emake check VERBOSE=1
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2022-01-30 Thread Louis Sautier
commit: aa477d019849b72bc3d8358fc6a039c00186a4b5
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jan 30 13:26:25 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Jan 30 13:27:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa477d01

net-analyzer/nagios-plugins-linux-madrisan: add 30

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 .../nagios-plugins-linux-madrisan-30.ebuild| 48 ++
 2 files changed, 49 insertions(+)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index b1d8f6d2e28f..43c97183659f 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-plugins-linux-madrisan-28.tar.xz 390428 BLAKE2B 
bc41fb7d3b639fe2d133c2ff6643562ce94e5523b13aa18045d7265ae8d9d80873b0611aaee0f0fa8b959e0da3e2c350868574a8986c0d9436b6bd4e4154d908
 SHA512 
c72065ade12ec60c86479276370215bc0dc419ae9681d7260c550f8985300c39c1c8e39537c51c56e0c1ae61283befc5d111ffd47394de7dc7f7daa5993254fc
 DIST nagios-plugins-linux-madrisan-29.tar.xz 392700 BLAKE2B 
edc93bfb113cb12ce8a345e38627881decb952cb1e7a948dcdced2aaa9c940956b75a7c8f7ad1b72daac132236ab27762b6f8b14a5098eaac648bafae6dfdb33
 SHA512 
412464b894fe2a0953e495c7c87604ed6b282f65fd1988043757b162ba4fecf9e8f9740e7e09ec2dad8ba8d80fa928df4d7e644260538117d19776f4883045f6
+DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
new file mode 100644
index ..6e71445b286d
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="nagios-plugins-linux"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Additional and alternative Nagios plugins for Linux"
+HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux";
+SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl varlink"
+
+DEPEND="
+   curl? ( net-misc/curl:0= )
+   varlink? ( dev-libs/libvarlink:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   # Avoid collision with net-analyzer/monitoring-plugins
+   # and net-analyzer/nagios-plugins
+   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
+   # Most options are already defaults for Gentoo
+   --disable-hardening
+   $(use_enable curl libcurl)
+   $(use_enable varlink libvarlink)
+   )
+   econf "${myconf[@]}"
+}
+
+src_test() {
+   emake check VERBOSE=1
+}



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

2022-01-12 Thread Louis Sautier
commit: 233b933d3cfb81a07af8f4602949df9bef35550f
Author: Tom Gillespie  gmail  com>
AuthorDate: Wed Jan 12 20:48:57 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Jan 13 01:04:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233b933d

dev-python/kombu: fix amqp min version

a runtime error is produced because kombu requirements lists amqp-5.0.9
as the min version instead of amqp-5.0.6

revbump so the change will propagate

Signed-off-by: Tom Gillespie  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23764
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/kombu/{kombu-5.2.3.ebuild => kombu-5.2.3-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/kombu/kombu-5.2.3.ebuild 
b/dev-python/kombu/kombu-5.2.3-r1.ebuild
similarity index 96%
rename from dev-python/kombu/kombu-5.2.3.ebuild
rename to dev-python/kombu/kombu-5.2.3-r1.ebuild
index 22dee35e6bf5..73c428029253 100644
--- a/dev-python/kombu/kombu-5.2.3.ebuild
+++ b/dev-python/kombu/kombu-5.2.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="examples"
 
 RDEPEND="
-   >=dev-python/py-amqp-5.0.6[${PYTHON_USEDEP}]
+   >=dev-python/py-amqp-5.0.9[${PYTHON_USEDEP}]


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

2022-01-07 Thread Louis Sautier
commit: 94b9710213ff4cc9565cedd6a13547c73eefdc57
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Jan  8 02:31:02 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Jan  8 02:31:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b97102

dev-python/plyvel: add 1.4.0

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/plyvel/Manifest|  1 +
 dev-python/plyvel/plyvel-1.4.0.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest
index f55ba96c031b..71805c72135f 100644
--- a/dev-python/plyvel/Manifest
+++ b/dev-python/plyvel/Manifest
@@ -1 +1,2 @@
 DIST plyvel-1.3.0.tar.gz 149379 BLAKE2B 
0a4fc8c3073cc8e103ab217f8e7971f04d9e6d1862dea7ce3d2634ba9646bdeebdda740fe6cb2e83aeeab513601bddef374355c4f6c9f320ce6b4b14ff2b2bf6
 SHA512 
fc1b84f0e98bf3edcdc2d7eda4f18313186538bb419bd297f694330e60512a6ab63e8d2fabaa825023eb5570f175ebbc22b8ae81e29603b1a94c1abb37774e99
+DIST plyvel-1.4.0.tar.gz 151155 BLAKE2B 
1bba3fef97518d5ec291f0ebc0ebd54511678ef16e2925a1027706c917e89bbdeb20b63bcf8d1e22f8c3ef41a88695d8d64065ac9ffb9bebdc652be0f4de4eed
 SHA512 
6532007bb103f2b0121c41ae0a23fa67dfd2c27b1472b43265f6fb5928e4f28514744887f190fb087c8640cba2e62923a1ffe14f59a70b123dc9ad7798e329d5

diff --git a/dev-python/plyvel/plyvel-1.4.0.ebuild 
b/dev-python/plyvel/plyvel-1.4.0.ebuild
new file mode 100644
index ..d519b1159a59
--- /dev/null
+++ b/dev-python/plyvel/plyvel-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Disable PyPy3 for now because it is not stable enough:
+# https://github.com/wbolster/plyvel/issues/140
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to LevelDB"
+HOMEPAGE="https://github.com/wbolster/plyvel";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-libs/leveldb-1.21:="
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest
+
+python_test() {
+   # With the default import mode, plyvel is imported from ${S} which 
causes
+   # a failure because it doesn't contain the compiled _plyvel extension
+   pytest --import-mode=append -vv || die "Tests fail with ${EPYTHON}"
+}



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

2022-01-07 Thread Louis Sautier
commit: e4bc068f905f39108da4c40fb210cea20ba3e25f
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Jan  8 01:57:52 2022 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Jan  8 01:59:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4bc068f

net-irc/znc: display qualified package name in README

Signed-off-by: Louis Sautier  gentoo.org>

 net-irc/znc/files/README.gentoo-r1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-irc/znc/files/README.gentoo-r1 
b/net-irc/znc/files/README.gentoo-r1
index 1812383beb29..8fa94e2f0775 100644
--- a/net-irc/znc/files/README.gentoo-r1
+++ b/net-irc/znc/files/README.gentoo-r1
@@ -1,6 +1,6 @@
 To run znc as a user, run 'znc --makeconf' to create a configuration file.
 
-To configure the system-wide daemon, you may run 'emerge --config znc'.
+To configure the system-wide daemon, you may run 'emerge --config net-irc/znc'.
 
 If migrating from a user-based install, you can copy the existing
 configuration files:



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

2021-12-30 Thread Louis Sautier
commit: 09f57e979aa4f79ebed0cecad7694109a0a48d64
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Dec 31 01:25:40 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Fri Dec 31 01:25:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f57e97

dev-python/zipp: add 3.7.0

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/zipp/Manifest  |  1 +
 dev-python/zipp/zipp-3.7.0.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
index 002987f12f33..1f3863b5bce0 100644
--- a/dev-python/zipp/Manifest
+++ b/dev-python/zipp/Manifest
@@ -1 +1,2 @@
 DIST zipp-3.6.0.tar.gz 13047 BLAKE2B 
2e3f5fd0acf9f931f5a74957e9ae29f12a42bc824eb36d769720282ec0413d90b0b45f0524f3b319ce614f43c061ae324fb29f7f2a83e7aeb393283827bca5d1
 SHA512 
8e21b0a757ed9ebddeca43d3e4b64549dc4e59f781704626b0b2b0a117752b84798a0484cceedd4684ee0459643df4d0f479e64a143c8d9337d2b66951a7b227
+DIST zipp-3.7.0.tar.gz 12989 BLAKE2B 
8a315dfd28c8aa1d5a568699886ea47b34000381981d1f4e578bcc10d7c9dc772bfd99ae9d720836e300dd1aaa5e12f0667bbe40d69668306f90aed23ec0cc8f
 SHA512 
bf0c00382273453286ce597fb5a0059b8b279edd01dc4f2d5accef41cc53d69ddda1a2b00f4c38ed4057eeac69ef225ba4bd3a70a16da025b33947cdd6a69ed8

diff --git a/dev-python/zipp/zipp-3.7.0.ebuild 
b/dev-python/zipp/zipp-3.7.0.ebuild
new file mode 100644
index ..bef59282ca20
--- /dev/null
+++ b/dev-python/zipp/zipp-3.7.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files"
+HOMEPAGE="https://github.com/jaraco/zipp";
+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 ~x64-macos"
+
+BDEPEND="
+   dev-python/toml[${PYTHON_USEDEP}]
+   >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}]
+   test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_sphinx docs \
+   ">=dev-python/jaraco-packaging-3.2" \
+   ">=dev-python/rst-linker-1.9"
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+   # speed tests are flaky by design
+   test_zipp.py::TestPath::test_implied_dirs_performance
+)
+
+EPYTEST_IGNORE=(
+   # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python 
< 3.8
+   # by ensuring only zipp from ${BUILD_DIR} is loaded
+   zipp.py
+)
+
+python_prepare_all() {
+   # dep of disabled test
+   sed -i -e '/func_timeout/d' test_zipp.py || die
+   distutils-r1_python_prepare_all
+}



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

2021-12-30 Thread Louis Sautier
commit: d255f1d578a98e5aae92bbb14df3412850e6eb2b
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Dec 30 23:24:26 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Dec 30 23:28:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d255f1d5

app-admin/supervisor: add 4.2.4

Signed-off-by: Louis Sautier  gentoo.org>

 app-admin/supervisor/Manifest|  1 +
 app-admin/supervisor/supervisor-4.2.4.ebuild | 51 
 2 files changed, 52 insertions(+)

diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest
index a69d766839e7..c461f2f8bbd0 100644
--- a/app-admin/supervisor/Manifest
+++ b/app-admin/supervisor/Manifest
@@ -1,3 +1,4 @@
 DIST supervisor-4.2.0.tar.gz 456056 BLAKE2B 
51b66cfc34505b937c47c9b510d81bcc777b9372fdeb2e08fc25153d2718cd2682258b812630160954587ceb992e1a528cdd5bf0d270139f7ffac9463ac2f015
 SHA512 
626d806f4b03be7cbff795afd1bdb3ff5ca5ecf44f035909ea1aa9360da9fa3047b2fe05543190bf1442f01dcdd403be19fcd907519bf7e26615900bc4bf9d0f
 DIST supervisor-4.2.1.tar.gz 460935 BLAKE2B 
0c65f904599c1e8a04cd3a71085e2b2a5460691c2bfd790d3b7c10449cae08472bcd72a870cbe611801434624f405ea3e245f156cab93f25a8df784b58d948d7
 SHA512 
c560ef959f8d580fb20c1812aa2a838c9feaeb3726a754e8084fa8c7406ff9258139b55b081558b8d8f33e4672cdfad40695170f55412a5e85a6c1aed0f11657
 DIST supervisor-4.2.2.tar.gz 463657 BLAKE2B 
766feffcbd70b575b6b7dfd6ed98e3510e0fd9362c423b677d44a2b5dd23ded14a349a279d3d28d4fd9e04a2175c8f00e24c07df310b61d34c7f69f60d26a4ac
 SHA512 
f787206e6c6a5d3dfc4284974a4a87cbcaeac0c705afb2b8eae53f066413bd9e68095c5309e29625e01469a4748613370e1ac0d7be84b9d72c3623244bdd2eb3
+DIST supervisor-4.2.4.tar.gz 465151 BLAKE2B 
91b99a64950dc874bdc008ba53ca8b1962cc34981fee27c2fd82956d73ace9eaaf91439ef6be40530c4860fe1eee193e19b51ab81050f7368aa7d31f8444c785
 SHA512 
38c55aeadb8664337b667aad891a3a2134ae4af88e90d636054e6be9aebc8a3ef87d79d15fcafd2b9966af562deeedc96ac3730bde9439dde30208f0a874f2d7

diff --git a/app-admin/supervisor/supervisor-4.2.4.ebuild 
b/app-admin/supervisor/supervisor-4.2.4.ebuild
new file mode 100644
index ..27a705ecefd4
--- /dev/null
+++ b/app-admin/supervisor/supervisor-4.2.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+# xml.etree.ElementTree module required.
+PYTHON_REQ_USE="xml(+)"
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="A system for controlling process state under UNIX"
+HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="repoze ZPL BSD HPND GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="acct-group/supervisor"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newinitd "${FILESDIR}/init.d-r2" supervisord
+   newconfd "${FILESDIR}/conf.d-r1" supervisord
+   dodoc supervisor/skel/sample.conf
+   keepdir /etc/supervisord.d
+   insinto /etc
+   doins "${FILESDIR}/supervisord.conf"
+   keepdir /var/log/supervisor
+   systemd_dounit "${FILESDIR}/supervisord.service"
+}
+
+pkg_preinst() {
+   fowners :supervisor /var/log/supervisor
+   fperms 750 /var/log/supervisor
+}
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   # This is a new installation
+   elog "You may install your configuration files in 
${EROOT}/etc/supervisord.d"
+   elog "For config examples, see 
${EROOT}/usr/share/doc/${PF}/sample.conf.bz2"
+   elog ""
+   elog "By default, only members of the supervisor group can run 
supervisorctl."
+   fi
+}



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

2021-12-30 Thread Louis Sautier
commit: d72ce19f1c1751f430d5fe99db3d7d44a9da23ca
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Dec 30 23:26:20 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Dec 30 23:30:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72ce19f

app-admin/supervisor: drop 4.2.0, 4.2.1

Signed-off-by: Louis Sautier  gentoo.org>

 app-admin/supervisor/Manifest|  2 -
 app-admin/supervisor/supervisor-4.2.0.ebuild | 62 
 app-admin/supervisor/supervisor-4.2.1.ebuild | 54 
 3 files changed, 118 deletions(-)

diff --git a/app-admin/supervisor/Manifest b/app-admin/supervisor/Manifest
index c461f2f8bbd0..f20cd79a3b38 100644
--- a/app-admin/supervisor/Manifest
+++ b/app-admin/supervisor/Manifest
@@ -1,4 +1,2 @@
-DIST supervisor-4.2.0.tar.gz 456056 BLAKE2B 
51b66cfc34505b937c47c9b510d81bcc777b9372fdeb2e08fc25153d2718cd2682258b812630160954587ceb992e1a528cdd5bf0d270139f7ffac9463ac2f015
 SHA512 
626d806f4b03be7cbff795afd1bdb3ff5ca5ecf44f035909ea1aa9360da9fa3047b2fe05543190bf1442f01dcdd403be19fcd907519bf7e26615900bc4bf9d0f
-DIST supervisor-4.2.1.tar.gz 460935 BLAKE2B 
0c65f904599c1e8a04cd3a71085e2b2a5460691c2bfd790d3b7c10449cae08472bcd72a870cbe611801434624f405ea3e245f156cab93f25a8df784b58d948d7
 SHA512 
c560ef959f8d580fb20c1812aa2a838c9feaeb3726a754e8084fa8c7406ff9258139b55b081558b8d8f33e4672cdfad40695170f55412a5e85a6c1aed0f11657
 DIST supervisor-4.2.2.tar.gz 463657 BLAKE2B 
766feffcbd70b575b6b7dfd6ed98e3510e0fd9362c423b677d44a2b5dd23ded14a349a279d3d28d4fd9e04a2175c8f00e24c07df310b61d34c7f69f60d26a4ac
 SHA512 
f787206e6c6a5d3dfc4284974a4a87cbcaeac0c705afb2b8eae53f066413bd9e68095c5309e29625e01469a4748613370e1ac0d7be84b9d72c3623244bdd2eb3
 DIST supervisor-4.2.4.tar.gz 465151 BLAKE2B 
91b99a64950dc874bdc008ba53ca8b1962cc34981fee27c2fd82956d73ace9eaaf91439ef6be40530c4860fe1eee193e19b51ab81050f7368aa7d31f8444c785
 SHA512 
38c55aeadb8664337b667aad891a3a2134ae4af88e90d636054e6be9aebc8a3ef87d79d15fcafd2b9966af562deeedc96ac3730bde9439dde30208f0a874f2d7

diff --git a/app-admin/supervisor/supervisor-4.2.0.ebuild 
b/app-admin/supervisor/supervisor-4.2.0.ebuild
deleted file mode 100644
index 44d710173315..
--- a/app-admin/supervisor/supervisor-4.2.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8} )
-# xml.etree.ElementTree module required.
-PYTHON_REQ_USE="xml(+)"
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 systemd
-
-MY_PV="${PV/_beta/b}"
-
-DESCRIPTION="A system for controlling process state under UNIX"
-HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/";
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="repoze ZPL BSD HPND GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="acct-group/supervisor"
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Skip one test that currently fails
-   # https://github.com/Supervisor/supervisor/issues/1346
-   sed -i 's/test_prepare_socket/_&/' \
-   supervisor/tests/test_socket_manager.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-   newinitd "${FILESDIR}/init.d-r2" supervisord
-   newconfd "${FILESDIR}/conf.d-r1" supervisord
-   dodoc supervisor/skel/sample.conf
-   keepdir /etc/supervisord.d
-   insinto /etc
-   doins "${FILESDIR}/supervisord.conf"
-   keepdir /var/log/supervisor
-   systemd_dounit "${FILESDIR}/supervisord.service"
-}
-
-pkg_preinst() {
-   fowners :supervisor /var/log/supervisor
-   fperms 750 /var/log/supervisor
-}
-
-pkg_postinst() {
-   if [[ -z "${REPLACING_VERSIONS}" ]]; then
-   # This is a new installation
-   elog "You may install your configuration files in 
${EROOT}/etc/supervisord.d"
-   elog "For config examples, see 
${EROOT}/usr/share/doc/${PF}/sample.conf.bz2"
-   elog ""
-   elog "By default, only members of the supervisor group can run 
supervisorctl."
-   fi
-}

diff --git a/app-admin/supervisor/supervisor-4.2.1.ebuild 
b/app-admin/supervisor/supervisor-4.2.1.ebuild
deleted file mode 100644
index 999e761f2fc8..
--- a/app-admin/supervisor/supervisor-4.2.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-# xml.etree.ElementTree module required.
-PYTHON_REQ_USE="xml(+)"
-DIST

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

2021-12-26 Thread Louis Sautier
commit: f513c15bec58f29267acc5e3476bbef28fbebfe3
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Dec 26 12:46:59 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Dec 26 12:47:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f513c15b

dev-python/python-lzo: add 1.14

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/python-lzo/Manifest   |  1 +
 dev-python/python-lzo/python-lzo-1.14.ebuild | 29 
 2 files changed, 30 insertions(+)

diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest
index c07bc18d739f..161089c5e52d 100644
--- a/dev-python/python-lzo/Manifest
+++ b/dev-python/python-lzo/Manifest
@@ -1 +1,2 @@
 DIST python-lzo-1.12.tar.gz 14042 BLAKE2B 
7375e9b200a17cc1ad2c4dfdbe6491082af8d120b2b659b1e9bbff00eaae568e04dc12e5c13de3a028267a1e8e02bd1522a9335db73fa6a5a4ebc7ca4b341fff
 SHA512 
811bdb282cfaf33427ad641d0342900c5af1f17b7033d76593288c3846b0feefe6ef93253152add97b2d6420f937de2745c8e7508dadf33e72b11545cac3be4d
+DIST python-lzo-1.14.tar.gz 14050 BLAKE2B 
e1df6b842562064ca13ddbacb194047ca343694d480a5a65e7d2876ec98a4215b4badb3b2a839f308dea8624c162a0536f363c093bcb2e5b48c68b69fb472729
 SHA512 
036cf7199afe12cec8b9c7ee92134f58357e1f892870ade3a619541a69c9cc92155892d53bd43330732b848016c2997e096a9a492e52f15d04fa516ca7645b93

diff --git a/dev-python/python-lzo/python-lzo-1.14.ebuild 
b/dev-python/python-lzo/python-lzo-1.14.ebuild
new file mode 100644
index ..10b20a55d40a
--- /dev/null
+++ b/dev-python/python-lzo/python-lzo-1.14.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 prefix
+
+DESCRIPTION="Python interface to lzo"
+HOMEPAGE="https://github.com/jd-boyd/python-lzo";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-libs/lzo:2"
+DEPEND="${RDEPEND}"
+
+# We can't use pytest at the moment because the package uses "yield tests"
+# https://docs.pytest.org/en/6.2.x/deprecations.html#yield-tests
+distutils_enable_tests --install nose
+
+python_prepare_all() {
+   hprefixify setup.py
+   distutils-r1_python_prepare_all
+}



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

2021-12-12 Thread Louis Sautier
commit: 8f796fc20051e1d3978e17b5cf18adc0fa912bf8
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Dec 12 13:23:36 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Dec 12 13:46:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f796fc2

dev-python/nose: remove unused patch(es)

Package-Manager: Portage-3.0.29, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/23266
Signed-off-by: Louis Sautier  gentoo.org>

 .../files/nose-1.3.7-coverage-4.1-support.patch| 20 ---
 .../files/nose-1.3.7-python-3.5-backport.patch | 54 -
 .../nose/files/nose-1.3.7-python-3.6-test.patch| 67 --
 3 files changed, 141 deletions(-)

diff --git a/dev-python/nose/files/nose-1.3.7-coverage-4.1-support.patch 
b/dev-python/nose/files/nose-1.3.7-coverage-4.1-support.patch
deleted file mode 100644
index 87577871b613..
--- a/dev-python/nose/files/nose-1.3.7-coverage-4.1-support.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 a/nose/plugins/cover.py2016-10-11 15:51:26.990868010 +0200
-+++ b/nose/plugins/cover.py2016-10-11 15:52:28.261102027 +0200
-@@ -187,7 +187,7 @@
- for name, module in sys.modules.items()
- if self.wantModuleCoverage(name, module)]
- log.debug("Coverage report will cover modules: %s", modules)
--self.coverInstance.report(modules, file=stream)
-+self.coverInstance.report(modules, file=stream, show_missing=True)
- 
- import coverage
- if self.coverHtmlDir:
-@@ -207,7 +207,7 @@
- # make sure we have minimum required coverage
- if self.coverMinPercentage:
- f = StringIO.StringIO()
--self.coverInstance.report(modules, file=f)
-+self.coverInstance.report(modules, file=f, show_missing=True)
- 
- multiPackageRe = (r'---\s\w+\s+\d+\s+\d+(?:\s+\d+\s+\d+)?'
-   r'\s+(\d+)%\s+\d*\s{0,1}$')

diff --git a/dev-python/nose/files/nose-1.3.7-python-3.5-backport.patch 
b/dev-python/nose/files/nose-1.3.7-python-3.5-backport.patch
deleted file mode 100644
index 8d2f2f05dc29..
--- a/dev-python/nose/files/nose-1.3.7-python-3.5-backport.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 8e7ad3d50012688ca029d126cbc88251831fea88 Mon Sep 17 00:00:00 2001
-From: Dmitry Shachnev 
-Date: Mon, 1 Feb 2016 00:05:30 +0300
-Subject: [PATCH 1/2] Set __qualname__ equal to __name__ on derived classes
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-To make output on Python ≥ 3.5 the same as on previous Python versions.
-
-This fixes #928.

- functional_tests/test_load_tests_from_test_case.py | 1 +
- nose/util.py   | 1 +
- unit_tests/test_xunit.py   | 1 +
- 3 files changed, 3 insertions(+)
-
-diff --git a/functional_tests/test_load_tests_from_test_case.py 
b/functional_tests/test_load_tests_from_test_case.py
-index 42f8563..13d0c8a 100644
 a/functional_tests/test_load_tests_from_test_case.py
-+++ b/functional_tests/test_load_tests_from_test_case.py
-@@ -29,6 +29,7 @@ def setUp(self):
- pass
- def tearDown(self):
- pass
-+Derived.__qualname__ = Derived.__name__
- # must use nose loader here because the default loader in 2.3
- # won't load tests from base classes
- l = loader.TestLoader()
-diff --git a/nose/util.py b/nose/util.py
-index bfe1658..80ab1d4 100644
 a/nose/util.py
-+++ b/nose/util.py
-@@ -643,6 +643,7 @@ class C(cls):
- pass
- C.__module__ = module
- C.__name__ = cls.__name__
-+C.__qualname__ = cls.__name__
- return C
- 
- 
-diff --git a/unit_tests/test_xunit.py b/unit_tests/test_xunit.py
-index 944d285..261436b 100644
 a/unit_tests/test_xunit.py
-+++ b/unit_tests/test_xunit.py
-@@ -16,6 +16,7 @@ def mktest():
- class TC(unittest.TestCase):
- def runTest(self):
- pass
-+TC.__qualname__ = TC.__name__
- test = TC()
- return test
- 
-

diff --git a/dev-python/nose/files/nose-1.3.7-python-3.6-test.patch 
b/dev-python/nose/files/nose-1.3.7-python-3.6-test.patch
deleted file mode 100644
index eda10ff036cf..
--- a/dev-python/nose/files/nose-1.3.7-python-3.6-test.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 84bb82245d10798825439dc13846eb0538d84239 Mon Sep 17 00:00:00 2001
-From: Tomas Orsava 
-Date: Mon, 12 Dec 2016 14:35:50 +0100
-Subject: [PATCH] Fix compatibility with Python 3.6
-
-Python 3.6 returns ModuleNotFoundError instead of the previous ImportError.
-https://github.com/nose-devs/nose/pull/1029

- functional_tests/test_loader.py   |  2 +-
- functional_tests/test_withid_failures.rst | 12 ++--
- 2 files changed, 7 insertions(+), 7 deletions(-)
-

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

2021-12-03 Thread Louis Sautier
commit: d6528f72813cd8b6240fb5d94c154c51c1cc2d41
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Dec  3 16:38:21 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Dec  4 00:27:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6528f72

dev-python/werkzeug: remove unused patch(es)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/23166
Signed-off-by: Louis Sautier  gentoo.org>

 .../werkzeug/files/werkzeug-2.0.1-py310.patch  | 103 -
 .../files/werkzeug-2.0.1-test-warning.patch|  75 ---
 2 files changed, 178 deletions(-)

diff --git a/dev-python/werkzeug/files/werkzeug-2.0.1-py310.patch 
b/dev-python/werkzeug/files/werkzeug-2.0.1-py310.patch
deleted file mode 100644
index 56a0166d334d..
--- a/dev-python/werkzeug/files/werkzeug-2.0.1-py310.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-From 584f3cff7d5cb8a588189ae1137b814cf5c47e05 Mon Sep 17 00:00:00 2001
-From: David Lord 
-Date: Wed, 19 May 2021 20:01:58 -0700
-Subject: [PATCH] address deprecation warnings from Python 3.10b1
-

- tests/conftest.py   |  5 -
- tests/test_local.py | 34 +-
- 2 files changed, 29 insertions(+), 10 deletions(-)
-
-diff --git a/tests/conftest.py b/tests/conftest.py
-index 3b5cbd71c..4ad1ff23e 100644
 a/tests/conftest.py
-+++ b/tests/conftest.py
-@@ -66,7 +66,10 @@ def connect(self, **kwargs):
- 
- if protocol == "https":
- if "context" not in kwargs:
--kwargs["context"] = ssl.SSLContext()
-+context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
-+context.check_hostname = False
-+context.verify_mode = ssl.CERT_NONE
-+kwargs["context"] = context
- 
- return http.client.HTTPSConnection(self.addr, **kwargs)
- 
-diff --git a/tests/test_local.py b/tests/test_local.py
-index 537fc32fb..b5c392890 100644
 a/tests/test_local.py
-+++ b/tests/test_local.py
-@@ -12,6 +12,18 @@
- from werkzeug import local
- 
- 
-+if sys.version_info < (3, 7):
-+
-+def run_async(coro):
-+return asyncio.get_event_loop().run_until_complete(coro)
-+
-+
-+else:
-+
-+def run_async(coro):
-+return asyncio.run(coro)
-+
-+
- def test_basic_local():
- ns = local.Local()
- ns.foo = 0
-@@ -55,9 +67,11 @@ async def value_setter(idx):
- await asyncio.sleep(0.02)
- values.append(ns.foo)
- 
--loop = asyncio.get_event_loop()
--futures = [asyncio.ensure_future(value_setter(idx)) for idx in [1, 2, 3]]
--loop.run_until_complete(asyncio.gather(*futures))
-+async def main():
-+futures = [asyncio.ensure_future(value_setter(i)) for i in [1, 2, 3]]
-+await asyncio.gather(*futures)
-+
-+run_async(main())
- assert sorted(values) == [1, 2, 3]
- 
- def delfoo():
-@@ -118,9 +132,11 @@ async def task():
- ls.push(1)
- assert len(ls._local.stack) == 2
- 
--loop = asyncio.get_event_loop()
--futures = [asyncio.ensure_future(task()) for _ in range(3)]
--loop.run_until_complete(asyncio.gather(*futures))
-+async def main():
-+futures = [asyncio.ensure_future(task()) for _ in range(3)]
-+await asyncio.gather(*futures)
-+
-+run_async(main())
- 
- 
- @pytest.mark.skipif(
-@@ -571,7 +587,7 @@ async def get():
- async def main():
- return await p
- 
--out = asyncio.get_event_loop().run_until_complete(main())
-+out = run_async(main())
- assert out == 1
- 
- 
-@@ -599,7 +615,7 @@ async def main():
- 
- return out
- 
--out = asyncio.get_event_loop().run_until_complete(main())
-+out = run_async(main())
- assert out == [2, 1, 0]
- 
- 
-@@ -623,4 +639,4 @@ async def main():
- assert p.value == 2
- return True
- 
--assert asyncio.get_event_loop().run_until_complete(main())
-+assert run_async(main())

diff --git a/dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch 
b/dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch
deleted file mode 100644
index 3bb14ab6ba42..
--- a/dev-python/werkzeug/files/werkzeug-2.0.1-test-warning.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 4201d0f6d1b337a0e69900a79042215896eede4a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Sat, 19 Jun 2021 09:51:43 +0200
-Subject: [PATCH] Fix warning tests to work correctly without -Werror
-
-Use pytest.warns() instead of pytest.raises() to test for warnings,
-in order to make these tests work correctly without -Werror.  This does
-not change the behavior with -Werror.
-
-While -Werror is useful for package maintainers / CI, it is problematic
-for testing on end user systems.  For end users, it is important whether
-the particular version of package is going to wor

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

2021-11-14 Thread Louis Sautier
commit: bb04e02a2b42dec75c1f538c50c5dca78e53ed5f
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Nov 14 14:00:21 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Nov 14 14:03:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb04e02a

dev-python/flask-wtf: fix deps for 1.0.0's doc build, #822999

Closes: https://bugs.gentoo.org/822999
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/flask-wtf/flask-wtf-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/flask-wtf/flask-wtf-1.0.0.ebuild 
b/dev-python/flask-wtf/flask-wtf-1.0.0.ebuild
index 7052049cc1e8..0d7f369ec46b 100644
--- a/dev-python/flask-wtf/flask-wtf-1.0.0.ebuild
+++ b/dev-python/flask-wtf/flask-wtf-1.0.0.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
>=dev-python/wtforms-1.0.5[${PYTHON_USEDEP}]
 "
 
-distutils_enable_sphinx docs
+distutils_enable_sphinx docs dev-python/pallets-sphinx-themes 
dev-python/sphinxcontrib-log_cabinet dev-python/sphinx-issues
 distutils_enable_tests pytest
 
 EPYTEST_DESELECT=(



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

2021-11-13 Thread Louis Sautier
commit: 4f8a76f836713cbd6ce7234dde3607fa9a0a3345
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 13 15:35:21 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 13 15:35:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8a76f8

dev-python/jq: keyword 1.2.1 for ~x86

Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/dev-python/jq/jq-1.2.1.ebuild b/dev-python/jq/jq-1.2.1.ebuild
index f03da429c81..7064a84f369 100644
--- a/dev-python/jq/jq-1.2.1.ebuild
+++ b/dev-python/jq/jq-1.2.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/jq.py-${PV}"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2021-11-13 Thread Louis Sautier
commit: 590d230eb0f49526037f0a6e49d6628421607284
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 13 15:38:18 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 13 15:38:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590d230e

www-misc/urlwatch: rekeyword 2.24 for ~x86

Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/urlwatch-2.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-misc/urlwatch/urlwatch-2.24.ebuild 
b/www-misc/urlwatch/urlwatch-2.24.ebuild
index ceff0e2189e..30438fabe02 100644
--- a/www-misc/urlwatch/urlwatch-2.24.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.24.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/

2021-11-12 Thread Louis Sautier
commit: f0cfbeaf60ffdbd11d58746c6d9d29318fb5ff5d
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov 13 01:37:54 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov 13 01:54:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cfbeaf

www-misc/urlwatch: add 2.24, drop x86 keyword until it supports jq

Signed-off-by: Louis Sautier  gentoo.org>

 www-misc/urlwatch/Manifest |  1 +
 www-misc/urlwatch/urlwatch-2.24.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index d9e15d90ae2..544bd35fcf0 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,2 +1,3 @@
 DIST urlwatch-2.22.tar.gz 136306 BLAKE2B 
e7f10872e5d7f42ec0ac1073783431c4b0e4fcdcf40884a9f7f52aee36705fbdbaaf5f9e671223715040c6f68cc580f531ba753c9326a2b1380d2fb707f66f1c
 SHA512 
f2c1e0d279689d1e5761203ba139614b972c6266c30877262d59759b0ce63342a820a063f001039848427ea4af4325505c636762cdedb3dc60ebd09e859914f4
 DIST urlwatch-2.23.tar.gz 137917 BLAKE2B 
330c52cad62985d24b2cc4c7345156abe9d5d369f8b3f4402856eb96a98f75422de49045bc10910e5cc81306744aad2dce7c05667a6f4eeb22b2bba47869f260
 SHA512 
e54f8fe2d8307ca9f2f222e6a2082d517a330db60e410b7c991283a2bf88aa861306965b23ca644811aa69425ec2281f7f48d5e34047b808c0897f45ffc7fcbc
+DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52

diff --git a/www-misc/urlwatch/urlwatch-2.24.ebuild 
b/www-misc/urlwatch/urlwatch-2.24.ebuild
new file mode 100644
index 000..ceff0e2189e
--- /dev/null
+++ b/www-misc/urlwatch/urlwatch-2.24.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool for monitoring webpages for updates"
+HOMEPAGE="https://thp.io/2008/urlwatch/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/appdirs[${PYTHON_USEDEP}]
+   dev-python/cssselect[${PYTHON_USEDEP}]
+   dev-python/keyring[${PYTHON_USEDEP}]
+   dev-python/lxml[${PYTHON_USEDEP}]
+   dev-python/minidb[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/jq[${PYTHON_USEDEP}]
+   )
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+distutils_enable_sphinx docs/source dev-python/alabaster
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+   # Require the pdftotext module
+   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf-job12]";
+   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf-job13]";
+   # Requires the pytesseract module
+   
"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png-job28]";
+   # Fail because of argv parsing: 
https://github.com/thp/urlwatch/issues/677
+   "lib/urlwatch/tests/test_handler.py::test_run_watcher"
+   
"lib/urlwatch/tests/test_handler.py::test_number_of_tries_in_cache_is_increased"
+   
"lib/urlwatch/tests/test_handler.py::test_report_error_when_out_of_tries"
+   
"lib/urlwatch/tests/test_handler.py::test_reset_tries_to_zero_when_successful"
+   # Skip code quality check
+   "lib/urlwatch/tests/test_handler.py::test_pep8_conformance"
+)
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   if ! has_version dev-python/chump; then
+   elog "Install 'dev-python/chump' to enable Pushover" \
+   "notifications support"
+   fi
+   if ! has_version dev-python/jq; then
+   elog "Install 'dev-python/jq' to enable jq filtering 
support"
+   fi
+   if ! has_version dev-python/pushbullet-py; then
+   elog "Install 'dev-python/pushbullet-py' to enable" \
+   "Pushbullet notifications support"
+   fi
+   elog "HTML parsing can be improved by installing one of the 
following packages"
+   elog "and changing the html2text subfilter parameter:"
+   elog "dev-python/beautifulsoup4"
+   elog "app-text/html2text"
+   elog "dev-python/html2text"
+   elog "www-client/lynx"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/files/, sys-apps/smartmontools/

2021-11-06 Thread Louis Sautier
commit: 55ea66e73da3b7d76f05bc512d4b01bf4802155a
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  6 20:14:27 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Nov  6 20:34:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ea66e7

sys-apps/smartmontools: updatedb cron: use new -q option

Signed-off-by: Louis Sautier  gentoo.org>

 ...rtmontools-7.2-update-smart-drivedb-quiet.patch | 86 ++
 .../files/smartmontools-update-drivedb |  4 +-
 ...s-7.2-r1.ebuild => smartmontools-7.2-r2.ebuild} |  5 ++
 3 files changed, 92 insertions(+), 3 deletions(-)

diff --git 
a/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
 
b/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
new file mode 100644
index 000..77337550822
--- /dev/null
+++ 
b/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
@@ -0,0 +1,86 @@
+commit 56363dff436c12eaa296bbba39dfd65ec3f1f1f2
+Author: chrfranke 
+Date:   Sat Nov 6 15:07:18 2021 +
+
+update-smart-drivedb.in: Add '-q' option to suppress info messages.
+(GH issues/110).
+update-smart-drivedb.8.in: Document new option.
+
+git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5242 
4ea69e1a-61f1-4043-bf83-b5c94c648137
+
+--- a/update-smart-drivedb.8.in
 b/update-smart-drivedb.8.in
+@@ -1,6 +1,6 @@
+ .ig
+ Copyright (C) 2013 Hannes von Haugwitz 
+-Copyright (C) 2014-20 Christian Franke
++Copyright (C) 2014-21 Christian Franke
+ 
+ SPDX-License-Identifier: GPL-2.0-or-later
+ 
+@@ -144,6 +144,10 @@ Print the OpenPGP/GPG public key block.
+ .B \-\-dryrun
+ Print download commands only.
+ .TP
++.B \-q
++[NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE]
++Suppress info messages.
++.TP
+ .B \-v
+ Verbose output.
+ .Sp
+--- a/update-smart-drivedb.in
 b/update-smart-drivedb.in
+@@ -72,6 +72,7 @@ Usage: $myname [OPTIONS] [DESTFILE]
+   --no-verify Don't verify signature
+   --export-keyPrint the OpenPGP/GPG public key block
+   --dryrunPrint download commands only
++  -q  Suppress info messages
+   -v  Verbose output
+ 
+ Updates $DRIVEDB
+@@ -131,6 +132,11 @@ inpath()
+   return $rc
+ }
+ 
++iecho()
++{
++  test -n "$quiet" || echo "$*"
++}
++
+ vecho()
+ {
+   test -n "$q" || echo "$*"
+@@ -522,6 +528,7 @@ mv_all()
+ smtctl=$SMARTCTL
+ tool=
+ urlid="svn"
++quiet=
+ q="-q"
+ dryrun=
+ trunk=
+@@ -547,6 +554,9 @@ while true; do case $1 in
+ shift; test -n "$1" || usage
+ urlid=$1 ;;
+ 
++  -q)
++quiet=t ;;
++
+   -v)
+ q= ;;
+ 
+@@ -727,7 +737,7 @@ if [ -f "$DEST" ]; then
+ then
+   rm -f "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc"
+   touch "$DEST.lastcheck"
+-  echo "$DEST is already up to date"
++  iecho "$DEST is already up to date"
+   exit 0
+ fi
+ mv_all "$DEST" "" ".old"
+@@ -738,4 +748,4 @@ fi
+ 
+ mv_all "$DEST" ".new" ""
+ 
+-echo "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT 
VERIFIED)}"
++iecho "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT 
VERIFIED)}"

diff --git a/sys-apps/smartmontools/files/smartmontools-update-drivedb 
b/sys-apps/smartmontools/files/smartmontools-update-drivedb
index b7d1bb95243..270789c53d0 100644
--- a/sys-apps/smartmontools/files/smartmontools-update-drivedb
+++ b/sys-apps/smartmontools/files/smartmontools-update-drivedb
@@ -1,5 +1,3 @@
 #!/bin/sh
 
-# Hide stdout until a --quiet switch is added:
-# https://github.com/smartmontools/smartmontools/issues/110
-/usr/sbin/update-smart-drivedb > /dev/null
+/usr/sbin/update-smart-drivedb -q

diff --git a/sys-apps/smartmontools/smartmontools-7.2-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
similarity index 96%
rename from sys-apps/smartmontools/smartmontools-7.2-r1.ebuild
rename to sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
index 39f90ac1de4..3059ff0feb5 100644
--- a/sys-apps/smartmontools/smartmontools-7.2-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
@@ -48,6 +48,11 @@ REQUIRED_USE="(
static? ( !systemd )
 )"
 
+PATCHES=(
+   # Backport from commit 56363dff436c12eaa296bbba39dfd65ec3f1f1f2
+   "${FILESDIR}/${P}-update-smart-drivedb-quiet.patch"
+)
+
 src_prepare() {
default
eautoreconf



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

2021-11-01 Thread Louis Sautier
commit: e0247092ecaeffc631dc47afd24859957df6ddec
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Nov  1 16:25:14 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Nov  1 17:34:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0247092

dev-python/owslib: remove unused patch(es)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Louis Sautier  gentoo.org>

 .../files/owslib-0.20.0-no-privacybreach.patch | 41 --
 1 file changed, 41 deletions(-)

diff --git a/dev-python/owslib/files/owslib-0.20.0-no-privacybreach.patch 
b/dev-python/owslib/files/owslib-0.20.0-no-privacybreach.patch
deleted file mode 100644
index 45bcb8b38d1..000
--- a/dev-python/owslib/files/owslib-0.20.0-no-privacybreach.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Description: Fix privacy breaches.
-Author: Johan Van de Wauw 
-
 a/docs/en/index.rst
-+++ b/docs/en/index.rst
-@@ -5,11 +5,7 @@ OWSLib |release| documentation
- .. toctree::
-:maxdepth: 2
- 
--.. image:: https://www.openhub.net/p/owslib/widgets/project_partner_badge.gif
--   :width: 193px
--   :height: 33px
--   :alt: OWSLib
--   :target: https://www.openhub.net/p/owslib?ref=WidgetProjectPartnerBadge
-+`OpenHUB <https://www.openhub.net/p/owslib?ref=WidgetProjectPartnerBadge>`_
- 
- :Author: Tom Kralidis
- :Contact: tomkralidis at gmail.com
 a/docs/_templates/layout.html
-+++ b/docs/_templates/layout.html
-@@ -3,20 +3,6 @@
- {%- block extrahead %}
- {{ super() }}
- 
--
--
--  var _gaq = _gaq || [];
--  _gaq.push(['_setAccount', 'UA-32866201-1']);
--  _gaq.push(['_trackPageview']);
--
--  (function() {
--var ga = document.createElement('script'); ga.type = 'text/javascript'; 
ga.async = true;
--ga.src = ('https:' == document.location.protocol ? '<a  rel="nofollow" href="https://ssl">https://ssl</a>' : 
'<a  rel="nofollow" href="http://www">http://www</a>') + '.google-analytics.com/ga.js';
--var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
--  })();
--
--
--
- {% endblock %}
- 
- {% block relbar1 %}



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

2021-11-01 Thread Louis Sautier
commit: 74dae006a79484a16973475c48dd11e5078000f4
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Nov  1 16:24:54 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Nov  1 17:34:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74dae006

dev-python/filetype: remove unused patch(es)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Louis Sautier  gentoo.org>

 .../filetype/files/filetype-1.0.7-examples.patch   | 26 --
 1 file changed, 26 deletions(-)

diff --git a/dev-python/filetype/files/filetype-1.0.7-examples.patch 
b/dev-python/filetype/files/filetype-1.0.7-examples.patch
deleted file mode 100644
index 04eeb8e1ee6..000
--- a/dev-python/filetype/files/filetype-1.0.7-examples.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 0aa106c03d0bc7dc872edb349b4a88edd170ca05 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Sun, 9 Aug 2020 14:55:07 +0200
-Subject: [PATCH] setup.py: Exclude 'examples' from being installed as a global
- pkg
-

- setup.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 45bfd49..8a69c6a 100644
 a/setup.py
-+++ b/setup.py
-@@ -36,6 +36,7 @@ setup(
- 'Topic :: System :: Filesystems',
- 'Topic :: Utilities'],
- platforms=['any'],
--packages=find_packages(exclude=['dist', 'build', 'docs', 'tests']),
-+packages=find_packages(exclude=['dist', 'build', 'docs', 'tests',
-+'examples']),
- package_data={'filetype': ['LICENSE', '*.md']},
- zip_safe=True)
--- 
-2.28.0
-



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

2021-11-01 Thread Louis Sautier
commit: a1a30ee0c05d7f65db7124843afb2a7232d42540
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Nov  1 16:25:50 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Nov  1 17:34:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a30ee0

dev-python/pytest-xdist: remove unused patch(es)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/22785
Signed-off-by: Louis Sautier  gentoo.org>

 .../pytest-xdist-2.2.0-services-conflict.patch | 31 --
 1 file changed, 31 deletions(-)

diff --git 
a/dev-python/pytest-xdist/files/pytest-xdist-2.2.0-services-conflict.patch 
b/dev-python/pytest-xdist/files/pytest-xdist-2.2.0-services-conflict.patch
deleted file mode 100644
index 2c911601b07..000
--- a/dev-python/pytest-xdist/files/pytest-xdist-2.2.0-services-conflict.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 082beb2ce0fe1f338311d85e656b962df8a16ce1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Tue, 15 Dec 2020 11:38:53 +0100
-Subject: [PATCH] Disable pytest-services plugin in test to avoid worker_id
- conflict
-
-Pass "-p no:pytest-services" in test_worker_id_fixture() to ensure
-that the presence (and implicit loading) of pytest-services will not
-cause the test to fail via overriding worker name.
-
-Fixes #611

- testing/acceptance_test.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py
-index c273bfa..3bea8fc 100644
 a/testing/acceptance_test.py
-+++ b/testing/acceptance_test.py
-@@ -1025,7 +1025,7 @@ def test_worker_id_fixture(testdir, n):
- f.write(worker_id)
- """
- )
--result = testdir.runpytest(f, "-n%d" % n)
-+result = testdir.runpytest(f, "-n%d" % n, "-p", "no:pytest-services")
- result.stdout.fnmatch_lines("* 2 passed in *")
- worker_ids = set()
- for fname in glob.glob(str(testdir.tmpdir.join("*.txt"))):
--- 
-2.29.2
-



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

2021-10-20 Thread Louis Sautier
commit: 3f9fd5e77afd20e2f3a449a9149bfb591e4a28c9
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Oct 20 17:54:57 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Oct 20 18:02:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9fd5e7

dev-python/setuptools_scm_git_archive: lift setuptools_scm restrict.

setuptools_scm 6.3.2 works fine with setuptools_scm_git_archive.

Closes: https://bugs.gentoo.org/811573
Signed-off-by: Louis Sautier  gentoo.org>

 ...t_archive-1.1-r3.ebuild => setuptools_scm_git_archive-1.1-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild
 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild
similarity index 92%
rename from 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild
rename to 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild
index c21e928245b..2b128aa8964 100644
--- 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild
+++ 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="amd64 arm ~arm64 ~ppc64 ~riscv x86"
 IUSE=""
 
 RDEPEND="
-   

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

2021-10-11 Thread Louis Sautier
commit: da768ed30ccec381425fd9736d78f65a8ce1a3ef
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Oct 11 22:09:53 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Oct 11 22:10:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da768ed3

dev-python/geventhttpclient: drop 1.5.1

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/geventhttpclient/Manifest   |  1 -
 .../geventhttpclient/geventhttpclient-1.5.1.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/dev-python/geventhttpclient/Manifest 
b/dev-python/geventhttpclient/Manifest
index c62ee31cd7f..edac954e8ab 100644
--- a/dev-python/geventhttpclient/Manifest
+++ b/dev-python/geventhttpclient/Manifest
@@ -1,4 +1,3 @@
 DIST geventhttpclient-1.4.5.tar.gz 58183 BLAKE2B 
48d44048e7040552824ed19ac49c6dda41536ffded56bae0d942c06f111a327a1d571872f35f388853b479ea1aaa6de518f86e7ee72e362360492530ade65131
 SHA512 
9ffe00c79b145dab104e1dce336e072060f315d9bee880daf64b5f1f52e661d810dab9a60286320a7d30cf0e794465f201c039cc31fe7ec325cdb3a8350c9f7d
-DIST geventhttpclient-1.5.1.tar.gz 58398 BLAKE2B 
9995e14c635b06f729d342b19187d4c4b935f903038950fc05e8d9260a341d3a551750c1cd46798ac2d97603d1dba449d4db3a51a44e49a1720ec23b1526edf8
 SHA512 
46fa5333149b86f5c4b5d06adfe5d49402d0220266c27507da1645f1da8a50562e142e37435a029bb4184c417e8a4123301a7dfc8769ce419e841afebc11247c
 DIST geventhttpclient-1.5.2.tar.gz 58467 BLAKE2B 
ea9476038685458cade41150c33226b4355018b8a8c22623e96186ff922d7f6b9518ca4108afff3bcfd18167bf288ef7f6366528050e300d720ef0e7b15ef649
 SHA512 
1edf153f88b9a7a954f9acc316ac76f06f2599bd3cf11b4a8f1df7b500e884f304601aae6a1dca8cedf24d4f78793176814eadc8b2c60fa90769df649723146e
 DIST geventhttpclient-1.5.3.tar.gz 58447 BLAKE2B 
a1cf529c6d40ee81ebe17cb066f2d837cf3d5ce2511bb735c1a63503b612c98c17c91f08de99d604c9ff6ebfa7e6502c338e7fbbc86de954ae7e559966aa8006
 SHA512 
9a0ed907f73f7f5ff8675502ef6fc82bff7b543d0a2d22e1eca5aba3592675a87fe09c48981f496b7f63a660e7eab5f68801ae74da8c33ac9d9bf55a0425eed1

diff --git a/dev-python/geventhttpclient/geventhttpclient-1.5.1.ebuild 
b/dev-python/geventhttpclient/geventhttpclient-1.5.1.ebuild
deleted file mode 100644
index 39d7cf97389..000
--- a/dev-python/geventhttpclient/geventhttpclient-1.5.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A high performance, concurrent HTTP client library for Python 
using gevent"
-HOMEPAGE="https://github.com/gwik/geventhttpclient";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-
-RDEPEND="
-   app-arch/brotli[python,${PYTHON_USEDEP}]
-   dev-python/certifi[${PYTHON_USEDEP}]
-   dev-python/gevent[events(+),${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Avoid ModuleNotFoundError for tests we skip later
-   sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || 
die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # These SNI tests require dpkt which is not in the tree
-   
src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl
-   
src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl
-   src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl
-   )
-   # Append to sys.path to avoid ImportError
-   # https://bugs.gentoo.org/667758
-   # Skip tests which require internet access
-   epytest --import-mode=append -m "not online"
-}



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

2021-10-11 Thread Louis Sautier
commit: 4c3612bd41994a42200d25146a0ded8977cb64b2
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Oct 11 22:09:45 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Oct 11 22:10:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3612bd

dev-python/geventhttpclient: add 1.5.3

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/geventhttpclient/Manifest   |  1 +
 .../geventhttpclient/geventhttpclient-1.5.3.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/geventhttpclient/Manifest 
b/dev-python/geventhttpclient/Manifest
index 88cf4c5523a..c62ee31cd7f 100644
--- a/dev-python/geventhttpclient/Manifest
+++ b/dev-python/geventhttpclient/Manifest
@@ -1,3 +1,4 @@
 DIST geventhttpclient-1.4.5.tar.gz 58183 BLAKE2B 
48d44048e7040552824ed19ac49c6dda41536ffded56bae0d942c06f111a327a1d571872f35f388853b479ea1aaa6de518f86e7ee72e362360492530ade65131
 SHA512 
9ffe00c79b145dab104e1dce336e072060f315d9bee880daf64b5f1f52e661d810dab9a60286320a7d30cf0e794465f201c039cc31fe7ec325cdb3a8350c9f7d
 DIST geventhttpclient-1.5.1.tar.gz 58398 BLAKE2B 
9995e14c635b06f729d342b19187d4c4b935f903038950fc05e8d9260a341d3a551750c1cd46798ac2d97603d1dba449d4db3a51a44e49a1720ec23b1526edf8
 SHA512 
46fa5333149b86f5c4b5d06adfe5d49402d0220266c27507da1645f1da8a50562e142e37435a029bb4184c417e8a4123301a7dfc8769ce419e841afebc11247c
 DIST geventhttpclient-1.5.2.tar.gz 58467 BLAKE2B 
ea9476038685458cade41150c33226b4355018b8a8c22623e96186ff922d7f6b9518ca4108afff3bcfd18167bf288ef7f6366528050e300d720ef0e7b15ef649
 SHA512 
1edf153f88b9a7a954f9acc316ac76f06f2599bd3cf11b4a8f1df7b500e884f304601aae6a1dca8cedf24d4f78793176814eadc8b2c60fa90769df649723146e
+DIST geventhttpclient-1.5.3.tar.gz 58447 BLAKE2B 
a1cf529c6d40ee81ebe17cb066f2d837cf3d5ce2511bb735c1a63503b612c98c17c91f08de99d604c9ff6ebfa7e6502c338e7fbbc86de954ae7e559966aa8006
 SHA512 
9a0ed907f73f7f5ff8675502ef6fc82bff7b543d0a2d22e1eca5aba3592675a87fe09c48981f496b7f63a660e7eab5f68801ae74da8c33ac9d9bf55a0425eed1

diff --git a/dev-python/geventhttpclient/geventhttpclient-1.5.3.ebuild 
b/dev-python/geventhttpclient/geventhttpclient-1.5.3.ebuild
new file mode 100644
index 000..39d7cf97389
--- /dev/null
+++ b/dev-python/geventhttpclient/geventhttpclient-1.5.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A high performance, concurrent HTTP client library for Python 
using gevent"
+HOMEPAGE="https://github.com/gwik/geventhttpclient";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+   app-arch/brotli[python,${PYTHON_USEDEP}]
+   dev-python/certifi[${PYTHON_USEDEP}]
+   dev-python/gevent[events(+),${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Avoid ModuleNotFoundError for tests we skip later
+   sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || 
die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # These SNI tests require dpkt which is not in the tree
+   
src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl
+   
src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl
+   src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl
+   )
+   # Append to sys.path to avoid ImportError
+   # https://bugs.gentoo.org/667758
+   # Skip tests which require internet access
+   epytest --import-mode=append -m "not online"
+}



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/

2021-10-06 Thread Louis Sautier
commit: 3fb1894d6bac17d0729faefdb88960fa06bb3135
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Oct  6 23:04:22 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Oct  6 23:04:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb1894d

media-video/gaupol: add 1.10.1, drop 1.10

Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/Manifest | 2 +-
 media-video/gaupol/{gaupol-1.10.ebuild => gaupol-1.10.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index aa31e6a0215..a9483cc3e91 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,2 +1,2 @@
-DIST gaupol-1.10.tar.gz 580538 BLAKE2B 
834e4ae6681588a9bc70cc56a7977449fc2409f4720a6ec63c63bd6e617dc7b5d366ce9b55a2681fb7c1656a7b5c1f2949d9337e420cbd89d122bf7cfd2a
 SHA512 
56440730a636d602b3bc96aac1430252536d01127dd155d970d4f0ee647cb3a530931a1f512c87e575eabdbc0608072e909638d5ade80414bbe419a393ff06e3
+DIST gaupol-1.10.1.tar.gz 580890 BLAKE2B 
eb3f5bc3f9ec371d4169a9517f83bd42371aa41532f99f650b51e4649f813f0a37c0de5a01f69ee0c73f38cf2b57dd3260b5cac88f4c09785e86da2ec82c0cba
 SHA512 
f294ea10c73dcf9941f70988ae58066917d7b321141e3a3ba3e12810e5f20a4711feca45d354dddc0e104a1ee2496fad24e529b129bdeee1cdb92010ec20be1d
 DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/gaupol-1.10.ebuild 
b/media-video/gaupol/gaupol-1.10.1.ebuild
similarity index 96%
rename from media-video/gaupol/gaupol-1.10.ebuild
rename to media-video/gaupol/gaupol-1.10.1.ebuild
index bc39f0b2268..cc4e0d9d820 100644
--- a/media-video/gaupol/gaupol-1.10.ebuild
+++ b/media-video/gaupol/gaupol-1.10.1.ebuild
@@ -35,7 +35,7 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md )
+DOCS=( AUTHORS.md NEWS.md README.md README.aeidon.md )
 
 python_test() {
virtx pytest -vv



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

2021-10-02 Thread Louis Sautier
commit: c943961063778bb7cfaaee45d0159f860775a0fd
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Oct  2 21:58:55 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Oct  2 21:59:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9439610

dev-python/geventhttpclient: add 1.5.2

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/geventhttpclient/Manifest   |  1 +
 .../geventhttpclient/geventhttpclient-1.5.2.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/geventhttpclient/Manifest 
b/dev-python/geventhttpclient/Manifest
index 618d367f119..88cf4c5523a 100644
--- a/dev-python/geventhttpclient/Manifest
+++ b/dev-python/geventhttpclient/Manifest
@@ -1,2 +1,3 @@
 DIST geventhttpclient-1.4.5.tar.gz 58183 BLAKE2B 
48d44048e7040552824ed19ac49c6dda41536ffded56bae0d942c06f111a327a1d571872f35f388853b479ea1aaa6de518f86e7ee72e362360492530ade65131
 SHA512 
9ffe00c79b145dab104e1dce336e072060f315d9bee880daf64b5f1f52e661d810dab9a60286320a7d30cf0e794465f201c039cc31fe7ec325cdb3a8350c9f7d
 DIST geventhttpclient-1.5.1.tar.gz 58398 BLAKE2B 
9995e14c635b06f729d342b19187d4c4b935f903038950fc05e8d9260a341d3a551750c1cd46798ac2d97603d1dba449d4db3a51a44e49a1720ec23b1526edf8
 SHA512 
46fa5333149b86f5c4b5d06adfe5d49402d0220266c27507da1645f1da8a50562e142e37435a029bb4184c417e8a4123301a7dfc8769ce419e841afebc11247c
+DIST geventhttpclient-1.5.2.tar.gz 58467 BLAKE2B 
ea9476038685458cade41150c33226b4355018b8a8c22623e96186ff922d7f6b9518ca4108afff3bcfd18167bf288ef7f6366528050e300d720ef0e7b15ef649
 SHA512 
1edf153f88b9a7a954f9acc316ac76f06f2599bd3cf11b4a8f1df7b500e884f304601aae6a1dca8cedf24d4f78793176814eadc8b2c60fa90769df649723146e

diff --git a/dev-python/geventhttpclient/geventhttpclient-1.5.2.ebuild 
b/dev-python/geventhttpclient/geventhttpclient-1.5.2.ebuild
new file mode 100644
index 000..39d7cf97389
--- /dev/null
+++ b/dev-python/geventhttpclient/geventhttpclient-1.5.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A high performance, concurrent HTTP client library for Python 
using gevent"
+HOMEPAGE="https://github.com/gwik/geventhttpclient";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+   app-arch/brotli[python,${PYTHON_USEDEP}]
+   dev-python/certifi[${PYTHON_USEDEP}]
+   dev-python/gevent[events(+),${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Avoid ModuleNotFoundError for tests we skip later
+   sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || 
die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # These SNI tests require dpkt which is not in the tree
+   
src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl
+   
src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl
+   src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl
+   )
+   # Append to sys.path to avoid ImportError
+   # https://bugs.gentoo.org/667758
+   # Skip tests which require internet access
+   epytest --import-mode=append -m "not online"
+}



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/

2021-10-02 Thread Louis Sautier
commit: 0b3fdd1c8cc1e2b627f1732a90d13189ffeb8477
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Oct  2 21:41:21 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Oct  2 21:44:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3fdd1c

media-video/gaupol: add 1.10

Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/Manifest   |  1 +
 media-video/gaupol/gaupol-1.10.ebuild | 65 +++
 2 files changed, 66 insertions(+)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 615296b500f..f47bd5ba76f 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,2 +1,3 @@
+DIST gaupol-1.10.tar.gz 580538 BLAKE2B 
834e4ae6681588a9bc70cc56a7977449fc2409f4720a6ec63c63bd6e617dc7b5d366ce9b55a2681fb7c1656a7b5c1f2949d9337e420cbd89d122bf7cfd2a
 SHA512 
56440730a636d602b3bc96aac1430252536d01127dd155d970d4f0ee647cb3a530931a1f512c87e575eabdbc0608072e909638d5ade80414bbe419a393ff06e3
 DIST gaupol-1.8.tar.gz 558627 BLAKE2B 
a7243310b97fe7187311585762faaff512364ca043630eb43c1ee99c55fa5400e14698e391b410b67f70f1bc7a741adb0737868d7b40c868bb4c6badacd14fb1
 SHA512 
a6b65316b5750a4d636b39b75393b0b2f2c44d978f1fc8cc3bd2cd2d2bcf9ba68d0161afb41bdca5b381ec39e5a2e06440f4f4676f344019966b297c4112e691
 DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/gaupol-1.10.ebuild 
b/media-video/gaupol/gaupol-1.10.ebuild
new file mode 100644
index 000..bc39f0b2268
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.10.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1 virtualx xdg-utils
+
+DESCRIPTION="A subtitle editor for text-based subtitles"
+HOMEPAGE="https://otsaloma.io/gaupol/";
+SRC_URI="https://github.com/otsaloma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="spell"
+
+RDEPEND="
+   app-text/iso-codes
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   x11-libs/gtk+:3[introspection]
+   spell? ( app-text/gspell[introspection] )
+"
+BDEPEND="
+   sys-devel/gettext
+   test? (
+   app-dicts/myspell-en
+   app-text/enchant[hunspell]
+   app-text/gspell[introspection]
+   )
+"
+
+distutils_enable_tests pytest
+
+DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md )
+
+python_test() {
+   virtx pytest -vv
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+   if [[ -z ${REPLACING_VERSIONS} ]]; then
+   elog "The integrated video player requires 
media-plugins/gst-plugins-gtk."
+   elog ""
+   elog "External video previewing support requires MPV, MPlayer 
or VLC."
+   if use spell; then
+   elog ""
+   elog "Spell-checking requires a dictionary, any of 
app-dicts/myspell-*"
+   elog "or app-text/aspell with the appropriate L10N 
variable."
+   elog ""
+   elog "Additionally, make sure that app-text/enchant has 
the correct flags enabled:"
+   elog "USE=hunspell for myspell dictionaries and 
USE=aspell for aspell dictionaries."
+   fi
+   fi
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/files/, media-video/gaupol/

2021-10-02 Thread Louis Sautier
commit: 8acf3d7b2b3a407a837b3f573c1bb0c5a164949e
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Oct  2 21:42:04 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Oct  2 21:44:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8acf3d7b

media-video/gaupol: drop 1.8-r2

Signed-off-by: Louis Sautier  gentoo.org>

 media-video/gaupol/Manifest|   1 -
 .../files/gaupol-1.8-fix-audio-tracks-order.patch  | 174 -
 media-video/gaupol/gaupol-1.8-r2.ebuild|  68 
 3 files changed, 243 deletions(-)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index f47bd5ba76f..aa31e6a0215 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,3 +1,2 @@
 DIST gaupol-1.10.tar.gz 580538 BLAKE2B 
834e4ae6681588a9bc70cc56a7977449fc2409f4720a6ec63c63bd6e617dc7b5d366ce9b55a2681fb7c1656a7b5c1f2949d9337e420cbd89d122bf7cfd2a
 SHA512 
56440730a636d602b3bc96aac1430252536d01127dd155d970d4f0ee647cb3a530931a1f512c87e575eabdbc0608072e909638d5ade80414bbe419a393ff06e3
-DIST gaupol-1.8.tar.gz 558627 BLAKE2B 
a7243310b97fe7187311585762faaff512364ca043630eb43c1ee99c55fa5400e14698e391b410b67f70f1bc7a741adb0737868d7b40c868bb4c6badacd14fb1
 SHA512 
a6b65316b5750a4d636b39b75393b0b2f2c44d978f1fc8cc3bd2cd2d2bcf9ba68d0161afb41bdca5b381ec39e5a2e06440f4f4676f344019966b297c4112e691
 DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/files/gaupol-1.8-fix-audio-tracks-order.patch 
b/media-video/gaupol/files/gaupol-1.8-fix-audio-tracks-order.patch
deleted file mode 100644
index 3f554c4ef33..000
--- a/media-video/gaupol/files/gaupol-1.8-fix-audio-tracks-order.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-From e26cfcfe002c87a39eac63bbaa5ad0d4d69c95a4 Mon Sep 17 00:00:00 2001
-From: Quentin Gliosca 
-Date: Tue, 12 May 2020 16:48:31 +0200
-Subject: [PATCH 1/3] Fix the order of languages in audio track selection
-
-Fix #129

- gaupol/player.py | 7 ++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/gaupol/player.py b/gaupol/player.py
-index 836abea2..c266e0b9 100644
 a/gaupol/player.py
-+++ b/gaupol/player.py
-@@ -118,7 +118,8 @@ def _ensure_default_segment(self):
- 
- def get_audio_languages(self):
- """Return a sequence of audio languages or ``None``."""
--return tuple(x.get_language() for x in self._info.get_audio_streams())
-+return tuple(self._playbin.emit("get-audio-tags", 
i).get_string("language-code")[1]
-+ for i in range(self._playbin.props.n_audio))
- 
- def get_duration(self, mode=None):
- """Return duration of video stream or ``None``."""
-@@ -356,6 +357,10 @@ def set_uri(self, uri):
- dialog.add_button(_("_OK"), Gtk.ResponseType.OK)
- dialog.set_default_response(Gtk.ResponseType.OK)
- gaupol.util.flash_dialog(dialog)
-+else:
-+# Make stream tags available from _playbin
-+self._playbin.set_state(Gst.State.PAUSED)
-+self._playbin.get_state(Gst.CLOCK_TIME_NONE)
- 
- def stop(self):
- """Stop."""
-
-From 9ace4fefe5d246c5588538a715a185c796e218ef Mon Sep 17 00:00:00 2001
-From: Quentin Gliosca 
-Date: Tue, 12 May 2020 17:27:35 +0200
-Subject: [PATCH 2/3] Improve names of audio tracks in menu
-

- gaupol/agents/video.py | 18 ++
- gaupol/player.py   | 20 
- 2 files changed, 30 insertions(+), 8 deletions(-)
-
-diff --git a/gaupol/agents/video.py b/gaupol/agents/video.py
-index d434255a..0f6b935c 100644
 a/gaupol/agents/video.py
-+++ b/gaupol/agents/video.py
-@@ -27,7 +27,11 @@
- from gi.repository import Gtk
- 
- with aeidon.util.silent(Exception):
-+from gi import require_version
-+require_version('GstTag', '1.0')
- from gi.repository import Gst
-+from gi.repository import GstTag
-+
- 
- 
- class VideoAgent(aeidon.Delegate):
-@@ -348,11 +352,17 @@ def _update_languages_menu(self):
- """Update the audio language selection menu."""
- menu = self.get_menubar_section("audio-languages-placeholder")
- menu.remove_all()
--languages = self.player.get_audio_languages()
--for i, language in enumerate(languages):
--language = language or _("Undefined")
-+tracks = self.player.get_audio_infos()
-+for i, track in enumerate(tracks):
-+title = track.title or "{} {}".format(_("Track&

[gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/

2021-10-01 Thread Louis Sautier
commit: 186a300867462a9d494155cb9cba16f20853cbae
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Oct  1 11:47:42 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Fri Oct  1 12:03:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186a3008

net-p2p/airdcpp-webclient: add 2.11.2

Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/airdcpp-webclient/Manifest |  1 +
 .../airdcpp-webclient-2.11.2.ebuild| 61 ++
 2 files changed, 62 insertions(+)

diff --git a/net-p2p/airdcpp-webclient/Manifest 
b/net-p2p/airdcpp-webclient/Manifest
index 7b1823dcc79..2ac81f5df4f 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -1,2 +1,3 @@
 DIST airdcpp-webclient-2.11.0.tar.gz 967326 BLAKE2B 
47d257e47c332b4fd5351a680f0585360cb7329cd1bcf3c478d0a7847adbee68c024af7136eeb3b551188d3af7c4a6db2257eefaca7f82ee4670667a4a6e3e63
 SHA512 
926457e76b6bd29e0124c519b67d9e0f3cee48192c1b56e073b84d65f0171d53a7a4dbaf55e100f0685e01116935f4e4e2c193dab0ef0bed08d8101e12c33b82
 DIST airdcpp-webclient-2.11.1.tar.gz 967966 BLAKE2B 
d95760f3ae945255a396f20504995a2ea8843071ab19574a6faac919fb411a0a4e44ebcb005afce0056d960729d6b8bdd9df4ca457cea91931eedb1d329c7a12
 SHA512 
03f6ce82467f824d1b4e10075bf9e28b45282fb977b3feb67fc948044ed592672a83182d4716d0c10591c0b7568417997b335e25827d8e78fbd3735605cd052e
+DIST airdcpp-webclient-2.11.2.tar.gz 978294 BLAKE2B 
cb15e02dc5381cc5f0ecb1b4d65cdd1c4a3d007f3ea1e78a159b8a62af03831318b8f6d8c0692c5a9145dda616627ea97f4bd3eeb1270a7452c7d78bf01d147f
 SHA512 
281d4a9da88f23a4c02eef7f09c4fc2c91c44ac93d932ea4bfe097029b45dbd12a8d04d4ef8b493d261f5dade15b62ed4d564197fbfb2d9d98b9dfcc9a9e6379

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
new file mode 100644
index 000..48c674e1b80
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+
+inherit cmake python-any-r1 systemd
+
+DESCRIPTION="Cross-platform Direct Connect client"
+HOMEPAGE="https://airdcpp-web.github.io/";
+SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="debug nat-pmp +tbb +webui"
+
+RDEPEND="
+   acct-user/airdcppd
+   acct-group/airdcppd
+   app-arch/bzip2
+   dev-cpp/websocketpp
+   dev-libs/boost:=
+   dev-libs/leveldb:=
+   dev-libs/libmaxminddb:=
+   dev-libs/openssl:0=[-bindist(-)]
+   net-libs/miniupnpc:=
+   sys-libs/zlib
+   virtual/libiconv
+   nat-pmp? ( net-libs/libnatpmp:= )
+   tbb? ( dev-cpp/tbb:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   ${PYTHON_DEPS}
+"
+PDEPEND="webui? ( www-apps/airdcpp-webui )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_NATPMP=$(usex nat-pmp)
+   -DENABLE_TBB=$(usex tbb)
+   -DINSTALL_WEB_UI=OFF
+   )
+   CMAKE_BUILD_TYPE=$(usex debug Debug Gentoo) cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   newconfd "${FILESDIR}/airdcppd.confd" airdcppd
+   newinitd "${FILESDIR}/airdcppd.initd" airdcppd
+   systemd_dounit "${FILESDIR}/airdcppd.service"
+}
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   elog "Run 'airdcppd --configure' to set up ports and 
authentication"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/airdcpp-webui/

2021-10-01 Thread Louis Sautier
commit: 65905a9afd5d31b809b34ce0083a74396d5824ed
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Oct  1 11:50:09 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Fri Oct  1 12:03:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65905a9a

www-apps/airdcpp-webui: add 2.11.2

Signed-off-by: Louis Sautier  gentoo.org>

 www-apps/airdcpp-webui/Manifest|  1 +
 www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index 21827d7d788..1bd86b01a3b 100644
--- a/www-apps/airdcpp-webui/Manifest
+++ b/www-apps/airdcpp-webui/Manifest
@@ -1,2 +1,3 @@
 DIST airdcpp-webui-2.11.0.tgz 8148062 BLAKE2B 
2a47bae691667aae14afadbfd5a5b1f938c72de7ba3ff75f0feca6a5d13f890fdb663057237ff29ed85eea6fe55f72e421201fe2c44efd9181dc751e59748bb8
 SHA512 
00147c4f1d19a0866735a6bb0b4789e915ae028bf92e4a46aea586c1c4eea57fd85558cdffd9504abb36ffb78764bf6c310a5937f06d99de03883bdfaf6a2b33
 DIST airdcpp-webui-2.11.1.tgz 8147412 BLAKE2B 
4d4eb713b1c0c570d5c1cf02053c87bf983c97c6ae33ac58b04f4cee0aab41828981fc299c74383da4bdd015695daba4dfed62b0a6bf5d925e1dd1065fe2e60e
 SHA512 
c54673ba2755e3b7e5889c34d2ca3a19c9682b81b2c527d579007931a7983e8faa905ef8f26b5a7c8479d98c7c9fd98de5c9aac2de0161aeb849460e28d22465
+DIST airdcpp-webui-2.11.2.tgz 7200053 BLAKE2B 
e5a8f1d39d8cdc96cdfd1ea97d4ba8e4a943eaa0c53902b66fa0731432527e5f1a27a40ea08c968ca58281f6a1064166072302b37999396db395a3a66c052a17
 SHA512 
3d505dd231dd3e7cc1aae32668b7567eae5346f8a67bded3a54b1be830145ba6c13cfbcfc2eb4eedcfb306096b760690cc19602db314535d48d0a30c1334ff73

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
new file mode 100644
index 000..e7bbc80f2a8
--- /dev/null
+++ b/www-apps/airdcpp-webui/airdcpp-webui-2.11.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Web interface for airdcpp-webclient"
+HOMEPAGE="https://airdcpp-web.github.io/";
+SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz";
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+RDEPEND="=net-p2p/airdcpp-webclient-${PV%.*}*"
+
+S="${WORKDIR}/package"
+
+src_install() {
+   insinto "/usr/share/airdcpp/web-resources"
+   doins -r dist/.
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/, sys-apps/smartmontools/files/

2021-09-28 Thread Louis Sautier
commit: 245ca244680a330525caa4cb0028f875a425e706
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Sep 28 23:09:45 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Sep 28 23:16:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245ca244

sys-apps/smartmontools: hide stdout from drivedb update cron task

Signed-off-by: Louis Sautier  gentoo.org>

 sys-apps/smartmontools/files/smartmontools-update-drivedb | 4 +++-
 .../{smartmontools-7.2.ebuild => smartmontools-7.2-r1.ebuild} | 0
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/files/smartmontools-update-drivedb 
b/sys-apps/smartmontools/files/smartmontools-update-drivedb
index 831f1e6541b..b7d1bb95243 100644
--- a/sys-apps/smartmontools/files/smartmontools-update-drivedb
+++ b/sys-apps/smartmontools/files/smartmontools-update-drivedb
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-/usr/sbin/update-smart-drivedb
+# Hide stdout until a --quiet switch is added:
+# https://github.com/smartmontools/smartmontools/issues/110
+/usr/sbin/update-smart-drivedb > /dev/null

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2-r1.ebuild
similarity index 100%
rename from sys-apps/smartmontools/smartmontools-7.2.ebuild
rename to sys-apps/smartmontools/smartmontools-7.2-r1.ebuild



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

2021-09-19 Thread Louis Sautier
commit: fcccac59c9863e60d3dcddc691bbf92e8d869897
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Sep 19 19:19:49 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Sep 19 19:43:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcccac59

profiles: mask dev-python/flake8-import-order for removal

Bug: https://bugs.gentoo.org/813918
Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/profiles/package.mask b/profiles/package.mask
index e2f97cec0c8..2ae4b65dd81 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,12 @@
 
 #--- END OF EXAMPLES ---
 
+# Louis Sautier  (2021-09-19)
+# Last release in 2019, no reverse dependencies.
+# dev-python/isort provides similar functionality.
+# Removal on 2021-10-19, bug #813918.
+dev-python/flake8-import-order
+
 # Alfredo Tupone  (2021-09-19)
 # Mask gnat-gpl-2018 and gnat-gpl-2019. Please switch
 # to a fresher gnat-gpl branch.



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

2021-09-10 Thread Louis Sautier
commit: 7a5d15943773df5714949633c16ae0b7303d3337
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Sep 10 11:41:54 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Fri Sep 10 11:44:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5d1594

dev-python/setuptools_scm_git_archive: require setuptools_scm<6.1.0

Bug: https://bugs.gentoo.org/811573
Signed-off-by: Louis Sautier  gentoo.org>

 ...t_archive-1.1-r2.ebuild => setuptools_scm_git_archive-1.1-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild
 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild
similarity index 92%
rename from 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild
rename to 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild
index 2b128aa8964..c21e928245b 100644
--- 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild
+++ 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r3.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="amd64 arm ~arm64 ~ppc64 ~riscv x86"
 IUSE=""
 
 RDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   

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

2021-09-09 Thread Louis Sautier
commit: 350ba3bc2c06478656b6520cd3d2ac74ddb62a2d
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Sep  9 21:41:10 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Sep  9 22:32:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=350ba3bc

dev-python/tempita: disable setuptools' 2to3, use epytest

Also:
* The pypy patch is no longer required.
* Bump to EAPI 8 (no changes in installed files).

Closes: https://bugs.gentoo.org/812239
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/tempita/files/tempita-0.5.3-2to3.patch  | 233 +
 .../tempita/files/tempita-0.5.3-pypy-tests.patch   |  26 ---
 dev-python/tempita/tempita-0.5.3-r3.ebuild |  20 +-
 3 files changed, 240 insertions(+), 39 deletions(-)

diff --git a/dev-python/tempita/files/tempita-0.5.3-2to3.patch 
b/dev-python/tempita/files/tempita-0.5.3-2to3.patch
new file mode 100644
index 000..d2aaae6546c
--- /dev/null
+++ b/dev-python/tempita/files/tempita-0.5.3-2to3.patch
@@ -0,0 +1,233 @@
+commit d886499651add63bbb944c25fc56a276cc2a7884
+Author: Louis Sautier 
+Date:   Thu Sep 9 23:35:03 2021 +0200
+
+Stop using deprecated 2to3 option for setuptools
+
+diff --git a/setup.py b/setup.py
+index f575020..678b555 100644
+--- a/setup.py
 b/setup.py
+@@ -36,5 +36,4 @@ more to learn about it.
+   test_suite='nose.collector',
+   include_package_data=True,
+   zip_safe=True,
+-  use_2to3=True,
+   )
+diff --git a/tempita/__init__.py b/tempita/__init__.py
+index acc2fd9..a3cb8a1 100755
+--- a/tempita/__init__.py
 b/tempita/__init__.py
+@@ -35,9 +35,9 @@ import os
+ import re
+ import sys
+ import tokenize
+-from cStringIO import StringIO
++from io import StringIO
+ from html import escape
+-from urllib import quote as url_quote
++from urllib.parse import quote as url_quote
+ from tempita._looper import looper
+ from tempita.compat3 import bytes, basestring_, next, is_unicode, coerce_text
+ 
+@@ -103,7 +103,7 @@ class Template(object):
+ delimiters = (self.default_namespace['start_braces'],
+   self.default_namespace['end_braces'])
+ else:
+-assert len(delimiters) == 2 and all([isinstance(delimeter, 
basestring)
++assert len(delimiters) == 2 and all([isinstance(delimeter, str)
+  for delimeter in delimiters])
+ self.default_namespace = self.__class__.default_namespace.copy()
+ self.default_namespace['start_braces'] = delimiters[0]
+@@ -198,7 +198,7 @@ class Template(object):
+ position=None, name=self.name)
+ templ = self.get_template(inherit_template, self)
+ self_ = TemplateObject(self.name)
+-for name, value in defs.iteritems():
++for name, value in defs.items():
+ setattr(self_, name, value)
+ self_.body = body
+ ns = ns.copy()
+@@ -294,7 +294,7 @@ class Template(object):
+ try:
+ try:
+ value = eval(code, self.default_namespace, ns)
+-except SyntaxError, e:
++except SyntaxError as e:
+ raise SyntaxError(
+ 'invalid syntax in expression: %s' % code)
+ return value
+@@ -306,12 +306,12 @@ class Template(object):
+ else:
+ arg0 = coerce_text(e)
+ e.args = (self._add_line_info(arg0, pos),)
+-raise exc_info[0], e, exc_info[2]
++raise exc_info[0](e).with_traceback(exc_info[2])
+ 
+ def _exec(self, code, ns, pos):
+ __traceback_hide__ = True
+ try:
+-exec code in self.default_namespace, ns
++exec(code, self.default_namespace, ns)
+ except:
+ exc_info = sys.exc_info()
+ e = exc_info[1]
+@@ -319,7 +319,7 @@ class Template(object):
+ e.args = (self._add_line_info(e.args[0], pos),)
+ else:
+ e.args = (self._add_line_info(None, pos),)
+-raise exc_info[0], e, exc_info[2]
++raise exc_info[0](e).with_traceback(exc_info[2])
+ 
+ def _repr(self, value, pos):
+ __traceback_hide__ = True
+@@ -328,7 +328,7 @@ class Template(object):
+ return ''
+ if self._unicode:
+ try:
+-value = unicode(value)
++value = str(value)
+ except UnicodeDecodeError:
+ value = bytes(value)
+ else:
+@@ -341,7 +341,7 @@ class Template(object):
+ exc_info = sys.exc_info()
+ e = exc_info[1]
+ e.args = (self._add_line_info(e.args[0], pos),)
+-raise exc_info[0], e, exc_info[2]
++raise exc_info[0](e).with_traceback(exc_info[2])
+ else:
+ if self._unicode and isinstance(value,

[gentoo-commits] repo/gentoo:master commit in: app-misc/rmlint/, app-misc/rmlint/files/

2021-09-09 Thread Louis Sautier
commit: cb7eb2d9bba3a28ef8c241ab0e6c6a9caf959991
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Sep  9 11:23:38 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Sep  9 21:00:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7eb2d9

app-misc/rmlint: fix build and tests without native symlinks

Closes: https://bugs.gentoo.org/812197
Signed-off-by: Louis Sautier  gentoo.org>

 app-misc/rmlint/files/rmlint-2.10.1-fix-cc.patch | 40 
 app-misc/rmlint/rmlint-2.10.1.ebuild |  4 ++-
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/app-misc/rmlint/files/rmlint-2.10.1-fix-cc.patch 
b/app-misc/rmlint/files/rmlint-2.10.1-fix-cc.patch
new file mode 100644
index 000..78aac09ce2a
--- /dev/null
+++ b/app-misc/rmlint/files/rmlint-2.10.1-fix-cc.patch
@@ -0,0 +1,40 @@
+commit 41056d132ae772b3c050020d68b7daa585e4143c
+Author: Louis Sautier 
+Date:   Thu Sep 9 13:29:37 2021 +0200
+
+Never hardcode compiler, select it based on CC environment variable
+
+diff --git a/SConstruct b/SConstruct
+index 7e12d413..20b080da 100755
+--- a/SConstruct
 b/SConstruct
+@@ -37,8 +37,9 @@ Export('VERSION_MAJOR VERSION_MINOR VERSION_PATCH 
VERSION_NAME')
+ def check_gcc_version(context):
+ context.Message('Checking for GCC version... ')
+ 
++gcc = os.environ.get("CC", "gcc")
+ try:
+-v = subprocess.check_output("printf '%s\n' __GNUC__ | gcc -E -P -", 
shell=True)
++v = subprocess.check_output("printf '%s\n' __GNUC__ | {} -E -P 
-".format(gcc), shell=True)
+ try:
+ v = int(v)
+ context.Result(str(v))
+diff --git a/tests/test_types/test_nonstripped.py 
b/tests/test_types/test_nonstripped.py
+index a18648c9..d3190d1b 100644
+--- a/tests/test_types/test_nonstripped.py
 b/tests/test_types/test_nonstripped.py
+@@ -21,8 +21,12 @@ def create_binary(path, stripped=False):
+ path = path + '.stripped' if stripped else path + '.nonstripped'
+ full_path = os.path.join(TESTDIR_NAME, path)
+ 
+-command = 'echo \'{src}\' | cc -o {path} {option} -std=c99 -xc -'.format(
+-src=SOURCE, path=full_path, option=('-s' if stripped else '-ggdb3')
++cc = os.environ.get("CC", "cc")
++command = 'echo \'{src}\' | {cc} -o {path} {option} -std=c99 -xc 
-'.format(
++cc=cc,
++src=SOURCE,
++path=full_path,
++option=('-s' if stripped else '-ggdb3')
+ )
+ subprocess.call(command, shell=True)
+ 

diff --git a/app-misc/rmlint/rmlint-2.10.1.ebuild 
b/app-misc/rmlint/rmlint-2.10.1.ebuild
index 11a0d0b2e17..aaa9a53dd04 100644
--- a/app-misc/rmlint/rmlint-2.10.1.ebuild
+++ b/app-misc/rmlint/rmlint-2.10.1.ebuild
@@ -68,6 +68,8 @@ PATCHES=(
"${FILESDIR}/${PN}-2.10.1-skip-tests.patch"
# https://github.com/sahib/rmlint/pull/523
"${FILESDIR}/${PN}-2.10.1-x86-fix-size.patch"
+   # https://github.com/sahib/rmlint/pull/526
+   "${FILESDIR}/${PN}-2.10.1-fix-cc.patch"
 )
 
 src_prepare() {
@@ -82,7 +84,7 @@ src_prepare() {
 
 src_configure() {
# Needed for USE=-native-symlinks
-   tc-export CC
+   tc-export AR CC
scons_opts=(
VERBOSE=1
$(use_with doc docs)



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

2021-09-09 Thread Louis Sautier
commit: 8723b1db804d4c8919f9c30421421bcd61b2169e
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Sep  9 11:17:13 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Sep  9 11:17:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8723b1db

dev-python/unidecode: fix setuptools dependency

Closes: https://bugs.gentoo.org/811972
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/unidecode/unidecode-1.3.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/unidecode/unidecode-1.3.0.ebuild 
b/dev-python/unidecode/unidecode-1.3.0.ebuild
index 5a9d5f4cad0..49e9bce9e96 100644
--- a/dev-python/unidecode/unidecode-1.3.0.ebuild
+++ b/dev-python/unidecode/unidecode-1.3.0.ebuild
@@ -4,7 +4,6 @@
 EAPI=8
 
 PYTHON_COMPAT=( pypy3 python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS="rdepend"
 
 inherit distutils-r1
 



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

2021-09-09 Thread Louis Sautier
commit: 12509313268dff1e91d9ecfc1f380b8e5d0c2dff
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Sep  9 10:46:21 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Sep  9 11:06:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12509313

dev-python/discogs-client: drop 2.3.12

Signed-off-by: Louis Sautier  gentoo.org>

 .../discogs-client/discogs-client-2.3.12.ebuild| 41 --
 1 file changed, 41 deletions(-)

diff --git a/dev-python/discogs-client/discogs-client-2.3.12.ebuild 
b/dev-python/discogs-client/discogs-client-2.3.12.ebuild
deleted file mode 100644
index 33edf37b571..000
--- a/dev-python/discogs-client/discogs-client-2.3.12.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1
-
-if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="https://github.com/joalla/discogs_client.git";
-   inherit git-r3
-else
-   MY_PN='python3-discogs-client'
-   MY_P=${MY_PN}-${PV}
-   SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/${MY_P}"
-fi
-
-DESCRIPTION="Continuation of the official Python API client for Discogs"
-HOMEPAGE="https://github.com/joalla/discogs_client 
https://pypi.org/project/python3-discogs-client/";
-
-LICENSE="BSD-2"
-SLOT="0"
-
-RDEPEND="
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/oauth2[${PYTHON_USEDEP}]
-   dev-python/oauthlib[${PYTHON_USEDEP}]
-   "
-BDEPEND="
-   dev-python/oauthlib[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/sh[${PYTHON_USEDEP}]
-   dev-python/python-dateutil[${PYTHON_USEDEP}]
-   "
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-distutils_enable_tests nose



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

2021-09-09 Thread Louis Sautier
commit: 80bf8350bb3a4f9934957a73a3eb630cc591239d
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Sep  9 10:51:02 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Sep  9 11:06:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bf8350

profiles: mask dev-python/oauth2 for removal

Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/profiles/package.mask b/profiles/package.mask
index 47fe823e685..ae06b0ed9bc 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -32,6 +32,12 @@
 
 #--- END OF EXAMPLES ---
 
+# Louis Sautier  (2021-09-09)
+# No reverse dependencies, no upstream activity for more than 3 years.
+# dev-python/oauthlib is maintained and provides the same functionality.
+# Removal on 2021-10-09.
+dev-python/oauth2
+
 # Thomas Deutschmann  (2021-09-07)
 # Masked while being tested and reverse deps aren't fully compatible
 # bug #797325.



[gentoo-commits] repo/gentoo:master commit in: media-plugins/mythplugins/

2021-09-09 Thread Louis Sautier
commit: f77922b202eed087644c98ce9c787c84546cf305
Author: Wilson Michaels  austincustomerrands  com>
AuthorDate: Mon Aug 23 20:08:47 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Sep  9 11:06:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77922b2

media-plugins/mythplugins: Remove oauth2 dependency

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Wilson Michaels  austincustomerrands.com>
Closes: https://github.com/gentoo/gentoo/pull/22084
Signed-off-by: Louis Sautier  gentoo.org>

 .../{mythplugins-31.0-r1.ebuild => mythplugins-31.0-r2.ebuild} | 3 +--
 ...gins-31.0_p20210731.ebuild => mythplugins-31.0_p20210731-r1.ebuild} | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-plugins/mythplugins/mythplugins-31.0-r1.ebuild 
b/media-plugins/mythplugins/mythplugins-31.0-r2.ebuild
similarity index 98%
rename from media-plugins/mythplugins/mythplugins-31.0-r1.ebuild
rename to media-plugins/mythplugins/mythplugins-31.0-r2.ebuild
index 8e7ca3ca7c2..dc68f54f90b 100644
--- a/media-plugins/mythplugins/mythplugins-31.0-r1.ebuild
+++ b/media-plugins/mythplugins/mythplugins-31.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -98,7 +98,6 @@ RDEPEND="
mythnetvision? (
${PYTHON_DEPS}
dev-python/lxml
-   dev-python/oauth2
dev-python/pycurl
dev-python/urllib3
=media-tv/mythtv-${MAJOR_PV}*[python]

diff --git a/media-plugins/mythplugins/mythplugins-31.0_p20210731.ebuild 
b/media-plugins/mythplugins/mythplugins-31.0_p20210731-r1.ebuild
similarity index 99%
rename from media-plugins/mythplugins/mythplugins-31.0_p20210731.ebuild
rename to media-plugins/mythplugins/mythplugins-31.0_p20210731-r1.ebuild
index efe6e121074..573023cfd14 100644
--- a/media-plugins/mythplugins/mythplugins-31.0_p20210731.ebuild
+++ b/media-plugins/mythplugins/mythplugins-31.0_p20210731-r1.ebuild
@@ -104,7 +104,6 @@ RDEPEND="
mythnetvision? (
${PYTHON_DEPS}
dev-python/lxml
-   dev-python/oauth2
dev-python/pycurl
dev-python/urllib3
=media-tv/mythtv-${MAJOR_PV}*[python]



[gentoo-commits] repo/gentoo:master commit in: app-misc/rmlint/files/, app-misc/rmlint/

2021-09-08 Thread Louis Sautier
commit: f87696bda2d6580aac1762fd96c5cfc95b7090ce
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Sep  7 22:48:23 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Sep  8 21:39:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87696bd

app-misc/rmlint: initial import, v2.10.1

Closes: https://bugs.gentoo.org/560390
Signed-off-by: Louis Sautier  gentoo.org>

 app-misc/rmlint/Manifest   |   1 +
 app-misc/rmlint/files/rmlint-2.10.1-cflags.patch   |  18 +++
 .../rmlint/files/rmlint-2.10.1-fix-tests.patch | 135 +
 app-misc/rmlint/files/rmlint-2.10.1-scons.patch|  93 ++
 .../rmlint/files/rmlint-2.10.1-skip-tests.patch|  35 ++
 .../rmlint/files/rmlint-2.10.1-x86-fix-size.patch  |  30 +
 app-misc/rmlint/metadata.xml   |  12 ++
 app-misc/rmlint/rmlint-2.10.1.ebuild   | 135 +
 8 files changed, 459 insertions(+)

diff --git a/app-misc/rmlint/Manifest b/app-misc/rmlint/Manifest
new file mode 100644
index 000..09581c7bdc7
--- /dev/null
+++ b/app-misc/rmlint/Manifest
@@ -0,0 +1 @@
+DIST rmlint-2.10.1.tar.gz 2494474 BLAKE2B 
40219ff64d54f0e2fc66a958c6ca51520152f77f9038e9756ab601da5180502528be7b2d750c85b5991c31db96c3eb7415841084b6c90db103dc212947864034
 SHA512 
a1281359798816dadaf3a1e706e671dc63edf8f7d176c114a924a1e03fc9ad6fa54d10de701b09b5e364a9a815e0d11bdbef3d16fb7fec74eb85af20a106db1a

diff --git a/app-misc/rmlint/files/rmlint-2.10.1-cflags.patch 
b/app-misc/rmlint/files/rmlint-2.10.1-cflags.patch
new file mode 100644
index 000..6ddfd98d956
--- /dev/null
+++ b/app-misc/rmlint/files/rmlint-2.10.1-cflags.patch
@@ -0,0 +1,18 @@
+--- a/SConstruct
 b/SConstruct
+@@ -724,7 +724,6 @@ if ARGUMENTS.get('DEBUG') == "1":
+ O_value = ARGUMENTS.get('O', O_DEBUG)
+ else:
+ conf.env.Append(CCFLAGS=['-DG_DISABLE_ASSERT', '-DNDEBUG'])
+-conf.env.Append(LINKFLAGS=['-s'])
+ O_value = ARGUMENTS.get('O', O_RELEASE)
+ 
+ if O_value == 'debug':
+@@ -735,7 +734,6 @@ elif O_value == 'release':
+ cc_O_option = '-O' + O_value
+ 
+ print("Using compiler optimisation {} (to change, run scons with 
O=[0|1|2|3|s|fast])".format(cc_O_option))
+-conf.env.Append(CCFLAGS=[cc_O_option])
+ 
+ if ARGUMENTS.get('SYMBOLS') == '1':
+ print("Compiling with debugging symbols")

diff --git a/app-misc/rmlint/files/rmlint-2.10.1-fix-tests.patch 
b/app-misc/rmlint/files/rmlint-2.10.1-fix-tests.patch
new file mode 100644
index 000..db43e366b38
--- /dev/null
+++ b/app-misc/rmlint/files/rmlint-2.10.1-fix-tests.patch
@@ -0,0 +1,135 @@
+--- a/tests/test_options/test_replay.py
 b/tests/test_options/test_replay.py
+@@ -69,7 +69,7 @@ def test_replay_match_basename():
+ create_file('xxx', 'test1/b')
+ create_file('xxx', 'test2/a')
+ 
+-replay_path = '/tmp/replay.json'
++replay_path = os.path.join(TESTDIR_NAME, 'replay.json')
+ 
+ head, *data, footer = run_rmlint('-o json:{p}'.format(
+ p=replay_path
+@@ -104,7 +104,7 @@ def test_replay_hidden():
+ create_file('xxx', 'test/.a')
+ create_file('xxx', 'test/.b')
+ 
+-replay_path = '/tmp/replay.json'
++replay_path = os.path.join(TESTDIR_NAME, 'replay.json')
+ 
+ head, *data, footer = run_rmlint('--hidden -o json:{p}'.format(
+ p=replay_path
+@@ -130,7 +130,7 @@ def test_replay_must_match_tagged():
+ create_file('xxx', 'test_a/a')
+ create_file('xxx', 'test_b/a')
+ 
+-replay_path = '/tmp/replay.json'
++replay_path = os.path.join(TESTDIR_NAME, 'replay.json')
+ 
+ head, *data, footer = run_rmlint('-o json:{p}'.format(
+ p=replay_path
+@@ -182,7 +182,7 @@ def test_sorting():
+ (''.join(p) for p in permutations(all_opts, n_terms))
+ )
+ 
+-replay_path = '/tmp/replay.json'
++replay_path = os.path.join(TESTDIR_NAME, 'replay.json')
+ 
+ for combo in combos:
+ combo_str = '-y ' + combo
+@@ -218,7 +218,7 @@ def test_replay_no_dir():
+ 
+ try:
+ os.chdir(TESTDIR_NAME)
+-replay_path = '/tmp/replay.json'
++replay_path = os.path.join(TESTDIR_NAME, 'replay.json')
+ head, *data, footer = run_rmlint(
+ '-o json:{p}'.format(p=replay_path),
+ use_default_dir=False,
+@@ -242,7 +242,7 @@ def test_replay_unicode_fuckup():
+ create_file('xxx', names[1])
+ create_file('xxx', names[2])
+ 
+-replay_path = '/tmp/replay.json'
++replay_path = os.path.join(TESTDIR_NAME

[gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-bootstrap-theme/

2021-09-07 Thread Louis Sautier
commit: 227ae55033109791c48df531c8881b0a2f356c54
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Sep  7 21:17:47 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Sep  7 21:18:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227ae550

dev-python/sphinx-bootstrap-theme: enable py3.10 and disable py3.7

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.0.ebuild 
b/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.0.ebuild
index b67727c008a..fb6ceec3834 100644
--- a/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.0.ebuild
+++ b/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 
 inherit distutils-r1
 



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

2021-09-05 Thread Louis Sautier
commit: e2800905a60c283b1ec3fdd84bd8fa14c1091fd4
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Sep  5 20:05:02 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Sep  5 20:05:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2800905

dev-python/denonavr: add 0.10.9

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/denonavr/Manifest   |  1 +
 dev-python/denonavr/denonavr-0.10.9.ebuild | 33 ++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest
index e8218569492..58a4a756454 100644
--- a/dev-python/denonavr/Manifest
+++ b/dev-python/denonavr/Manifest
@@ -1,3 +1,4 @@
 DIST denonavr-0.10.6.tar.gz 124692 BLAKE2B 
f0af92e0160d0533389e69dfad5740c432d52b3b6446288a572ef62aa9c8610397d3d8d5770ce6b46b4ad224b2782fc8a63a4f548a4237251d52695f5b4dde95
 SHA512 
336183e04e2f3f98faa1878a472ce69cc2fe7519398b34a61126cd6539ae6e40c60329d5b2f914e3dc85a9dbb11a1eb8fe9669f4e2910838d5ffcee0da7633c5
 DIST denonavr-0.10.7.tar.gz 148282 BLAKE2B 
a5168c1b00ce1e8223d619a8e2e7ae663fa913d673b6f62580daf57ff76d8da4306681d92df0e32e612376038255bc52e25a1f59dd5f6a429685c8bd9146d843
 SHA512 
6667edeb4272ce909f8bc2dfa51b31d78915ae6085064bbf0f53714f8b473e0fad24eb6484a10abb093ef27d59faeaebdffdb55eadb03f8b64e864642364a791
 DIST denonavr-0.10.8.tar.gz 148387 BLAKE2B 
1ad6687655abe70e6f83119c893187efe88143521e5c91987ae6b3d393fe7a327bf34941d87a4ba37107ef415493471be0630a1f3c643f94cfb3e22460c80806
 SHA512 
fea1b2a03d83d520c837323939db503879ec0c973bbf9409087298977f4d07f8ed8b25c2d287c1529786a4e42cd59b0f0708a8a4b7df3d5f630967110d7fe906
+DIST denonavr-0.10.9.tar.gz 152589 BLAKE2B 
c517e7d2fbdb23f4b684ffbb206528a641ec9d64e48f1d7aa8a4dd1247ca779bb2bda8a9deab1a985d713d275dc68fa6f961205e33b8bcc7749d9cb3c943f752
 SHA512 
134b940516a312afb03b2c5fa11a5fb68374c6e5d636332e8a7034ee6c94d2baf70b53e979c1c751eaaab6d31822de4450ceddeab12c42dfc9dd74b934593621

diff --git a/dev-python/denonavr/denonavr-0.10.9.ebuild 
b/dev-python/denonavr/denonavr-0.10.9.ebuild
new file mode 100644
index 000..a1f9035bd57
--- /dev/null
+++ b/dev-python/denonavr/denonavr-0.10.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Automation Library for Denon AVR receivers"
+HOMEPAGE="https://github.com/scarface-4711/denonavr";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/asyncstdlib[${PYTHON_USEDEP}]
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/defusedxml[${PYTHON_USEDEP}]
+   dev-python/httpx[${PYTHON_USEDEP}]
+   dev-python/netifaces[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   dev-python/pytest-httpx[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



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

2021-09-05 Thread Louis Sautier
commit: 63675be087b0bfabed2f56892c83d9cd01fbe737
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Sep  5 20:05:25 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Sep  5 20:05:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63675be0

dev-python/denonavr: drop 0.10.6

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/denonavr/Manifest   |  1 -
 dev-python/denonavr/denonavr-0.10.6.ebuild | 33 --
 2 files changed, 34 deletions(-)

diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest
index 58a4a756454..77b3a52437d 100644
--- a/dev-python/denonavr/Manifest
+++ b/dev-python/denonavr/Manifest
@@ -1,4 +1,3 @@
-DIST denonavr-0.10.6.tar.gz 124692 BLAKE2B 
f0af92e0160d0533389e69dfad5740c432d52b3b6446288a572ef62aa9c8610397d3d8d5770ce6b46b4ad224b2782fc8a63a4f548a4237251d52695f5b4dde95
 SHA512 
336183e04e2f3f98faa1878a472ce69cc2fe7519398b34a61126cd6539ae6e40c60329d5b2f914e3dc85a9dbb11a1eb8fe9669f4e2910838d5ffcee0da7633c5
 DIST denonavr-0.10.7.tar.gz 148282 BLAKE2B 
a5168c1b00ce1e8223d619a8e2e7ae663fa913d673b6f62580daf57ff76d8da4306681d92df0e32e612376038255bc52e25a1f59dd5f6a429685c8bd9146d843
 SHA512 
6667edeb4272ce909f8bc2dfa51b31d78915ae6085064bbf0f53714f8b473e0fad24eb6484a10abb093ef27d59faeaebdffdb55eadb03f8b64e864642364a791
 DIST denonavr-0.10.8.tar.gz 148387 BLAKE2B 
1ad6687655abe70e6f83119c893187efe88143521e5c91987ae6b3d393fe7a327bf34941d87a4ba37107ef415493471be0630a1f3c643f94cfb3e22460c80806
 SHA512 
fea1b2a03d83d520c837323939db503879ec0c973bbf9409087298977f4d07f8ed8b25c2d287c1529786a4e42cd59b0f0708a8a4b7df3d5f630967110d7fe906
 DIST denonavr-0.10.9.tar.gz 152589 BLAKE2B 
c517e7d2fbdb23f4b684ffbb206528a641ec9d64e48f1d7aa8a4dd1247ca779bb2bda8a9deab1a985d713d275dc68fa6f961205e33b8bcc7749d9cb3c943f752
 SHA512 
134b940516a312afb03b2c5fa11a5fb68374c6e5d636332e8a7034ee6c94d2baf70b53e979c1c751eaaab6d31822de4450ceddeab12c42dfc9dd74b934593621

diff --git a/dev-python/denonavr/denonavr-0.10.6.ebuild 
b/dev-python/denonavr/denonavr-0.10.6.ebuild
deleted file mode 100644
index 744cc8df107..000
--- a/dev-python/denonavr/denonavr-0.10.6.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Automation Library for Denon AVR receivers"
-HOMEPAGE="https://github.com/scarface-4711/denonavr";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   dev-python/asyncstdlib[${PYTHON_USEDEP}]
-   dev-python/attrs[${PYTHON_USEDEP}]
-   dev-python/defusedxml[${PYTHON_USEDEP}]
-   dev-python/httpx[${PYTHON_USEDEP}]
-   dev-python/netifaces[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   dev-python/pytest-httpx[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest



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

2021-08-29 Thread Louis Sautier
commit: f589df1479da541a3fc5e99d5320f8b1d5f6da2b
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Aug 29 12:58:18 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Aug 29 12:59:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f589df14

dev-python/pyparted: enable py3.10 and disable py3.7

Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/dev-python/pyparted/pyparted-3.11.7.ebuild 
b/dev-python/pyparted/pyparted-3.11.7.ebuild
index 39e1576ef53..9097a6c5c0e 100644
--- a/dev-python/pyparted/pyparted-3.11.7.ebuild
+++ b/dev-python/pyparted/pyparted-3.11.7.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Python bindings for sys-block/parted"



[gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools_scm_git_archive/, profiles/

2021-08-28 Thread Louis Sautier
commit: 49c4e2a0ee5c6441abc443d376280abc0c320c75
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Aug 29 00:47:15 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Aug 29 01:02:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c4e2a0

profiles: mask dev-python/setuptools_scm-6.1.0 in addition to 6.2.0

Upstream confirms that both versions have several bugs and have been
pulled off PyPI:
https://github.com/pypa/setuptools_scm/issues/615#issuecomment-907690841

This also lifts the version restriction added to
dev-python/setuptools_scm_git_archive in
e313b122eafeef2984f716c90baa99235eae78a6
since the problematic version is now masked.

Bug: https://bugs.gentoo.org/810808
Signed-off-by: Louis Sautier  gentoo.org>

 ...chive-1.1-r1.ebuild => setuptools_scm_git_archive-1.1-r2.ebuild} | 4 +---
 profiles/package.mask   | 6 +++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r1.ebuild
 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild
similarity index 81%
rename from 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r1.ebuild
rename to 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild
index dfa9daf7406..47aa91fa85d 100644
--- 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r1.ebuild
+++ 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r2.ebuild
@@ -15,10 +15,8 @@ SLOT="0"
 KEYWORDS="amd64 arm ~arm64 ~ppc64 x86"
 IUSE=""
 
-# At the moment, newer versions of setuptools_scm break this package:
-# https://bugs.gentoo.org/810808
 RDEPEND="
-(2021-08-28)
-# Upstream changed toml to tomli handling, which resulted in a lot of
-# breakage in various packages.
-# Reported upstream in https://github.com/pypa/setuptools_scm/issues/611
+# Both versions have several bugs and have been pulled off PyPI
+# Bugs #810808 and #810790.
+=dev-python/setuptools_scm-6.1.0
 =dev-python/setuptools_scm-6.2.0
 
 # Stephan Hartmann  (2021-08-28)



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

2021-08-28 Thread Louis Sautier
commit: e313b122eafeef2984f716c90baa99235eae78a6
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Aug 28 20:55:14 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Aug 28 21:04:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e313b122

dev-python/setuptools_scm_git_archive: force setuptools_scm < 6.0.1

Bug: https://bugs.gentoo.org/810808
Signed-off-by: Louis Sautier  gentoo.org>

 ...it_archive-1.1.ebuild => setuptools_scm_git_archive-1.1-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r1.ebuild
similarity index 81%
rename from 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild
rename to 
dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r1.ebuild
index 47aa91fa85d..dfa9daf7406 100644
--- 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild
+++ 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r1.ebuild
@@ -15,8 +15,10 @@ SLOT="0"
 KEYWORDS="amd64 arm ~arm64 ~ppc64 x86"
 IUSE=""
 
+# At the moment, newer versions of setuptools_scm break this package:
+# https://bugs.gentoo.org/810808
 RDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: media-sound/picard/, media-sound/picard/files/

2021-08-28 Thread Louis Sautier
commit: 6f5491139c1b6773e5f49fc7018681f5c5bb7b2e
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Aug 26 18:01:38 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Aug 28 17:46:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f549113

media-sound/picard: add 2.6.3, enable py3.10 and tests, fix deps

* Bump to 2.6.3.
* Add Python 3.10 support.
* Enable tests.
* Fix Python dependencies.
* Remove unnecessary dependency on qtgui (pulled by PyQt5[gui]).
* Remove the postinst message added as a workaround for a bug in 2008.

Closes: https://bugs.gentoo.org/760099
Signed-off-by: Louis Sautier  gentoo.org>

 media-sound/picard/Manifest|  1 +
 .../picard/files/picard-2.6.3-fix-py3.10.patch | 61 
 media-sound/picard/picard-2.6.3.ebuild | 67 ++
 3 files changed, 129 insertions(+)

diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
index ebbe370f66f..8c10e10ee9b 100644
--- a/media-sound/picard/Manifest
+++ b/media-sound/picard/Manifest
@@ -1 +1,2 @@
 DIST picard-2.6.2.tar.gz 4318817 BLAKE2B 
9b4b9837fc7703368f28f2451c230ee9cb4826b61a970c514162bf615461d942512764661295bba98499000e781662e3a001c5fc91571abbafce8d7bc7418a63
 SHA512 
01fc8f49b273edbd020e3c9f91d622e60a84421b6de9dfd584d086224897b81f5e7c3f94616341c56f952774af7d912a8369d8fff4e47f19e00324c4f6944225
+DIST picard-2.6.3.tar.gz 4320046 BLAKE2B 
ce308440ed4c6297128a5470b7bdced50fb22e62995c26670339ff71c70d610fc0c4ea8433f9dbacb197b710b8100de171817df604d76986596391d029b3c20f
 SHA512 
71bdeb4777a0d996ac0093edefc448a348aa72e657ec639331e67257c47c389993d2715ccebf715458c3b606051154586d63b22b3cebd541d8b2da5e96a833b5

diff --git a/media-sound/picard/files/picard-2.6.3-fix-py3.10.patch 
b/media-sound/picard/files/picard-2.6.3-fix-py3.10.patch
new file mode 100644
index 000..772cbda3868
--- /dev/null
+++ b/media-sound/picard/files/picard-2.6.3-fix-py3.10.patch
@@ -0,0 +1,61 @@
+From 452bba954c30d5a642f03c02411529f511bda786 Mon Sep 17 00:00:00 2001
+From: Louis Sautier 
+Date: Fri, 27 Aug 2021 00:43:48 +0200
+Subject: [PATCH] Fix TypeErrors with Python 3.10
+
+Without these changes, running Picard with Python 3.10 results in errors
+such as:
+  File "./picard/ui/coverartbox.py", line 74, in __init__
+self.shadow = self.shadow.scaled(w, h, QtCore.Qt.KeepAspectRatio, 
QtCore.Qt.SmoothTransformation)
+TypeError: arguments did not match any overloaded call:
+  scaled(self, int, int, aspectRatioMode: Qt.AspectRatioMode = 
Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = 
Qt.FastTransformation): argument 1 has unexpected type 'float'
+  scaled(self, QSize, aspectRatioMode: Qt.AspectRatioMode = 
Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = 
Qt.FastTransformation): argument 1 has unexpected type 'float'
+---
+ picard/ui/coverartbox.py | 2 +-
+ picard/ui/itemviews.py   | 6 +++---
+ picard/util/__init__.py  | 2 +-
+ 3 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/picard/ui/coverartbox.py b/picard/ui/coverartbox.py
+index c3eb4ddb74..f3a174664b 100644
+--- a/picard/ui/coverartbox.py
 b/picard/ui/coverartbox.py
+@@ -135,7 +135,7 @@ def dropEvent(self, event):
+ event.acceptProposedAction()
+ 
+ def scaled(self, *dimensions):
+-return (self.pixel_ratio * dimension for dimension in dimensions)
++return (round(self.pixel_ratio * dimension) for dimension in 
dimensions)
+ 
+ def show(self):
+ self.set_data(self.data, True)
+diff --git a/picard/ui/itemviews.py b/picard/ui/itemviews.py
+index cffab6d70d..d1101b340f 100644
+--- a/picard/ui/itemviews.py
 b/picard/ui/itemviews.py
+@@ -141,9 +141,9 @@ def get_match_color(similarity, basecolor):
+ c1 = (basecolor.red(), basecolor.green(), basecolor.blue())
+ c2 = (223, 125, 125)
+ return QtGui.QColor(
+-c2[0] + (c1[0] - c2[0]) * similarity,
+-c2[1] + (c1[1] - c2[1]) * similarity,
+-c2[2] + (c1[2] - c2[2]) * similarity)
++int(c2[0] + (c1[0] - c2[0]) * similarity),
++int(c2[1] + (c1[1] - c2[1]) * similarity),
++int(c2[2] + (c1[2] - c2[2]) * similarity))
+ 
+ 
+ class MainPanel(QtWidgets.QSplitter):
+diff --git a/picard/util/__init__.py b/picard/util/__init__.py
+index 3a4765f7cd..26f7576f56 100644
+--- a/picard/util/__init__.py
 b/picard/util/__init__.py
+@@ -400,7 +400,7 @@ def throttled_func(*args, **kwargs):
+ else:
+ decorator.args = args
+ decorator.kwargs = kwargs
+-QtCore.QTimer.singleShot(r, later)
++QtCore.QTimer.singleShot(int(r), later)
+ decorator.is_ticking = True
+ mutex.unlock()
+ 

diff --git a/media-sound/picard/picard-2.6.3.ebuild 
b/media-sound/picard/picard-2.6.3.ebuild
new file mode 100644
index 000..2c7f465e744
--- /dev/null
+++ b/media-sound/p

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

2021-08-28 Thread Louis Sautier
commit: 31e123362f591442b78c99a73ad818966435b601
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Aug 28 17:42:30 2021 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Aug 28 17:48:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e12336

media-sound/picard: sync live ebuild with 2.6.3

Signed-off-by: Louis Sautier  gentoo.org>

 media-sound/picard/picard-.ebuild | 24 +++-
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/media-sound/picard/picard-.ebuild 
b/media-sound/picard/picard-.ebuild
index 7592c9ab3a2..3b869df3541 100644
--- a/media-sound/picard/picard-.ebuild
+++ b/media-sound/picard/picard-.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL=1
-DISABLE_AUTOFORMATTING=true
+
 inherit distutils-r1 xdg
 
 if [[ ${PV} = ** ]]; then
@@ -29,16 +29,16 @@ BDEPEND="
 "
 RDEPEND="
$(python_gen_cond_dep '
+   dev-python/fasteners[${PYTHON_USEDEP}]

dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
+   media-libs/mutagen[${PYTHON_USEDEP}]
+   discid? ( dev-python/python-discid[${PYTHON_USEDEP}] )
')
-   dev-qt/qtgui:5
-   media-libs/mutagen
-   discid? ( dev-python/python-discid )
fingerprints? ( media-libs/chromaprint[tools] )
 "
 
-RESTRICT="test" # doesn't work with ebuilds
+distutils_enable_tests pytest
 
 python_compile() {
local build_args=(
@@ -60,13 +60,3 @@ python_install() {
fi
distutils-r1_python_install ${install_args[@]}
 }
-
-python_install_all() {
-   distutils-r1_python_install_all
-
-   if [[ -n "${REPLACING_VERSIONS}" ]]; then
-   elog "If you are upgrading Picard and it does not start, try 
removing"
-   elog "Picard's settings:"
-   elog "rm ~/.config/MusicBrainz/Picard.conf"
-   fi
-}



<    1   2   3   4   5   6   7   8   9   10   >