From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- dev-util/pkgcheck/Manifest | 10 -- .../files/pkgcheck-0.9.7-py310-update.patch | 170 --------------------- dev-util/pkgcheck/pkgcheck-0.10.0.ebuild | 59 ------- dev-util/pkgcheck/pkgcheck-0.10.2.ebuild | 59 ------- dev-util/pkgcheck/pkgcheck-0.10.4.ebuild | 59 ------- dev-util/pkgcheck/pkgcheck-0.9.7-r2.ebuild | 60 -------- dev-util/pkgcheck/pkgcheck-0.9.7-r3.ebuild | 64 -------- 7 files changed, 481 deletions(-) delete mode 100644 dev-util/pkgcheck/files/pkgcheck-0.9.7-py310-update.patch delete mode 100644 dev-util/pkgcheck/pkgcheck-0.10.0.ebuild delete mode 100644 dev-util/pkgcheck/pkgcheck-0.10.2.ebuild delete mode 100644 dev-util/pkgcheck/pkgcheck-0.10.4.ebuild delete mode 100644 dev-util/pkgcheck/pkgcheck-0.9.7-r2.ebuild delete mode 100644 dev-util/pkgcheck/pkgcheck-0.9.7-r3.ebuild (limited to 'dev-util/pkgcheck') diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 73f24fa08380..ab32b1d6dc98 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1,18 +1,8 @@ -AUX pkgcheck-0.9.7-py310-update.patch 7845 BLAKE2B c530448d0019af7ba7d2f3866ed4a8d12fc84a4dfd7fdf7260fe8d84fe4f9539e116c60190bff80b518abcc6c8dfeeda2a7c46c74b1d4b999a4b4fb81efdf6e7 SHA512 e976a8cab6196b738073491b407a431611fda0bfe0c6202a3b799c8608a6404b9d607c1d4b472e051ebee23f7fc1b97caad31ef7f80144bd1280ebf2562e173b -DIST pkgcheck-0.10.0.tar.gz 453555 BLAKE2B aeb211619f400b729a9f5e7e1ffa787c33c1c8cf592d9d25aaf3a82e5ca44711b9da6a012f0aa000e7269a40be387efb271f981b038fc29c497f2f660dead74e SHA512 2b702d269e899a4643f40397414a32f78af611cccc0d4a3d816b978bc63dc09d5e0086aebf11711c8d80703fa7e78d36eb884de6908ee548791a0d934569ded9 DIST pkgcheck-0.10.1.tar.gz 454051 BLAKE2B ba0e91fee539d0a41c27da08c91e1c65078eaebea33b8254cbad38d49feb91a4aa490992a5d88bd96ce0570d89f9f8343d0ff0a2d7368f09d55637b2597aad6b SHA512 044067928bc1c1280a95e785def80e6ebb289e0882f9a61b18d1d75ddc22c4f7eea1da4a4621fd5a598c3e7ee75ece2adedb936086f3c3cbc92c23ab93419215 -DIST pkgcheck-0.10.2.tar.gz 454643 BLAKE2B 4585a72ce9675a23a3bcd7228ac811bdf45bacf2a25d91b9665f833de6dffbac5c4e11405b112bd5dd6e643fc51c3f57cf7dda989c2521c11e279324a02740c7 SHA512 0151d6fb81f800d46b65bb02bd5474ae36e8e4dc35376f1abfaa1c8be61e3429e527947b42f76c9f6da5ede648617d58f6b9ac44a93ff58175b748dfd9a43cbe DIST pkgcheck-0.10.3.tar.gz 454953 BLAKE2B 5ee2c13cb1ca5b13bfcd8434700c69e6839c5dc2f25dec4060020f8477159ff071b1487a446ba7e03bf1b8d139e8c65a1cd21a777d8bfe3ce677bbfe39b8d85f SHA512 edef25fc1542c3d3fb89c0c1546ebfa736b6ad4b113b0e6bc9ede379b0a5cb9ece5dd8b79ddb2df2cfeaf7f67f290e96a8baee1f2dfcc3bcebe32d9dcf4c264e -DIST pkgcheck-0.10.4.tar.gz 455252 BLAKE2B 3fb8183120b8a45569a007e4c9e521e5b070554523c5c2fbf44c383996896924800d42f79f9809e0fcc3b04363b2c50a8894b547376a8c030f4d0451c7f943bf SHA512 f5f01340ff4ac882da8e56cbb44440425dcb42c5ed6a9ab102c435a61cfca6861a421ee294039f055fec5b93cae338ea4ba23237f1ba509e6e24bdba351427eb DIST pkgcheck-0.10.5.tar.gz 458314 BLAKE2B 143a397f5374b3f84d957953d0915b6ae7107b81f85af4e37e75289ed0edc5bdf16bdc00213860fdf0bdf53be953b80d514839c6568c3a70d2cdd61401e8dc73 SHA512 3902560099c7e5570be2b86b6e7d56427b6ef9cc893dafe5327b6773b92ca44cc787725a0d2e81d4b779ae71dc2acaeceaaff4d5de50fc99aab4c0dc0ab03bfa -DIST pkgcheck-0.9.7.tar.gz 453478 BLAKE2B 486bae68af1757fbdb4b109b34cea836cb6dee258d4e53b4c3818c1aa6194da86e7ee339335ac6f2a1c2fb89a547f46658fadd88706fa807a9fdce2bb82a5c65 SHA512 e8fc02997d558af1e8e89a13130076b4db59e9c2a8ea383d0dca9a57375dae1fb315619593178d67c89d30e7b16810905694c838ea4ec608eaee195fa4797569 -EBUILD pkgcheck-0.10.0.ebuild 1507 BLAKE2B 70f6f537fa953ec59c3ed9b0ea017bec0fb7c569e6006b066e35a2b2b868a4e75da078c5bd60faba16a9c80f8e011a565366e611b9202628f073a27fc4e47aee SHA512 07dbe05c8d6a60d411bbd2d07e890b914c85703e024822ad7b6720818d15e6843ea05f95bfeda54b3f4c1f8db96948d25e719bf5d415082ad9c038a0403c50af EBUILD pkgcheck-0.10.1.ebuild 1507 BLAKE2B e9faf1f21afbd8a9846f54cb795083ecdc48853e47e171b9cbb9e7a9e668a3b09caaf1870a31830d33488c4841e04c3fedfd8c2b1219cb391f74c981dcd999ae SHA512 0b1b30f6e5fea0bc8175206903e90ef60e65d0456fdfb14448342abc811e4e9d0333000e8cd6fd79974e22803673f64349cc8404c1ed8dbff4e3f54b58ddf3b2 -EBUILD pkgcheck-0.10.2.ebuild 1515 BLAKE2B 6e00b9da5d1ebedf1d4d9e540b5cf88df6a6a17c3c313fc451eba46cedfb469528e971d821fb80cf5bd0975e0e73a0146c4a7df39c6b90b9dbc13af2e81e62a2 SHA512 64688636b07fa3c35788a10a130e8b9897cecd82b185b9e5c14f3ea2c540f13fcfc7a945d994b08fbd4c873829ee6fce425e242c82dbff18a5236c0adeec4646 EBUILD pkgcheck-0.10.3.ebuild 1508 BLAKE2B f7e417191f84d5fd4fda320278831cc847dd356816556b3bdb7b55138d667d64696d20135537616f21de9c331c4e063c612000198663b3d1337904ae90c6113d SHA512 a2d1fdc2fa45f2f1be07066d798145eb185f8616c96170d5436ce58b6f67840374f73e0bc9424121b914aa8a18d5830639580550ca3a1cd991355a9bc3513fb8 -EBUILD pkgcheck-0.10.4.ebuild 1515 BLAKE2B 6e00b9da5d1ebedf1d4d9e540b5cf88df6a6a17c3c313fc451eba46cedfb469528e971d821fb80cf5bd0975e0e73a0146c4a7df39c6b90b9dbc13af2e81e62a2 SHA512 64688636b07fa3c35788a10a130e8b9897cecd82b185b9e5c14f3ea2c540f13fcfc7a945d994b08fbd4c873829ee6fce425e242c82dbff18a5236c0adeec4646 EBUILD pkgcheck-0.10.5.ebuild 1516 BLAKE2B 044cf7af3749601b64a8766f28d4c972b396e99576d44c856cd7b3b96e5b3c51ae8eb0e340eeff61508c73b99a7d9f2fcb1f1fa18f56af3558e5694f3b9cb925 SHA512 4dabfdd73300eac1b2a6ffe74fef17c82615e84eb19c5c59202360523a9e6170cf37b6a8190937b857499865427821ee5c5eceb5055f74cd7124aba85021096f -EBUILD pkgcheck-0.9.7-r2.ebuild 1544 BLAKE2B 7bea3bcebc9b0397682d6ea9c39798a59857ea9276095548927e6fc6f09c606e60504b7a6ebba401fd00c55238489211889744b6480e559b897d7824fa33bbd7 SHA512 1de34366c44024ea677d6ae3e41a2a71819490d22a7f0813307f790ae3f3b019daa07d259ebc2ffe39121588dfc3a9183f46cbc7858d1c17e631ff2f6668bc50 -EBUILD pkgcheck-0.9.7-r3.ebuild 1604 BLAKE2B 0e6042b6fe93f617544b08d728eb1bbc4217e6e1b675c4069990c02f99937c9ba5668a68f3b5b595c688eddad5a47a96140f58daf9ca94a803eec7b933dd874b SHA512 6a3dd00c5158e8d004a002e820dc4553294c6faa2759ed672dc91f8664725bf6e7eaca8c1f7417a6d232566fe6031dac8df045307beba52137d003d8a1b76b28 EBUILD pkgcheck-9999.ebuild 1515 BLAKE2B 6e00b9da5d1ebedf1d4d9e540b5cf88df6a6a17c3c313fc451eba46cedfb469528e971d821fb80cf5bd0975e0e73a0146c4a7df39c6b90b9dbc13af2e81e62a2 SHA512 64688636b07fa3c35788a10a130e8b9897cecd82b185b9e5c14f3ea2c540f13fcfc7a945d994b08fbd4c873829ee6fce425e242c82dbff18a5236c0adeec4646 MISC metadata.xml 328 BLAKE2B b84dba717460e84f7ee3163fd8d6a5f13eb3b15dd1bb749f6ece81f062e3530988dacefadb24c1395eb36593a7ab6d868b06c8c4ee8f620a17c85faf04283b24 SHA512 5696505214a737ad495b23bfac2a51fbbc5b1e815eb6fcbabb3c6674325f05e3f6f418de05257c08935e389e47879e8a2d1b3723ec86aeb5ad97c6110fd2ec75 diff --git a/dev-util/pkgcheck/files/pkgcheck-0.9.7-py310-update.patch b/dev-util/pkgcheck/files/pkgcheck-0.9.7-py310-update.patch deleted file mode 100644 index 8bee592b228e..000000000000 --- a/dev-util/pkgcheck/files/pkgcheck-0.9.7-py310-update.patch +++ /dev/null @@ -1,170 +0,0 @@ -From 443c0aab158e34196399073e801ae19ae0dce4dc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 9 May 2021 10:59:18 +0200 -Subject: [PATCH] python: Fix treating python3.10 as newer than python3.9 - -Fix the sorting logic to use a combined lexical-numerical sort, in order -to sort python3.10 as newer than python3.9. This fixes -PythonCompatUpdate check. ---- - src/pkgcheck/checks/python.py | 25 +++++++++++++++---- - .../PythonCompatUpdate/expected.json | 6 ++--- - .../PythonCompatUpdate/fix.patch | 6 ++--- - .../profiles/desc/python_single_target.desc | 1 + - .../python/profiles/desc/python_targets.desc | 1 + - .../stub/python-dep1/python-dep1-0.ebuild | 2 +- - .../stub/python-dep2/python-dep2-0.ebuild | 2 +- - 7 files changed, 30 insertions(+), 13 deletions(-) - -diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py -index ed922215..7f0e9be4 100644 ---- a/src/pkgcheck/checks/python.py -+++ b/src/pkgcheck/checks/python.py -@@ -1,4 +1,5 @@ - import itertools -+import re - - from pkgcore.ebuild.atom import atom - from pkgcore.restrictions import packages, values -@@ -28,6 +29,18 @@ CHECK_EXCLUDE = frozenset(['virtual/pypy', 'virtual/pypy3']) - IUSE_PREFIX = 'python_targets_' - IUSE_PREFIX_S = 'python_single_target_' - -+TARGET_SPLIT_RE = re.compile(r'([0-9]+)') -+ -+ -+def target_sort_key(target): -+ def iter(): -+ for x in TARGET_SPLIT_RE.split(target): -+ try: -+ yield int(x) -+ except ValueError: -+ yield x -+ return tuple(iter()) -+ - - def get_python_eclass(pkg): - eclasses = ECLASSES.intersection(pkg.inherited) -@@ -281,14 +294,14 @@ class PythonCompatCheck(Check): - for target, _desc in repo.config.use_expand_desc.get(IUSE_PREFIX[:-1], ()): - if target[len(IUSE_PREFIX):].startswith('python'): - targets.append(target[len(IUSE_PREFIX):]) -- multi_targets = tuple(sorted(targets)) -+ multi_targets = tuple(sorted(targets, key=target_sort_key)) - - # determine available PYTHON_SINGLE_TARGET use flags - targets = [] - for target, _desc in repo.config.use_expand_desc.get(IUSE_PREFIX_S[:-1], ()): - if target[len(IUSE_PREFIX_S):].startswith('python'): - targets.append(target[len(IUSE_PREFIX_S):]) -- single_targets = tuple(sorted(targets)) -+ single_targets = tuple(sorted(targets, key=target_sort_key)) - - self.params = { - 'python-r1': (multi_targets, IUSE_PREFIX, None), -@@ -327,8 +340,9 @@ class PythonCompatCheck(Check): - try: - # determine the latest supported python version - latest_target = sorted( -- f"python{x.slot.replace('.', '_')}" for x in deps -- if x.key == 'dev-lang/python' and x.slot is not None)[-1] -+ (f"python{x.slot.replace('.', '_')}" for x in deps -+ if x.key == 'dev-lang/python' and x.slot is not None), -+ key=target_sort_key)[-1] - except IndexError: - # should be flagged by PythonMissingDeps - return -@@ -355,4 +369,5 @@ class PythonCompatCheck(Check): - except IndexError: - return - -- yield PythonCompatUpdate(sorted(targets), pkg=pkg) -+ yield PythonCompatUpdate(sorted(targets, key=target_sort_key), -+ pkg=pkg) -diff --git a/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json b/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json -index ab7d9b01..f3476eac 100644 ---- a/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json -+++ b/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json -@@ -1,3 +1,3 @@ --{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "0", "updates": ["python3_8", "python3_9"]} --{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "1", "updates": ["python3_9"]} --{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "2", "updates": ["python3_9"]} -+{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "0", "updates": ["python3_8", "python3_9", "python3_10"]} -+{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "1", "updates": ["python3_9", "python3_10"]} -+{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "2", "updates": ["python3_9", "python3_10"]} -diff --git a/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch b/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch -index c63184e9..9be4952a 100644 ---- a/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch -+++ b/testdata/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch -@@ -4,7 +4,7 @@ diff -Naur python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebui - @@ -1,5 +1,5 @@ - EAPI=7 - -PYTHON_COMPAT=( python3_7 ) --+PYTHON_COMPAT=( python3_{7..9} ) -++PYTHON_COMPAT=( python3_{7..10} ) - - inherit python-r1 - -@@ -14,7 +14,7 @@ diff -Naur python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebui - @@ -1,5 +1,5 @@ - EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) --+PYTHON_COMPAT=( python3_{7..9} ) -++PYTHON_COMPAT=( python3_{7..10} ) - - inherit python-single-r1 - -@@ -24,7 +24,7 @@ diff -Naur python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebui - @@ -1,5 +1,5 @@ - EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) --+PYTHON_COMPAT=( python3_{7..9} ) -++PYTHON_COMPAT=( python3_{7..10} ) - - inherit python-any-r1 - -diff --git a/testdata/repos/python/profiles/desc/python_single_target.desc b/testdata/repos/python/profiles/desc/python_single_target.desc -index da5be2fd..3c39a224 100644 ---- a/testdata/repos/python/profiles/desc/python_single_target.desc -+++ b/testdata/repos/python/profiles/desc/python_single_target.desc -@@ -3,4 +3,5 @@ python2_7 - Build with Python 2.7 - python3_7 - Build with Python 3.7 - python3_8 - Build with Python 3.8 - python3_9 - Build with Python 3.9 -+python3_10 - Build with Python 3.10 - pypy3 - Build for PyPy3 only -diff --git a/testdata/repos/python/profiles/desc/python_targets.desc b/testdata/repos/python/profiles/desc/python_targets.desc -index b2be59ca..8e55f2da 100644 ---- a/testdata/repos/python/profiles/desc/python_targets.desc -+++ b/testdata/repos/python/profiles/desc/python_targets.desc -@@ -3,4 +3,5 @@ python2_7 - Build with Python 2.7 - python3_7 - Build with Python 3.7 - python3_8 - Build with Python 3.8 - python3_9 - Build with Python 3.9 -+python3_10 - Build with Python 3.10 - pypy3 - Build for PyPy3 only -diff --git a/testdata/repos/python/stub/python-dep1/python-dep1-0.ebuild b/testdata/repos/python/stub/python-dep1/python-dep1-0.ebuild -index 9eebedfd..55c455d9 100644 ---- a/testdata/repos/python/stub/python-dep1/python-dep1-0.ebuild -+++ b/testdata/repos/python/stub/python-dep1/python-dep1-0.ebuild -@@ -1,5 +1,5 @@ - EAPI=7 --PYTHON_COMPAT=( python2_7 python3_{7,8,9} ) -+PYTHON_COMPAT=( python2_7 python3_{7,8,9,10} ) - - inherit python-r1 - -diff --git a/testdata/repos/python/stub/python-dep2/python-dep2-0.ebuild b/testdata/repos/python/stub/python-dep2/python-dep2-0.ebuild -index 9eebedfd..55c455d9 100644 ---- a/testdata/repos/python/stub/python-dep2/python-dep2-0.ebuild -+++ b/testdata/repos/python/stub/python-dep2/python-dep2-0.ebuild -@@ -1,5 +1,5 @@ - EAPI=7 --PYTHON_COMPAT=( python2_7 python3_{7,8,9} ) -+PYTHON_COMPAT=( python2_7 python3_{7,8,9,10} ) - - inherit python-r1 - --- -2.31.1 - diff --git a/dev-util/pkgcheck/pkgcheck-0.10.0.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.0.ebuild deleted file mode 100644 index afa31791177f..000000000000 --- a/dev-util/pkgcheck/pkgcheck-0.10.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_IN_SOURCE_BUILD=1 -inherit distutils-r1 optfeature - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -DESCRIPTION="pkgcore-based QA utility for ebuild repos" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" - -LICENSE="BSD MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]]; then - RDEPEND=" - ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] - ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" -else - RDEPEND=" - >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.12.0[${PYTHON_USEDEP}]" -fi -RDEPEND+=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests setup.py - -src_test() { - local -x PYTHONDONTWRITEBYTECODE= - distutils-r1_src_test -} - -python_install_all() { - local DOCS=( NEWS.rst ) - [[ ${PV} == *9999 ]] || doman man/* - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Network check support" dev-python/requests - optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version -} diff --git a/dev-util/pkgcheck/pkgcheck-0.10.2.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.2.ebuild deleted file mode 100644 index 9a255efb0571..000000000000 --- a/dev-util/pkgcheck/pkgcheck-0.10.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_IN_SOURCE_BUILD=1 -inherit distutils-r1 optfeature - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -DESCRIPTION="pkgcore-based QA utility for ebuild repos" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" - -LICENSE="BSD MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]]; then - RDEPEND=" - ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] - ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" -else - RDEPEND=" - >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.12.1[${PYTHON_USEDEP}]" -fi -RDEPEND+=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests setup.py - -src_test() { - local -x PYTHONDONTWRITEBYTECODE= - distutils-r1_src_test -} - -python_install_all() { - local DOCS=( NEWS.rst ) - [[ ${PV} == *9999 ]] || doman man/* - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Network check support" dev-python/requests - optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version -} diff --git a/dev-util/pkgcheck/pkgcheck-0.10.4.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.4.ebuild deleted file mode 100644 index 9a255efb0571..000000000000 --- a/dev-util/pkgcheck/pkgcheck-0.10.4.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_IN_SOURCE_BUILD=1 -inherit distutils-r1 optfeature - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -DESCRIPTION="pkgcore-based QA utility for ebuild repos" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" - -LICENSE="BSD MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]]; then - RDEPEND=" - ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] - ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" -else - RDEPEND=" - >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.12.1[${PYTHON_USEDEP}]" -fi -RDEPEND+=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests setup.py - -src_test() { - local -x PYTHONDONTWRITEBYTECODE= - distutils-r1_src_test -} - -python_install_all() { - local DOCS=( NEWS.rst ) - [[ ${PV} == *9999 ]] || doman man/* - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Network check support" dev-python/requests - optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version -} diff --git a/dev-util/pkgcheck/pkgcheck-0.9.7-r2.ebuild b/dev-util/pkgcheck/pkgcheck-0.9.7-r2.ebuild deleted file mode 100644 index 7cf93d2ab9c2..000000000000 --- a/dev-util/pkgcheck/pkgcheck-0.9.7-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_IN_SOURCE_BUILD=1 -inherit distutils-r1 optfeature - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" - inherit git-r3 -else - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-macos" - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -DESCRIPTION="pkgcore-based QA utility for ebuild repos" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" - -LICENSE="BSD MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]]; then - RDEPEND=" - ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] - ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" -else - RDEPEND=" - >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}] - =sys-apps/pkgcore-0.11.6[${PYTHON_USEDEP}]" -fi -RDEPEND+=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests setup.py - -src_test() { - local -x PYTHONDONTWRITEBYTECODE= - distutils-r1_src_test -} - -python_install_all() { - local DOCS=( NEWS.rst ) - [[ ${PV} == *9999 ]] || doman man/* - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Network check support" dev-python/requests - optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version -} diff --git a/dev-util/pkgcheck/pkgcheck-0.9.7-r3.ebuild b/dev-util/pkgcheck/pkgcheck-0.9.7-r3.ebuild deleted file mode 100644 index 70f186fd2538..000000000000 --- a/dev-util/pkgcheck/pkgcheck-0.9.7-r3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_IN_SOURCE_BUILD=1 -inherit distutils-r1 optfeature - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -fi - -DESCRIPTION="pkgcore-based QA utility for ebuild repos" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" - -LICENSE="BSD MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]]; then - RDEPEND=" - ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] - ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" -else - RDEPEND=" - >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}] - =sys-apps/pkgcore-0.11.6[${PYTHON_USEDEP}]" -fi -RDEPEND+=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests setup.py - -PATCHES=( - "${FILESDIR}"/${P}-py310-update.patch -) - -src_test() { - local -x PYTHONDONTWRITEBYTECODE= - distutils-r1_src_test -} - -python_install_all() { - local DOCS=( NEWS.rst ) - [[ ${PV} == *9999 ]] || doman man/* - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Network check support" dev-python/requests - optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version -} -- cgit v1.2.3