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

2024-05-12 Thread Louis Sautier
commit: 79716aeed4c9440379bb8236a9e857270ae94290
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun May 12 14:03:49 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun May 12 14:12:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79716aee

app-arch/cfv: enable py3.12

New patches were required but they only affect the test suite, not the
runtime files.

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

 app-arch/cfv/cfv-3.0.0.ebuild  | 11 --
 .../files/cfv-3.0.0-fix-removed-assertequal.patch  | 39 ++
 app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch | 39 ++
 3 files changed, 87 insertions(+), 2 deletions(-)

diff --git a/app-arch/cfv/cfv-3.0.0.ebuild b/app-arch/cfv/cfv-3.0.0.ebuild
index 02f12d0e670c..239956198afc 100644
--- a/app-arch/cfv/cfv-3.0.0.ebuild
+++ b/app-arch/cfv/cfv-3.0.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 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_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 optfeature
 
@@ -26,6 +26,13 @@ BDEPEND="
)
 "
 
+PATCHES=(
+   # Backported from 
https://github.com/cfv-project/cfv/commit/5259bcbe3434c6974f7a65cc435dd0b4cfc3f864
+   "${FILESDIR}/${P}-fix-removed-assertequal.patch"
+   # See https://github.com/cfv-project/cfv/pull/53
+   "${FILESDIR}/${P}-fix-removed-imp.patch"
+)
+
 python_prepare_all() {
# Remove upstream's attempt to install the man page
sed -i '/\sdata_files=/d' setup.py || die

diff --git a/app-arch/cfv/files/cfv-3.0.0-fix-removed-assertequal.patch 
b/app-arch/cfv/files/cfv-3.0.0-fix-removed-assertequal.patch
new file mode 100644
index ..aa7820d03a92
--- /dev/null
+++ b/app-arch/cfv/files/cfv-3.0.0-fix-removed-assertequal.patch
@@ -0,0 +1,39 @@
+commit 5259bcbe3434c6974f7a65cc435dd0b4cfc3f864
+Author: Louis Sautier 
+Date:   Tue Nov 1 15:48:21 2022 +0100
+
+tests: use assertEqual instead of assertEquals
+
+The latter is deprecated and causes warnings when running tests.
+
+--- a/test/test_caching.py
 b/test/test_caching.py
+@@ -136,18 +136,18 @@ class RelPathKeyTest(RelTestCase):
+ self.mkfile('aAaA/Aaa2', '2')
+ self.mkfile('aAaA/AAa2', '3')
+ 
+-self.assertEquals(a1, cache.nocase_findfile(self.mkpath('aaAA/aaa1')))
++self.assertEqual(a1, cache.nocase_findfile(self.mkpath('aaAA/aaa1')))
+ with self.assertRaises(IOError) as cm:
+ cache.nocase_findfile(self.mkpath('aaAb/aaa1'))
+-self.assertEquals(errno.ENOENT, cm.exception.errno)
++self.assertEqual(errno.ENOENT, cm.exception.errno)
+ 
+ with self.assertRaises(IOError) as cm:
+ cache.nocase_findfile(self.mkpath('aaAA/aab1'))
+-self.assertEquals(errno.ENOENT, cm.exception.errno)
++self.assertEqual(errno.ENOENT, cm.exception.errno)
+ 
+ with self.assertRaises(IOError) as cm:
+ cache.nocase_findfile(self.mkpath('aaAA/aaa2'))
+-self.assertEquals(errno.EEXIST, cm.exception.errno)
++self.assertEqual(errno.EEXIST, cm.exception.errno)
+ 
+ def test_nocase_findfile_parent(self):
+ cache = FileInfoCache()
+@@ -159,4 +159,4 @@ class RelPathKeyTest(RelTestCase):
+ # one.
+ with self.assertRaises(IOError) as cm:
+ cache.nocase_findfile(self.mkpath('aaAA/aaa2'))
+-self.assertEquals(errno.EEXIST, cm.exception.errno)
++self.assertEqual(errno.EEXIST, cm.exception.errno)

diff --git a/app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch 
b/app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch
new file mode 100644
index ..d4fa6e9aeb29
--- /dev/null
+++ b/app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch
@@ -0,0 +1,39 @@
+commit ecf720058f63930d53075584a59cf42e035347eb
+Author: Louis Sautier 
+Date:   Sun May 12 15:44:26 2024 +0200
+
+Fix tests for Python 3.12: remove "imp", fixes #21, #44
+
+The "imp" module was removed in Python 3.12.
+The replacement functions were added in Python 3.5, see
+
https://docs.python.org/3/library/importlib.html#importlib.util.spec_from_file_location
+
https://docs.python.org/3/library/importlib.html#importlib.util.module_from_spec
+
+--- a/test/cfvtest.py
 b/test/cfvtest.py
+@@ -23,8 +23,8 @@ from builtins import map
+ from builtins import object
+ 
+ import fnmatch
+-import imp
+ import importlib
++import importlib.util
+ import os
+ import shlex
+ import sys
+@@ -201,8 +201,14 @@ def setcfv(fn=None, internal=None):
+ cfv_compiled = compile(_cfv_code, cfvfn, 'exec')
+ 
+ with open(cfvfn, 'rt') as f:
++# For spec_from_f

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

2024-05-12 Thread Louis Sautier
commit: 9427ac0457312f294e3d6daea71afe5359961e01
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun May 12 13:04:44 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun May 12 13:09:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9427ac04

www-apps/klaus: enable py3.12

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

 www-apps/klaus/klaus-2.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/klaus/klaus-2.0.3.ebuild 
b/www-apps/klaus/klaus-2.0.3.ebuild
index af488c89f7ae..b70d6394dee2 100644
--- a/www-apps/klaus/klaus-2.0.3.ebuild
+++ b/www-apps/klaus/klaus-2.0.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 



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

2024-05-12 Thread Louis Sautier
commit: fc5a7c2122b8483a0626d5af9688b1773c06108f
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun May 12 12:59:52 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun May 12 13:00:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5a7c21

dev-python/chump: enable py3.12

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

 dev-python/chump/chump-1.6.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/chump/chump-1.6.0-r2.ebuild 
b/dev-python/chump/chump-1.6.0-r2.ebuild
index 926b5b6dbf00..75e60112a8dd 100644
--- a/dev-python/chump/chump-1.6.0-r2.ebuild
+++ b/dev-python/chump/chump-1.6.0-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 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_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1 pypi
 



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

2024-04-29 Thread Louis Sautier
commit: 18fde8f3dd6a9c2804afb2ceffdbff76eb9c5258
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Apr 29 20:17:54 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Apr 29 20:19:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fde8f3

net-p2p/torrentinfo: add 1.8.7, enable py312

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

 net-p2p/torrentinfo/Manifest |  1 +
 net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/net-p2p/torrentinfo/Manifest b/net-p2p/torrentinfo/Manifest
index bc05406886b8..a39cce912e62 100644
--- a/net-p2p/torrentinfo/Manifest
+++ b/net-p2p/torrentinfo/Manifest
@@ -1 +1,2 @@
 DIST torrentinfo-1.8.6.tar.gz 22232 BLAKE2B 
04159e4e54fbe979a1a73e1dee39c9b7f9def389c44e3886fd28707646a2bc4c6a4dfadd5494ef9283427959da1c36260828693a0008e09993786d8639813bcf
 SHA512 
7f36f6c80876cbd70ea9e1331195c8a30a6546406f345402d4bec5c58afb9b03a3b60189b8d177a63a7047c3ede7fc18d8fc47ecb1bcbb726dd01b7cb2a6efb2
+DIST torrentinfo-1.8.7.tar.gz 22325 BLAKE2B 
07947a2b3b66b6bc25954f689bf8c070e75b6d0eca5f0f02900abfa9526f55aa9712b7c923fa4a5198050cbe83abb64ebc9154c4c32cb6b6cfb6b5b5bab104bd
 SHA512 
751d4ca9d666058e768fee5c4469f9a76f6d1f6eb503271cf45d2c850f92cf0467723d94e8c6e5a78801be83aa3f83a30eb615b8a3dd7baa5bcc67e9a4544547

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
new file mode 100644
index ..34117dc5b487
--- /dev/null
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+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}/${PN}-1.8.6-fix-tests.patch"
+   # https://github.com/Fuuzetsu/torrentinfo/pull/18
+   "${FILESDIR}/${PN}-1.8.6-remove-nose.patch"
+)
+
+distutils_enable_tests pytest



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

2024-04-29 Thread Louis Sautier
commit: 593416ef4837798a7ee2fc6564cb2955f10a0a3f
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Apr 25 22:39:25 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Apr 29 20:10:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593416ef

app-admin/supervisor: re-add setuptools to RDEPEND, enable py312

It was mistakenly removed at some point, probably when we switched to
DISTUTILS_USE_PEP517=setuptools.

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

 app-admin/supervisor/supervisor-4.2.5-r1.ebuild | 54 +
 1 file changed, 54 insertions(+)

diff --git a/app-admin/supervisor/supervisor-4.2.5-r1.ebuild 
b/app-admin/supervisor/supervisor-4.2.5-r1.ebuild
new file mode 100644
index ..0ec69aee0dc9
--- /dev/null
+++ b/app-admin/supervisor/supervisor-4.2.5-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+# xml.etree.ElementTree module required.
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 systemd pypi
+
+DESCRIPTION="A system for controlling process state under UNIX"
+HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/;
+
+LICENSE="repoze ZPL BSD HPND GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+# setuptools is required because the package uses pkg_resources
+RDEPEND="
+   acct-group/supervisor
+   dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+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: media-video/gaupol/

2024-04-07 Thread Louis Sautier
commit: f073621344aa9fe7d81be87fe3c413dc0da9df58
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Apr  7 14:13:34 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Apr  7 14:21:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0736213

media-video/gaupol: add 1.14.1

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

 media-video/gaupol/Manifest |  1 +
 media-video/gaupol/gaupol-1.14.1.ebuild | 69 +
 2 files changed, 70 insertions(+)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 441626b62638..df3da67cc1f4 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1 +1,2 @@
 DIST gaupol-1.13.tar.gz 592830 BLAKE2B 
dcde1dd6c5e3e9624f0e7692c4d6cc14452733d1e35bc25de5deaa842cdb069250dee0b2d9eb75d1bb9f3c618c43457718ce91f5a6992ec7797fbb37366fc524
 SHA512 
ebe2accd962344c07201e46ceff3801483a4c68f9772d1fc868a93d8044b65987f7233eab675a9f3148bce686261a6b5c40d66d3f9471f9515713fbfb46a3f92
+DIST gaupol-1.14.1.tar.gz 593435 BLAKE2B 
f7ee1f2e70707f54204400d99107a1ee62b721e7ee0be76ce980a261b1b95349aefcc5907dc5cf956fd703a4372065576371cdf0466a32ee206d797b1500d53d
 SHA512 
efaa9910496dcd683be40ff33bf68de313b852d6212f3f43c67e6433eb3b95b64c89707d1a69a54c9f772c44cf04f95ca76d705d396b376ac1c86c4bbe48e4e0

diff --git a/media-video/gaupol/gaupol-1.14.1.ebuild 
b/media-video/gaupol/gaupol-1.14.1.ebuild
new file mode 100644
index ..0caa08c6a2f9
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.14.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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}/${PN}-1.12-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 
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: net-analyzer/nagios-plugins-linux-madrisan/

2024-04-03 Thread Louis Sautier
commit: 092162771d51a14486411f5e3de0f5803ccfbe2a
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Apr  3 23:25:22 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Apr  4 00:17:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09216277

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

The varlink dependency and check_varlink were removed in
https://github.com/madrisan/nagios-plugins-linux/commit/c57ceb58139a.

USE=curl now controls the creation of check_container (renamed from
check_docker in
https://github.com/madrisan/nagios-plugins-linux/commit/492741a80d29).

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

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 .../nagios-plugins-linux-madrisan/metadata.xml |  2 +-
 .../nagios-plugins-linux-madrisan-33.ebuild| 48 ++
 3 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index c5a6cee5a49f..b3b7c1490f2a 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-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0
 DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B 
ef66934315f3ddbee1a2d8472343549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76
 SHA512 
42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59
+DIST nagios-plugins-linux-madrisan-33.tar.xz 397516 BLAKE2B 
39e428d7b44104e01f8101ec33d250b8317c2ab9a5772bd815baf91c14eb1aeffc2aaaec1696e338d9aa31ebd9cb67d10a2049bc78a1bd8fea813761def36d26
 SHA512 
9b0df712d799ea5ae1eca8135089e41f167446e40416dbfe090ec855476318b26d8fdc3865470bf6cf54e7dcbce483d1f577a886ef35023e983e2508a307df70

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml 
b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml
index c214125e5675..e1a109026d7c 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml
+++ b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml
@@ -6,7 +6,7 @@
        Louis Sautier


-   Build check_docker which requires 
net-misc/curl
+   Build check_container which requires 
net-misc/curl
Build check_podman which requires 
dev-libs/libvarlink



diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-33.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-33.ebuild
new file mode 100644
index ..4e7690db9073
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-33.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022-2024 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 systemd"
+
+DEPEND="
+   curl? ( net-misc/curl:0= )
+   systemd? ( sys-apps/systemd:= )
+"
+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 systemd)
+   )
+   econf "${myconf[@]}"
+}
+
+src_test() {
+   emake check VERBOSE=1
+}



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

2024-03-28 Thread Louis Sautier
commit: 5c1322c6e59410f4d285d24395e7ff0fab3fc2d0
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Mar 29 01:26:43 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Fri Mar 29 01:56:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1322c6

net-analyzer/nagios-plugins-linux-madrisan: fixes for x86, #927490

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

 ...agios-plugins-linux-madrisan-32-x86-fixes.patch | 148 +
 ... => nagios-plugins-linux-madrisan-32-r1.ebuild} |   1 +
 2 files changed, 149 insertions(+)

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-x86-fixes.patch
 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-x86-fixes.patch
new file mode 100644
index ..657cd458f06e
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-x86-fixes.patch
@@ -0,0 +1,148 @@
+https://github.com/madrisan/nagios-plugins-linux/pull/146
+
+From d09bfd1b3974743af4b719629f59b5b96e1393a1 Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Wed, 27 Mar 2024 09:29:59 +0100
+Subject: [PATCH 1/3] fix: size_t variables on 32 and 64 bits arch have
+ different type
+
+Fix the following warning on 32-bits architectures:
+
+In file included from ../lib/container_docker_count.c:44,
+ from tslibcontainer_docker_count.c:33:
+../lib/container_docker_count.c: In function 'docker_running_containers':
+../include/logging.h:28:44: warning: format '%lu' expects argument of type 
'long unsigned int',
+but argument 3 has type 'size_t' {aka 
'unsigned int'} [-Wformat=]
+   28 | # define dbg(format, ...) fprintf (stdout, "DEBUG: " format, 
##__VA_ARGS__)
+  |^
+../lib/container_docker_count.c:213:3: note: in expansion of macro 'dbg'
+  213 |   dbg ("%lu bytes retrieved\n", chunk.size);
+  |   ^~~
+
+Signed-off-by: Davide Madrisan 
+--- a/lib/container_docker_count.c
 b/lib/container_docker_count.c
+@@ -1,7 +1,7 @@
+ // SPDX-License-Identifier: GPL-3.0-or-later
+ /*
+  * License: GPLv3+
+- * Copyright (c) 2018 Davide Madrisan 
++ * Copyright (c) 2018,2024 Davide Madrisan 
+  *
+  * A library for checking for Docker exposed metrics.
+  *
+@@ -210,7 +210,7 @@ docker_running_containers (unsigned int *count, const char 
*image,
+ #endif /* NPL_TESTING */
+ 
+   assert (chunk.memory);
+-  dbg ("%lu bytes retrieved\n", chunk.size);
++  dbg ("%zu bytes retrieved\n", chunk.size);
+   dbg ("json data: %s", chunk.memory);
+ 
+   hashtable = docker_json_parser (chunk.memory, "Image", 1);
+
+From 4574e9ed77ebda062279622bb3d8678fa983d272 Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Wed, 27 Mar 2024 17:36:04 +0100
+Subject: [PATCH 2/3] fix: workaround for a round issue on 32 bits
+
+On Gentoo Base System release 2.14 for 32-bits
+
+   (unsigned long)(6.26*100) = 625
+
+So the test fails.
+As a workaround modify the data file used by the test.
+
+Signed-off-by: Davide Madrisan 
+--- a/tests/ts_procpressurecpu.data
 b/tests/ts_procpressurecpu.data
+@@ -1 +1 @@
+-some avg10=7.48 avg60=6.26 avg300=6.66 total=200932088
++some avg10=7.48 avg60=6.25 avg300=6.66 total=200932088
+--- a/tests/tslibpressure.c
 b/tests/tslibpressure.c
+@@ -103,7 +103,7 @@ mymain (void)
+   /* we multiply by 100 the averages to somewhat transform
+* the double values into integer ones  */
+   DO_TEST ("cpu some avg10", psi_oneline->avg10 * 100, 748ULL);
+-  DO_TEST ("cpu some avg60", psi_oneline->avg60 * 100, 626ULL);
++  DO_TEST ("cpu some avg60", psi_oneline->avg60 * 100, 625ULL);
+   DO_TEST ("cpu some avg300", psi_oneline->avg300 * 100, 666ULL);
+   DO_TEST ("cpu single total", psi_oneline->total, 200932088ULL);
+ 
+
+From c90afc02705fd6c32a6764741616b4e17688117b Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Wed, 27 Mar 2024 21:06:25 +0100
+Subject: [PATCH 3/3] fix: fix test tslibxstrton_sizetollint on 32-bit arch
+
+Fix the following errors:
+
+ 1) check function sizetollint with arg 1024b... OK
+ 2) check function sizetollint with arg 8k   ... OK
+ 3) check function sizetollint with arg 50m  ... OK
+ 4) check function sizetollint with arg 2g   ... OK
+ 5) check function sizetollint with arg 3t   ... FAILED
+ 6) check function sizetollint with arg 2p   ... FAILED
+ 7) check function sizetollint with arg 1024B... OK
+ 8) check function sizetollint with arg 8K   ... OK
+ 9) check function sizetollint with arg 50M  ... OK
+10) check function sizetollint with arg 2G   ... OK
+11) check function sizet

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

2024-03-11 Thread Louis Sautier
commit: 2082da95ab3fd0893966dacb2f7d068cac2d87ea
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 11 21:24:04 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 11 21:26:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2082da95

www-misc/urlwatch: drop 2.26 and 2.28

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

 www-misc/urlwatch/Manifest |  1 -
 www-misc/urlwatch/urlwatch-2.26.ebuild | 72 --
 www-misc/urlwatch/urlwatch-2.28.ebuild | 72 --
 3 files changed, 145 deletions(-)

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index f4f8a5f0c1c7..65ec984e4e1d 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,3 +1,2 @@
 DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca
-DIST urlwatch-2.26.tar.gz 174305 BLAKE2B 
c7990b0ecca8bb18632ba717dabfed3e3cdf147ff463e1221c4f7002fcb862d162421ac927bd6a570369a1833268cc08668e284e425e954a4eea8d41cb30eafd
 SHA512 
df214e3576dcbc8f18338a17f890e53ce9142fb98ea5042567eb415e697ee1a19d40b00404a40c0cc4a35ff3d838d9e0273a6bfe5178059560723ef6e4ca
 DIST urlwatch-2.28.tar.gz 306929 BLAKE2B 
73fcff8c153db472c944d0c9406e0e98bf64299d5532486a08cb024339544f17d716a22d6f0807ba55c79af9dc7fef41fa8dc5a7fe79c831f3e9958e3ea8958e
 SHA512 
21a662006dc92c0c636ef0beebc4f2ec90b82182aa0ba94a3348026c2c001b6d74198a14c198f681c8e773b640b6030b63de1a081984ea4d1bbc1e2648bc4161

diff --git a/www-misc/urlwatch/urlwatch-2.26.ebuild 
b/www-misc/urlwatch/urlwatch-2.26.ebuild
deleted file mode 100644
index 1b74b901e846..
--- a/www-misc/urlwatch/urlwatch-2.26.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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 pypi
-
-DESCRIPTION="A tool for monitoring webpages for updates"
-HOMEPAGE="
-   https://thp.io/2008/urlwatch/
-   https://github.com/thp/urlwatch/
-   https://pypi.org/project/urlwatch/
-"
-
-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? (
-   app-text/tesseract[png]
-   dev-python/docutils[${PYTHON_USEDEP}]
-   dev-python/jq[${PYTHON_USEDEP}]
-   dev-python/pytesseract[${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];
-   # 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/pytesseract; then
-   elog "Install 'dev-python/pytesseract' to enable OCR 
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
-}

diff --git a/www-misc/urlwatch/urlwatch-2.28.ebuild 
b/www-misc/urlwatch/urlwatch-2.28.ebuild
deleted file mode 100644
index b0ae8628e0d6..
--- a/www-misc/urlwatch/urlwatch-2.28.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of t

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

2024-03-11 Thread Louis Sautier
commit: a52e465a71b97dd14b803d5e2ac86735aca84d99
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Mar 11 21:23:03 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Mar 11 21:26:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52e465a

www-misc/urlwatch: fix CSS selectors with dev-python/lxml >= 5.0.0

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

 www-misc/urlwatch/files/urlwatch-2.28-lxml-5.patch | 28 
 www-misc/urlwatch/urlwatch-2.28-r1.ebuild  | 76 ++
 2 files changed, 104 insertions(+)

diff --git a/www-misc/urlwatch/files/urlwatch-2.28-lxml-5.patch 
b/www-misc/urlwatch/files/urlwatch-2.28-lxml-5.patch
new file mode 100644
index ..d5f80410859f
--- /dev/null
+++ b/www-misc/urlwatch/files/urlwatch-2.28-lxml-5.patch
@@ -0,0 +1,28 @@
+https://github.com/thp/urlwatch/commit/123de66d019aef7fc18fab6d56cc2a54d81fea3f
+
+From: James Hewitt 
+Date: Wed, 17 Jan 2024 13:50:28 +
+Subject: [PATCH] Update CSS Selector to use new style
+
+New style of calling the CSSSelector directly instead of using the
+evaluate function. This has been supported since lxml 1.1 [1] and the
+evaluate method has been deprecated since lxml 2.1 [2].
+
+[1] https://github.com/lxml/lxml/blob/lxml-1.1/src/lxml/xpath.pxi#L66
+[2] https://github.com/lxml/lxml/blob/lxml-2.1/src/lxml/xpath.pxi#L143
+
+Signed-off-by: James Hewitt 
+--- a/lib/urlwatch/filters.py
 b/lib/urlwatch/filters.py
+@@ -761,9 +761,9 @@ def _get_filtered_elements(self):
+ excluded_elems = None
+ if self.filter_kind == 'css':
+ selected_elems = CSSSelector(self.expression,
+- 
namespaces=self.namespaces).evaluate(root)
++ namespaces=self.namespaces)(root)
+ excluded_elems = CSSSelector(self.exclude,
+- 
namespaces=self.namespaces).evaluate(root) if self.exclude else None
++ namespaces=self.namespaces)(root) if 
self.exclude else None
+ elif self.filter_kind == 'xpath':
+ selected_elems = root.xpath(self.expression, 
namespaces=self.namespaces)
+ excluded_elems = root.xpath(self.exclude, 
namespaces=self.namespaces) if self.exclude else None

diff --git a/www-misc/urlwatch/urlwatch-2.28-r1.ebuild 
b/www-misc/urlwatch/urlwatch-2.28-r1.ebuild
new file mode 100644
index ..ae6e35c21106
--- /dev/null
+++ b/www-misc/urlwatch/urlwatch-2.28-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A tool for monitoring webpages for updates"
+HOMEPAGE="
+   https://thp.io/2008/urlwatch/
+   https://github.com/thp/urlwatch/
+   https://pypi.org/project/urlwatch/
+"
+
+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? (
+   app-text/tesseract[png]
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/jq[${PYTHON_USEDEP}]
+   dev-python/pytesseract[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-lxml-5.patch"
+)
+
+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];
+   # 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/pytesseract; then
+   elog "Install 'dev-python/pytesseract' to enable OCR 
support"
+

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

2024-02-25 Thread Louis Sautier
commit: f5ef64c4d72a730c5ca8680d2b348a6b879cea81
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 25 15:35:58 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 25 15:35:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ef64c4

net-analyzer/nagios-plugins-linux-madrisan: drop 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 deletions(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 818afb425f24..c5a6cee5a49f 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-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0
 DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B 
ef66934315f3ddbee1a2d8472343549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76
 SHA512 
42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59

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
deleted file mode 100644
index 6e71445b286d..
--- 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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/files/, ...

2024-02-25 Thread Louis Sautier
commit: df8740de9ae7efbef8669fcb8047056d6621e8a5
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 25 14:14:48 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Feb 25 15:34:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df8740de

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

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

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 ...ins-linux-madrisan-32-rename-with-systemd.patch | 86 ++
 .../nagios-plugins-linux-madrisan-32.ebuild| 54 ++
 3 files changed, 141 insertions(+)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 68974a286f84..818afb425f24 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-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0
+DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B 
ef66934315f3ddbee1a2d8472343549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76
 SHA512 
42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-rename-with-systemd.patch
 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-rename-with-systemd.patch
new file mode 100644
index ..f47319dcd39a
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-rename-with-systemd.patch
@@ -0,0 +1,86 @@
+https://github.com/madrisan/nagios-plugins-linux/commit/63914284097e3a59e3407bf894376b859a0d1a2e
+
+From 63914284097e3a59e3407bf894376b859a0d1a2e Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Tue, 30 Jan 2024 18:57:16 +0100
+Subject: [PATCH] fix(configure): rename cmdline option --with-systemd
+
+  Rename --with-systemd to --enable-systemd for consistency
+  with the other optional boolean options.
+
+Signed-off-by: Davide Madrisan 
+--- a/configure.ac
 b/configure.ac
+@@ -337,7 +337,7 @@ AC_CHECK_DECLS([CPU_ALLOC], [], [],
+ 
+ dnl Check for libcurl
+ AC_ARG_ENABLE([libcurl],
+-  AS_HELP_STRING([--enable-libcurl], [Enable libcurl]))
++  AS_HELP_STRING([--enable-libcurl], [enable libcurl]))
+ AS_IF([test "x$enable_libcurl" = "xyes"], [
+   LIBCURL_CHECK_CONFIG([], [7.40.0], [],
+ [AC_MSG_ERROR([Missing required libcurl >= 7.40.0])])
+@@ -346,27 +346,9 @@ AS_IF([test "x$enable_libcurl" = "xyes"], [
+   AM_CONDITIONAL(HAVE_LIBCURL, [test "$libcurl_cv_lib_curl_usable" = "yes"])
+ ], [AM_CONDITIONAL(HAVE_LIBCURL, false)])
+ 
+-dnl Check for systemd-login libraries
+-AC_ARG_WITH([systemd],
+-  AS_HELP_STRING([--without-systemd], [do not build with systemd support]),
+-  [], [with_systemd=check]
+-)
+-have_systemd=no
+-AS_IF([test "x$with_systemd" != "xno"], [
+-  PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], 
[have_systemd=no])
+-  AS_CASE([$with_systemd:$have_systemd],
+-[yes:no],
+-  [AC_MSG_ERROR([systemd expected but libsystemd not found])],
+-[*:yes],
+-   AC_DEFINE([HAVE_LIBSYSTEMD], [1], [Define if libsystemd is available])
+-   AC_DEFINE([USE_SYSTEMD], [1], [Define if systemd support is wanted ])
+-  )
+-])
+-AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$have_systemd" = "xyes"])
+-
+ dnl Check for libvarlink
+ AC_ARG_ENABLE([libvarlink],
+-  AS_HELP_STRING([--enable-libvarlink], [Enable libvarlink]))
++  AS_HELP_STRING([--enable-libvarlink], [enable libvarlink]))
+ AS_IF([test "x$enable_libvarlink" = "xyes"], [
+   PKG_CHECK_EXISTS([libvarlink],
+ [PKG_CHECK_MODULES(LIBVARLINK, [libvarlink >= 18],
+@@ -394,6 +376,24 @@ AS_IF([test "x$enable_libprocps" = "xyes"], [
+ ])
+ AM_CONDITIONAL(HAVE_LIBPROCPS, [test "$have_libprocps" = "yes"])
+ 
++dnl Check for systemd-login libraries
++AC_ARG_ENABLE([systemd],
++  AS_HELP_STRING([--enable-systemd], [enable systemd related features]),
++  [], [enable_systemd=check]
++)
++have_systemd=no
++AS_IF([test "x$enable_systemd&quo

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

2024-02-24 Thread Louis Sautier
commit: ba1ee368d2df6735e4715e2b532e2dc086058487
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Fri Feb 23 23:51:17 2024 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Feb 24 13:35:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1ee368

dev-cpp/cctz: add 2.4

Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/35509
Signed-off-by: Louis Sautier  gentoo.org>

 dev-cpp/cctz/Manifest|  1 +
 dev-cpp/cctz/cctz-2.4.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/dev-cpp/cctz/Manifest b/dev-cpp/cctz/Manifest
index 49f2faf82ba8..c4fbbf6cbe6f 100644
--- a/dev-cpp/cctz/Manifest
+++ b/dev-cpp/cctz/Manifest
@@ -1 +1,2 @@
 DIST cctz-2.3_p20230228.tar.gz 218332 BLAKE2B 
c29f2acf12d73387faf0087ef94b8624b5eefa2cf3136e0003e59a6a89b8a73f6de97f1962031ca1b1b1f4f6e888a363314aa1e160ad54c618189ad4a7d8f60e
 SHA512 
ab6a103a6073a8169cd08587d2415dcab6c6e6c005b4b67fb69cc718b8b73a1331c5782b27aa4924aa5bdedc1563e31aa3ac76196078c50a13773d35d8df993b
+DIST cctz-2.4.tar.gz 222831 BLAKE2B 
c232b27cbfe5e45b6e1c51dd13c9a35c4a2e84b5d3e65ba6b4afb7683cac967a3b409382664a55d58ac67e53a1cf3dec9d97ecd59c5e2180c0eae4f71462fe33
 SHA512 
6d50fe5263b66f93bc3f9aee0da395352d0e95187e6a761afd1b82a461c127823fe93e06139e9d8989f24875b70de3058aab6e66639b408c7930f117e1815e5e

diff --git a/dev-cpp/cctz/cctz-2.4.ebuild b/dev-cpp/cctz/cctz-2.4.ebuild
new file mode 100644
index ..33f62ef2884f
--- /dev/null
+++ b/dev-cpp/cctz/cctz-2.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2023-2024 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;
+SRC_URI="https://github.com/google/cctz/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+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
+}



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

2023-12-24 Thread Louis Sautier
commit: b52a6ae76d57e6b28cb3cc2382f230cae624cab9
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Dec 24 21:34:19 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Dec 24 21:34:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52a6ae7

dev-python/dominate: add 2.9.1

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

 dev-python/dominate/Manifest  |  1 +
 dev-python/dominate/dominate-2.9.1.ebuild | 21 +
 2 files changed, 22 insertions(+)

diff --git a/dev-python/dominate/Manifest b/dev-python/dominate/Manifest
index 3d39b3036aa3..bb070f27fd04 100644
--- a/dev-python/dominate/Manifest
+++ b/dev-python/dominate/Manifest
@@ -1 +1,2 @@
 DIST dominate-2.9.0.tar.gz 36289 BLAKE2B 
8cc2ee67b027d4f1466ace7d39b47a330c87f5f0396b3bfe6a4b7ec3baff8e4e89d3f2cb7c6aa036aacd67743966508e50cdc289412781830f27878a614914ba
 SHA512 
aec4f67bdc1ee0df9f0ed3fec5e41fca044d930d69bd7c508420d8b06d4f21f5d5fc9ec867cea68bd82723cac7b4df645748592dc4ded9213ec60f5bb6a6f421
+DIST dominate-2.9.1.tar.gz 37715 BLAKE2B 
df0271537916e57d50b0d1918f34cdbcd2b1f2bde1e50995593b242e75758f184515dd33518fec0c57c959f5a504dfebf4210814213b159bed2546af7369d915
 SHA512 
690f7228957cfc3c673bb1863f4e7d15c5e717c4bde24eb8280efc1be07cd50fae514a10b3208ee1b37e4d19d513622c7768b9efb61f11c286430832e873e8e5

diff --git a/dev-python/dominate/dominate-2.9.1.ebuild 
b/dev-python/dominate/dominate-2.9.1.ebuild
new file mode 100644
index ..576830e8c74f
--- /dev/null
+++ b/dev-python/dominate/dominate-2.9.1.ebuild
@@ -0,0 +1,21 @@
+# 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_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Library for creating and manipulating HTML documents using an 
elegant DOM API"
+HOMEPAGE="
+   https://github.com/Knio/dominate/
+   https://pypi.org/project/dominate/
+"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+distutils_enable_tests pytest



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

2023-11-07 Thread Louis Sautier
commit: 8a08143250248bf5bb1b6ee20800d910aa5dd92b
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Nov  7 20:53:38 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Nov  7 20:55:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a081432

net-irc/znc: add slot specifier to argon2i dependency

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

 net-irc/znc/znc-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-irc/znc/znc-.ebuild b/net-irc/znc/znc-.ebuild
index 1f2334900220..c40af00c86f0 100644
--- a/net-irc/znc/znc-.ebuild
+++ b/net-irc/znc/znc-.ebuild
@@ -57,7 +57,7 @@ BDEPEND="
)
 "
 DEPEND="
-   app-crypt/argon2
+   app-crypt/argon2:=
icu? ( dev-libs/icu:= )
nls? ( dev-libs/boost:=[nls] )
perl? ( >=dev-lang/perl-5.10:= )



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

2023-11-07 Thread Louis Sautier
commit: becc8e9f9bae972f7781b691901d66bf24964aeb
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Nov  7 12:35:53 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Nov  7 12:35:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becc8e9f

www-misc/urlwatch: enable py3.12

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

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

diff --git a/www-misc/urlwatch/urlwatch-2.28.ebuild 
b/www-misc/urlwatch/urlwatch-2.28.ebuild
index 1b74b901e846..b0ae8628e0d6 100644
--- a/www-misc/urlwatch/urlwatch-2.28.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.28.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 



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

2023-11-07 Thread Louis Sautier
commit: ddb728b7158dc39af5d63ab1a4d00b803e673e24
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Oct 29 13:19:42 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Nov  7 12:29:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb728b7

net-irc/znc: add new dependency on argon2 + enable py312

Argon2 is now used to hash passwords instead of SHA-256.

Also fix dependency on Python: it is also required to run tests because
znc-buildmod is a Python script.

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

 net-irc/znc/znc-.ebuild | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/net-irc/znc/znc-.ebuild b/net-irc/znc/znc-.ebuild
index a247a1966b36..1f2334900220 100644
--- a/net-irc/znc/znc-.ebuild
+++ b/net-irc/znc/znc-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-single-r1 readme.gentoo-r1 systemd
 
@@ -33,7 +33,11 @@ SLOT="0/${PV}"
 IUSE="+icu nls perl python +ssl sasl tcl test +zlib"
 RESTRICT="!test? ( test )"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
+# tests run znc-buildmod which is a Python script
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} icu )
+   test? ( ${PYTHON_REQUIRED_USE} )
+"
 
 # perl is a build-time dependency of modpython
 BDEPEND="
@@ -53,6 +57,7 @@ BDEPEND="
)
 "
 DEPEND="
+   app-crypt/argon2
icu? ( dev-libs/icu:= )
nls? ( dev-libs/boost:=[nls] )
perl? ( >=dev-lang/perl-5.10:= )
@@ -73,7 +78,7 @@ PATCHES=(
 )
 
 pkg_setup() {
-   if use python; then
+   if use python || use test; then
python-single-r1_pkg_setup
fi
 }



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

2023-11-07 Thread Louis Sautier
commit: 8a7d7d84d289e6850fee232c9940d7caad2ee225
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Nov  7 12:30:09 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Nov  7 12:31:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7d7d84

www-misc/urlwatch: remove references to masked pushbullet-py

It was masked in e781d8925ec0b04029863efe02e704235a499f98.

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

 www-misc/urlwatch/urlwatch-2.25.ebuild | 4 
 www-misc/urlwatch/urlwatch-2.26.ebuild | 4 
 www-misc/urlwatch/urlwatch-2.28.ebuild | 4 
 3 files changed, 12 deletions(-)

diff --git a/www-misc/urlwatch/urlwatch-2.25.ebuild 
b/www-misc/urlwatch/urlwatch-2.25.ebuild
index cbee5011eb6b..f1624031129e 100644
--- a/www-misc/urlwatch/urlwatch-2.25.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.25.ebuild
@@ -64,10 +64,6 @@ pkg_postinst() {
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"

diff --git a/www-misc/urlwatch/urlwatch-2.26.ebuild 
b/www-misc/urlwatch/urlwatch-2.26.ebuild
index 02b7d52bcb99..1b74b901e846 100644
--- a/www-misc/urlwatch/urlwatch-2.26.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.26.ebuild
@@ -59,10 +59,6 @@ pkg_postinst() {
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
if ! has_version dev-python/pytesseract; then
elog "Install 'dev-python/pytesseract' to enable OCR 
support"
fi

diff --git a/www-misc/urlwatch/urlwatch-2.28.ebuild 
b/www-misc/urlwatch/urlwatch-2.28.ebuild
index 02b7d52bcb99..1b74b901e846 100644
--- a/www-misc/urlwatch/urlwatch-2.28.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.28.ebuild
@@ -59,10 +59,6 @@ pkg_postinst() {
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
if ! has_version dev-python/pytesseract; then
elog "Install 'dev-python/pytesseract' to enable OCR 
support"
fi



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

2023-10-29 Thread Louis Sautier
commit: b1c782742e74e97b7f83031a37ae13fb0cd32224
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Oct 29 16:23:37 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Oct 29 16:30:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c78274

dev-python/pymediainfo: add 6.1.0

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

 dev-python/pymediainfo/Manifest |  1 +
 dev-python/pymediainfo/pymediainfo-6.1.0.ebuild | 34 +
 2 files changed, 35 insertions(+)

diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest
index d10ac1a454c8..7766cecacbc5 100644
--- a/dev-python/pymediainfo/Manifest
+++ b/dev-python/pymediainfo/Manifest
@@ -1 +1,2 @@
 DIST pymediainfo-6.0.1.tar.gz 446487 BLAKE2B 
402c71157e43fd03efe37934932c61e1e22d469c13f5b5e85d7e0f1d52d6e54289860777c1677efeb4710a5c55086a1c7db03da8ad2f88f49d144bd5484f8638
 SHA512 
7b373b133911eb320248f72627f6aeb6fa04705b55500639d18094ed8227296fd744c2c4b76d765e8b2d98d78f443114e9ca7ef8e2e0eb498d48d2b46956f952
+DIST pymediainfo-6.1.0.tar.gz 446466 BLAKE2B 
66a2863439cd2df7e5ad8be07a377b8201048aed4f6b4efb2289f316a184ebbc5376ce4e437e05819906a49eb40d49039f8e17654470cd1539fdfdb6496b3b71
 SHA512 
2c32134f42794a7228591d96e2cbe64b30693b671ded4e386b08eb6d571459e4a06d551d3c169dd340f560cf5ec7f86f6cd73fc135e4404614c22ed452273783

diff --git a/dev-python/pymediainfo/pymediainfo-6.1.0.ebuild 
b/dev-python/pymediainfo/pymediainfo-6.1.0.ebuild
new file mode 100644
index ..61509b8f05cd
--- /dev/null
+++ b/dev-python/pymediainfo/pymediainfo-6.1.0.ebuild
@@ -0,0 +1,34 @@
+# 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_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A wrapper around the mediainfo library"
+HOMEPAGE="
+   https://github.com/sbraz/pymediainfo/
+   https://pypi.org/project/pymediainfo/
+"
+
+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: media-video/gaupol/

2023-10-29 Thread Louis Sautier
commit: a0ff81634455b1acaac0f14b1647ca679985a08d
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Oct 29 12:51:18 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Oct 29 12:54:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ff8163

media-video/gaupol: add 1.13, support Python 3.12

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

 media-video/gaupol/Manifest   |  1 +
 media-video/gaupol/gaupol-1.13.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 204e968018aa..719b7a9f9e74 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,2 +1,3 @@
 DIST gaupol-1.11.tar.gz 581799 BLAKE2B 
d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e
 SHA512 
8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
 DIST gaupol-1.12.tar.gz 575537 BLAKE2B 
acedc1b73b6bea35d2853aa26117a7823767aeff3f9cd59ed828aa173c0ab4a46ef1433d169cd551b9d453289412aec31ede32e388dfc22d14e60e18b4c5ec0a
 SHA512 
7e8002ceeff0a6c1144a6c23743aff006101a63aee394c4a4eb2742ad37635fe45425964d60ab2d6f10f9e212c72db673f5f1d849f738efcd7d9389054a1de36
+DIST gaupol-1.13.tar.gz 592830 BLAKE2B 
dcde1dd6c5e3e9624f0e7692c4d6cc14452733d1e35bc25de5deaa842cdb069250dee0b2d9eb75d1bb9f3c618c43457718ce91f5a6992ec7797fbb37366fc524
 SHA512 
ebe2accd962344c07201e46ceff3801483a4c68f9772d1fc868a93d8044b65987f7233eab675a9f3148bce686261a6b5c40d66d3f9471f9515713fbfb46a3f92

diff --git a/media-video/gaupol/gaupol-1.13.ebuild 
b/media-video/gaupol/gaupol-1.13.ebuild
new file mode 100644
index ..542d88d11216
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.13.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_{10..12} )
+
+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}/${PN}-1.12-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 
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/

2023-10-29 Thread Louis Sautier
commit: e856837ac4db591bf0ffb6c27efc424450929366
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Oct 29 12:53:13 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Oct 29 12:54:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e856837a

media-video/gaupol: drop 1.11-r1

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

 media-video/gaupol/Manifest  |  1 -
 media-video/gaupol/gaupol-1.11-r1.ebuild | 64 
 2 files changed, 65 deletions(-)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 719b7a9f9e74..ef46bd9c2638 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,3 +1,2 @@
-DIST gaupol-1.11.tar.gz 581799 BLAKE2B 
d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e
 SHA512 
8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
 DIST gaupol-1.12.tar.gz 575537 BLAKE2B 
acedc1b73b6bea35d2853aa26117a7823767aeff3f9cd59ed828aa173c0ab4a46ef1433d169cd551b9d453289412aec31ede32e388dfc22d14e60e18b4c5ec0a
 SHA512 
7e8002ceeff0a6c1144a6c23743aff006101a63aee394c4a4eb2742ad37635fe45425964d60ab2d6f10f9e212c72db673f5f1d849f738efcd7d9389054a1de36
 DIST gaupol-1.13.tar.gz 592830 BLAKE2B 
dcde1dd6c5e3e9624f0e7692c4d6cc14452733d1e35bc25de5deaa842cdb069250dee0b2d9eb75d1bb9f3c618c43457718ce91f5a6992ec7797fbb37366fc524
 SHA512 
ebe2accd962344c07201e46ceff3801483a4c68f9772d1fc868a93d8044b65987f7233eab675a9f3148bce686261a6b5c40d66d3f9471f9515713fbfb46a3f92

diff --git a/media-video/gaupol/gaupol-1.11-r1.ebuild 
b/media-video/gaupol/gaupol-1.11-r1.ebuild
deleted file mode 100644
index 9912107e930f..
--- a/media-video/gaupol/gaupol-1.11-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-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: sys-process/cronie/, sys-process/cronie/files/

2023-10-16 Thread Louis Sautier
commit: a80bf43dee8debe9a7da1519e1e4ebbdb6b588c5
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Oct 16 23:38:45 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Mon Oct 16 23:42:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a80bf43d

sys-process/cronie: fix error message in 0anacron, #915724

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

 ...cronie-1.7.0-r1.ebuild => cronie-1.7.0-r2.ebuild} |  1 +
 .../cronie-1.7.0-optional-default-anacron.patch  | 20 
 2 files changed, 21 insertions(+)

diff --git a/sys-process/cronie/cronie-1.7.0-r1.ebuild 
b/sys-process/cronie/cronie-1.7.0-r2.ebuild
similarity index 98%
rename from sys-process/cronie/cronie-1.7.0-r1.ebuild
rename to sys-process/cronie/cronie-1.7.0-r2.ebuild
index 7df18878c8a5..f546d36ecbbd 100644
--- a/sys-process/cronie/cronie-1.7.0-r1.ebuild
+++ b/sys-process/cronie/cronie-1.7.0-r2.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${P}-optional-envionment.patch
+   "${FILESDIR}"/${P}-optional-default-anacron.patch
 )
 
 src_configure() {

diff --git 
a/sys-process/cronie/files/cronie-1.7.0-optional-default-anacron.patch 
b/sys-process/cronie/files/cronie-1.7.0-optional-default-anacron.patch
new file mode 100644
index ..33cd1c79a72d
--- /dev/null
+++ b/sys-process/cronie/files/cronie-1.7.0-optional-default-anacron.patch
@@ -0,0 +1,20 @@
+From ca1b98aaa79975376b729d7f4cc2e8bb2e5939b8 Mon Sep 17 00:00:00 2001
+From: Louis Sautier 
+Date: Sat, 14 Oct 2023 15:13:22 +0200
+Subject: [PATCH] anacron: only source /etc/default/anacron if it is readable,
+ fixes #159
+
+Signed-off-by: Louis Sautier 
+--- a/contrib/0anacron
 b/contrib/0anacron
+@@ -8,7 +8,9 @@ if [ `date +%Y%m%d` = "$day" ]; then
+ fi
+ 
+ # Check whether run on battery should be allowed
+-. /etc/default/anacron
++if test -r /etc/default/anacron; then
++. /etc/default/anacron
++fi
+ 
+ if [ "$ANACRON_RUN_ON_BATTERY_POWER" != "yes" ]; then
+ 



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

2023-09-30 Thread Louis Sautier
commit: 6c3a619969a9eaec069974aae2074307502aa157
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Sep 30 22:10:29 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sat Sep 30 22:10:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c3a6199

dev-python/denonavr: add 0.11.4

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

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

diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest
index 024b1e6daab2..aaf8951a9763 100644
--- a/dev-python/denonavr/Manifest
+++ b/dev-python/denonavr/Manifest
@@ -1 +1,2 @@
 DIST denonavr-0.11.3.tar.gz 179597 BLAKE2B 
139cda38958e320d72f11ef25e94db67346b7e9f253cbbf60a0cc5f5e2e42846f070a57cfb1596cb648d1d70a62983d8f5fe6b91aec5b95501c049c1c65b7141
 SHA512 
a361ac3dd6385ad7c042f6cb7bd2092c39da75c167277347d199ab9de3a1ef9fad84e41428cfa02058c680c905965214e42780fa4d4fb1f4a1116102284fe571
+DIST denonavr-0.11.4.tar.gz 179759 BLAKE2B 
c75b5679c614f3776afd8a24befb49ca5c2528cb6cd6a573ea221cc66e7b9ec9819770b646c52c0aed126b35733aab09a9eb7c5f673a8e3208507d0afda36117
 SHA512 
7bdae172034122cc55571dd83888091987c973e29fd0f881428d09c093510c99f4c6eceaab0868d024a2e6acca36eaa941d62332849e7dc2547a88111d8dc55a

diff --git a/dev-python/denonavr/denonavr-0.11.4.ebuild 
b/dev-python/denonavr/denonavr-0.11.4.ebuild
new file mode 100644
index ..5adf44a85b90
--- /dev/null
+++ b/dev-python/denonavr/denonavr-0.11.4.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=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Automation Library for Denon AVR receivers"
+HOMEPAGE="
+   https://github.com/ol-iver/denonavr/
+   https://pypi.org/project/denonavr/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/asyncstdlib-3.10.2[${PYTHON_USEDEP}]
+   >=dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
+   >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
+   >=dev-python/httpx-0.23.1[${PYTHON_USEDEP}]
+   >=dev-python/netifaces-0.11.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
+   ' 3.{8..10})
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   dev-python/pytest-httpx[${PYTHON_USEDEP}]
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



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

2023-08-09 Thread Louis Sautier
commit: 9274f3c655d55c0e1c35e2d70202b0144c8ad4ca
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Aug 10 00:43:22 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Thu Aug 10 00:56:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9274f3c6

app-misc/rmlint: add 2.10.2

This new version fixes several bugs including broken tests.
It also removes the dependency of the GUI on Polkit (#828111), which,
according to https://github.com/sahib/rmlint/commit/a807253e, isn't used
for anything at the moment.

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

 app-misc/rmlint/Manifest   |   1 +
 .../files/rmlint-2.10.2-fix-sorting-tests.patch|  51 
 app-misc/rmlint/rmlint-2.10.2.ebuild   | 136 +
 3 files changed, 188 insertions(+)

diff --git a/app-misc/rmlint/Manifest b/app-misc/rmlint/Manifest
index 09581c7bdc75..ce83f677e26d 100644
--- a/app-misc/rmlint/Manifest
+++ b/app-misc/rmlint/Manifest
@@ -1 +1,2 @@
 DIST rmlint-2.10.1.tar.gz 2494474 BLAKE2B 
40219ff64d54f0e2fc66a958c6ca51520152f77f9038e9756ab601da5180502528be7b2d750c85b5991c31db96c3eb7415841084b6c90db103dc212947864034
 SHA512 
a1281359798816dadaf3a1e706e671dc63edf8f7d176c114a924a1e03fc9ad6fa54d10de701b09b5e364a9a815e0d11bdbef3d16fb7fec74eb85af20a106db1a
+DIST rmlint-2.10.2.tar.gz 2499695 BLAKE2B 
07c887f660685b5ec86c8a448d482c96cc40b129fc906d0c31c01e07617bf0167055145050c21b565cb1551ccc1ce6329593d92473c371125b2c91d31d9d601c
 SHA512 
8f8d58892785e9012cb15f3e89480d9d04772fa3f923064520bf17afcc8948b1a24d6f8399176a1a26bd5036553c605958f3720e40cf6cba135a4f3381131180

diff --git a/app-misc/rmlint/files/rmlint-2.10.2-fix-sorting-tests.patch 
b/app-misc/rmlint/files/rmlint-2.10.2-fix-sorting-tests.patch
new file mode 100644
index ..77f47b18c853
--- /dev/null
+++ b/app-misc/rmlint/files/rmlint-2.10.2-fix-sorting-tests.patch
@@ -0,0 +1,51 @@
+From 69d9dcb60c9e88084aba37545c77fd02fdc7df33 Mon Sep 17 00:00:00 2001
+From: Cebtenzzre 
+Date: Wed, 9 Aug 2023 18:42:00 -0400
+Subject: [PATCH] tests: fix failures caused by certain directory names
+
+Fixes #630
+--- a/tests/test_options/test_sorting.py
 b/tests/test_options/test_sorting.py
+@@ -158,15 +158,15 @@ def test_sort_by_regex():
+ create_file('xxx', 'aaab')
+ create_file('xxx', 'b')
+ create_file('xxx', 'c')
+-create_file('xxx', '1/c')
+-create_file('xxx', 'd')
++create_file('xxx', 'd/e')
++create_file('xxx', 'f')
+ 
+-head, *data, footer = run_rmlint("-S 'r<1/c>xa'")
++head, *data, footer = run_rmlint("-S 'rxa'")
+ 
+ paths = [p['path'] for p in data]
+ 
+-assert paths[0].endswith('1/c')
+-assert paths[1].endswith('d')
++assert paths[0].endswith('d/e')
++assert paths[1].endswith('f')
+ assert paths[2].endswith('')
+ assert paths[3].endswith('aaab')
+ assert paths[4].endswith('b')
+@@ -206,16 +206,16 @@ def test_sort_by_regex_bad_input():
+ # regression test for GitHub issue #484
+ @with_setup(usual_setup_func, usual_teardown_func)
+ def test_regex_multiple_matches():
+-paths = [
+-'1/a', '1/a2', '1/b',
+-'2/a', '2/a2', '2/b',
+-]
++paths = [os.path.join(dname, bname)
++ for dname in ['unique_1', 'unique_2']
++ for bname in ['a', 'a2', 'b']]
++
+ for path in reversed(paths):
+ create_file('xxx', path)
+ 
+ # when multiple paths matched a regex, rmlint would not try the next 
criterion
+ # check multiple times because sort order was inconsistent before the fix
+ for _ in range(3):
+-head, *data, foot = run_rmlint("-S 'r<1>xl'")
++head, *data, foot = run_rmlint("-S 'rxl'")
+ assert len(data) == len(paths)
+ assert [e['path'] for e in data] == [os.path.join(TESTDIR_NAME, p) 
for p in paths]

diff --git a/app-misc/rmlint/rmlint-2.10.2.ebuild 
b/app-misc/rmlint/rmlint-2.10.2.ebuild
new file mode 100644
index ..93b2c479581f
--- /dev/null
+++ b/app-misc/rmlint/rmlint-2.10.2.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+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/;
+SRC_URI="https://github.com/sahib/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gui nls test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/glib:2
+   dev-libs/json-glib
+   virtual/libelf:0=
+"
+RDEPEND="
+   ${DEPEND}
+   gui? (
+

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

2023-07-09 Thread Louis Sautier
commit: 4280969fb99b5e45e36bcc97336c91b8246659b3
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jul  9 18:37:29 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun Jul  9 18:37:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4280969f

dev-python/denonavr: add 0.11.3, support Python 3.12

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

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

diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest
index 00f163c19b22..a1fe91cfbb77 100644
--- a/dev-python/denonavr/Manifest
+++ b/dev-python/denonavr/Manifest
@@ -1 +1,2 @@
 DIST denonavr-0.11.2.tar.gz 178495 BLAKE2B 
7ee308a071f3e325849b67aa901da31c566ce7fc7a0c5c71bb53d9bcd5effd4bf54dc0b4301f4403d01bca83af15ef603c0229b182ab1c1b2801ae934e61
 SHA512 
70ac865e20d6a71c51007e6b135b873492707bff1497616d44fbcf30ab8e3c172d93df08cfc23bebca929cb965d764d6d105d2ed4a0a5fc30d19732b66a88820
+DIST denonavr-0.11.3.tar.gz 179597 BLAKE2B 
139cda38958e320d72f11ef25e94db67346b7e9f253cbbf60a0cc5f5e2e42846f070a57cfb1596cb648d1d70a62983d8f5fe6b91aec5b95501c049c1c65b7141
 SHA512 
a361ac3dd6385ad7c042f6cb7bd2092c39da75c167277347d199ab9de3a1ef9fad84e41428cfa02058c680c905965214e42780fa4d4fb1f4a1116102284fe571

diff --git a/dev-python/denonavr/denonavr-0.11.3.ebuild 
b/dev-python/denonavr/denonavr-0.11.3.ebuild
new file mode 100644
index ..5adf44a85b90
--- /dev/null
+++ b/dev-python/denonavr/denonavr-0.11.3.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=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Automation Library for Denon AVR receivers"
+HOMEPAGE="
+   https://github.com/ol-iver/denonavr/
+   https://pypi.org/project/denonavr/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/asyncstdlib-3.10.2[${PYTHON_USEDEP}]
+   >=dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
+   >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
+   >=dev-python/httpx-0.23.1[${PYTHON_USEDEP}]
+   >=dev-python/netifaces-0.11.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
+   ' 3.{8..10})
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   dev-python/pytest-httpx[${PYTHON_USEDEP}]
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



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

2023-06-14 Thread Louis Sautier
commit: 3c3f29cbdd169325b360e55989c3d171e3d1d8e6
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Jun 14 11:26:27 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Jun 14 11:29:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c3f29cb

www-apps/klaus: restrict tests, #908453

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

 www-apps/klaus/klaus-2.0.3.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www-apps/klaus/klaus-2.0.3.ebuild 
b/www-apps/klaus/klaus-2.0.3.ebuild
index 41b3713ceb0a..af488c89f7ae 100644
--- a/www-apps/klaus/klaus-2.0.3.ebuild
+++ b/www-apps/klaus/klaus-2.0.3.ebuild
@@ -16,6 +16,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="ctags"
 
+# Tests can only be run from a git repository so they are not included in
+# source distributions.
+RESTRICT="test"
+
 RDEPEND="
>=dev-python/dulwich-0.19.3[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
@@ -25,9 +29,6 @@ RDEPEND="
ctags? ( dev-python/python-ctags3[${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: www-apps/klaus/

2023-06-13 Thread Louis Sautier
commit: 76f034343f5ba672554981d7e82b3ce3a097ba61
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Jun 13 12:05:21 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Jun 13 12:05:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f03434

www-apps/klaus: add 2.0.3

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

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

diff --git a/www-apps/klaus/Manifest b/www-apps/klaus/Manifest
index 9cde6004cc56..f18d5856d648 100644
--- a/www-apps/klaus/Manifest
+++ b/www-apps/klaus/Manifest
@@ -1 +1,2 @@
 DIST klaus-2.0.2.tar.gz 43030 BLAKE2B 
ba3a1d07d92ab02e43a31f9e720e26bafc744c2867b8bd6cf300d6e2fdcbcb560a426e8cf55bd6d8c11d23775ae5beddb8fd3ee89c3b0f21302bb463cc2571f3
 SHA512 
87aa4943d4e918c7ac9c269c095b8381b9e367ed68a50fb70bd75e02ec723c379d0ceaa2da9d5b81484b4c308941283dd2fb58046ba18e0950611c51b2337edd
+DIST klaus-2.0.3.tar.gz 46961 BLAKE2B 
29d84ccf829853f091f8bc944e4bf0ec119e1a2dcf67c7d82561a0924cc60634ec67580b6d9103fe33e7a4f40dc909d9dd04f1765441b9dbfd2638adad91df48
 SHA512 
81bb1ecd01555bb3e49b4fa482e8bfc679b9754047508201467640bab25e56e3f109339efa419f00b05d99d27138a16ab5fb7c3578792992e343653eb175fc1e

diff --git a/www-apps/klaus/klaus-2.0.3.ebuild 
b/www-apps/klaus/klaus-2.0.3.ebuild
new file mode 100644
index ..41b3713ceb0a
--- /dev/null
+++ b/www-apps/klaus/klaus-2.0.3.ebuild
@@ -0,0 +1,34 @@
+# 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_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A simple, easy-to-set-up Git web viewer"
+HOMEPAGE="https://github.com/jonashaag/klaus/;
+
+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-ctags3[${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: net-p2p/airdcpp-webclient/

2023-05-23 Thread Louis Sautier
commit: bf7a3cadec0988810748575025f684398d3570d5
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue May 23 22:48:00 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue May 23 23:10:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf7a3cad

net-p2p/airdcpp-webclient: drop 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 deletions(-)

diff --git a/net-p2p/airdcpp-webclient/Manifest 
b/net-p2p/airdcpp-webclient/Manifest
index f075e2273621..8e2ce6bb90c8 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -1,4 +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
 DIST airdcpp-webclient-2.12.1.tar.gz 961603 BLAKE2B 
bc17fb3b3643b1d699f7c0ef958616759d87cd96467318a592c1460e355d512a3efc0e793a3098f8074f02d5af47b1ef33b65fbe7a6c9a955bbdc472d323f637
 SHA512 
0f662311d208b937c946b41a617c82a0e72442fb7c2bef09d56ec71931bde35bd1024ce53cb3bf7deda3eaaac31ecbe8fa2c66c337c0833db655f80f5e5156be

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.3.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.3.ebuild
deleted file mode 100644
index cf6f9ec68059..
--- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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-05-23 Thread Louis Sautier
commit: 86d19d76ec0b1ef268f487af57b13d6cbc461ba4
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue May 23 22:47:39 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue May 23 23:10:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d19d76

www-apps/airdcpp-webui: drop 2.11.4

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

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

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index c6f32867d115..7fd74a36d519 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.4.tgz 8736640 BLAKE2B 
5dbdcd7edc1a2317166d59ec28ba35eb582ca5472acce64ac8dc888c4914dbf563a19f8ce1f394fe22c6232175e8d12009ab497cd8643a9feed7c00168509eda
 SHA512 
405638dd824aba7e1004c5821b5bc4cf088e6db0a990e73e627c4c151802f99cd2de745053a71e4cc5ffdda4edc31ce60bf2ecf1a31d3bbcf7b7619fb7e6
 DIST airdcpp-webui-2.11.5.tgz 8591663 BLAKE2B 
37df77b5e4dd6d2ea1c9b83e25938d3618f32f0d9daa5b744a2684dd7b3b0ad2c6c03f676833e81bf5e4839a5fbeec487d04b5b891e1603a34c5723dc5ca300b
 SHA512 
33beae8a96273ab5ed603163d567ae2c4588519dd136e19826607cc90eab9b1e436ff1ea585bfc5d852ebecd7da80c46a7699c02b98bafacc5509fe3f2eedf74
 DIST airdcpp-webui-2.12.0.tgz 8456530 BLAKE2B 
d5ec8a2f00e48d25c44b8a8beee404a0089b55b6db261cc57fd76cfc9ebb7639a91bc7b51aa515889fdf896fb042d35b32f4c5b38d8bfb9686ae0eeb5a051005
 SHA512 
fb4b79366c3d375619b4bd28a048ddd9e05d6787aaa3703163fbb50ab6ec63ac5272b4f67a43b1cf023f1bf7b59fee872c3019bf5e576dfdb748a0d347bed644

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.11.4.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.11.4.ebuild
deleted file mode 100644
index 40745bed8dfd..
--- a/www-apps/airdcpp-webui/airdcpp-webui-2.11.4.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: www-apps/airdcpp-webui/

2023-05-23 Thread Louis Sautier
commit: 8c116e3ab5ca22cbbaa4d8bb2f748fb7ce2ee4ae
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue May 23 22:47:10 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue May 23 23:10:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c116e3a

www-apps/airdcpp-webui: add 2.12.0

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

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

diff --git a/www-apps/airdcpp-webui/Manifest b/www-apps/airdcpp-webui/Manifest
index c4f52a054469..c6f32867d115 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.4.tgz 8736640 BLAKE2B 
5dbdcd7edc1a2317166d59ec28ba35eb582ca5472acce64ac8dc888c4914dbf563a19f8ce1f394fe22c6232175e8d12009ab497cd8643a9feed7c00168509eda
 SHA512 
405638dd824aba7e1004c5821b5bc4cf088e6db0a990e73e627c4c151802f99cd2de745053a71e4cc5ffdda4edc31ce60bf2ecf1a31d3bbcf7b7619fb7e6
 DIST airdcpp-webui-2.11.5.tgz 8591663 BLAKE2B 
37df77b5e4dd6d2ea1c9b83e25938d3618f32f0d9daa5b744a2684dd7b3b0ad2c6c03f676833e81bf5e4839a5fbeec487d04b5b891e1603a34c5723dc5ca300b
 SHA512 
33beae8a96273ab5ed603163d567ae2c4588519dd136e19826607cc90eab9b1e436ff1ea585bfc5d852ebecd7da80c46a7699c02b98bafacc5509fe3f2eedf74
+DIST airdcpp-webui-2.12.0.tgz 8456530 BLAKE2B 
d5ec8a2f00e48d25c44b8a8beee404a0089b55b6db261cc57fd76cfc9ebb7639a91bc7b51aa515889fdf896fb042d35b32f4c5b38d8bfb9686ae0eeb5a051005
 SHA512 
fb4b79366c3d375619b4bd28a048ddd9e05d6787aaa3703163fbb50ab6ec63ac5272b4f67a43b1cf023f1bf7b59fee872c3019bf5e576dfdb748a0d347bed644

diff --git a/www-apps/airdcpp-webui/airdcpp-webui-2.12.0.ebuild 
b/www-apps/airdcpp-webui/airdcpp-webui-2.12.0.ebuild
new file mode 100644
index ..eb45f0428a26
--- /dev/null
+++ b/www-apps/airdcpp-webui/airdcpp-webui-2.12.0.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: net-p2p/airdcpp-webclient/

2023-05-23 Thread Louis Sautier
commit: 9824d7b563c47cec788df39b8504840eb31abbcc
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue May 23 22:46:49 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue May 23 23:10:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9824d7b5

net-p2p/airdcpp-webclient: add 2.12.1, support Python 3.12

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

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

diff --git a/net-p2p/airdcpp-webclient/Manifest 
b/net-p2p/airdcpp-webclient/Manifest
index 9e615f35f8e2..f075e2273621 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -1,3 +1,4 @@
 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
+DIST airdcpp-webclient-2.12.1.tar.gz 961603 BLAKE2B 
bc17fb3b3643b1d699f7c0ef958616759d87cd96467318a592c1460e355d512a3efc0e793a3098f8074f02d5af47b1ef33b65fbe7a6c9a955bbdc472d323f637
 SHA512 
0f662311d208b937c946b41a617c82a0e72442fb7c2bef09d56ec71931bde35bd1024ce53cb3bf7deda3eaaac31ecbe8fa2c66c337c0833db655f80f5e5156be

diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild 
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild
new file mode 100644
index ..a0c2b11391c2
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.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_{10..12} )
+
+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: dev-python/pulsectl/

2023-05-22 Thread Louis Sautier
commit: 846eb91c6c73b6908085236ff2e176ef6100ef41
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue May 23 00:00:34 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue May 23 00:00:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846eb91c

dev-python/pulsectl: add 23.5.2

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

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

diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest
index 34929a518307..b18765a3509d 100644
--- a/dev-python/pulsectl/Manifest
+++ b/dev-python/pulsectl/Manifest
@@ -1,2 +1,3 @@
 DIST pulsectl-22.3.2.tar.gz 40901 BLAKE2B 
5b3eb752865e95cfbb70a7228409fea70b4c55c7297d652b4614df7ea4764dcb446f7a3e25bb89f6a55badbf6b300381c7c28c56f0a47e7faf1e63003f39d02c
 SHA512 
7fc11c792a9e586d191a32831e0ef8896c40da1fdeddfd4467d7ec352e5e0ef0c910d7a2e8e82e1a381b16afefa17c9c9db4821be74d4694c934337b2a862f0c
 DIST pulsectl-23.5.1.tar.gz 41131 BLAKE2B 
4e24a0d79d2f5c5a365a23643019150693862a636115a0fcf26dbc64cf9d80a8637c1f03193f8d2513660e8f5268946ef287d01b93b7fd3a416dbb05b2c619f0
 SHA512 
69516e1d64cb2e27643de6fcb273b621ab89a03dd5c40eb71a7fa6b846da96f8f10baacf794c73edc3f60f65787c7050c16c234aa5b23169c2d5ae815232372a
+DIST pulsectl-23.5.2.tar.gz 41119 BLAKE2B 
45239e9b6b3e19356f7c89acb673d9287e9e38099608e246c8334a5de82bf93d813688e376cf5aedb92e6b3368ce93bae1df630726a5ae568c83d774c942f848
 SHA512 
4f05edd994aac1964c358c50a95f564afb40fcc6ac410d5189525312c042057954d040dc41939b665347a39453244eccc138c4c7d628ef2da62034606716ecb9

diff --git a/dev-python/pulsectl/pulsectl-23.5.2.ebuild 
b/dev-python/pulsectl/pulsectl-23.5.2.ebuild
new file mode 100644
index ..a13a963b83ea
--- /dev/null
+++ b/dev-python/pulsectl/pulsectl-23.5.2.ebuild
@@ -0,0 +1,30 @@
+# 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_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python high-level interface and ctypes-based bindings for 
PulseAudio (libpulse)"
+HOMEPAGE="
+   https://github.com/mk-fg/python-pulse-control/
+   https://pypi.org/project/pulsectl/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-sound/pulseaudio
+"
+BDEPEND="
+   test? (
+   media-sound/pulseaudio-daemon
+   )
+"
+
+distutils_enable_tests unittest



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

2023-05-21 Thread Louis Sautier
commit: 064e87fda4c85c8c68de01c2f59ceeecf51e3e20
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun May 21 14:22:21 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Sun May 21 14:23:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=064e87fd

dev-python/pulsectl: add 23.5.1

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

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

diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest
index 3458503004da..34929a518307 100644
--- a/dev-python/pulsectl/Manifest
+++ b/dev-python/pulsectl/Manifest
@@ -1 +1,2 @@
 DIST pulsectl-22.3.2.tar.gz 40901 BLAKE2B 
5b3eb752865e95cfbb70a7228409fea70b4c55c7297d652b4614df7ea4764dcb446f7a3e25bb89f6a55badbf6b300381c7c28c56f0a47e7faf1e63003f39d02c
 SHA512 
7fc11c792a9e586d191a32831e0ef8896c40da1fdeddfd4467d7ec352e5e0ef0c910d7a2e8e82e1a381b16afefa17c9c9db4821be74d4694c934337b2a862f0c
+DIST pulsectl-23.5.1.tar.gz 41131 BLAKE2B 
4e24a0d79d2f5c5a365a23643019150693862a636115a0fcf26dbc64cf9d80a8637c1f03193f8d2513660e8f5268946ef287d01b93b7fd3a416dbb05b2c619f0
 SHA512 
69516e1d64cb2e27643de6fcb273b621ab89a03dd5c40eb71a7fa6b846da96f8f10baacf794c73edc3f60f65787c7050c16c234aa5b23169c2d5ae815232372a

diff --git a/dev-python/pulsectl/pulsectl-23.5.1.ebuild 
b/dev-python/pulsectl/pulsectl-23.5.1.ebuild
new file mode 100644
index ..a13a963b83ea
--- /dev/null
+++ b/dev-python/pulsectl/pulsectl-23.5.1.ebuild
@@ -0,0 +1,30 @@
+# 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_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python high-level interface and ctypes-based bindings for 
PulseAudio (libpulse)"
+HOMEPAGE="
+   https://github.com/mk-fg/python-pulse-control/
+   https://pypi.org/project/pulsectl/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-sound/pulseaudio
+"
+BDEPEND="
+   test? (
+   media-sound/pulseaudio-daemon
+   )
+"
+
+distutils_enable_tests unittest



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

2023-05-17 Thread Louis Sautier
commit: 2c1a1930870e4faddaa8b2a26f4fc8b13722f3a2
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed May 17 19:45:03 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed May 17 19:51:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1a1930

media-libs/libmediainfo: add 23.04

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

 media-libs/libmediainfo/Manifest  |  1 +
 media-libs/libmediainfo/libmediainfo-23.04.ebuild | 92 +++
 2 files changed, 93 insertions(+)

diff --git a/media-libs/libmediainfo/Manifest b/media-libs/libmediainfo/Manifest
index 45dcfa6b5e1c..eaa5a03357e6 100644
--- a/media-libs/libmediainfo/Manifest
+++ b/media-libs/libmediainfo/Manifest
@@ -1,2 +1,3 @@
 DIST libmediainfo_22.09.tar.xz 1886180 BLAKE2B 
3b9fa03ae1fafd06e494ad462ab30a19141c516b6fe61867da7cf339ee470cb56a6cdab57c4e8a498e79c7e3e4b4e5a19b4302f2db2ab0172fe26fefcc0a92f6
 SHA512 
4204f0ad73f5b826ec89df88607d7e491ecdad512c6bdae12f72b551827b1e4818aa2b88a46a46cb1f8fca46f3638fbe0243e252c685ca46b2d33a9acb00198c
 DIST libmediainfo_23.03.tar.xz 1925904 BLAKE2B 
bd8d716e9e85bdf2c91ddb6b5492e87e75e497469107aa3ca8a045f25bca1202432a2c8e9a01d179afc1d705ad4c35fcc41cda44cf2b9e57bffd0e8db4f2b7c0
 SHA512 
a13c4042851248ee4c76f2f52bbafe6e2152e99d60d8cccbff3c5aa01c63e27f97c3335cf88bdaa4869a1f1550ed9ce428af127569ee09c2fee344ed06e44942
+DIST libmediainfo_23.04.tar.xz 1932860 BLAKE2B 
b5de44301693b65537b27bd097b3efa5d8a89e05c9f9d1755b9c0c70589bd8549dcb9079da0c9adc5d465170306f4612e2027127c74d4ed162448230c5632814
 SHA512 
5c673e78564132c8c5e64a7d2901914968c1c9a9bc362a95b74330e26447378eac3197f106f2aba635bd68bbe57f596827ef6ee7dd139646ee0e05a124cc

diff --git a/media-libs/libmediainfo/libmediainfo-23.04.ebuild 
b/media-libs/libmediainfo/libmediainfo-23.04.ebuild
new file mode 100644
index ..1118b3bbb2c3
--- /dev/null
+++ b/media-libs/libmediainfo/libmediainfo-23.04.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# - media-libs/libzen (if a release is available)
+# - media-libs/libmediainfo
+# - media-video/mediainfo
+
+MY_PN="MediaInfo"
+inherit autotools edos2unix flag-o-matic
+
+DESCRIPTION="MediaInfo libraries"
+HOMEPAGE="https://mediaarea.net/mediainfo/ 
https://github.com/MediaArea/MediaInfoLib;
+SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz;
+S="${WORKDIR}"/${MY_PN}Lib/Project/GNU/Library
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="curl doc mms"
+
+# Tests try to fetch data from online sources
+RESTRICT="test"
+
+# The libzen dep usually needs to be bumped for each release!
+RDEPEND="
+   dev-libs/tinyxml2:=
+   >=media-libs/libzen-0.4.41
+   sys-libs/zlib
+   curl? ( net-misc/curl )
+   mms? ( >=media-libs/libmms-0.6.1 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+   default
+
+   sed -i 's:-O2::' configure.ac || die
+
+   append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --enable-shared \
+   --disable-static \
+   --disable-staticlibs \
+   --with-libtinyxml2 \
+   $(use_with curl libcurl) \
+   $(use_with mms libmms)
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc || die
+   doxygen Doxyfile || die
+   fi
+}
+
+src_install() {
+   if use doc; then
+   local HTML_DOCS=( "${WORKDIR}"/${MY_PN}Lib/Doc/*.html )
+   fi
+
+   default
+
+   edos2unix ${PN}.pc #414545
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins ${PN}.pc
+
+   for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag 
Text Video; do
+   insinto /usr/include/${MY_PN}/${x}
+   doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h
+   done
+
+   insinto /usr/include/${MY_PN}DLL
+   doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
+
+   dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
+
+   find "${ED}" -name '*.la' -delete || die
+}



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

2023-05-17 Thread Louis Sautier
commit: 64ab0d2c25bc4d371b58ec7afddebc3504d3fa8e
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed May 17 19:46:05 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed May 17 19:51:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ab0d2c

media-video/mediainfo: add 23.04

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

 media-video/mediainfo/Manifest   |  1 +
 media-video/mediainfo/mediainfo-23.04.ebuild | 92 
 2 files changed, 93 insertions(+)

diff --git a/media-video/mediainfo/Manifest b/media-video/mediainfo/Manifest
index 7ba16e54839c..5884eccb3763 100644
--- a/media-video/mediainfo/Manifest
+++ b/media-video/mediainfo/Manifest
@@ -1,2 +1,3 @@
 DIST mediainfo_22.09.tar.xz 2016868 BLAKE2B 
c4b1766c4d49be6e90d11c736e4572e24299ae96efdfbf92ef9d32a418dcad2ae60ac7e6234cfa7c3a11996e46fb178996c536b9ce13dd19a0449ae8bf86
 SHA512 
acdeef13153fd74c29d54b9bdf4e983dd81525ace47550977d99cb5950ab72579cbbfc1ae39d81d89e03c491ea559177a16853d9db20d83a995eff300b864d4d
 DIST mediainfo_23.03.tar.xz 2027676 BLAKE2B 
2da17afaccb3a8b4a1e19012cb3bb29284856f9d16e27026701b1c78add444e83c5fbb3e22ff39955ffa1c0b6f62e87224c0b35a0ff007296c4c065f58f83c87
 SHA512 
5082826a315fefaa48ea65a09a538225f1311cfb48285c939bb7ce2ebc38a2d444e6974ecb8062e02b60fbde27759b5828fc97dd7f9229e0066e9d193137fb5c
+DIST mediainfo_23.04.tar.xz 2022444 BLAKE2B 
4e5c1c09b670ee20839c49365f0973d783ec7ed4bd336bed7574b6369f356f8f11fe63fe99dd80a28b2677b3c872bc45941b89c307190fe0b8ab867f66ab7755
 SHA512 
768ac916da81ea10323be2957a87058ba863015f26a337ba3b3db15e40e52c7cd7b24f2ca2508334e35cdae6476d147ed4c81eeabfe801fa9dc5ca68ceb1e7af

diff --git a/media-video/mediainfo/mediainfo-23.04.ebuild 
b/media-video/mediainfo/mediainfo-23.04.ebuild
new file mode 100644
index ..187692d4da31
--- /dev/null
+++ b/media-video/mediainfo/mediainfo-23.04.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# - media-libs/libzen (if a release is available)
+# - media-libs/libmediainfo
+# - media-video/mediainfo
+
+WX_GTK_VER="3.0-gtk3"
+inherit xdg-utils autotools wxwidgets
+
+DESCRIPTION="MediaInfo supplies technical and tag information about media 
files"
+HOMEPAGE="https://mediaarea.net/mediainfo/ 
https://github.com/MediaArea/MediaInfo;
+SRC_URI="https://mediaarea.net/download/source/${PN}/${PV}/${P/-/_}.tar.xz;
+S="${WORKDIR}/MediaInfo"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="curl mms wxwidgets"
+
+# The libzen dep usually needs to be bumped for each release!
+RDEPEND="
+   ~media-libs/libmediainfo-${PV}[curl=,mms=]
+   >=media-libs/libzen-0.4.41
+   sys-libs/zlib
+   wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+   TARGETS="CLI"
+
+   if use wxwidgets; then
+   TARGETS+=" GUI"
+   setup-wxwidgets
+   fi
+}
+
+src_prepare() {
+   default
+
+   local target
+   for target in ${TARGETS}; do
+   cd "${S}"/Project/GNU/${target} || die
+   sed -i -e "s:-O2::" configure.ac || die
+   eautoreconf
+   done
+}
+
+src_configure() {
+   local target
+
+   for target in ${TARGETS}; do
+   cd "${S}"/Project/GNU/${target} || die
+   local args=""
+   [[ ${target} == "GUI" ]] && args="--with-wxwidgets 
--with-wx-gui"
+   econf ${args}
+   done
+}
+
+src_compile() {
+   local target
+
+   for target in ${TARGETS}; do
+   cd "${S}"/Project/GNU/${target} || die
+   default
+   done
+}
+
+src_install() {
+   local target
+
+   for target in ${TARGETS}; do
+   cd "${S}"/Project/GNU/${target} || die
+   default
+   dodoc "${S}"/History_${target}.txt
+   done
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}



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

2023-05-03 Thread Louis Sautier
commit: cb382e38e3129700e0672a926806545fff5c9c5a
Author: Michael Vetter  iodoru  org>
AuthorDate: Wed May  3 09:21:55 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed May  3 11:09:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb382e38

www-misc/urlwatch: add 2.28

Signed-off-by: Michael Vetter  iodoru.org>
Closes: https://github.com/gentoo/gentoo/pull/30852
Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index 4e209c89eb91..90ff2c438858 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,3 +1,4 @@
 DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
 DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca
 DIST urlwatch-2.26.tar.gz 174305 BLAKE2B 
c7990b0ecca8bb18632ba717dabfed3e3cdf147ff463e1221c4f7002fcb862d162421ac927bd6a570369a1833268cc08668e284e425e954a4eea8d41cb30eafd
 SHA512 
df214e3576dcbc8f18338a17f890e53ce9142fb98ea5042567eb415e697ee1a19d40b00404a40c0cc4a35ff3d838d9e0273a6bfe5178059560723ef6e4ca
+DIST urlwatch-2.28.tar.gz 306929 BLAKE2B 
73fcff8c153db472c944d0c9406e0e98bf64299d5532486a08cb024339544f17d716a22d6f0807ba55c79af9dc7fef41fa8dc5a7fe79c831f3e9958e3ea8958e
 SHA512 
21a662006dc92c0c636ef0beebc4f2ec90b82182aa0ba94a3348026c2c001b6d74198a14c198f681c8e773b640b6030b63de1a081984ea4d1bbc1e2648bc4161

diff --git a/www-misc/urlwatch/urlwatch-2.28.ebuild 
b/www-misc/urlwatch/urlwatch-2.28.ebuild
new file mode 100644
index ..02b7d52bcb99
--- /dev/null
+++ b/www-misc/urlwatch/urlwatch-2.28.ebuild
@@ -0,0 +1,76 @@
+# 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 pypi
+
+DESCRIPTION="A tool for monitoring webpages for updates"
+HOMEPAGE="
+   https://thp.io/2008/urlwatch/
+   https://github.com/thp/urlwatch/
+   https://pypi.org/project/urlwatch/
+"
+
+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? (
+   app-text/tesseract[png]
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/jq[${PYTHON_USEDEP}]
+   dev-python/pytesseract[${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];
+   # 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
+   if ! has_version dev-python/pytesseract; then
+   elog "Install 'dev-python/pytesseract' to enable OCR 
support"
+   fi
+   elog "HTML parsing can be improved by installing one of the 
following packages"
+   elog "and changing the html2text

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

2023-05-03 Thread Louis Sautier
commit: d1d52fd091cbed60ee1b84c57ef0ee52be9b5441
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed May  3 11:08:27 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed May  3 11:09:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d52fd0

www-misc/urlwatch: drop 2.24

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

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

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index 90ff2c438858..f4f8a5f0c1c7 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,4 +1,3 @@
-DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
 DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca
 DIST urlwatch-2.26.tar.gz 174305 BLAKE2B 
c7990b0ecca8bb18632ba717dabfed3e3cdf147ff463e1221c4f7002fcb862d162421ac927bd6a570369a1833268cc08668e284e425e954a4eea8d41cb30eafd
 SHA512 
df214e3576dcbc8f18338a17f890e53ce9142fb98ea5042567eb415e697ee1a19d40b00404a40c0cc4a35ff3d838d9e0273a6bfe5178059560723ef6e4ca
 DIST urlwatch-2.28.tar.gz 306929 BLAKE2B 
73fcff8c153db472c944d0c9406e0e98bf64299d5532486a08cb024339544f17d716a22d6f0807ba55c79af9dc7fef41fa8dc5a7fe79c831f3e9958e3ea8958e
 SHA512 
21a662006dc92c0c636ef0beebc4f2ec90b82182aa0ba94a3348026c2c001b6d74198a14c198f681c8e773b640b6030b63de1a081984ea4d1bbc1e2648bc4161

diff --git a/www-misc/urlwatch/urlwatch-2.24.ebuild 
b/www-misc/urlwatch/urlwatch-2.24.ebuild
deleted file mode 100644
index 96d6a5cbd808..
--- a/www-misc/urlwatch/urlwatch-2.24.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..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}]
-   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"
- 

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

2023-04-12 Thread Louis Sautier
commit: 66abbedd4104b80497d4714c4e1e66d156bbb2e8
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Apr 12 19:27:13 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Apr 12 19:27:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66abbedd

www-misc/urlwatch: rekeyword 2.26 for ~x86

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

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

diff --git a/www-misc/urlwatch/urlwatch-2.26.ebuild 
b/www-misc/urlwatch/urlwatch-2.26.ebuild
index 2724b6775fbd..02b7d52bcb99 100644
--- a/www-misc/urlwatch/urlwatch-2.26.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.26.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]



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

2023-04-12 Thread Louis Sautier
commit: d80dd32ae42ef591bb8b00fa6dafe10666b54ca9
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Apr 12 19:26:17 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Apr 12 19:27:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d80dd32a

dev-python/pytesseract: keyword 0.3.10-r1 for ~x86

Test suite runs in an ~x86 chroot.

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

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

diff --git a/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
index b891f475f097..6360947cee37 100644
--- a/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/madmaze/${PN}/archive/refs/tags/v${PV}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 DEPEND=""
 RDEPEND="${DEPEND}



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

2023-04-12 Thread Louis Sautier
commit: 71069946a4cd814d6185378f6b26260bdad40584
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Apr 12 11:44:51 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Wed Apr 12 11:47:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71069946

www-misc/urlwatch: fix OCR test

The OCR test file is a PNG file so we need tesseract to support it.

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

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

diff --git a/www-misc/urlwatch/urlwatch-2.26.ebuild 
b/www-misc/urlwatch/urlwatch-2.26.ebuild
index 84e863172064..2724b6775fbd 100644
--- a/www-misc/urlwatch/urlwatch-2.26.ebuild
+++ b/www-misc/urlwatch/urlwatch-2.26.ebuild
@@ -30,6 +30,7 @@ RDEPEND="
 "
 BDEPEND="
test? (
+   app-text/tesseract[png]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/jq[${PYTHON_USEDEP}]
dev-python/pytesseract[${PYTHON_USEDEP}]



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

2023-04-11 Thread Louis Sautier
commit: ab44438100f772ad088fee71e0cc1fdd94a7d2fa
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Apr 11 20:45:32 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Apr 11 20:56:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab444381

www-misc/urlwatch: add 2.26, enable more tests, mention pytesseract

Drop x86 keyword until pytesseract is keyworded for it.

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

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

diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index 1dce1b8b8b63..4e209c89eb91 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,2 +1,3 @@
 DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 
7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613
 SHA512 
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
 DIST urlwatch-2.25.tar.gz 168241 BLAKE2B 
85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40
 SHA512 
af14c5b4e11345e56e6f326c114629f1e074215d6cc66d9c642424b2a689dc80339157f1b2547fdbe7b7a13d520e2b83bf23c7477da4ae4e43d108e6452624ca
+DIST urlwatch-2.26.tar.gz 174305 BLAKE2B 
c7990b0ecca8bb18632ba717dabfed3e3cdf147ff463e1221c4f7002fcb862d162421ac927bd6a570369a1833268cc08668e284e425e954a4eea8d41cb30eafd
 SHA512 
df214e3576dcbc8f18338a17f890e53ce9142fb98ea5042567eb415e697ee1a19d40b00404a40c0cc4a35ff3d838d9e0273a6bfe5178059560723ef6e4ca

diff --git a/www-misc/urlwatch/urlwatch-2.26.ebuild 
b/www-misc/urlwatch/urlwatch-2.26.ebuild
new file mode 100644
index ..84e863172064
--- /dev/null
+++ b/www-misc/urlwatch/urlwatch-2.26.ebuild
@@ -0,0 +1,75 @@
+# 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 pypi
+
+DESCRIPTION="A tool for monitoring webpages for updates"
+HOMEPAGE="
+   https://thp.io/2008/urlwatch/
+   https://github.com/thp/urlwatch/
+   https://pypi.org/project/urlwatch/
+"
+
+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-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}]
+   dev-python/pytesseract[${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];
+   # 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
+   if ! has_version dev-python/pytesseract; then
+   elog "Install 'dev-python/pytesseract' to enable OCR 
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: dev-python/importlib_metadata/

2023-04-11 Thread Louis Sautier
commit: 8dcf701d3a8e90874a1b3cbc29ad4d72f01e4971
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Apr 11 20:44:38 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Apr 11 20:54:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcf701d

dev-python/importlib_metadata: drop myself as a maintainer

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

 dev-python/importlib_metadata/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-python/importlib_metadata/metadata.xml 
b/dev-python/importlib_metadata/metadata.xml
index d28bf37c8ce8..cd2f6fd0e33d 100644
--- a/dev-python/importlib_metadata/metadata.xml
+++ b/dev-python/importlib_metadata/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: dev-python/zipp/

2023-03-27 Thread Louis Sautier
commit: 439ef1105cfa0a11ca308295b6c059aafe189df1
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Mar 28 00:03:19 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Mar 28 00:03:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=439ef110

dev-python/zipp: drop myself as a maintainer

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

 dev-python/zipp/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-python/zipp/metadata.xml b/dev-python/zipp/metadata.xml
index 019bf659f005..54d99a172e27 100644
--- a/dev-python/zipp/metadata.xml
+++ b/dev-python/zipp/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: dev-python/importlib_resources/

2023-03-24 Thread Louis Sautier
commit: 50b8777866c6f9fd86e811514a64f9efd0e091cb
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Mar 24 22:55:45 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Fri Mar 24 22:57:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b87778

dev-python/importlib_resources: drop myself as a maintainer

I'll let the Python project handle this package.

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

 dev-python/importlib_resources/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-python/importlib_resources/metadata.xml 
b/dev-python/importlib_resources/metadata.xml
index cc4d43162e73..705cf06b9e86 100644
--- a/dev-python/importlib_resources/metadata.xml
+++ b/dev-python/importlib_resources/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/znc/

2023-03-14 Thread Louis Sautier
commit: 8f1cce5259f44d283ce124d0ec04325cd345f94a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Mar 14 08:07:30 2023 +
Commit:     Louis Sautier  gentoo  org>
CommitDate: Tue Mar 14 12:24:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1cce52

net-irc/znc: drop 1.8.2-r1

Closes: https://bugs.gentoo.org/893508
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Signed-off-by: Louis Sautier  gentoo.org>

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

diff --git a/net-irc/znc/znc-1.8.2-r1.ebuild b/net-irc/znc/znc-1.8.2-r1.ebuild
deleted file mode 100644
index 1f40b9dfe14d..
--- a/net-irc/znc/znc-1.8.2-r1.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-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
-   "${FILESDIR}"/${P}-fix-systemd-datadir.patch
-   "${FILESDIR}"/${P}-add-libera.patch
-   "${FILESDIR}"/${P}-fix-python-3.10.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
-
-   sed -i "s|--datadir=|&${EPREFIX}|" znc.service.in || 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_PYTHON_VERSION="${EPYTHON#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
-

[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 
media-plugins/gst-plugins-gtk."
+  

[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-libs/openssl:0=[-bindist(-)]
-   

[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_dounit "${FILESDIR}"/nzbget.service
+}
+
+pkg_preinst() {
+  

[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="${CXXFLAGS} -i

[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
+   "${FILE

[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" \
+   "Pushbullet notifications support&q

[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
-}



  1   2   3   4   5   6   7   8   9   10   >