[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/
commit: 26c196f1ce6aa9ff0a598beeb7fcc2cdcc598f2c Author: Michał Górny gentoo org> AuthorDate: Thu May 9 17:32:44 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu May 9 17:32:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c196f1 dev-python/distlib: Add missing patch Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/files/distlib-0.3.8-py313.patch | 22 ++ 1 file changed, 22 insertions(+) diff --git a/dev-python/distlib/files/distlib-0.3.8-py313.patch b/dev-python/distlib/files/distlib-0.3.8-py313.patch new file mode 100644 index ..d47be4f566bd --- /dev/null +++ b/dev-python/distlib/files/distlib-0.3.8-py313.patch @@ -0,0 +1,22 @@ +From 1c08845b05d022692252ed45cb07e9cb9647caac Mon Sep 17 00:00:00 2001 +From: Vinay Sajip +Date: Wed, 14 Feb 2024 14:46:14 + +Subject: [PATCH] Fix #214: Update representation of interpreter in test. + +--- + tests/test_scripts.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_scripts.py b/tests/test_scripts.py +index 5c38687..74ee647 100644 +--- a/tests/test_scripts.py b/tests/test_scripts.py +@@ -340,7 +340,7 @@ def test_script_run(self): + self.assertIn(b'Current Working Directory:', stdout) + self.assertIn(os.getcwd().encode('utf-8'), stdout) + else: +-self.assertIn(b'[Interpreter(id=0, isolated=None)]', stderr) ++self.assertIn(b'[Interpreter(0)]', stderr) + self.assertEqual(p.returncode, 1) + + @unittest.skipUnless(os.name == 'posix', 'Test only valid for POSIX')
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 8598d4c4a65d0d22d51d1f2133110d39920ba2dd Author: Michał Górny gentoo org> AuthorDate: Thu May 9 17:00:32 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu May 9 17:00:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8598d4c4 dev-python/distlib: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.8.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.8.ebuild b/dev-python/distlib/distlib-0.3.8.ebuild index ca366516c9bd..7951433808d3 100644 --- a/dev-python/distlib/distlib-0.3.8.ebuild +++ b/dev-python/distlib/distlib-0.3.8.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-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} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -34,6 +34,8 @@ src_prepare() { local PATCHES=( # use system pypiserver instead of bundled one "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py + # https://github.com/pypa/distlib/commit/1c08845b05d022692252ed45cb07e9cb9647caac + "${FILESDIR}"/${P}-py313.patch ) # make sure it's not used
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: bd034a0aaae2a14957e4605b074ed4c775d01c94 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 30 14:18:10 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 30 14:32:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd034a0a dev-python/distlib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest| 1 - dev-python/distlib/distlib-0.3.7.ebuild| 59 -- dev-python/distlib/files/distlib-0.3.7-pypy3.patch | 13 - 3 files changed, 73 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 977883d8a667..ce4b0127b663 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1 @@ -DIST distlib-0.3.7.gh.tar.gz 1240451 BLAKE2B 2050133ae1f57a2b37013e0e49a22903a816377d111e6a35c57084e2dd7877b41e9625e3cccbc9e67c35239814b835b064f94eec8bcd41dedd7d329f9d5be2ec SHA512 33806fd953c4b185eaa69c7d0f0cdad9ea71be73d26f0585cefd4a332edbcc3c6287b3bce024858d5d15626311f2567474b19b6366f80b2336d9b39691c6fe31 DIST distlib-0.3.8.gh.tar.gz 1240659 BLAKE2B 5d14440bd6886a37e80323ea35370f306135f5b15544180b072ed42c6e7b00799dc4b5fe207adb31eee7234d4f291420bd289b5430bbf38ff0468b29af2ca621 SHA512 98dc6459f54783598aad8ee3b8d80c0092a5d08d4272ad212faeef5e30cf9029b718231681f39d26e48588bb676bae7919f1431ddb51eb3917725f99a5c90457 diff --git a/dev-python/distlib/distlib-0.3.7.ebuild b/dev-python/distlib/distlib-0.3.7.ebuild deleted file mode 100644 index 55efadc48c14.. --- a/dev-python/distlib/distlib-0.3.7.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2021-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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE=" - https://pypi.org/project/distlib/ - https://github.com/pypa/distlib -" -SRC_URI=" - https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# pypiserver is called as external executable -BDEPEND=" - test? ( - dev-python/pypiserver - ) -" - -src_prepare() { - local PATCHES=( - # use system pypiserver instead of bundled one - "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py - # fix pypy3 - # https://github.com/pypa/distlib/issues/204 - "${FILESDIR}"/${P}-pypy3.patch - ) - - # make sure they're not used - rm tests/pypi-server-standalone.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x SKIP_ONLINE=1 - local -x PYTHONHASHSEED=0 - - # disable system-site-packages -- distlib has no deps, and is very - # fragile to packages actually installed on the system - sed -i -e '/system-site-packages/s:true:false:' \ - "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die - - "${EPYTHON}" tests/test_all.py -v -x || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/distlib/files/distlib-0.3.7-pypy3.patch b/dev-python/distlib/files/distlib-0.3.7-pypy3.patch deleted file mode 100644 index eeb1a924069e.. --- a/dev-python/distlib/files/distlib-0.3.7-pypy3.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tests/test_scripts.py b/tests/test_scripts.py -index 9ec1d43..2fc18ae 100644 a/tests/test_scripts.py -+++ b/tests/test_scripts.py -@@ -112,7 +112,7 @@ class ScriptTestCase(DistlibTestCase): - bindir = os.path.join(dstdir, 'bin') - maker = ScriptMaker(self.maker.source_dir, bindir, - add_launchers=False) --venv.create(dstdir) -+venv.create(dstdir, symlinks=True) - maker.executable = os.path.join(bindir, 'python') - filenames = maker.make('script8.py') - p = subprocess.Popen(filenames[0], shell=True,
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: cffc47deabb9fc4ea554b782bbaddcec959cf1e4 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 30 14:07:22 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 30 14:07:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffc47de dev-python/distlib: Stabilize 0.3.8 ALLARCHES, #921070 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.8.ebuild b/dev-python/distlib/distlib-0.3.8.ebuild index a7b5c75a3927..ca366516c9bd 100644 --- a/dev-python/distlib/distlib-0.3.8.ebuild +++ b/dev-python/distlib/distlib-0.3.8.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: abeff476038f23417e1733269a98d43959b5b1c4 Author: Michał Górny gentoo org> AuthorDate: Tue Dec 12 16:30:13 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Dec 12 16:50:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abeff476 dev-python/distlib: Bump to 0.3.8 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.8.ebuild | 56 + 2 files changed, 57 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 935acdf8925a..977883d8a667 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.7.gh.tar.gz 1240451 BLAKE2B 2050133ae1f57a2b37013e0e49a22903a816377d111e6a35c57084e2dd7877b41e9625e3cccbc9e67c35239814b835b064f94eec8bcd41dedd7d329f9d5be2ec SHA512 33806fd953c4b185eaa69c7d0f0cdad9ea71be73d26f0585cefd4a332edbcc3c6287b3bce024858d5d15626311f2567474b19b6366f80b2336d9b39691c6fe31 +DIST distlib-0.3.8.gh.tar.gz 1240659 BLAKE2B 5d14440bd6886a37e80323ea35370f306135f5b15544180b072ed42c6e7b00799dc4b5fe207adb31eee7234d4f291420bd289b5430bbf38ff0468b29af2ca621 SHA512 98dc6459f54783598aad8ee3b8d80c0092a5d08d4272ad212faeef5e30cf9029b718231681f39d26e48588bb676bae7919f1431ddb51eb3917725f99a5c90457 diff --git a/dev-python/distlib/distlib-0.3.8.ebuild b/dev-python/distlib/distlib-0.3.8.ebuild new file mode 100644 index ..a7b5c75a3927 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 2021-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE=" + https://pypi.org/project/distlib/ + https://github.com/pypa/distlib +" +SRC_URI=" + https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pypiserver is called as external executable +BDEPEND=" + test? ( + dev-python/pypiserver + ) +" + +src_prepare() { + local PATCHES=( + # use system pypiserver instead of bundled one + "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py + ) + + # make sure it's not used + rm tests/pypi-server-standalone.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x SKIP_ONLINE=1 + local -x PYTHONHASHSEED=0 + + # disable system-site-packages -- distlib has no deps, and is very + # fragile to packages actually installed on the system + sed -i -e '/system-site-packages/s:true:false:' \ + "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die + + "${EPYTHON}" tests/test_all.py -v -x || + die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: 1922813dcd8e43e94627300b84205029fc386675 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 19 15:56:54 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Aug 19 16:05:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1922813d dev-python/distlib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest| 1 - dev-python/distlib/distlib-0.3.6.ebuild| 58 -- dev-python/distlib/files/distlib-0.3.6-py312.patch | 50 --- 3 files changed, 109 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 49c37a1cf363..935acdf8925a 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1 @@ -DIST distlib-0.3.6.gh.tar.gz 1234082 BLAKE2B 384b736d9fb9e63d1b9a9375caf972ddfccb36c99903928505e684fe09b30190f873cf7b109beb6c32a1e4b1e11a1d9947adea74f9dceef3398fcc1963a2044a SHA512 39948539764ff5d45f14dc602ebd47d523b71b587ee081d7a267669aef4e4b1013d3995cb992038136bc4c01826ea633c6e4ffd050f1511705b296bf76f3bbf9 DIST distlib-0.3.7.gh.tar.gz 1240451 BLAKE2B 2050133ae1f57a2b37013e0e49a22903a816377d111e6a35c57084e2dd7877b41e9625e3cccbc9e67c35239814b835b064f94eec8bcd41dedd7d329f9d5be2ec SHA512 33806fd953c4b185eaa69c7d0f0cdad9ea71be73d26f0585cefd4a332edbcc3c6287b3bce024858d5d15626311f2567474b19b6366f80b2336d9b39691c6fe31 diff --git a/dev-python/distlib/distlib-0.3.6.ebuild b/dev-python/distlib/distlib-0.3.6.ebuild deleted file mode 100644 index 2fb434b9de26.. --- a/dev-python/distlib/distlib-0.3.6.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2021-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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE=" - https://pypi.org/project/distlib/ - https://github.com/pypa/distlib -" -SRC_URI=" - https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# pypiserver is called as external executable -BDEPEND=" - test? ( - dev-python/pypiserver - ) -" - -src_prepare() { - local PATCHES=( - "${FILESDIR}/${P}-py312.patch" - - # use system pypiserver instead of bundled one - "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py - ) - - # make sure they're not used - rm tests/pypi-server-standalone.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x SKIP_ONLINE=1 - local -x PYTHONHASHSEED=0 - - # disable system-site-packages -- distlib has no deps, and is very - # fragile to packages actually installed on the system - sed -i -e '/system-site-packages/s:true:false:' \ - "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die - - "${EPYTHON}" tests/test_all.py -v -x || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/distlib/files/distlib-0.3.6-py312.patch b/dev-python/distlib/files/distlib-0.3.6-py312.patch deleted file mode 100644 index 4e1d8927b745.. --- a/dev-python/distlib/files/distlib-0.3.6-py312.patch +++ /dev/null @@ -1,50 +0,0 @@ -From fe769c72e4f9d613b2ce066325d2fb28317833d5 Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Thu, 18 May 2023 14:09:34 +0200 -Subject: [PATCH 1/2] Check for cert_file attribute before accessing it - -In Python 3.12, HTTPSConnection no longer has cert_file attribute -so unless something adds it to the subclass, the attribute doesn't -exist by default. - -CPython change: https://github.com/python/cpython/commit/ef0e72b31d22f780d3a165d7d0471806061fe380#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f - distlib/util.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/distlib/util.py b/distlib/util.py -index dd01849..ddfc992 100644 a/distlib/util.py -+++ b/distlib/util.py -@@ -1435,7 +1435,7 @@ def connect(self): - context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) - if hasattr(ssl, 'OP_NO_SSLv2'): - context.options |= ssl.OP_NO_SSLv2 --if self.cert_file: -+if hasattr(self, "cert_file") and self.cert_file: - context.load_cert_chain(self.cert_file, self.key_file) - kwargs = {} - if self.ca_certs: - -From 440a7b57b9521ba2eca749e26945eaf16bc7c472 Mon Sep 17 00:00:00 2001 -From: Vinay Sajip -Date: Wed, 24 May 2023 15:50:44 +0100 -Subject: [PATCH 2/2] Use single quotes. - - distlib/util.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/distlib/util.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 925ad1d085f135c3f625605f1270f142f6a50c32 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Aug 19 15:55:54 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Aug 19 15:55:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925ad1d0 dev-python/distlib: Stabilize 0.3.7 ALLARCHES, #912599 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.7.ebuild b/dev-python/distlib/distlib-0.3.7.ebuild index 8d237a4bfc38..55efadc48c14 100644 --- a/dev-python/distlib/distlib-0.3.7.ebuild +++ b/dev-python/distlib/distlib-0.3.7.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: 189f5f9f5eb6596cce92489fe94b96f68b0243fb Author: Michał Górny gentoo org> AuthorDate: Tue Jul 18 05:37:21 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Jul 18 06:03:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189f5f9f dev-python/distlib: Bump to 0.3.7 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest| 1 + dev-python/distlib/distlib-0.3.7.ebuild| 59 ++ dev-python/distlib/files/distlib-0.3.7-pypy3.patch | 13 + 3 files changed, 73 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 8b5f107343c5..49c37a1cf363 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.6.gh.tar.gz 1234082 BLAKE2B 384b736d9fb9e63d1b9a9375caf972ddfccb36c99903928505e684fe09b30190f873cf7b109beb6c32a1e4b1e11a1d9947adea74f9dceef3398fcc1963a2044a SHA512 39948539764ff5d45f14dc602ebd47d523b71b587ee081d7a267669aef4e4b1013d3995cb992038136bc4c01826ea633c6e4ffd050f1511705b296bf76f3bbf9 +DIST distlib-0.3.7.gh.tar.gz 1240451 BLAKE2B 2050133ae1f57a2b37013e0e49a22903a816377d111e6a35c57084e2dd7877b41e9625e3cccbc9e67c35239814b835b064f94eec8bcd41dedd7d329f9d5be2ec SHA512 33806fd953c4b185eaa69c7d0f0cdad9ea71be73d26f0585cefd4a332edbcc3c6287b3bce024858d5d15626311f2567474b19b6366f80b2336d9b39691c6fe31 diff --git a/dev-python/distlib/distlib-0.3.7.ebuild b/dev-python/distlib/distlib-0.3.7.ebuild new file mode 100644 index ..8d237a4bfc38 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.7.ebuild @@ -0,0 +1,59 @@ +# Copyright 2021-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE=" + https://pypi.org/project/distlib/ + https://github.com/pypa/distlib +" +SRC_URI=" + https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pypiserver is called as external executable +BDEPEND=" + test? ( + dev-python/pypiserver + ) +" + +src_prepare() { + local PATCHES=( + # use system pypiserver instead of bundled one + "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py + # fix pypy3 + # https://github.com/pypa/distlib/issues/204 + "${FILESDIR}"/${P}-pypy3.patch + ) + + # make sure they're not used + rm tests/pypi-server-standalone.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x SKIP_ONLINE=1 + local -x PYTHONHASHSEED=0 + + # disable system-site-packages -- distlib has no deps, and is very + # fragile to packages actually installed on the system + sed -i -e '/system-site-packages/s:true:false:' \ + "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die + + "${EPYTHON}" tests/test_all.py -v -x || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/distlib/files/distlib-0.3.7-pypy3.patch b/dev-python/distlib/files/distlib-0.3.7-pypy3.patch new file mode 100644 index ..eeb1a924069e --- /dev/null +++ b/dev-python/distlib/files/distlib-0.3.7-pypy3.patch @@ -0,0 +1,13 @@ +diff --git a/tests/test_scripts.py b/tests/test_scripts.py +index 9ec1d43..2fc18ae 100644 +--- a/tests/test_scripts.py b/tests/test_scripts.py +@@ -112,7 +112,7 @@ class ScriptTestCase(DistlibTestCase): + bindir = os.path.join(dstdir, 'bin') + maker = ScriptMaker(self.maker.source_dir, bindir, + add_launchers=False) +-venv.create(dstdir) ++venv.create(dstdir, symlinks=True) + maker.executable = os.path.join(bindir, 'python') + filenames = maker.make('script8.py') + p = subprocess.Popen(filenames[0], shell=True,
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: 4b7bae6873a5b1f9be36a9d5c2226e92f2a14dd8 Author: Michał Górny gentoo org> AuthorDate: Wed May 24 15:18:58 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed May 24 15:18:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7bae68 dev-python/distlib: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.6.ebuild| 12 -- dev-python/distlib/files/distlib-0.3.6-py312.patch | 50 ++ 2 files changed, 58 insertions(+), 4 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.6.ebuild b/dev-python/distlib/distlib-0.3.6.ebuild index 6f1be5b2fb7b..2fb434b9de26 100644 --- a/dev-python/distlib/distlib-0.3.6.ebuild +++ b/dev-python/distlib/distlib-0.3.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1 @@ -31,12 +31,16 @@ BDEPEND=" " src_prepare() { + local PATCHES=( + "${FILESDIR}/${P}-py312.patch" + + # use system pypiserver instead of bundled one + "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py + ) + # make sure they're not used rm tests/pypi-server-standalone.py || die - # use system pypiserver instead of broken bundled one - eapply "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py || die - distutils-r1_src_prepare } diff --git a/dev-python/distlib/files/distlib-0.3.6-py312.patch b/dev-python/distlib/files/distlib-0.3.6-py312.patch new file mode 100644 index ..4e1d8927b745 --- /dev/null +++ b/dev-python/distlib/files/distlib-0.3.6-py312.patch @@ -0,0 +1,50 @@ +From fe769c72e4f9d613b2ce066325d2fb28317833d5 Mon Sep 17 00:00:00 2001 +From: Lumir Balhar +Date: Thu, 18 May 2023 14:09:34 +0200 +Subject: [PATCH 1/2] Check for cert_file attribute before accessing it + +In Python 3.12, HTTPSConnection no longer has cert_file attribute +so unless something adds it to the subclass, the attribute doesn't +exist by default. + +CPython change: https://github.com/python/cpython/commit/ef0e72b31d22f780d3a165d7d0471806061fe380#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f +--- + distlib/util.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/distlib/util.py b/distlib/util.py +index dd01849..ddfc992 100644 +--- a/distlib/util.py b/distlib/util.py +@@ -1435,7 +1435,7 @@ def connect(self): + context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) + if hasattr(ssl, 'OP_NO_SSLv2'): + context.options |= ssl.OP_NO_SSLv2 +-if self.cert_file: ++if hasattr(self, "cert_file") and self.cert_file: + context.load_cert_chain(self.cert_file, self.key_file) + kwargs = {} + if self.ca_certs: + +From 440a7b57b9521ba2eca749e26945eaf16bc7c472 Mon Sep 17 00:00:00 2001 +From: Vinay Sajip +Date: Wed, 24 May 2023 15:50:44 +0100 +Subject: [PATCH 2/2] Use single quotes. + +--- + distlib/util.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/distlib/util.py b/distlib/util.py +index ddfc992..d1ec58a 100644 +--- a/distlib/util.py b/distlib/util.py +@@ -1435,7 +1435,7 @@ def connect(self): + context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) + if hasattr(ssl, 'OP_NO_SSLv2'): + context.options |= ssl.OP_NO_SSLv2 +-if hasattr(self, "cert_file") and self.cert_file: ++if hasattr(self, 'cert_file') and self.cert_file: + context.load_cert_chain(self.cert_file, self.key_file) + kwargs = {} + if self.ca_certs:
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: cc645952c8c60cd3775d2e24e201291b15966be0 Author: Michał Górny gentoo org> AuthorDate: Wed May 24 09:27:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed May 24 12:19:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc645952 dev-python/distlib: Reenable more tests Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.6.ebuild | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.6.ebuild b/dev-python/distlib/distlib-0.3.6.ebuild index 96bce0617735..6f1be5b2fb7b 100644 --- a/dev-python/distlib/distlib-0.3.6.ebuild +++ b/dev-python/distlib/distlib-0.3.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..11} pypy3 ) inherit distutils-r1 @@ -24,11 +24,9 @@ IUSE="test" RESTRICT="!test? ( test )" # pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib BDEPEND=" test? ( dev-python/pypiserver - !!https://bugs.gentoo.org/843839 - sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die - distutils-r1_src_prepare }
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 722232c6fbcbbea9fa46aa6aecc96221581fb5c1 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 25 18:03:33 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 25 18:03:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722232c6 dev-python/distlib: drop 0.3.5 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/Manifest | 1 - dev-python/distlib/distlib-0.3.5.ebuild | 66 - 2 files changed, 67 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 435ee6f1a47c..8b5f107343c5 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1 @@ -DIST distlib-0.3.5.gh.tar.gz 1233989 BLAKE2B 61e835aa201ceeeb423452a25adafab67dc20f99496b711e3ca6d4916f4e1dd39e444b1c8824e90559e898fc0588cd58d2d5be07af172d6b6ed3f3c7fe4c SHA512 927861d2e11785d8419c3125784f21ee052883c03d91d8893d2c77b47739e45cbca39e5d90446e906c71744bd57274192b28af86def239a16caeae4d3887d5a6 DIST distlib-0.3.6.gh.tar.gz 1234082 BLAKE2B 384b736d9fb9e63d1b9a9375caf972ddfccb36c99903928505e684fe09b30190f873cf7b109beb6c32a1e4b1e11a1d9947adea74f9dceef3398fcc1963a2044a SHA512 39948539764ff5d45f14dc602ebd47d523b71b587ee081d7a267669aef4e4b1013d3995cb992038136bc4c01826ea633c6e4ffd050f1511705b296bf76f3bbf9 diff --git a/dev-python/distlib/distlib-0.3.5.ebuild b/dev-python/distlib/distlib-0.3.5.ebuild deleted file mode 100644 index bacb469be379.. --- a/dev-python/distlib/distlib-0.3.5.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE=" - https://pypi.org/project/distlib/ - https://github.com/pypa/distlib -" -SRC_URI=" - https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib -BDEPEND=" - test? ( - dev-python/pypiserver - !!https://bugs.gentoo.org/843839 - sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x SKIP_ONLINE=1 - local -x PYTHONHASHSEED=0 - - # disable system-site-packages -- distlib has no deps, and is very - # fragile to packages actually installed on the system - sed -i -e '/system-site-packages/s:true:false:' \ - "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die - - "${EPYTHON}" tests/test_all.py -v -x || - die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 8eda029b8ae443b5db8984042c6dc33a16962251 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 25 18:03:16 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 25 18:03:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eda029b dev-python/distlib: Stabilize 0.3.6 ALLARCHES, #872947 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.6.ebuild b/dev-python/distlib/distlib-0.3.6.ebuild index b9e474a8db74..bacb469be379 100644 --- a/dev-python/distlib/distlib-0.3.6.ebuild +++ b/dev-python/distlib/distlib-0.3.6.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 01bfccbe30146264ff23eb8a51cb06a63dea99f5 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Aug 26 15:58:24 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Aug 26 15:58:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01bfccbe dev-python/distlib: add 0.3.6 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.6.ebuild | 66 + 2 files changed, 67 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index f445a29c8249..435ee6f1a47c 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.5.gh.tar.gz 1233989 BLAKE2B 61e835aa201ceeeb423452a25adafab67dc20f99496b711e3ca6d4916f4e1dd39e444b1c8824e90559e898fc0588cd58d2d5be07af172d6b6ed3f3c7fe4c SHA512 927861d2e11785d8419c3125784f21ee052883c03d91d8893d2c77b47739e45cbca39e5d90446e906c71744bd57274192b28af86def239a16caeae4d3887d5a6 +DIST distlib-0.3.6.gh.tar.gz 1234082 BLAKE2B 384b736d9fb9e63d1b9a9375caf972ddfccb36c99903928505e684fe09b30190f873cf7b109beb6c32a1e4b1e11a1d9947adea74f9dceef3398fcc1963a2044a SHA512 39948539764ff5d45f14dc602ebd47d523b71b587ee081d7a267669aef4e4b1013d3995cb992038136bc4c01826ea633c6e4ffd050f1511705b296bf76f3bbf9 diff --git a/dev-python/distlib/distlib-0.3.6.ebuild b/dev-python/distlib/distlib-0.3.6.ebuild new file mode 100644 index ..b9e474a8db74 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.6.ebuild @@ -0,0 +1,66 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE=" + https://pypi.org/project/distlib/ + https://github.com/pypa/distlib +" +SRC_URI=" + https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!https://bugs.gentoo.org/843839 + sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x SKIP_ONLINE=1 + local -x PYTHONHASHSEED=0 + + # disable system-site-packages -- distlib has no deps, and is very + # fragile to packages actually installed on the system + sed -i -e '/system-site-packages/s:true:false:' \ + "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die + + "${EPYTHON}" tests/test_all.py -v -x || + die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 5bd700bd859591f728481ddac7aef14c5ac0fdbf Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 17 19:32:52 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 17 19:32:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd700bd dev-python/distlib: drop 0.3.4-r2 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/Manifest| 1 - dev-python/distlib/distlib-0.3.4-r2.ebuild | 67 -- 2 files changed, 68 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 294bf571103f..f445a29c8249 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1 @@ -DIST distlib-0.3.4.tar.bz2 1169083 BLAKE2B f1b5e5ca7d0155d204db177d9844cdff4d593be3d927bd5f9e8ad07065b52383527d3990b66c5868bb8377703d031958c5c88a9daf4f0b238903ddbea3ef6cf0 SHA512 24f8d6f5012c881ffa6bbdae7887ee5a7608ac36a83e2a96cb8a337d1ab6c896a4078028d0383165ff44be6b735aa31f7d199845d89899813be74ed00e1680e8 DIST distlib-0.3.5.gh.tar.gz 1233989 BLAKE2B 61e835aa201ceeeb423452a25adafab67dc20f99496b711e3ca6d4916f4e1dd39e444b1c8824e90559e898fc0588cd58d2d5be07af172d6b6ed3f3c7fe4c SHA512 927861d2e11785d8419c3125784f21ee052883c03d91d8893d2c77b47739e45cbca39e5d90446e906c71744bd57274192b28af86def239a16caeae4d3887d5a6 diff --git a/dev-python/distlib/distlib-0.3.4-r2.ebuild b/dev-python/distlib/distlib-0.3.4-r2.ebuild deleted file mode 100644 index 60f51ce70857.. --- a/dev-python/distlib/distlib-0.3.4-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE=" - https://pypi.org/project/distlib/ - https://bitbucket.org/pypa/distlib/ -" -# pypi has zip only :-( -SRC_URI=" - https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2 -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib -BDEPEND=" - test? ( - dev-python/pypiserver - !!https://bugs.gentoo.org/843839 - sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x SKIP_ONLINE=1 - local -x PYTHONHASHSEED=0 - - # disable system-site-packages -- distlib has no deps, and is very - # fragile to packages actually installed on the system - sed -i -e '/system-site-packages/s:true:false:' \ - "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die - - "${EPYTHON}" tests/test_all.py -v -x || - die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: fa0e3e2afaee09be4e2dedb31911671a426aa550 Author: Sam James gentoo org> AuthorDate: Wed Aug 17 18:47:52 2022 + Commit: Sam James gentoo org> CommitDate: Wed Aug 17 18:47:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0e3e2a dev-python/distlib: Stabilize 0.3.5 ALLARCHES, #865611 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.5.ebuild b/dev-python/distlib/distlib-0.3.5.ebuild index b9e474a8db74..bacb469be379 100644 --- a/dev-python/distlib/distlib-0.3.5.ebuild +++ b/dev-python/distlib/distlib-0.3.5.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 88570c89b132a0715b2a73f51ae139e7de97c867 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jul 14 18:25:22 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jul 14 18:25:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88570c89 dev-python/distlib: add 0.3.5 Move to github repo and homepage Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.5.ebuild | 66 + 2 files changed, 67 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 59a80e4a647d..294bf571103f 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.4.tar.bz2 1169083 BLAKE2B f1b5e5ca7d0155d204db177d9844cdff4d593be3d927bd5f9e8ad07065b52383527d3990b66c5868bb8377703d031958c5c88a9daf4f0b238903ddbea3ef6cf0 SHA512 24f8d6f5012c881ffa6bbdae7887ee5a7608ac36a83e2a96cb8a337d1ab6c896a4078028d0383165ff44be6b735aa31f7d199845d89899813be74ed00e1680e8 +DIST distlib-0.3.5.gh.tar.gz 1233989 BLAKE2B 61e835aa201ceeeb423452a25adafab67dc20f99496b711e3ca6d4916f4e1dd39e444b1c8824e90559e898fc0588cd58d2d5be07af172d6b6ed3f3c7fe4c SHA512 927861d2e11785d8419c3125784f21ee052883c03d91d8893d2c77b47739e45cbca39e5d90446e906c71744bd57274192b28af86def239a16caeae4d3887d5a6 diff --git a/dev-python/distlib/distlib-0.3.5.ebuild b/dev-python/distlib/distlib-0.3.5.ebuild new file mode 100644 index ..b9e474a8db74 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE=" + https://pypi.org/project/distlib/ + https://github.com/pypa/distlib +" +SRC_URI=" + https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!https://bugs.gentoo.org/843839 + sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x SKIP_ONLINE=1 + local -x PYTHONHASHSEED=0 + + # disable system-site-packages -- distlib has no deps, and is very + # fragile to packages actually installed on the system + sed -i -e '/system-site-packages/s:true:false:' \ + "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die + + "${EPYTHON}" tests/test_all.py -v -x || + die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: cf8d6fcf155cb54eb70695dbc7b5189461e3514a Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jul 14 18:23:49 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jul 14 18:23:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8d6fcf dev-python/distlib: add github remote-id Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/distlib/metadata.xml b/dev-python/distlib/metadata.xml index e27f8224864b..6ef5eb89bcd4 100644 --- a/dev-python/distlib/metadata.xml +++ b/dev-python/distlib/metadata.xml @@ -7,5 +7,6 @@ distlib + pypa/distlib
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: fccd894c0d140dfbf8329d5d8e2f1ef64cd7ea4e Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jul 14 18:26:28 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jul 14 18:26:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fccd894c dev-python/distlib: drop 0.3.4-r1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4-r1.ebuild | 53 -- 1 file changed, 53 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.4-r1.ebuild b/dev-python/distlib/distlib-0.3.4-r1.ebuild deleted file mode 100644 index 4dc1127a1909.. --- a/dev-python/distlib/distlib-0.3.4-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE="https://pypi.org/project/distlib/ - https://bitbucket.org/pypa/distlib/; -# pypi has zip only :-( -SRC_URI=" - https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -# This package's tests are extremely fragile and tend to break or hang -# when it doesn't like metadata of packages installed on the system. -RESTRICT="test" - -# pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib -BDEPEND=" - test? ( - dev-python/pypiserver - !!
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 9eea98bbde30f24e3b7f7be714649ff6a3b1c571 Author: Sam James gentoo org> AuthorDate: Sun Jun 12 11:54:49 2022 + Commit: Sam James gentoo org> CommitDate: Sun Jun 12 11:54:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eea98bb dev-python/distlib: Stabilize 0.3.4-r2 ALLARCHES, #851324 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.4-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4-r2.ebuild b/dev-python/distlib/distlib-0.3.4-r2.ebuild index 61b526013800..60f51ce70857 100644 --- a/dev-python/distlib/distlib-0.3.4-r2.ebuild +++ b/dev-python/distlib/distlib-0.3.4-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 2c2d7a5985a157a28ae1f92184b39e0f503e5bab Author: Michał Górny gentoo org> AuthorDate: Thu May 12 06:47:17 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu May 12 07:13:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2d7a59 dev-python/distlib: Skip more tests Closes: https://bugs.gentoo.org/843839 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.4-r2.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/distlib/distlib-0.3.4-r2.ebuild b/dev-python/distlib/distlib-0.3.4-r2.ebuild index 0b346ea09204..61b526013800 100644 --- a/dev-python/distlib/distlib-0.3.4-r2.ebuild +++ b/dev-python/distlib/distlib-0.3.4-r2.ebuild @@ -47,6 +47,8 @@ src_prepare() { sed -i -e 's:test_custom_shebang:_&:' tests/test_scripts.py || die # broken with py3.11, doesn't look important sed -i -e 's:test_sequencer_basic:_&:' tests/test_util.py || die + # https://bugs.gentoo.org/843839 + sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die distutils-r1_src_prepare }
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 5e92f005f51b420770b67ff1e934c44257cb7067 Author: Michał Górny gentoo org> AuthorDate: Wed May 11 15:55:02 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed May 11 16:43:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e92f005 dev-python/distlib: EAPI 8, reenable tests Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.4-r2.ebuild | 63 ++ 1 file changed, 63 insertions(+) diff --git a/dev-python/distlib/distlib-0.3.4-r2.ebuild b/dev-python/distlib/distlib-0.3.4-r2.ebuild new file mode 100644 index ..3055a7e0b6fe --- /dev/null +++ b/dev-python/distlib/distlib-0.3.4-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021-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} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE=" + https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/ +" +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2 +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 7a05aaa82940e30ee98f60c1f97cdb409de70559 Author: Michał Górny gentoo org> AuthorDate: Wed May 11 16:11:13 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed May 11 16:43:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a05aaa8 dev-python/distlib: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.4-r2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4-r2.ebuild b/dev-python/distlib/distlib-0.3.4-r2.ebuild index 3055a7e0b6fe..0b346ea09204 100644 --- a/dev-python/distlib/distlib-0.3.4-r2.ebuild +++ b/dev-python/distlib/distlib-0.3.4-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 vcs-snapshot @@ -45,6 +45,8 @@ src_prepare() { # broken with pypy3 sed -i -e 's:test_custom_shebang:_&:' tests/test_scripts.py || die + # broken with py3.11, doesn't look important + sed -i -e 's:test_sequencer_basic:_&:' tests/test_util.py || die distutils-r1_src_prepare }
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 43c3940b814b4f6b2a46c77fe22d7d89abeb8f28 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 15 14:03:12 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 15 14:03:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43c3940b dev-python/distlib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 53 - 1 file changed, 53 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild deleted file mode 100644 index 6e18b4fcd97b.. --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..10} pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE="https://pypi.org/project/distlib/ - https://bitbucket.org/pypa/distlib/; -# pypi has zip only :-( -SRC_URI=" - https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -# This package's tests are extremely fragile and tend to break or hang -# when it doesn't like metadata of packages installed on the system. -RESTRICT="test" - -# pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib -BDEPEND=" - test? ( - dev-python/pypiserver - !!
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: ca4d45eb436204cb28d159f9f20600fb3922fcc0 Author: Jakov Smolić gentoo org> AuthorDate: Tue Mar 15 11:25:33 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Mar 15 11:25:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4d45eb dev-python/distlib: Stabilize 0.3.4-r1 ALLARCHES, #835191 Signed-off-by: Jakov Smolić gentoo.org> dev-python/distlib/distlib-0.3.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4-r1.ebuild b/dev-python/distlib/distlib-0.3.4-r1.ebuild index fced61f71451..497ae0873e9c 100644 --- a/dev-python/distlib/distlib-0.3.4-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.4-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: c7bb04829c4fec60b2c95ea18c5db7c36a4986e2 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 15 09:07:11 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 15 09:22:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bb0482 dev-python/distlib: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/distlib/metadata.xml b/dev-python/distlib/metadata.xml index a540b939e630..e27f8224864b 100644 --- a/dev-python/distlib/metadata.xml +++ b/dev-python/distlib/metadata.xml @@ -4,6 +4,7 @@ pyt...@gentoo.org + distlib
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 5c67ed82e4fee9516ced80503d1090c9f6e62872 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 29 12:51:13 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 29 12:54:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c67ed82 dev-python/distlib: Switch to PEP 517 build Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.4-r1.ebuild | 53 ++ 1 file changed, 53 insertions(+) diff --git a/dev-python/distlib/distlib-0.3.4-r1.ebuild b/dev-python/distlib/distlib-0.3.4-r1.ebuild new file mode 100644 index ..fced61f71451 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.4-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE="https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/; +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +# This package's tests are extremely fragile and tend to break or hang +# when it doesn't like metadata of packages installed on the system. +RESTRICT="test" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: 1cf41a1a291f0ac3250c12710fe6dca279591346 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 8 18:22:01 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 8 18:22:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf41a1a dev-python/distlib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest| 1 - dev-python/distlib/distlib-0.3.2.ebuild| 56 -- dev-python/distlib/files/distlib-0.3.2-py310.patch | 29 --- 3 files changed, 86 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 83ea3006bbe5..59a80e4a647d 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1 @@ -DIST distlib-0.3.2.tar.bz2 1075843 BLAKE2B 3595dc6af53beb7ff7dc49013e6c3db3453b501b56790a953c2cfea5a73aaca71fc69de68c8121ae92ffafd32a70ffa69d768cfd42844135fd5bd6647611e090 SHA512 e033ff2ff6b760f698a20103e01d63fa87bc1839bbf44fce252284c793e10a057dac645d818a4e0a2aa8be97bb85fcf9c8706b2399c505f12a093024d11be578 DIST distlib-0.3.4.tar.bz2 1169083 BLAKE2B f1b5e5ca7d0155d204db177d9844cdff4d593be3d927bd5f9e8ad07065b52383527d3990b66c5868bb8377703d031958c5c88a9daf4f0b238903ddbea3ef6cf0 SHA512 24f8d6f5012c881ffa6bbdae7887ee5a7608ac36a83e2a96cb8a337d1ab6c896a4078028d0383165ff44be6b735aa31f7d199845d89899813be74ed00e1680e8 diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild deleted file mode 100644 index fa54b57e602c.. --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..10} pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE="https://pypi.org/project/distlib/ - https://bitbucket.org/pypa/distlib/; -# pypi has zip only :-( -SRC_URI=" - https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -# This package's tests are extremely fragile and tend to break or hang -# when it doesn't like metadata of packages installed on the system. -RESTRICT="test" - -# pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib -BDEPEND=" - test? ( - dev-python/pypiserver - !! -Date: Sat, 29 May 2021 22:08:57 +0200 -Subject: [PATCH] Fix test_is_compatible to fix Python 3.10 support - -On Python 3.10, PYVER is py310 which wrongly matches the original -'py27' <= PYVER < 'py32' condition. Replace it with explicit match -against known Python versions in this range. This is probably -the simplest and the most future-proof solution to the problem at hand. - tests/test_wheel.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_wheel.py b/tests/test_wheel.py -index 849e7c1..7c8f5ee 100644 a/tests/test_wheel.py -+++ b/tests/test_wheel.py -@@ -206,7 +206,7 @@ class WheelTestCase(DistlibTestCase): - - def test_is_compatible(self): - fn = os.path.join(HERE, 'dummy-0.1-py27-none-any.whl') --if 'py27' <= PYVER < 'py32': -+if PYVER in ('py27', 'py30', 'py31'): - self.assertTrue(is_compatible(fn)) - self.assertTrue(Wheel(fn).is_compatible()) - # use actual wheel names from PyPI. --- -2.31.1 -
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 2b8f9df8a55859ee740deb58dccb185aeddb68aa Author: Jakov Smolić gentoo org> AuthorDate: Sat Jan 8 18:02:55 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Jan 8 18:02:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8f9df8 dev-python/distlib: Stabilize 0.3.4 amd64, #830791 Signed-off-by: Jakov Smolić gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index 8036d5bc4abc..6e18b4fcd97b 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 4543b987cf6e579d36defc1a2a3dc814c613be44 Author: Jakov Smolić gentoo org> AuthorDate: Sat Jan 8 18:02:00 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Jan 8 18:02:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4543b987 dev-python/distlib: Stabilize 0.3.4 x86, #830791 Signed-off-by: Jakov Smolić gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index a59567711d67..8036d5bc4abc 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 381dbdb75ec63806747dc63a210a1c4daa36c27a Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 8 14:03:43 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 8 14:03:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=381dbdb7 dev-python/distlib: Stabilize 0.3.4 hppa, #830791 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index f9415d00c442..a59567711d67 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: c391df636219aab9e39746b89d8c2b7ed089066c Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 8 13:39:35 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 8 13:39:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c391df63 dev-python/distlib: Stabilize 0.3.4 sparc, #830791 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index 5b1e44974f91..f9415d00c442 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 303600cad11b47d5f6b0813ce02567576b1139fa Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 8 13:39:34 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 8 13:39:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303600ca dev-python/distlib: Stabilize 0.3.4 ppc64, #830791 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index 7dafc028ca21..5b1e44974f91 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 939c44918bffdeaeb226fc6f6ddd989d2ebb1c4d Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 8 13:37:30 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 8 13:37:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939c4491 dev-python/distlib: Stabilize 0.3.4 arm64, #830791 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index 4bc56ec03d86..7dafc028ca21 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: fd1ecbe34782afda82970c9f156a12e51bbcad73 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 8 13:33:12 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 8 13:33:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1ecbe3 dev-python/distlib: Stabilize 0.3.4 ppc, #830791 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index f1d0070913d5..4bc56ec03d86 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 1258bbe1227f8312fda984f50c21df50ae84c50d Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 8 13:33:11 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 8 13:33:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1258bbe1 dev-python/distlib: Stabilize 0.3.4 arm, #830791 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/distlib/distlib-0.3.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild index bade1188726e..f1d0070913d5 100644 --- a/dev-python/distlib/distlib-0.3.4.ebuild +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: c36fbc25f11f225f70d9dd9fe0e74b1ba3021359 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 8 21:35:54 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 8 21:58:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36fbc25 dev-python/distlib: Bump to 0.3.4 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.4.ebuild | 53 + 2 files changed, 54 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 593287ce60f8..83ea3006bbe5 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.2.tar.bz2 1075843 BLAKE2B 3595dc6af53beb7ff7dc49013e6c3db3453b501b56790a953c2cfea5a73aaca71fc69de68c8121ae92ffafd32a70ffa69d768cfd42844135fd5bd6647611e090 SHA512 e033ff2ff6b760f698a20103e01d63fa87bc1839bbf44fce252284c793e10a057dac645d818a4e0a2aa8be97bb85fcf9c8706b2399c505f12a093024d11be578 +DIST distlib-0.3.4.tar.bz2 1169083 BLAKE2B f1b5e5ca7d0155d204db177d9844cdff4d593be3d927bd5f9e8ad07065b52383527d3990b66c5868bb8377703d031958c5c88a9daf4f0b238903ddbea3ef6cf0 SHA512 24f8d6f5012c881ffa6bbdae7887ee5a7608ac36a83e2a96cb8a337d1ab6c896a4078028d0383165ff44be6b735aa31f7d199845d89899813be74ed00e1680e8 diff --git a/dev-python/distlib/distlib-0.3.4.ebuild b/dev-python/distlib/distlib-0.3.4.ebuild new file mode 100644 index ..bade1188726e --- /dev/null +++ b/dev-python/distlib/distlib-0.3.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{7..10} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE="https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/; +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +# This package's tests are extremely fragile and tend to break or hang +# when it doesn't like metadata of packages installed on the system. +RESTRICT="test" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: aa583d0fccdcf4ad51917bbd4037c3b4e3db87f3 Author: James Le Cuirot gentoo org> AuthorDate: Tue Sep 21 22:11:13 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Tue Sep 21 22:28:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa583d0f dev-python/distlib: Keyword 0.3.2 for ~m68k Signed-off-by: James Le Cuirot gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 1f5679c4c7f..fa54b57e602 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/, dev-python/distlib/
commit: 03c13f91ccc5269f43a5089d2bb4b19edc2eb22f Author: Michał Górny gentoo org> AuthorDate: Thu Jul 8 07:00:56 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Jul 8 07:00:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c13f91 dev-python/distlib: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest| 1 - dev-python/distlib/distlib-0.3.1-r1.ebuild | 54 -- .../files/distlib-0.3.1-system-pypiserver.py | 37 --- 3 files changed, 92 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 04e1bb52bd1..593287ce60f 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1 @@ -DIST distlib-0.3.1.tar.bz2 1068500 BLAKE2B 52135869242f71cc6d6887da6d9e20ffc6b46c84d8146393961062d92d8c0bd68e1309277f64fdec0319ff3c503b1caaba3d5378f5c081dca79573c8d9c2e6f2 SHA512 f259299176c45be7024b80759015a2fad120ffdde55b6abea0f7fb0335cee90809b5daedcb88abdfb68fd496284b2e478df622004b3750327bfc86807581116c DIST distlib-0.3.2.tar.bz2 1075843 BLAKE2B 3595dc6af53beb7ff7dc49013e6c3db3453b501b56790a953c2cfea5a73aaca71fc69de68c8121ae92ffafd32a70ffa69d768cfd42844135fd5bd6647611e090 SHA512 e033ff2ff6b760f698a20103e01d63fa87bc1839bbf44fce252284c793e10a057dac645d818a4e0a2aa8be97bb85fcf9c8706b2399c505f12a093024d11be578 diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild deleted file mode 100644 index ab98794d534..000 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="Low-level components of distutils2/packaging" -HOMEPAGE="https://pypi.org/project/distlib/ - https://bitbucket.org/pypa/distlib/; -# pypi has zip only :-( -SRC_URI=" - https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -# This package's tests are extremely fragile and tend to break or hang -# when it doesn't like metadata of packages installed on the system. -RESTRICT="test" - -# pypiserver is called as external executable -# openpyxl installs invalid metadata that breaks distlib -BDEPEND=" - test? ( - dev-python/pypiserver - !! -Date: Wed, 8 Jul 2020 09:24:42 +0200 -Subject: [PATCH] Use system pypiserver - - tests/test_index.py | 7 +-- - 1 file changed, 1 insertion(+), 6 deletions(-) - -diff --git a/tests/test_index.py b/tests/test_index.py -index bc24367..4971e3f 100644 a/tests/test_index.py -+++ b/tests/test_index.py -@@ -52,11 +52,6 @@ class PackageIndexTestCase(unittest.TestCase): - def setUpClass(cls): - if cls.run_test_server: - cls.server = None --server_script = os.path.join(HERE, 'pypi-server-standalone.py') --if not os.path.exists(server_script): --logger.debug('test server not available - some tests ' -- 'will be skipped.') --return - pwdfn = os.path.join(HERE, 'passwords') - if not os.path.exists(pwdfn): # pragma: no cover - with open(pwdfn, 'w') as f: -@@ -65,7 +60,7 @@ class PackageIndexTestCase(unittest.TestCase): - if not os.path.isdir(pkgdir): # pragma: no cover - os.mkdir(pkgdir) - cls.sink = sink = open(os.devnull, 'w') --cmd = [sys.executable, 'pypi-server-standalone.py', -+cmd = ['pypi-server', -'-P', 'passwords', 'packages'] - cls.server = subprocess.Popen(cmd, stdout=sink, stderr=sink, - cwd=HERE) --- -2.27.0 -
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 7a51be09195f53c2c07c05b8ddf5240ecc7c596b Author: Sam James gentoo org> AuthorDate: Thu Jul 8 03:53:09 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jul 8 03:53:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a51be09 dev-python/distlib: Stabilize 0.3.2 arm64, #799974 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 9144dcde464..1f5679c4c7f 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: db73c9482867534ee066768f14f0813aa3639d2d Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Jul 7 14:04:51 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jul 7 14:22:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db73c948 dev-python/distlib: stable 0.3.2 for hppa, bug #799974 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 66ab6cdcfcf..9144dcde464 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: e1315ae2954faaa127e032e3454c4544dab6c6e9 Author: Sam James gentoo org> AuthorDate: Tue Jul 6 01:48:14 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jul 6 01:48:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1315ae2 dev-python/distlib: Stabilize 0.3.2 arm, #799974 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 36e8bd9017e..66ab6cdcfcf 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 53383810cb5b6d2d0831f693f8db4818e4b510fd Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 3 06:24:52 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 3 06:24:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53383810 dev-python/distlib: x86 stable wrt bug #799974 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 21834246cc5..36e8bd9017e 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 96f5951a803d59963395e3ee111bbba1e00a4a2c Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 3 06:23:52 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 3 06:23:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96f5951a dev-python/distlib: sparc stable wrt bug #799974 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index a110559df0a..21834246cc5 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: c85ef657d7430094226ccb396d3687a42b2ade99 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 3 06:22:39 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 3 06:22:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c85ef657 dev-python/distlib: ppc64 stable wrt bug #799974 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 4372d2540df..a110559df0a 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 5f68e7b4eb6b52768b3976011dbaceaef99cc121 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 3 06:18:57 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 3 06:18:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f68e7b4 dev-python/distlib: ppc stable wrt bug #799974 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 5b335a398b5..4372d2540df 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: f7730960144ae5568084b9c5007d8ca8b3d1a625 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 3 06:16:16 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 3 06:16:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7730960 dev-python/distlib: amd64 stable wrt bug #799974 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index 43cd8fc4d2e..5b335a398b5 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/
commit: 9b464b677f521fff2564dd713a413064d35714d6 Author: Michał Górny gentoo org> AuthorDate: Sat May 29 20:41:11 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat May 29 20:45:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b464b67 dev-python/distlib: Add missing patch Signed-off-by: Michał Górny gentoo.org> .../files/distlib-0.3.2-system-pypiserver.py | 24 ++ 1 file changed, 24 insertions(+) diff --git a/dev-python/distlib/files/distlib-0.3.2-system-pypiserver.py b/dev-python/distlib/files/distlib-0.3.2-system-pypiserver.py new file mode 100644 index 000..386ad05da57 --- /dev/null +++ b/dev-python/distlib/files/distlib-0.3.2-system-pypiserver.py @@ -0,0 +1,24 @@ +diff -dupr a/tests/test_index.py b/tests/test_index.py +--- a/tests/test_index.py 2021-05-29 17:42:08.015558305 +0200 b/tests/test_index.py 2021-05-29 17:42:56.949966576 +0200 +@@ -57,11 +57,6 @@ class PackageIndexTestCase(DistlibTestCa + def setUpClass(cls): + if cls.run_test_server: + cls.server = None +-server_script = os.path.join(HERE, 'pypi-server-standalone.py') +-if not os.path.exists(server_script): +-logger.debug('test server not available - some tests ' +- 'will be skipped.') +-return + pwdfn = os.path.join(HERE, 'passwords') + if not os.path.exists(pwdfn): # pragma: no cover + with open(pwdfn, 'w') as f: +@@ -72,7 +67,7 @@ class PackageIndexTestCase(DistlibTestCa + fd, cls.sinkfile = tempfile.mkstemp(suffix='.log', prefix='distlib-pypi-') + os.close(fd) + cls.sink = sink = open(cls.sinkfile, 'w') +-cmd = [sys.executable, 'pypi-server-standalone.py', ++cmd = ['pypi-server', +'--interface', '127.0.0.1', '--port', TEST_SERVER_PORT, +'-P', 'passwords', 'packages'] + cls.server = subprocess.Popen(cmd, stdout=sink, stderr=sink,
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/, dev-python/distlib/
commit: b2c5aa195cc826dffc688a413431dc713193e618 Author: Michał Górny gentoo org> AuthorDate: Sat May 29 20:44:45 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat May 29 20:45:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c5aa19 dev-python/distlib: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.2.ebuild| 4 ++- dev-python/distlib/files/distlib-0.3.2-py310.patch | 29 ++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild index f63f8868e8e..43cd8fc4d2e 100644 --- a/dev-python/distlib/distlib-0.3.2.ebuild +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 vcs-snapshot @@ -38,6 +38,8 @@ src_prepare() { # use system pypiserver instead of broken bundled one eapply "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py || die + # fix tests for py310 + eapply "${FILESDIR}"/${P}-py310.patch # doesn't work with our patched pip sed -e '/PIP_AVAIL/s:True:False:' \ diff --git a/dev-python/distlib/files/distlib-0.3.2-py310.patch b/dev-python/distlib/files/distlib-0.3.2-py310.patch new file mode 100644 index 000..23c3dbbe027 --- /dev/null +++ b/dev-python/distlib/files/distlib-0.3.2-py310.patch @@ -0,0 +1,29 @@ +From 5a9540cf58fc020b0c6a1d5c23b9b93d1abd2eb0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 29 May 2021 22:08:57 +0200 +Subject: [PATCH] Fix test_is_compatible to fix Python 3.10 support + +On Python 3.10, PYVER is py310 which wrongly matches the original +'py27' <= PYVER < 'py32' condition. Replace it with explicit match +against known Python versions in this range. This is probably +the simplest and the most future-proof solution to the problem at hand. +--- + tests/test_wheel.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_wheel.py b/tests/test_wheel.py +index 849e7c1..7c8f5ee 100644 +--- a/tests/test_wheel.py b/tests/test_wheel.py +@@ -206,7 +206,7 @@ class WheelTestCase(DistlibTestCase): + + def test_is_compatible(self): + fn = os.path.join(HERE, 'dummy-0.1-py27-none-any.whl') +-if 'py27' <= PYVER < 'py32': ++if PYVER in ('py27', 'py30', 'py31'): + self.assertTrue(is_compatible(fn)) + self.assertTrue(Wheel(fn).is_compatible()) + # use actual wheel names from PyPI. +-- +2.31.1 +
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: d8b7eb896e90d34b59ea55eb7a3a95d93d7cfb60 Author: Michał Górny gentoo org> AuthorDate: Sat May 29 18:09:30 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat May 29 18:09:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8b7eb89 dev-python/distlib: Bump to 0.3.2 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.2.ebuild | 54 + 2 files changed, 55 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 72f3a583cc1..04e1bb52bd1 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.1.tar.bz2 1068500 BLAKE2B 52135869242f71cc6d6887da6d9e20ffc6b46c84d8146393961062d92d8c0bd68e1309277f64fdec0319ff3c503b1caaba3d5378f5c081dca79573c8d9c2e6f2 SHA512 f259299176c45be7024b80759015a2fad120ffdde55b6abea0f7fb0335cee90809b5daedcb88abdfb68fd496284b2e478df622004b3750327bfc86807581116c +DIST distlib-0.3.2.tar.bz2 1075843 BLAKE2B 3595dc6af53beb7ff7dc49013e6c3db3453b501b56790a953c2cfea5a73aaca71fc69de68c8121ae92ffafd32a70ffa69d768cfd42844135fd5bd6647611e090 SHA512 e033ff2ff6b760f698a20103e01d63fa87bc1839bbf44fce252284c793e10a057dac645d818a4e0a2aa8be97bb85fcf9c8706b2399c505f12a093024d11be578 diff --git a/dev-python/distlib/distlib-0.3.2.ebuild b/dev-python/distlib/distlib-0.3.2.ebuild new file mode 100644 index 000..f63f8868e8e --- /dev/null +++ b/dev-python/distlib/distlib-0.3.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE="https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/; +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +# This package's tests are extremely fragile and tend to break or hang +# when it doesn't like metadata of packages installed on the system. +RESTRICT="test" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 3dae30061e131be246e5972968590f9669aad43a Author: Joshua Kinard gentoo org> AuthorDate: Mon Feb 22 03:59:56 2021 + Commit: Joshua Kinard gentoo org> CommitDate: Mon Feb 22 03:59:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dae3006 dev-python/distlib: Added ~mips to KEYWORDS. Bug: https://bugs.gentoo.org/700918 Signed-off-by: Joshua Kinard gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2 dev-python/distlib/distlib-0.3.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index cc431379898..ab98794d534 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 63a338c28f48a362a07a5882e5c79bc045a39850 Author: Sam James gentoo org> AuthorDate: Sun Dec 13 00:12:10 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 13 00:12:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a338c2 dev-python/distlib: Keyword 0.3.1-r1 s390, #700918 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index 0a9a6ef399d..7eaff0461b0 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 35397e3b09c3f405f8eb122a5d41dffce70018f6 Author: Sam James gentoo org> AuthorDate: Sat Nov 28 13:28:02 2020 + Commit: Sam James gentoo org> CommitDate: Sat Nov 28 13:40:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35397e3b dev-python/distlib: ~x64-macos keyworded Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index 2a6a5461296..0a9a6ef399d 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: b21a97957100cf8189bd9d1d6922175cad78813c Author: Sam James gentoo org> AuthorDate: Wed Nov 18 09:06:54 2020 + Commit: Sam James gentoo org> CommitDate: Wed Nov 18 09:06:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b21a9795 dev-python/distlib: Stabilize 0.3.1-r1 amd64, #752339 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index eba7f235ef0..2a6a5461296 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 6d03cfe15497a39e0a16ccf422a747e5bbf7be0e Author: Sam James gentoo org> AuthorDate: Wed Nov 18 09:00:10 2020 + Commit: Sam James gentoo org> CommitDate: Wed Nov 18 09:01:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d03cfe1 dev-python/distlib: Stabilize 0.3.1-r1 x86, #752339 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index c83e683b53d..eba7f235ef0 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 91400799b26c6e09e231a85a9e68c9a822f0a394 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 17 19:10:03 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 17 19:10:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91400799 dev-python/distlib: sparc stable wrt bug #752339 Package-Manager: Portage-3.0.8, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index 44f36b1b03c..c83e683b53d 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc ~x86" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 9bdb2757a06dc5dabf3988b7f1aa24d7daa1fbfa Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 17 18:49:13 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 17 18:49:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bdb2757 dev-python/distlib: ppc stable wrt bug #752339 Package-Manager: Portage-3.0.8, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index 9491e12acf2..28818a39677 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="test" # This package's tests are extremely fragile and tend to break or hang # when it doesn't like metadata of packages installed on the system.
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: f76435b9b393c1d3733b8fc79d39dfd18ab4c92b Author: Michał Górny gentoo org> AuthorDate: Sat Nov 14 22:54:35 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 14 22:54:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76435b9 dev-python/distlib: Restrict tests Closes: https://bugs.gentoo.org/754213 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index 246cc444286..9491e12acf2 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -19,7 +19,9 @@ LICENSE="PSF-2" SLOT="0" KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="test" -RESTRICT="!test? ( test )" +# This package's tests are extremely fragile and tend to break or hang +# when it doesn't like metadata of packages installed on the system. +RESTRICT="test" # pypiserver is called as external executable # openpyxl installs invalid metadata that breaks distlib
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: de898242d9b3b019b67f31914b209365fd18daef Author: Sam James gentoo org> AuthorDate: Wed Nov 4 06:21:45 2020 + Commit: Sam James gentoo org> CommitDate: Wed Nov 4 06:22:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de898242 dev-python/distlib: Stabilize 0.3.1-r1 arm, #752339 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index 176b56be9b6..246cc444286 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: b81080d76d331e59977f42ef1ca11a8ba279e7c7 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 3 22:45:00 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 3 22:45:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81080d7 dev-python/distlib: stable 0.3.1-r1 for hppa stable wrt bug #752339 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index e09908ebfb5..176b56be9b6 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: f7a9207f120548172df3ed217e17b32c19a6f626 Author: Sam James gentoo org> AuthorDate: Tue Nov 3 13:07:54 2020 + Commit: Sam James gentoo org> CommitDate: Tue Nov 3 13:07:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a9207f dev-python/distlib: Stabilize 0.3.1-r1 arm64, #752339 Signed-off-by: Sam James gentoo.org> dev-python/distlib/distlib-0.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1-r1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild index efd42742190..e09908ebfb5 100644 --- a/dev-python/distlib/distlib-0.3.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: e83d0689684352ae96a63d676e02a90e7ac94902 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 20 13:50:50 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 20 14:08:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83d0689 dev-python/distlib: Remove python2 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/{distlib-0.3.1.ebuild => distlib-0.3.1-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.1.ebuild b/dev-python/distlib/distlib-0.3.1-r1.ebuild similarity index 96% rename from dev-python/distlib/distlib-0.3.1.ebuild rename to dev-python/distlib/distlib-0.3.1-r1.ebuild index b2634644588..efd42742190 100644 --- a/dev-python/distlib/distlib-0.3.1.ebuild +++ b/dev-python/distlib/distlib-0.3.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) inherit distutils-r1 vcs-snapshot
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: f5718394d6d0ce746126782fdcb42759ad0177b4 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 25 07:55:35 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 25 08:31:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5718394 dev-python/distlib: Call pypi-server as external executable Call pypi-server as an external executable rather than via 'python -m'. This makes it possible to remove PYTHON_USEDEP, and clean py2 support from pypiserver. Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.1.ebuild | 3 ++- dev-python/distlib/files/distlib-0.3.1-system-pypiserver.py | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/distlib/distlib-0.3.1.ebuild b/dev-python/distlib/distlib-0.3.1.ebuild index 349667d657a..f82db5aa002 100644 --- a/dev-python/distlib/distlib-0.3.1.ebuild +++ b/dev-python/distlib/distlib-0.3.1.ebuild @@ -21,10 +21,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" +# pypiserver is called as external executable # openpyxl installs invalid metadata that breaks distlib BDEPEND=" test? ( - dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/pypiserver !! Date: Wed, 8 Jul 2020 09:24:42 +0200 Subject: [PATCH] Use system pypiserver @@ -8,7 +8,7 @@ Subject: [PATCH] Use system pypiserver 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/test_index.py b/tests/test_index.py -index bc24367..623b027 100644 +index bc24367..4971e3f 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -52,11 +52,6 @@ class PackageIndexTestCase(unittest.TestCase): @@ -28,7 +28,7 @@ index bc24367..623b027 100644 os.mkdir(pkgdir) cls.sink = sink = open(os.devnull, 'w') -cmd = [sys.executable, 'pypi-server-standalone.py', -+cmd = [sys.executable, '-m', 'pypiserver', ++cmd = ['pypi-server', '-P', 'passwords', 'packages'] cls.server = subprocess.Popen(cmd, stdout=sink, stderr=sink, cwd=HERE)
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: 81573375223269fcb469cb2dcce59fbe753f3d5e Author: Michał Górny gentoo org> AuthorDate: Wed Jul 8 07:50:11 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Jul 8 08:26:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81573375 dev-python/distlib: Bump to 0.3.1, fix tests Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest| 1 + dev-python/distlib/distlib-0.3.1.ebuild| 51 ++ .../files/distlib-0.3.1-system-pypiserver.py | 37 3 files changed, 89 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 4bbb3b2204a..2183bfda011 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.3.0.tar.bz2 848089 BLAKE2B 70f88b570229e2ab4c95bd8da0375aba189f66dec8defcf8eedf1be6924d93bd20b54c68e5fba867a6c68a31d4ef926ee2dc18ccb0391278680f30a62d0cd251 SHA512 01b0e7d59736414a241efdf883e4ee63eafe9614ce3b4147781a5750d25d6383543146c5277e3e0d3e11ce03693afd0331c6e3416776a6f84de7a4d9dadf3de4 +DIST distlib-0.3.1.tar.bz2 1068500 BLAKE2B 52135869242f71cc6d6887da6d9e20ffc6b46c84d8146393961062d92d8c0bd68e1309277f64fdec0319ff3c503b1caaba3d5378f5c081dca79573c8d9c2e6f2 SHA512 f259299176c45be7024b80759015a2fad120ffdde55b6abea0f7fb0335cee90809b5daedcb88abdfb68fd496284b2e478df622004b3750327bfc86807581116c diff --git a/dev-python/distlib/distlib-0.3.1.ebuild b/dev-python/distlib/distlib-0.3.1.ebuild new file mode 100644 index 000..349667d657a --- /dev/null +++ b/dev-python/distlib/distlib-0.3.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE="https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/; +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver[${PYTHON_USEDEP}] + !! +Date: Wed, 8 Jul 2020 09:24:42 +0200 +Subject: [PATCH] Use system pypiserver + +--- + tests/test_index.py | 7 +-- + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/tests/test_index.py b/tests/test_index.py +index bc24367..623b027 100644 +--- a/tests/test_index.py b/tests/test_index.py +@@ -52,11 +52,6 @@ class PackageIndexTestCase(unittest.TestCase): + def setUpClass(cls): + if cls.run_test_server: + cls.server = None +-server_script = os.path.join(HERE, 'pypi-server-standalone.py') +-if not os.path.exists(server_script): +-logger.debug('test server not available - some tests ' +- 'will be skipped.') +-return + pwdfn = os.path.join(HERE, 'passwords') + if not os.path.exists(pwdfn): # pragma: no cover + with open(pwdfn, 'w') as f: +@@ -65,7 +60,7 @@ class PackageIndexTestCase(unittest.TestCase): + if not os.path.isdir(pkgdir): # pragma: no cover + os.mkdir(pkgdir) + cls.sink = sink = open(os.devnull, 'w') +-cmd = [sys.executable, 'pypi-server-standalone.py', ++cmd = [sys.executable, '-m', 'pypiserver', +'-P', 'passwords', 'packages'] + cls.server = subprocess.Popen(cmd, stdout=sink, stderr=sink, + cwd=HERE) +-- +2.27.0 +
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: a6a67b81a95d1b27b0c7b2b69fd8837c7d99d057 Author: Matt Turner gentoo org> AuthorDate: Wed Jun 10 01:28:06 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Jun 10 01:28:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a67b81 dev-python/distlib: Keyword 0.3.0 alpha, #700918 Signed-off-by: Matt Turner gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index 28e7229884c..10062678328 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 7e3273cd1d55a9e01597e79a25408be1cb1183ad Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Jun 5 16:05:25 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Jun 5 16:10:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e3273cd dev-python/distlib: keyworded 0.3.0 for hppa, bug #700918 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index a70c5be6e17..28e7229884c 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 6b17bfab1d0514cf0f4a5b1a365ce9856dca5f27 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 4 19:54:19 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 4 19:54:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b17bfab dev-python/distlib: Skip progress bar tests Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index f175e215cd6..a70c5be6e17 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -28,6 +28,9 @@ src_prepare() { # no clue but it looks horribly fragile sed -e 's:test_sequencer_basic:_&:' \ -i tests/test_util.py || die + # progress bar test cases, very fragile + sed -e '/ProgressTestCase/s:unittest.TestCase:object:' \ + -i tests/test_util.py || die # TODO: investigate sed -e 's:test_upload:_&:' \ -i tests/test_index.py || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 094b5eb4495863b9699e9ce9050994f07cd807d7 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Jun 3 21:07:27 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jun 3 21:16:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094b5eb4 dev-python/distlib: keyworded 0.3.0 for sparc, bug #700918 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index e8d7297516e..f175e215cd6 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 6a1b8bf91bd40809bf4a4467772a59088293e977 Author: Sam James (sam_c) cmpct info> AuthorDate: Mon Jun 1 03:25:02 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 1 20:30:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a1b8bf9 dev-python/distlib: arm keyworded (bug #700918) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index e9f016019de..e8d7297516e 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: f282b98a928e94275febbaba28279b3e6f4c4cea Author: Sam James (sam_c) cmpct info> AuthorDate: Sat May 30 19:43:13 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat May 30 19:48:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f282b98a dev-python/distlib: arm64 keyworded (bug #700918) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index 52de047b08e..e9f016019de 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: b52b8a5d9394bef76e686b2b6938697adb754ab5 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat May 30 19:35:23 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat May 30 19:35:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52b8a5d dev-python/distlib: keyworded 0.3.0 for ia64, bug #700918 Package-Manager: Portage-2.3.100, Repoman-2.3.22 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index c0fc78b7939..52de047b08e 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 8a3a11375145157cafa16ea0c61db8b056bde0bd Author: Michał Górny gentoo org> AuthorDate: Sat May 30 08:48:40 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat May 30 08:56:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3a1137 dev-python/distlib: Keyword 0.3.0 ppc64, #700918 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index dd67675e60e..c0fc78b7939 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: e0a840588aef66ad90e6e6fad5855b4cd6820e7f Author: Michał Górny gentoo org> AuthorDate: Tue May 26 12:57:41 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue May 26 12:58:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a84058 dev-python/distlib: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index 43d1eeb97da..dd67675e60e 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) inherit distutils-r1 vcs-snapshot
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 693b5abca49f285766abecf6621259732757b271 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed May 6 06:38:29 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed May 6 06:38:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=693b5abc dev-python/distlib: keyworded 0.3.0 for ppc, bug #700918 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/distlib/distlib-0.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild index 867d3b72eb3..43d1eeb97da 100644 --- a/dev-python/distlib/distlib-0.3.0.ebuild +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~ppc ~x86" distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 8603f6637a8b21cab43a89ff70edf5dfd8cc2907 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 18 15:07:46 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 18 15:33:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8603f663 dev-python/distlib: Readd, new dep of virtualenv Signed-off-by: Michał Górny gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.3.0.ebuild | 51 + dev-python/distlib/metadata.xml | 7 + 3 files changed, 59 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest new file mode 100644 index 000..4bbb3b2204a --- /dev/null +++ b/dev-python/distlib/Manifest @@ -0,0 +1 @@ +DIST distlib-0.3.0.tar.bz2 848089 BLAKE2B 70f88b570229e2ab4c95bd8da0375aba189f66dec8defcf8eedf1be6924d93bd20b54c68e5fba867a6c68a31d4ef926ee2dc18ccb0391278680f30a62d0cd251 SHA512 01b0e7d59736414a241efdf883e4ee63eafe9614ce3b4147781a5750d25d6383543146c5277e3e0d3e11ce03693afd0331c6e3416776a6f84de7a4d9dadf3de4 diff --git a/dev-python/distlib/distlib-0.3.0.ebuild b/dev-python/distlib/distlib-0.3.0.ebuild new file mode 100644 index 000..867d3b72eb3 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE="https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/; +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests setup.py + +src_prepare() { + # this test assumes pristine venv with no system packages + sed -e 's:test_dependency_finder:_&:' \ + -i tests/test_locators.py || die + # no clue but it looks horribly fragile + sed -e 's:test_sequencer_basic:_&:' \ + -i tests/test_util.py || die + # TODO: investigate + sed -e 's:test_upload:_&:' \ + -i tests/test_index.py || die + # these require Internet + sed -e 's:test_search:_&:' \ + -i tests/test_index.py || die + sed -e 's:test_aggregation:_&:' \ + -e 's:test_all:_&:' \ + -e 's:test_dist_reqts:_&:' \ + -e 's:test_json:_&:' \ + -e 's:test_prereleases:_&:' \ + -e 's:test_scraper:_&:' \ + -i tests/test_locators.py || die + sed -e 's:test_package_data:_&:' \ + -i tests/test_util.py || die + # doesn't work with our patched pip + sed -e '/PIP_AVAIL/s:True:False:' \ + -i tests/test_wheel.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/distlib/metadata.xml b/dev-python/distlib/metadata.xml new file mode 100644 index 000..266e3f19ca5 --- /dev/null +++ b/dev-python/distlib/metadata.xml @@ -0,0 +1,7 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + pyt...@gentoo.org + +
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/, dev-python/distlib/
commit: b71e43c2388265448a3729eed2f9c8693434762c Author: Michał Górny gentoo org> AuthorDate: Tue May 2 08:11:04 2017 + Commit: Michał Górny gentoo org> CommitDate: Tue May 2 08:47:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71e43c2 dev-python/distlib: Clean old versions up dev-python/distlib/Manifest| 1 - dev-python/distlib/distlib-0.2.1-r1.ebuild | 54 -- dev-python/distlib/distlib-0.2.2.ebuild| 53 -- .../distlib/files/distlib-0.2.1-online.patch | 113 - .../distlib/files/distlib-0.2.1-unbundle.patch | 35 --- 5 files changed, 256 deletions(-) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 812bf658aa3..81c6d53705e 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,3 +1,2 @@ DIST distlib-0.2.1.zip 542424 SHA256 d91dc4a509ca50d1ba796ba1c4b23d5587f082d8a886856544546c88f4d9a685 SHA512 f6453585650db242ad4a176bbd468cc6069ee0941b6ea23f24fc32000778097d8a100de82eaad7b3d8d998dc153d25f537505c7eefcc6f98f37995cfc9d5be77 WHIRLPOOL 86c2eb318c9df8233847b5ded3370d77ed71fab22067f4fa039531d5a3df2ede463e1688d920401a0870e4359f18f8d765230c72e71be1458e5db14de153ad8d -DIST distlib-0.2.2.zip 544724 SHA256 ddd173fc2ce7491c5dc92ac69b3cf2702e9885677b1d5f1c877a36f4dd5b9b6c SHA512 399469376eebbedf288ebc04c0d551c75b3656d8aeb87bae02c7e2542e41018bd50ec28d76a99b293b10b941e0e7735841e5e13512a9fdb2af0044c970ee WHIRLPOOL fc9498233c31a33eb8c351c3af4ec75809c0484af302f8041cd7b3aeb28f90f4a9cbb9fab514bebda1ad127d4a1e89f8714ae771eb103277850aaa5cbb27be7f DIST distlib-0.2.4.zip 547411 SHA256 ee0966c613d04b19e425367b238c0a426ef34a43e1e0ffa6b16f781045d2a2a3 SHA512 03f9f9474578226e1a40a85a490aead3ec0509ba444856a263d4f25b3c86b5f919a3e18ff715a3a329d80a3f20a540b8c57a6e3dff55703c9cce730e2d021084 WHIRLPOOL 5dc9abf490bfccfc86c3092193d56963bef71a3f426f40b1e7dfdb9d2c45da7751488dff4213487e8a84871318a3379a7f122b1350f561cd7a195dd7ed7d45da diff --git a/dev-python/distlib/distlib-0.2.1-r1.ebuild b/dev-python/distlib/distlib-0.2.1-r1.ebuild deleted file mode 100644 index 6ae66f65f45..000 --- a/dev-python/distlib/distlib-0.2.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Distribution utilities" -HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${P}-unbundle.patch - "${FILESDIR}"/${P}-online.patch -) - -python_prepare_all() { - rm -r \ - distlib/*.exe \ - distlib/_backport \ - tests/test_shutil.py* \ - tests/test_sysconfig.py* || die - - distutils-r1_python_prepare_all - - # Broken tests - # 1 fails due to it being sensitive to dictionary ordering - # inconsistency between code and test - sed \ - -e 's:test_dependency_finder:_&:g' \ - -i tests/*py || die - - # Gentoo still doesn't report correct ABI - sed \ - -e 's:test_abi:_&:g' \ - -i tests/*py || die -} - -python_test() { - sed \ - -e '/PIP_AVAILABLE/s:True:False:g' \ - -i tests/*py || die - SKIP_ONLINE=True PYTHONHASHSEED=0 esetup.py test -} diff --git a/dev-python/distlib/distlib-0.2.2.ebuild b/dev-python/distlib/distlib-0.2.2.ebuild deleted file mode 100644 index 19b127eb6a5..000 --- a/dev-python/distlib/distlib-0.2.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Distribution utilities" -HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${P}-unbundle.patch -) - -python_prepare_all() { - rm -r \ - distlib/*.exe \ - distlib/_backport \ - tests/test_shutil.py* \ - tests/test_sysconfig.py* || die - - distutils-r1_python_prepare_all - -
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 31c90a2ef45d4606165d8b2196bf46f712f4aa41 Author: Manuel Rüger gentoo org> AuthorDate: Sun Apr 16 01:23:43 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Apr 16 01:23:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c90a2e dev-python/distlib: Version bump to 0.2.4 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.2.4.ebuild | 53 + 2 files changed, 54 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index d9c5b3272e9..812bf658aa3 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1,2 +1,3 @@ DIST distlib-0.2.1.zip 542424 SHA256 d91dc4a509ca50d1ba796ba1c4b23d5587f082d8a886856544546c88f4d9a685 SHA512 f6453585650db242ad4a176bbd468cc6069ee0941b6ea23f24fc32000778097d8a100de82eaad7b3d8d998dc153d25f537505c7eefcc6f98f37995cfc9d5be77 WHIRLPOOL 86c2eb318c9df8233847b5ded3370d77ed71fab22067f4fa039531d5a3df2ede463e1688d920401a0870e4359f18f8d765230c72e71be1458e5db14de153ad8d DIST distlib-0.2.2.zip 544724 SHA256 ddd173fc2ce7491c5dc92ac69b3cf2702e9885677b1d5f1c877a36f4dd5b9b6c SHA512 399469376eebbedf288ebc04c0d551c75b3656d8aeb87bae02c7e2542e41018bd50ec28d76a99b293b10b941e0e7735841e5e13512a9fdb2af0044c970ee WHIRLPOOL fc9498233c31a33eb8c351c3af4ec75809c0484af302f8041cd7b3aeb28f90f4a9cbb9fab514bebda1ad127d4a1e89f8714ae771eb103277850aaa5cbb27be7f +DIST distlib-0.2.4.zip 547411 SHA256 ee0966c613d04b19e425367b238c0a426ef34a43e1e0ffa6b16f781045d2a2a3 SHA512 03f9f9474578226e1a40a85a490aead3ec0509ba444856a263d4f25b3c86b5f919a3e18ff715a3a329d80a3f20a540b8c57a6e3dff55703c9cce730e2d021084 WHIRLPOOL 5dc9abf490bfccfc86c3092193d56963bef71a3f426f40b1e7dfdb9d2c45da7751488dff4213487e8a84871318a3379a7f122b1350f561cd7a195dd7ed7d45da diff --git a/dev-python/distlib/distlib-0.2.4.ebuild b/dev-python/distlib/distlib-0.2.4.ebuild new file mode 100644 index 000..81c0a6d1676 --- /dev/null +++ b/dev-python/distlib/distlib-0.2.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Distribution utilities" +HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.2-unbundle.patch +) + +python_prepare_all() { + rm -r \ + distlib/*.exe \ + distlib/_backport \ + tests/test_shutil.py* \ + tests/test_sysconfig.py* || die + + distutils-r1_python_prepare_all + + # Broken tests + # 1 fails due to it being sensitive to dictionary ordering + # inconsistency between code and test + sed \ + -e 's:test_dependency_finder:_&:g' \ + -i tests/*py || die + + # Gentoo still doesn't report correct ABI + sed \ + -e 's:test_abi:_&:g' \ + -i tests/*py || die +} + +python_test() { + sed \ + -e '/PIP_AVAILABLE/s:True:False:g' \ + -i tests/*py || die + SKIP_ONLINE=True PYTHONHASHSEED=0 esetup.py test +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 1eadb0f48285faf3ef2203b57314e43379e87708 Author: Zac Medico gentoo org> AuthorDate: Fri Feb 10 03:30:25 2017 + Commit: Zac Medico gentoo org> CommitDate: Fri Feb 10 19:52:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eadb0f4 dev-python/distlib: PYTHON_COMPAT: add python3_6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/distlib/distlib-0.2.1-r1.ebuild | 4 ++-- dev-python/distlib/distlib-0.2.1.ebuild| 4 ++-- dev-python/distlib/distlib-0.2.2.ebuild| 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-python/distlib/distlib-0.2.1-r1.ebuild b/dev-python/distlib/distlib-0.2.1-r1.ebuild index e44a3d4c12..cb6d4f35af 100644 --- a/dev-python/distlib/distlib-0.2.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.2.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 3e7706f923..2a73ae99d5 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 diff --git a/dev-python/distlib/distlib-0.2.2.ebuild b/dev-python/distlib/distlib-0.2.2.ebuild index 2e5368c869..d7152827e5 100644 --- a/dev-python/distlib/distlib-0.2.2.ebuild +++ b/dev-python/distlib/distlib-0.2.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 8cdac3d52ce0c6bd28adb2aa4fe92e67ee240a9c Author: Mike Frysinger gentoo org> AuthorDate: Sat Apr 2 23:15:10 2016 + Commit: Mike Frysinger gentoo org> CommitDate: Sat Apr 2 23:15:26 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cdac3d5 dev-python/distlib: depend on unzip due to source being a zip #574586 dev-python/distlib/distlib-0.2.1-r1.ebuild | 2 ++ dev-python/distlib/distlib-0.2.1.ebuild| 2 ++ dev-python/distlib/distlib-0.2.2.ebuild| 2 ++ 3 files changed, 6 insertions(+) diff --git a/dev-python/distlib/distlib-0.2.1-r1.ebuild b/dev-python/distlib/distlib-0.2.1-r1.ebuild index 8b8f7c9..eb0ac0c 100644 --- a/dev-python/distlib/distlib-0.2.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.2.1-r1.ebuild @@ -18,6 +18,8 @@ LICENSE="BSD" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="" +DEPEND="app-arch/unzip" + PATCHES=( "${FILESDIR}"/${P}-unbundle.patch "${FILESDIR}"/${P}-online.patch diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index e32d220..b7ac0f0 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -18,6 +18,8 @@ LICENSE="BSD" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="" +DEPEND="app-arch/unzip" + python_test() { sed \ -e '/PIP_AVAILABLE/s:True:False:g' \ diff --git a/dev-python/distlib/distlib-0.2.2.ebuild b/dev-python/distlib/distlib-0.2.2.ebuild index 81a6691..c7b98ef 100644 --- a/dev-python/distlib/distlib-0.2.2.ebuild +++ b/dev-python/distlib/distlib-0.2.2.ebuild @@ -18,6 +18,8 @@ LICENSE="BSD" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="" +DEPEND="app-arch/unzip" + PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/, dev-python/distlib/
commit: 89e350bf011198fa03e9cff57c667008b554f348 Author: Patrice Clement gentoo org> AuthorDate: Tue Feb 2 16:23:43 2016 + Commit: Patrice Clement gentoo org> CommitDate: Tue Feb 2 21:17:28 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e350bf dev-python/distlib: Add patches for distlib-0.2.2. Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement gentoo.org> dev-python/distlib/distlib-0.2.2.ebuild| 1 - .../distlib/files/distlib-0.2.2-unbundle.patch | 35 ++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.2.ebuild b/dev-python/distlib/distlib-0.2.2.ebuild index b5fbc3e..81a6691 100644 --- a/dev-python/distlib/distlib-0.2.2.ebuild +++ b/dev-python/distlib/distlib-0.2.2.ebuild @@ -20,7 +20,6 @@ IUSE="" PATCHES=( "${FILESDIR}"/${P}-unbundle.patch - "${FILESDIR}"/${P}-online.patch ) python_prepare_all() { diff --git a/dev-python/distlib/files/distlib-0.2.2-unbundle.patch b/dev-python/distlib/files/distlib-0.2.2-unbundle.patch new file mode 100644 index 000..5ee9129 --- /dev/null +++ b/dev-python/distlib/files/distlib-0.2.2-unbundle.patch @@ -0,0 +1,35 @@ +--- distlib-0.1.9/distlib/compat.py.orig 2014-06-06 09:58:21.317560756 +0200 distlib-0.1.9/distlib/compat.py2014-06-06 09:58:29.955611427 +0200 +@@ -17,7 +17,7 @@ if sys.version_info[0] < 3: + from types import FileType as file_type + import __builtin__ as builtins + import ConfigParser as configparser +-from ._backport import shutil ++import shutil + from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit + from urllib import (urlretrieve, quote as _quote, unquote, url2pathname, + pathname2url, ContentTooShortError, splittype) +@@ -267,7 +267,7 @@ except ImportError: # pragma: no cover + try: + import sysconfig + except ImportError: # pragma: no cover +-from ._backport import sysconfig ++import sysconfig + + try: + callable = callable +--- distlib-0.1.9/setup.py.orig2014-06-06 10:19:13.971997156 +0200 distlib-0.1.9/setup.py 2014-06-06 10:19:20.012034150 +0200 +@@ -62,12 +62,7 @@ distutils.core.setup( + platforms='any', + packages=[ + 'distlib', +-'distlib._backport', + ], +-package_data={ +-'distlib._backport': ['sysconfig.cfg'], +-'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'], +-}, + cmdclass={ + 'test': TestCommand, + },
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: c8c93a88962209b445a3eb2e685155afc1f490c6 Author: Justin Lecher gentoo org> AuthorDate: Mon Feb 1 16:30:49 2016 + Commit: Justin Lecher gentoo org> CommitDate: Mon Feb 1 16:30:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c93a88 dev-python/distlib: Version Bump Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.2.2.ebuild | 53 + 2 files changed, 54 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest index 179151b..d9c5b32 100644 --- a/dev-python/distlib/Manifest +++ b/dev-python/distlib/Manifest @@ -1 +1,2 @@ DIST distlib-0.2.1.zip 542424 SHA256 d91dc4a509ca50d1ba796ba1c4b23d5587f082d8a886856544546c88f4d9a685 SHA512 f6453585650db242ad4a176bbd468cc6069ee0941b6ea23f24fc32000778097d8a100de82eaad7b3d8d998dc153d25f537505c7eefcc6f98f37995cfc9d5be77 WHIRLPOOL 86c2eb318c9df8233847b5ded3370d77ed71fab22067f4fa039531d5a3df2ede463e1688d920401a0870e4359f18f8d765230c72e71be1458e5db14de153ad8d +DIST distlib-0.2.2.zip 544724 SHA256 ddd173fc2ce7491c5dc92ac69b3cf2702e9885677b1d5f1c877a36f4dd5b9b6c SHA512 399469376eebbedf288ebc04c0d551c75b3656d8aeb87bae02c7e2542e41018bd50ec28d76a99b293b10b941e0e7735841e5e13512a9fdb2af0044c970ee WHIRLPOOL fc9498233c31a33eb8c351c3af4ec75809c0484af302f8041cd7b3aeb28f90f4a9cbb9fab514bebda1ad127d4a1e89f8714ae771eb103277850aaa5cbb27be7f diff --git a/dev-python/distlib/distlib-0.2.2.ebuild b/dev-python/distlib/distlib-0.2.2.ebuild new file mode 100644 index 000..b5fbc3e --- /dev/null +++ b/dev-python/distlib/distlib-0.2.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Distribution utilities" +HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${P}-unbundle.patch + "${FILESDIR}"/${P}-online.patch +) + +python_prepare_all() { + rm -r \ + distlib/*.exe \ + distlib/_backport \ + tests/test_shutil.py* \ + tests/test_sysconfig.py* || die + + distutils-r1_python_prepare_all + + # Broken tests + # 1 fails due to it being sensitive to dictionary ordering + # inconsistency between code and test + sed \ + -e 's:test_dependency_finder:_&:g' \ + -i tests/*py || die + + # Gentoo still doesn't report correct ABI + sed \ + -e 's:test_abi:_&:g' \ + -i tests/*py || die +} + +python_test() { + sed \ + -e '/PIP_AVAILABLE/s:True:False:g' \ + -i tests/*py || die + SKIP_ONLINE=True PYTHONHASHSEED=0 esetup.py test +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/, dev-python/distlib/
commit: 36591fe050f9a043b56ef0546de18585d43db015 Author: Justin Lecher gentoo org> AuthorDate: Mon Dec 28 09:29:23 2015 + Commit: Justin Lecher gentoo org> CommitDate: Mon Dec 28 13:34:28 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36591fe0 dev-python/distlib: Fix varios test failures Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558706 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558708 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=569922 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/distlib/distlib-0.2.1-r1.ebuild | 11 +- .../distlib/files/distlib-0.2.1-online.patch | 113 + 2 files changed, 121 insertions(+), 3 deletions(-) diff --git a/dev-python/distlib/distlib-0.2.1-r1.ebuild b/dev-python/distlib/distlib-0.2.1-r1.ebuild index 1a438d6..8b8f7c9 100644 --- a/dev-python/distlib/distlib-0.2.1-r1.ebuild +++ b/dev-python/distlib/distlib-0.2.1-r1.ebuild @@ -20,6 +20,7 @@ IUSE="" PATCHES=( "${FILESDIR}"/${P}-unbundle.patch + "${FILESDIR}"/${P}-online.patch ) python_prepare_all() { @@ -29,20 +30,24 @@ python_prepare_all() { tests/test_shutil.py* \ tests/test_sysconfig.py* || die + distutils-r1_python_prepare_all + # Broken tests # 1 fails due to it being sensitive to dictionary ordering # inconsistency between code and test sed \ -e 's:test_dependency_finder:_&:g' \ - -e 's:test_abi:_&:g' \ -i tests/*py || die - distutils-r1_python_prepare_all + # Gentoo still doesn't report correct ABI + sed \ + -e 's:test_abi:_&:g' \ + -i tests/*py || die } python_test() { sed \ -e '/PIP_AVAILABLE/s:True:False:g' \ -i tests/*py || die - PYTHONHASHSEED=0 esetup.py test + SKIP_ONLINE=True PYTHONHASHSEED=0 esetup.py test } diff --git a/dev-python/distlib/files/distlib-0.2.1-online.patch b/dev-python/distlib/files/distlib-0.2.1-online.patch new file mode 100644 index 000..3d5d655 --- /dev/null +++ b/dev-python/distlib/files/distlib-0.2.1-online.patch @@ -0,0 +1,113 @@ + tests/test_index.py| 1 + + tests/test_locators.py | 10 ++ + tests/test_util.py | 1 + + 3 files changed, 12 insertions(+) + +diff --git a/tests/test_index.py b/tests/test_index.py +index a188816..dbef670 100644 +--- a/tests/test_index.py b/tests/test_index.py +@@ -290,6 +290,7 @@ class PackageIndexTestCase(unittest.TestCase): + self.assertRaises(DistlibException, self.index.download_file, url, fn, + digest[:-1] + '8') + ++@unittest.skipIf('SKIP_ONLINE' in os.environ, 'Skipping online tests') + def test_search(self): + self.index = PackageIndex() + result = self.index.search({'name': 'tatterdema'}) +diff --git a/tests/test_locators.py b/tests/test_locators.py +index de97541..436ea9d 100644 +--- a/tests/test_locators.py b/tests/test_locators.py +@@ -29,6 +29,7 @@ PYPI_WEB_HOST = os.environ.get('PYPI_WEB_HOST', 'https://pypi.python.org/simple/ + class LocatorTestCase(unittest.TestCase): + + @unittest.skipIf('SKIP_SLOW' in os.environ, 'Skipping slow test') ++@unittest.skipIf('SKIP_ONLINE' in os.environ, 'Skipping online tests') + def test_xmlrpc(self): + locator = PyPIRPCLocator(PYPI_RPC_HOST) + try: +@@ -53,6 +54,7 @@ class LocatorTestCase(unittest.TestCase): + self.assertGreater(len(names), 25000) + + @unittest.skipIf('SKIP_SLOW' in os.environ, 'Skipping slow test') ++@unittest.skipIf('SKIP_ONLINE' in os.environ, 'Skipping online tests') + def test_json(self): + locator = PyPIJSONLocator(PYPI_RPC_HOST) + result = locator.get_project('sarge') +@@ -69,6 +71,7 @@ class LocatorTestCase(unittest.TestCase): + self.assertRaises(NotImplementedError, locator.get_distribution_names) + + @unittest.skipIf('SKIP_SLOW' in os.environ, 'Skipping slow test') ++@unittest.skipIf('SKIP_ONLINE' in os.environ, 'Skipping online tests') + def test_scraper(self): + locator = SimpleScrapingLocator('https://pypi.python.org/simple/') + for name in ('sarge', 'Sarge'): +@@ -88,6 +91,7 @@ class LocatorTestCase(unittest.TestCase): + self.assertGreater(len(names), 25000) + + @unittest.skipIf('SKIP_SLOW' in os.environ, 'Skipping slow test') ++@unittest.skipIf('SKIP_ONLINE' in os.environ, 'Skipping online tests') + def test_unicode_project_name(self): + # Just checking to see that no exceptions are raised. + NAME = '\u2603' +@@ -166,6 +170,7 @@ class LocatorTestCase(unittest.TestCase): + sys.path.pop(0) + + @unittest.skipIf('SKIP_SLOW' in os.environ, 'Skipping slow test') ++@unittest.skipIf('SKIP_ONLINE' in os.environ, 'Skipping online tests') + def
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: ff4525725215f7137e8e41dbe2931c189c9ea80d Author: Jeroen Roovers gentoo org> AuthorDate: Mon Nov 23 06:13:32 2015 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Nov 23 06:43:34 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff452572 dev-python/distlib: Stable for HPPA (bug #564588). Package-Manager: portage-2.2.25 RepoMan-Options: --ignore-arches dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index d439d5c..e32d220 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: f75530479e48667ffe88be47fd8a70a2938c6163 Author: Markus Meier gentoo org> AuthorDate: Sun Nov 22 08:20:40 2015 + Commit: Markus Meier gentoo org> CommitDate: Sun Nov 22 08:20:40 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7553047 dev-python/distlib: arm stable, bug #564588 Package-Manager: portage-2.2.25 RepoMan-Options: --include-arches="arm" dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 38d6c26..d439d5c 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/, dev-python/distlib/files/
commit: a8b5173a082c63e1f9f54861b055fda71804f02a Author: Justin Lecher gentoo org> AuthorDate: Mon Nov 2 13:10:52 2015 + Commit: Justin Lecher gentoo org> CommitDate: Mon Nov 2 13:15:37 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b5173a dev-python/distlib: Import unbundle patch from fedora, fix broken tests Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/distlib/distlib-0.2.1-r1.ebuild | 47 ++ .../distlib/files/distlib-0.2.1-unbundle.patch | 35 2 files changed, 82 insertions(+) diff --git a/dev-python/distlib/distlib-0.2.1-r1.ebuild b/dev-python/distlib/distlib-0.2.1-r1.ebuild new file mode 100644 index 000..5f84329 --- /dev/null +++ b/dev-python/distlib/distlib-0.2.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Distribution utilities" +HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${P}-unbundle.patch +) + +python_prepare_all() { + rm -r \ + distlib/*.exe \ + distlib/_backport \ + tests/test_shutil.py* \ + tests/test_sysconfig.py* || die + + # Broken tests + # 1 fails due to it being sensitive to dictionary ordering + # inconsistency between code and test + sed \ + -e 's:test_dependency_finder:_&:g' \ + -e 's:test_abi:_&:g' \ + -i tests/*py || die + + distutils-r1_python_prepare_all +} + +python_test() { + sed \ + -e '/PIP_AVAILABLE/s:True:False:g' \ + -i tests/*py || die + PYTHONHASHSEED=0 esetup.py test +} diff --git a/dev-python/distlib/files/distlib-0.2.1-unbundle.patch b/dev-python/distlib/files/distlib-0.2.1-unbundle.patch new file mode 100644 index 000..5ee9129 --- /dev/null +++ b/dev-python/distlib/files/distlib-0.2.1-unbundle.patch @@ -0,0 +1,35 @@ +--- distlib-0.1.9/distlib/compat.py.orig 2014-06-06 09:58:21.317560756 +0200 distlib-0.1.9/distlib/compat.py2014-06-06 09:58:29.955611427 +0200 +@@ -17,7 +17,7 @@ if sys.version_info[0] < 3: + from types import FileType as file_type + import __builtin__ as builtins + import ConfigParser as configparser +-from ._backport import shutil ++import shutil + from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit + from urllib import (urlretrieve, quote as _quote, unquote, url2pathname, + pathname2url, ContentTooShortError, splittype) +@@ -267,7 +267,7 @@ except ImportError: # pragma: no cover + try: + import sysconfig + except ImportError: # pragma: no cover +-from ._backport import sysconfig ++import sysconfig + + try: + callable = callable +--- distlib-0.1.9/setup.py.orig2014-06-06 10:19:13.971997156 +0200 distlib-0.1.9/setup.py 2014-06-06 10:19:20.012034150 +0200 +@@ -62,12 +62,7 @@ distutils.core.setup( + platforms='any', + packages=[ + 'distlib', +-'distlib._backport', + ], +-package_data={ +-'distlib._backport': ['sysconfig.cfg'], +-'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'], +-}, + cmdclass={ + 'test': TestCommand, + },
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 946b32d314a1bdeba48ee8ad813f5b696f678ab7 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Oct 10 18:43:40 2015 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Oct 10 18:46:12 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946b32d3 dev-python/distlib: Add ~sparc keywords wrt bug #558546 Package-Manager: portage-2.2.20.1 dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 1feab56..77daeee 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: ebb0e1431dce8345b4c29f4032cbc83f182abbc6 Author: Markus Meier gentoo org> AuthorDate: Tue Sep 29 20:49:19 2015 + Commit: Markus Meier gentoo org> CommitDate: Tue Sep 29 20:49:19 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb0e143 dev-python/distlib: add ~arm, bug #558546 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="arm" dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 0afa25f..1feab56 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 1bed21206d9b9c056d818aed6eddbba163c215da Author: Tobias Klausmann gentoo org> AuthorDate: Tue Sep 22 17:34:41 2015 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Sep 22 17:34:41 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bed2120 dev-python/distlib: add ~alpha keyword Gentoo-Bug: 558546 Package-Manager: portage-2.2.21 dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 7339924..0afa25f 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: a98a36e6a1b97ddb9e17c109b320f1d16f73b82e Author: Joshua Kinard gentoo org> AuthorDate: Tue Sep 8 08:01:16 2015 + Commit: Joshua Kinard gentoo org> CommitDate: Tue Sep 8 08:01:16 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98a36e6 Added ~mips to KEYWORDS. Package-Manager: portage-2.2.20.1 dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index e82dfdd..7339924 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: 418b31dcb38ca5172ba0c48f619f389e5edd759b Author: Jeroen Roovers gentoo org> AuthorDate: Sun Sep 6 05:04:10 2015 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Sep 6 05:04:10 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418b31dc dev-python/distlib: Mark ~hppa ~ppc64 (bug #558546). Package-Manager: portage-2.2.20.1 dev-python/distlib/distlib-0.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 7b1a1e4..e82dfdd 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="" python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/
commit: cafa5fae698a52f816fd5635343ba29ea6289445 Author: Justin Lecher jlec AT gentoo DOT org AuthorDate: Mon Aug 24 06:41:12 2015 + Commit: Justin Lecher jlec AT gentoo DOT org CommitDate: Mon Aug 24 10:12:10 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafa5fae dev-python/distlib: New package, ebuild written by me Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher jlec AT gentoo.org dev-python/distlib/Manifest | 1 + dev-python/distlib/distlib-0.2.1.ebuild | 25 + dev-python/distlib/metadata.xml | 5 + 3 files changed, 31 insertions(+) diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest new file mode 100644 index 000..179151b --- /dev/null +++ b/dev-python/distlib/Manifest @@ -0,0 +1 @@ +DIST distlib-0.2.1.zip 542424 SHA256 d91dc4a509ca50d1ba796ba1c4b23d5587f082d8a886856544546c88f4d9a685 SHA512 f6453585650db242ad4a176bbd468cc6069ee0941b6ea23f24fc32000778097d8a100de82eaad7b3d8d998dc153d25f537505c7eefcc6f98f37995cfc9d5be77 WHIRLPOOL 86c2eb318c9df8233847b5ded3370d77ed71fab22067f4fa039531d5a3df2ede463e1688d920401a0870e4359f18f8d765230c72e71be1458e5db14de153ad8d diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild new file mode 100644 index 000..7b1a1e4 --- /dev/null +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION=Distribution utilities +HOMEPAGE=https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib; +SRC_URI=mirror://pypi/${PN:0:1}/${PN}/${P}.zip + +SLOT=0 +LICENSE=BSD +KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux +IUSE= + +python_test() { + sed \ + -e '/PIP_AVAILABLE/s:True:False:g' \ + -i tests/*py || die + PYTHONHASHSEED=0 esetup.py test +} diff --git a/dev-python/distlib/metadata.xml b/dev-python/distlib/metadata.xml new file mode 100644 index 000..de483c5 --- /dev/null +++ b/dev-python/distlib/metadata.xml @@ -0,0 +1,5 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE pkgmetadata SYSTEM http://www.gentoo.org/dtd/metadata.dtd; +pkgmetadata +herdpython/herd +/pkgmetadata