[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 6ce096eaee063733d702dd6dfc346eb9c49048eb Author: Michał Górny gentoo org> AuthorDate: Fri Jul 12 06:45:06 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 12 06:55:57 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce096ea dev-python/pypiserver: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 - dev-python/pypiserver/pypiserver-2.0.1.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 7b90dece416f..240b9ba1ca91 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1 @@ -DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 DIST pypiserver-2.1.1.gh.tar.gz 157393 BLAKE2B e80c73b2422dc87bba09d8c9c2e1ffc72017ec58c5530d3debb95560b50a776e1603cb5641c7e4af1ed87d64750843ae025a6a47ab4cc28ce0de1051dd5b214f SHA512 d85afb0d2c85c76a62e393d7d7824e91ff052a04e985278db48010b6f71d12c7749139245e69932b78aefbf3152ba8a8b463bfcd21d1772d047d64f0b164681a diff --git a/dev-python/pypiserver/pypiserver-2.0.1.ebuild b/dev-python/pypiserver/pypiserver-2.0.1.ebuild deleted file mode 100644 index ef30107d8ca6.. --- a/dev-python/pypiserver/pypiserver-2.0.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE=" - https://github.com/pypiserver/pypiserver/ - https://pypi.org/project/pypiserver/ -" -SRC_URI=" - https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/bottle[${PYTHON_USEDEP}] - >=dev-python/pip-7[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] -" -# NB: many test deps are optional/specific to tests we skip -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - >=dev-python/passlib-1.6[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -DOCS=( CHANGES.rst README.md ) - -PATCHES=( - "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - # remove bundled bottle (sic!) - rm pypiserver/bottle.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_server.py::test_hash_algos - tests/test_server.py::test_pipInstall_openOk - tests/test_server.py::test_pipInstall_authedOk - # TODO - tests/test_app.py::test_root_count - tests/test_server.py::test_pip_install_open_succeeds - tests/test_server.py::test_pip_install_authed_succeeds - # seems to rely on internal bottle details - tests/test_main.py::test_auto_servers - ) - - if ! has_version dev-python/twine; then - EPYTEST_DESELECT+=( - tests/test_server.py::test_twine_upload - tests/test_server.py::test_twine_register - ) - fi - - epytest tests -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: bc68f7aa3f396ba6686aaffe97d1cfb7dd44e10b Author: Michał Górny gentoo org> AuthorDate: Fri Jul 5 17:35:43 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 5 17:37:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc68f7aa dev-python/pypiserver: Check for dev-python/twice w/ PYTHON_USEDEP Closes: https://bugs.gentoo.org/935486 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 9f342b04dfc0..7a250ff04baa 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -67,7 +67,7 @@ python_test() { tests/test_main.py::test_auto_servers ) - if ! has_version dev-python/twine; then + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then EPYTEST_DESELECT+=( tests/test_server.py::test_twine_upload tests/test_server.py::test_twine_register
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: c76932351bce4fd04b02fdb580cd9a76a26e6392 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 15 14:03:23 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 14:03:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7693235 dev-python/pypiserver: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 54c1d9dfdae9..9f342b04dfc0 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: a114f1eb68c513d55a4074c5f9d2e3d8f189e4e5 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 15 13:16:49 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 15 13:17:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a114f1eb dev-python/pypiserver: Keyword 2.1.1 alpha hppa ia64 loong ppc ppc64 s390 sparc, #930664 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index ccee6dcc4dc6..54c1d9dfdae9 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="amd64 arm arm64 ~riscv x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: ca94f3dc26c5c76c15db0a4770e45b063d19f4ae Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 11 09:49:03 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 11 09:49:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca94f3dc dev-python/pypiserver: Stabilize 2.1.1 amd64, #931731 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 31c19c1c2f09..ccee6dcc4dc6 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~riscv x86" +KEYWORDS="amd64 arm arm64 ~riscv x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 28c0b6eeadb8fd55c0ef362a6baab92194364c4c Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 11 07:45:03 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 11 07:45:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c0b6ee dev-python/pypiserver: Stabilize 2.1.1 arm64, #931731 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 915525d4295d..31c19c1c2f09 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~riscv x86" +KEYWORDS="~amd64 arm arm64 ~riscv x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: f24462943589cb141a5c8b7a023f0142eca49107 Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 11 07:28:09 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 11 07:28:09 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2446294 dev-python/pypiserver: Stabilize 2.1.1 x86, #931731 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index aa265e0a56e7..915525d4295d 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm ~arm64 ~riscv x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 881c7c79e47601bda863ff7d05d0568071fd1a85 Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 11 07:09:44 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 11 07:09:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881c7c79 dev-python/pypiserver: Stabilize 2.1.1 arm, #931731 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index e8ff64e1ec08..aa265e0a56e7 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm ~arm64 ~riscv ~x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 59a614bf4834948de16730e8ab4bf88d10ab1585 Author: Yixun Lan gentoo org> AuthorDate: Fri Apr 26 01:35:27 2024 + Commit: Yixun Lan gentoo org> CommitDate: Fri Apr 26 01:35:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a614bf dev-python/pypiserver: Keyword 2.1.1 riscv, #930664 Signed-off-by: Yixun Lan gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 1a08a65d04de..e8ff64e1ec08 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 25495cff02d8f3b5e0575f80547fc8c5713a3123 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Apr 25 16:35:48 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Apr 25 16:35:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25495cff dev-python/pypiserver: Keyword 2.1.1 x86, #930664 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 90d2f1c1482a..1a08a65d04de 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: f9a86fc322869276dc2e44a7a1e8dd97c9a29c3c Author: Sam James gentoo org> AuthorDate: Thu Apr 25 14:44:50 2024 + Commit: Sam James gentoo org> CommitDate: Thu Apr 25 14:44:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a86fc3 dev-python/pypiserver: Keyword 2.1.1 arm, #930664 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index fcd86c88d501..e05cc626526f 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: dc045251bca56b2df54d27f8e85c4a75fc19c8e1 Author: Sam James gentoo org> AuthorDate: Thu Apr 25 14:44:53 2024 + Commit: Sam James gentoo org> CommitDate: Thu Apr 25 14:44:53 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc045251 dev-python/pypiserver: Keyword 2.1.1 arm64, #930664 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index e05cc626526f..90d2f1c1482a 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm" +KEYWORDS="~amd64 ~arm ~arm64" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/, dev-python/pypiserver/files/
commit: b24c7f18c3dad6d4338397b7980f17ed475eaaa7 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 25 12:47:59 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 25 12:51:57 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24c7f18 dev-python/pypiserver: Bump to 2.1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest | 1 + .../files/pypiserver-2.1.1-test-offline.patch | 33 + dev-python/pypiserver/pypiserver-2.1.1.ebuild | 79 ++ 3 files changed, 113 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 39fba150f6ba..7b90dece416f 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 +DIST pypiserver-2.1.1.gh.tar.gz 157393 BLAKE2B e80c73b2422dc87bba09d8c9c2e1ffc72017ec58c5530d3debb95560b50a776e1603cb5641c7e4af1ed87d64750843ae025a6a47ab4cc28ce0de1051dd5b214f SHA512 d85afb0d2c85c76a62e393d7d7824e91ff052a04e985278db48010b6f71d12c7749139245e69932b78aefbf3152ba8a8b463bfcd21d1772d047d64f0b164681a diff --git a/dev-python/pypiserver/files/pypiserver-2.1.1-test-offline.patch b/dev-python/pypiserver/files/pypiserver-2.1.1-test-offline.patch new file mode 100644 index ..121677beb1b8 --- /dev/null +++ b/dev-python/pypiserver/files/pypiserver-2.1.1-test-offline.patch @@ -0,0 +1,33 @@ +From 749ad0f641ac14cc6e8485ed0b4fdf6aacb6f015 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Thu, 25 Apr 2024 14:44:16 +0200 +Subject: [PATCH] test: Fix running `build` in offline test environment + +Fix the `build` calls to use `--no-isolation`, in order to fix +regression in running tests in an offline environment. + +Unlike the previous `setup.py` calls, `build` defaults to creating a new +virtual environment to perform the build. This, in turn, requires +fetching the build dependencies from the Internet, effectively making +the tests error out in an offline environment. Passing `--no-isolation` +makes `build` use the already-installed host dependencies instead. +--- + tests/test_server.py | 5 - + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/tests/test_server.py b/tests/test_server.py +index 92ecdda3..99da611c 100644 +--- a/tests/test_server.py b/tests/test_server.py +@@ -148,7 +148,10 @@ def wheel_file(project, tmp_path_factory): + if re.match("^3\.7", sys.version): + assert run_setup_py(project, f"bdist_wheel -d {distdir}") == 0 + else: +-assert run_py_build(project, f"--wheel --outdir {distdir}") == 0 ++assert ( ++run_py_build(project, f"--wheel --no-isolation --outdir {distdir}") ++== 0 ++) + wheels = list(distdir.glob("centodeps*.whl")) + assert len(wheels) > 0 + return wheels[0] diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild new file mode 100644 index ..fcd86c88d501 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib-resources[${PYTHON_USEDEP}] + ' 3.{10..11}) +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-1.2.0[${PYTHON_USEDEP}] + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" + # https://github.com/pypiserver/pypiserver/pull/571 + "${FILESDIR}/${P}-test-offline.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 634dca3ccfacfcc92804bc3e202ac5f84485e545 Author: Michał Górny gentoo org> AuthorDate: Thu Nov 2 05:38:22 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Nov 2 05:44:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=634dca3c dev-python/pypiserver: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 - dev-python/pypiserver/pypiserver-1.5.2.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 1dc813963f34..39fba150f6ba 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1 @@ -DIST pypiserver-1.5.2.gh.tar.gz 153032 BLAKE2B 58cb9ef1bc842fd31612009201e4fafbb5c477b7284cf1f85f1e2939167573c27d451a8b8735d52be8cfb467ff1bfe30b7b83567926b3945beae62b1ee82833c SHA512 e8794341c0b5e6d9d7c72bd4cf29380adc2415563724d5af0ff808d8fb81afea646477859a2dfd5dc2d3ccf62cad5118887891faa11e70b125cbb8b7e88e977a DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 diff --git a/dev-python/pypiserver/pypiserver-1.5.2.ebuild b/dev-python/pypiserver/pypiserver-1.5.2.ebuild deleted file mode 100644 index eb680dbab4b2.. --- a/dev-python/pypiserver/pypiserver-1.5.2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE=" - https://github.com/pypiserver/pypiserver/ - https://pypi.org/project/pypiserver/ -" -SRC_URI=" - https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/bottle[${PYTHON_USEDEP}] - >=dev-python/pip-7[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] -" -# NB: many test deps are optional/specific to tests we skip -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - >=dev-python/passlib-1.6[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.rst ) - -PATCHES=( - "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - # remove bundled bottle (sic!) - rm pypiserver/bottle.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_server.py::test_hash_algos - tests/test_server.py::test_pipInstall_openOk - tests/test_server.py::test_pipInstall_authedOk - # TODO - tests/test_app.py::test_root_count - tests/test_server.py::test_pip_install_open_succeeds - tests/test_server.py::test_pip_install_authed_succeeds - # seems to rely on internal bottle details - tests/test_main.py::test_auto_servers - ) - - if ! has_version dev-python/twine; then - EPYTEST_DESELECT+=( - tests/test_server.py::test_twine_upload - tests/test_server.py::test_twine_register - ) - fi - - epytest tests -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: eb6299abe482f960bab851ae394e88a1f19fbe9a Author: Arthur Zamarin gentoo org> AuthorDate: Wed Nov 1 20:36:36 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Nov 1 20:36:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb6299ab dev-python/pypiserver: Stabilize 2.0.1 ALLARCHES, #916650 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-2.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-2.0.1.ebuild b/dev-python/pypiserver/pypiserver-2.0.1.ebuild index ece25808b111..ef30107d8ca6 100644 --- a/dev-python/pypiserver/pypiserver-2.0.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.0.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: f58803d21fd600c0a506446d7b66bc244315ff6c Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 1 17:45:27 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 1 18:02:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f58803d2 dev-python/pypiserver: add 2.0.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-2.0.1.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 99cb5b1d2d2f..1dc813963f34 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.5.2.gh.tar.gz 153032 BLAKE2B 58cb9ef1bc842fd31612009201e4fafbb5c477b7284cf1f85f1e2939167573c27d451a8b8735d52be8cfb467ff1bfe30b7b83567926b3945beae62b1ee82833c SHA512 e8794341c0b5e6d9d7c72bd4cf29380adc2415563724d5af0ff808d8fb81afea646477859a2dfd5dc2d3ccf62cad5118887891faa11e70b125cbb8b7e88e977a +DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 diff --git a/dev-python/pypiserver/pypiserver-2.0.1.ebuild b/dev-python/pypiserver/pypiserver-2.0.1.ebuild new file mode 100644 index ..ece25808b111 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.0.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 65ab45d0d6de857fe9ffe70c10ba38a75fc48dda Author: Michał Górny gentoo org> AuthorDate: Fri Sep 1 16:39:36 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 1 16:42:12 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ab45d0 dev-python/pypiserver: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 - dev-python/pypiserver/pypiserver-1.5.1.ebuild | 76 --- 2 files changed, 77 deletions(-) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 88dbf415375e..99cb5b1d2d2f 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1 @@ -DIST pypiserver-1.5.1.gh.tar.gz 150145 BLAKE2B 23ceba3064da4a0d7a19af0a48f370913948dd8cec101cdee43f59c78087b71adcb0fb3a494ca1a94cf3cc2c42751f8710f9cf9037401d73bec7f94f300dbf6b SHA512 35797c37ecfc2c7de21211c5c5f9c0edf98ba49e54fbee779099e411dde73377706aeddcd3dfb34c3ae2ef7d7f4ebf9146c3fb02b0778742d688f8ac17a64cfd DIST pypiserver-1.5.2.gh.tar.gz 153032 BLAKE2B 58cb9ef1bc842fd31612009201e4fafbb5c477b7284cf1f85f1e2939167573c27d451a8b8735d52be8cfb467ff1bfe30b7b83567926b3945beae62b1ee82833c SHA512 e8794341c0b5e6d9d7c72bd4cf29380adc2415563724d5af0ff808d8fb81afea646477859a2dfd5dc2d3ccf62cad5118887891faa11e70b125cbb8b7e88e977a diff --git a/dev-python/pypiserver/pypiserver-1.5.1.ebuild b/dev-python/pypiserver/pypiserver-1.5.1.ebuild deleted file mode 100644 index cee43fda4dd8.. --- a/dev-python/pypiserver/pypiserver-1.5.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE=" - https://github.com/pypiserver/pypiserver/ - https://pypi.org/project/pypiserver/ -" -SRC_URI=" - https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/bottle[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] -" -# NB: many test deps are optional/specific to tests we skip -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - >=dev-python/passlib-1.6[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.rst ) - -PATCHES=( - "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - # remove bundled bottle (sic!) - rm pypiserver/bottle.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_server.py::test_hash_algos - tests/test_server.py::test_pipInstall_openOk - tests/test_server.py::test_pipInstall_authedOk - # TODO - tests/test_app.py::test_root_count - tests/test_server.py::test_pip_install_open_succeeds - tests/test_server.py::test_pip_install_authed_succeeds - # seems to rely on internal bottle details - tests/test_main.py::test_auto_servers - ) - - if ! has_version dev-python/twine; then - EPYTEST_DESELECT+=( - tests/test_server.py::test_twine_upload - tests/test_server.py::test_twine_register - ) - fi - - epytest tests -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 4c8982c8aa26322bc54f20c1d551256b8e2ffee5 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 1 16:31:02 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 1 16:31:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8982c8 dev-python/pypiserver: Stabilize 1.5.2 ALLARCHES, #913432 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-1.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.2.ebuild b/dev-python/pypiserver/pypiserver-1.5.2.ebuild index db2f3b0d87bd..eb680dbab4b2 100644 --- a/dev-python/pypiserver/pypiserver-1.5.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 1ca23290ed3de93e99f4250da4bad4f9d1572bb5 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 31 06:28:19 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 31 07:13:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca23290 dev-python/pypiserver: Bump to 1.5.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-1.5.2.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index d918e4b4a498..88dbf415375e 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.5.1.gh.tar.gz 150145 BLAKE2B 23ceba3064da4a0d7a19af0a48f370913948dd8cec101cdee43f59c78087b71adcb0fb3a494ca1a94cf3cc2c42751f8710f9cf9037401d73bec7f94f300dbf6b SHA512 35797c37ecfc2c7de21211c5c5f9c0edf98ba49e54fbee779099e411dde73377706aeddcd3dfb34c3ae2ef7d7f4ebf9146c3fb02b0778742d688f8ac17a64cfd +DIST pypiserver-1.5.2.gh.tar.gz 153032 BLAKE2B 58cb9ef1bc842fd31612009201e4fafbb5c477b7284cf1f85f1e2939167573c27d451a8b8735d52be8cfb467ff1bfe30b7b83567926b3945beae62b1ee82833c SHA512 e8794341c0b5e6d9d7c72bd4cf29380adc2415563724d5af0ff808d8fb81afea646477859a2dfd5dc2d3ccf62cad5118887891faa11e70b125cbb8b7e88e977a diff --git a/dev-python/pypiserver/pypiserver-1.5.2.ebuild b/dev-python/pypiserver/pypiserver-1.5.2.ebuild new file mode 100644 index ..db2f3b0d87bd --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.5.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: ea6e5e56add779e78eb8fdbb60675fc03614a74e Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 19 08:46:59 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 19 08:47:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea6e5e56 dev-python/pypiserver: drop 1.5.0-r2 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/Manifest | 1 - dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild | 76 2 files changed, 77 deletions(-) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 6c4aaf7288cc..d918e4b4a498 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1 @@ -DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611 DIST pypiserver-1.5.1.gh.tar.gz 150145 BLAKE2B 23ceba3064da4a0d7a19af0a48f370913948dd8cec101cdee43f59c78087b71adcb0fb3a494ca1a94cf3cc2c42751f8710f9cf9037401d73bec7f94f300dbf6b SHA512 35797c37ecfc2c7de21211c5c5f9c0edf98ba49e54fbee779099e411dde73377706aeddcd3dfb34c3ae2ef7d7f4ebf9146c3fb02b0778742d688f8ac17a64cfd diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild deleted file mode 100644 index f62175c1fedc.. --- a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE=" - https://github.com/pypiserver/pypiserver/ - https://pypi.org/project/pypiserver/ -" -SRC_URI=" - https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/bottle[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] -" -# NB: many test deps are optional/specific to tests we skip -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - >=dev-python/passlib-1.6[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.rst ) - -PATCHES=( - "${FILESDIR}/${P}-unbundle-bottle.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - # remove bundled bottle (sic!) - rm pypiserver/bottle.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_server.py::test_hash_algos - tests/test_server.py::test_pipInstall_openOk - tests/test_server.py::test_pipInstall_authedOk - # TODO - tests/test_app.py::test_root_count - tests/test_server.py::test_pip_install_open_succeeds - tests/test_server.py::test_pip_install_authed_succeeds - # seems to rely on internal bottle details - tests/test_main.py::test_auto_servers - ) - - if ! has_version dev-python/twine; then - EPYTEST_DESELECT+=( - tests/test_server.py::test_twine_upload - tests/test_server.py::test_twine_register - ) - fi - - epytest tests -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: d0d53e9709228fed5221fe2420ef1190dc2357f2 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Nov 19 08:44:14 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Nov 19 08:44:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d53e97 dev-python/pypiserver: Stabilize 1.5.1 ALLARCHES, #881925 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-1.5.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.1.ebuild b/dev-python/pypiserver/pypiserver-1.5.1.ebuild index 3796c36d2b11..f5a17201e7d2 100644 --- a/dev-python/pypiserver/pypiserver-1.5.1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 4c79f44fa2b74a6ef4616e21c5f8a1c90b943d3b Author: Arthur Zamarin gentoo org> AuthorDate: Tue Oct 18 18:02:37 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Oct 18 18:07:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c79f44f dev-python/pypiserver: add 1.5.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-1.5.1.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index f915562aa4ae..6c4aaf7288cc 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611 +DIST pypiserver-1.5.1.gh.tar.gz 150145 BLAKE2B 23ceba3064da4a0d7a19af0a48f370913948dd8cec101cdee43f59c78087b71adcb0fb3a494ca1a94cf3cc2c42751f8710f9cf9037401d73bec7f94f300dbf6b SHA512 35797c37ecfc2c7de21211c5c5f9c0edf98ba49e54fbee779099e411dde73377706aeddcd3dfb34c3ae2ef7d7f4ebf9146c3fb02b0778742d688f8ac17a64cfd diff --git a/dev-python/pypiserver/pypiserver-1.5.1.ebuild b/dev-python/pypiserver/pypiserver-1.5.1.ebuild new file mode 100644 index ..3796c36d2b11 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.5.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 5bf27adafb999a9024c65dbececfc5b26a869836 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 26 10:37:12 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 4 06:57:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf27ada dev-python/pypiserver: Make twine dep optional Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild index 922e88060cc0..f62175c1fedc 100644 --- a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild @@ -33,7 +33,6 @@ BDEPEND=" test? ( >=dev-python/passlib-1.6[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] ) " @@ -66,5 +65,12 @@ python_test() { tests/test_main.py::test_auto_servers ) + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + epytest tests }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: ffed5f0a1cc542038b89641436161316c1cf8e82 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 26 10:36:54 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 4 06:57:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffed5f0a dev-python/pypiserver: Fix test regression Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild index e8a875327309..922e88060cc0 100644 --- a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild @@ -62,6 +62,8 @@ python_test() { tests/test_app.py::test_root_count tests/test_server.py::test_pip_install_open_succeeds tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers ) epytest tests
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: f2a7c1c12001160853a098be4e647b7f899bb681 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 7 07:08:05 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 7 07:15:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a7c1c1 dev-python/pypiserver: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 - dev-python/pypiserver/pypiserver-1.4.2.ebuild | 58 --- dev-python/pypiserver/pypiserver-1.5.0.ebuild | 57 -- 3 files changed, 116 deletions(-) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 97fc380b6622..f915562aa4ae 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1 @@ -DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611 diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild deleted file mode 100644 index 55e9043f8868.. --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE="https://github.com/pypiserver/pypiserver; -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ZLIB MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" - -RDEPEND=" - dev-python/pip[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/passlib[${PYTHON_USEDEP}] - >=dev-python/pytest-2.3[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - !alpha? ( !hppa? ( !ia64? ( - dev-python/twine[${PYTHON_USEDEP}] - ) ) ) - )" - -DOCS=( README.rst ) - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_server.py::test_hash_algos - tests/test_server.py::test_pipInstall_openOk - tests/test_server.py::test_pipInstall_authedOk - # TODO - tests/test_app.py::test_root_count - ) - - if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_server.py::test_twine_register_authed_ok - tests/test_server.py::test_twine_register_open - tests/test_server.py::test_twine_upload_authed - tests/test_server.py::test_twine_upload_open - tests/test_server.py::test_twine_upload_partial_authed - ) - fi - - epytest -} diff --git a/dev-python/pypiserver/pypiserver-1.5.0.ebuild b/dev-python/pypiserver/pypiserver-1.5.0.ebuild deleted file mode 100644 index e6ba0228e52a.. --- a/dev-python/pypiserver/pypiserver-1.5.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE=" - https://github.com/pypiserver/pypiserver/ - https://pypi.org/project/pypiserver/ -" -SRC_URI=" - https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - dev-python/pip[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] -" -# NB: many test deps are optional/specific to tests we skip -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - >=dev-python/passlib-1.6[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.rst
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: ea5c9e12cff639bd65f6c929a6663ee6d17d1cac Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Jun 7 06:30:47 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Jun 7 06:30:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5c9e12 dev-python/pypiserver: amd64/arm64/arm/hppa/ppc64/ppc/sparc/x86 stable (ALLARCHES policy) wrt bug #850004 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild index b01563db43ee..e8a875327309 100644 --- a/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 2ca3831bbc4ca3a4c4b55066b8e50a8f6bf11cfc Author: Michał Górny gentoo org> AuthorDate: Tue May 24 15:14:03 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue May 24 15:15:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca3831b dev-python/pypiserver: bottle is a RDEPEND Closes: https://bugs.gentoo.org/847232 Signed-off-by: Michał Górny gentoo.org> .../{pypiserver-1.5.0-r1.ebuild => pypiserver-1.5.0-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild similarity index 97% rename from dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild rename to dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild index b1d70a8d5724..b01563db43ee 100644 --- a/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.0-r2.ebuild @@ -23,6 +23,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] dev-python/pip[${PYTHON_USEDEP}] >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] " @@ -30,7 +31,6 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-git[${PYTHON_USEDEP}] test? ( - dev-python/bottle[${PYTHON_USEDEP}] >=dev-python/passlib-1.6[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/twine[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/, dev-python/pypiserver/files/
commit: 4a6866d7bbbed4216bad68bf33a1e0100c5ee9e5 Author: Michał Górny gentoo org> AuthorDate: Tue May 24 05:35:37 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue May 24 06:15:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6866d7 dev-python/pypiserver: Unbundle dev-python/bottle Signed-off-by: Michał Górny gentoo.org> .../files/pypiserver-1.5.0-unbundle-bottle.patch | 89 ++ dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild | 68 + 2 files changed, 157 insertions(+) diff --git a/dev-python/pypiserver/files/pypiserver-1.5.0-unbundle-bottle.patch b/dev-python/pypiserver/files/pypiserver-1.5.0-unbundle-bottle.patch new file mode 100644 index ..69e1764e3f2a --- /dev/null +++ b/dev-python/pypiserver/files/pypiserver-1.5.0-unbundle-bottle.patch @@ -0,0 +1,89 @@ +diff -dupr pypiserver-1.5.0.orig/pypiserver/_app.py pypiserver-1.5.0/pypiserver/_app.py +--- pypiserver-1.5.0.orig/pypiserver/_app.py 2022-05-24 07:32:24.710366623 +0200 pypiserver-1.5.0/pypiserver/_app.py2022-05-24 07:37:16.147456086 +0200 +@@ -13,7 +13,7 @@ from json import dumps + from pypiserver.config import RunConfig + from . import __version__ + from . import core +-from .bottle import ( ++from bottle import ( + static_file, + redirect, + request, +diff -dupr pypiserver-1.5.0.orig/pypiserver/__init__.py pypiserver-1.5.0/pypiserver/__init__.py +--- pypiserver-1.5.0.orig/pypiserver/__init__.py 2022-05-24 07:32:24.710366623 +0200 pypiserver-1.5.0/pypiserver/__init__.py2022-05-24 07:36:54.633769799 +0200 +@@ -4,7 +4,7 @@ import re as _re + import sys + import typing as t + +-from pypiserver.bottle import Bottle ++from bottle import Bottle + from pypiserver.config import Config, RunConfig, strtobool + + version = __version__ = "1.5.0" +diff -dupr pypiserver-1.5.0.orig/pypiserver/__main__.py pypiserver-1.5.0/pypiserver/__main__.py +--- pypiserver-1.5.0.orig/pypiserver/__main__.py 2022-05-24 07:32:24.710366623 +0200 pypiserver-1.5.0/pypiserver/__main__.py2022-05-24 07:34:05.608054452 +0200 +@@ -159,7 +159,7 @@ def main(argv: t.Sequence[str] = None) - + + gevent.monkey.patch_all() + +-from pypiserver import bottle ++import bottle + + bottle.debug(config.verbosity > 1) + bottle._stderr = ft.partial( # pylint: disable=protected-access +diff -dupr pypiserver-1.5.0.orig/tests/test_app.py pypiserver-1.5.0/tests/test_app.py +--- pypiserver-1.5.0.orig/tests/test_app.py2022-05-24 07:32:24.710366623 +0200 pypiserver-1.5.0/tests/test_app.py 2022-05-24 07:33:23.470919728 +0200 +@@ -8,12 +8,13 @@ import xmlrpc.client as xmlrpclib + from html import unescape + + # Third party imports ++import bottle + import pytest + import webtest + + # Local Imports + from tests.test_pkg_helpers import files, invalid_files +-from pypiserver import __main__, bottle, core, Bottle ++from pypiserver import __main__, core, Bottle + from pypiserver.backend import CachingFileBackend, SimpleFileBackend + + # Enable logging to detect any problems with it +diff -dupr pypiserver-1.5.0.orig/tests/test_main.py pypiserver-1.5.0/tests/test_main.py +--- pypiserver-1.5.0.orig/tests/test_main.py 2022-05-24 07:32:24.710366623 +0200 pypiserver-1.5.0/tests/test_main.py2022-05-24 07:33:33.441025326 +0200 +@@ -5,11 +5,11 @@ import sys + import typing as t + from unittest import mock + ++import bottle + import pytest + +-import pypiserver.bottle ++from bottle import Bottle + from pypiserver import __main__ +-from pypiserver.bottle import Bottle + + + THIS_DIR = pathlib.Path(__file__).parent +@@ -52,7 +52,7 @@ def main(monkeypatch): + main.update_args = args + main.update_kwargs = kwargs + +-monkeypatch.setattr("pypiserver.bottle.run", run) ++monkeypatch.setattr("bottle.run", run) + monkeypatch.setattr("pypiserver.manage.update_all_packages", update) + + return main +@@ -263,7 +263,7 @@ def test_auto_servers() -> None: + """Test auto servers.""" + # A list of bottle ServerAdapters + bottle_adapters = tuple( +-a.__name__.lower() for a in pypiserver.bottle.AutoServer.adapters ++a.__name__.lower() for a in bottle.AutoServer.adapters + ) + # We are going to expect that our AutoServer enum names must match those + # at least closely enough to be recognizable. diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild new file mode 100644 index ..e688c055a7fe --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 2eaa9440f1af91972a8373d55d0cb0e896887add Author: Michał Górny gentoo org> AuthorDate: Tue May 24 05:35:47 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue May 24 06:15:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eaa9440 dev-python/pypiserver: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild b/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild index e688c055a7fe..b1d70a8d5724 100644 --- a/dev-python/pypiserver/pypiserver-1.5.0-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.0-r1.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
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: d25d1e5debddd9fe5acc259e323d4638e8066c2d Author: Arthur Zamarin gentoo org> AuthorDate: Mon May 2 19:37:55 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon May 2 19:37:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25d1e5d dev-python/pypiserver: Keyword 1.5.0 ia64, #842138 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pypiserver/pypiserver-1.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.5.0.ebuild b/dev-python/pypiserver/pypiserver-1.5.0.ebuild index e7d898a095cf..e6ba0228e52a 100644 --- a/dev-python/pypiserver/pypiserver-1.5.0.ebuild +++ b/dev-python/pypiserver/pypiserver-1.5.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" dev-python/pip[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 728daace33307d1d9d8bd345626cc852183e7c54 Author: Michał Górny gentoo org> AuthorDate: Mon May 2 07:58:43 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon May 2 08:26:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728daace dev-python/pypiserver: Bump to 1.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-1.5.0.ebuild | 57 +++ 2 files changed, 58 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index bb98457d43ed..97fc380b6622 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b +DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611 diff --git a/dev-python/pypiserver/pypiserver-1.5.0.ebuild b/dev-python/pypiserver/pypiserver-1.5.0.ebuild new file mode 100644 index ..e7d898a095cf --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.5.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/twine[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + ) + + epytest tests +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 8fd2c55381fd1a9dfb990efa4d1a5c0d5d19dc72 Author: Sam James gentoo org> AuthorDate: Mon Apr 25 16:49:40 2022 + Commit: Sam James gentoo org> CommitDate: Mon Apr 25 16:49:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd2c553 dev-python/pypiserver: Keyword 1.4.2 s390, #840413 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 1403d44c3a2c..742e9af1674a 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" 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" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: e7ce0fb44ba919002dfe3f57c89644e3715fc19d Author: Michał Górny gentoo org> AuthorDate: Sun Jan 30 23:47:59 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Jan 31 00:23:51 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ce0fb4 dev-python/pypiserver: Disable unstable test Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 03081fc7cba8..1403d44c3a2c 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,6 +40,8 @@ python_test() { tests/test_server.py::test_hash_algos tests/test_server.py::test_pipInstall_openOk tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count ) if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: e74180222e48927e2bcff019334334bdd219a0c0 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 27 09:14:35 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 28 14:38:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7418022 dev-python/pypiserver: Skip twine dep on non-Rust arches Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 18a622a294c3..03081fc7cba8 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -24,8 +24,10 @@ BDEPEND=" ${RDEPEND} dev-python/passlib[${PYTHON_USEDEP}] >=dev-python/pytest-2.3[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/twine[${PYTHON_USEDEP}] + ) ) ) )" DOCS=( README.rst )
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 944316073dbbd1d080c53273768af01db20d498a Author: Michał Górny gentoo org> AuthorDate: Sat Nov 27 09:14:35 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 27 10:27:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94431607 dev-python/pypiserver: Support running tests without twine Deselect the few tests requiring twine if it is not installed. This is in preparation for cryptography versions requiring Rust causing twine to lose keywords. Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 31 --- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index d33d2bc3bcf9..18a622a294c3 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -32,16 +32,23 @@ DOCS=( README.rst ) distutils_enable_tests pytest -src_prepare() { - sed -i -e "/tox/d" setup.py || die - - # https://github.com/pypiserver/pypiserver/issues/312 - sed -e 's:test_root_count:_&:' \ - -i tests/test_app.py || die - sed -e 's:test_hash_algos:_&:' \ - -e 's:test_pipInstall_openOk:_&:' \ - -e 's:test_pipInstall_authedOk:_&:' \ - -i tests/test_server.py || die - - distutils-r1_src_prepare +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + ) + + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_register_authed_ok + tests/test_server.py::test_twine_register_open + tests/test_server.py::test_twine_upload_authed + tests/test_server.py::test_twine_upload_open + tests/test_server.py::test_twine_upload_partial_authed + ) + fi + + epytest }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 7dea241a6aebcc8ae0087df8454fa0cbb541938f Author: Michał Górny gentoo org> AuthorDate: Sun Jun 13 11:26:28 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 13 11:27:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dea241a dev-python/pypiserver: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 378760e33d4..d33d2bc3bcf 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: b283da471fd188955662f52cb261889a8cc6ffe9 Author: Sam James gentoo org> AuthorDate: Sat Nov 28 15:39:34 2020 + Commit: Sam James gentoo org> CommitDate: Sat Nov 28 15:42:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b283da47 dev-python/pypiserver: ~x64-macos keyworded Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 13964332829..95fda2d1381 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" 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" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: b6493df3cc2482017a1c2b864dfc8baa6b53c5a2 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 15 07:41:02 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 15 07:41:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6493df3 dev-python/pypiserver: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 - dev-python/pypiserver/pypiserver-1.3.2.ebuild | 48 --- 2 files changed, 49 deletions(-) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 2625c26febc..bb98457d43e 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1 @@ -DIST pypiserver-1.3.2.tar.gz 505905 BLAKE2B 4e62d11cf280524d532e793d3ffc4dc59f1e72c6aba2ed6bd0d70f86104162dc60377b56e08676ab03326c33885acae698dc60b435426b195f13bf9f60bb7b8c SHA512 de823376f7711bfdaff3a1acefae37e1d7528802203929b8aeb8790c2b1c466badaf5a1d5084100bc37f41636d2cdfc2038cd3ad9805d15ca42c80834760b4da DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild deleted file mode 100644 index 13964332829..000 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Minimal PyPI server" -HOMEPAGE="https://github.com/pypiserver/pypiserver; -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ZLIB MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="test" - -RDEPEND=" - dev-python/pip[${PYTHON_USEDEP}] - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools-git[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/passlib[${PYTHON_USEDEP}] - >=dev-python/pytest-2.3[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - )" - -DOCS=( README.rst ) - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e "/tox/d" setup.py || die - - # https://github.com/pypiserver/pypiserver/issues/312 - sed -e 's:test_root_count:_&:' \ - -i tests/test_app.py || die - sed -e 's:test_hash_algos:_&:' \ - -e 's:test_pipInstall_openOk:_&:' \ - -e 's:test_pipInstall_authedOk:_&:' \ - -i tests/test_server.py || die - - distutils-r1_src_prepare -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 21d2f9f813600999f23edc9db388670d98c54a3e Author: Sam James gentoo org> AuthorDate: Sun Nov 15 05:13:56 2020 + Commit: Sam James gentoo org> CommitDate: Sun Nov 15 05:13:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d2f9f8 dev-python/pypiserver: Stabilize 1.4.2 ALLARCHES, #754516 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index c86e71e5c09..13964332829 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" 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" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 289cad4242eb757d6c33aa57de2c2d391a960986 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 14 22:03:56 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 14 22:03:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289cad42 dev-python/pypiserver: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pypiserver/metadata.xml b/dev-python/pypiserver/metadata.xml index e3205b37b69..0d519d2171f 100644 --- a/dev-python/pypiserver/metadata.xml +++ b/dev-python/pypiserver/metadata.xml @@ -5,6 +5,7 @@ pyt...@gentoo.org Python + pytest-services pytest-dev/pytest-services
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 22b0c8db9b9d46f5a0251ef98a71325e1e2e0d7f Author: Michał Górny gentoo org> AuthorDate: Sat Oct 10 16:09:26 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 10 16:26:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22b0c8db dev-python/pypiserver: Bump to 1.4.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-1.4.2.ebuild | 48 +++ 2 files changed, 49 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 473c94597a4..ce0e7b48592 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,2 +1,3 @@ DIST pypiserver-1.3.2.tar.gz 505905 BLAKE2B 4e62d11cf280524d532e793d3ffc4dc59f1e72c6aba2ed6bd0d70f86104162dc60377b56e08676ab03326c33885acae698dc60b435426b195f13bf9f60bb7b8c SHA512 de823376f7711bfdaff3a1acefae37e1d7528802203929b8aeb8790c2b1c466badaf5a1d5084100bc37f41636d2cdfc2038cd3ad9805d15ca42c80834760b4da DIST pypiserver-1.4.0.tar.gz 510845 BLAKE2B e70c72780dc3c601bb8f9893df3b35385392c24b68acabf3bc56ef64074740ba6d3cd0ac844735812936dfae92ff88205cebd9a9f1f53767b9a4beafd19bd21f SHA512 f34d371134a00f8643842d8fedd4e34d533015755a5c868cf4d180fe242940a4c648ac0482c6f56d2a30f9d0f9fc5b40a23e0e6e278fb089efe2968f5df20766 +DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild new file mode 100644 index 000..c86e71e5c09 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE="https://github.com/pypiserver/pypiserver; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/passlib[${PYTHON_USEDEP}] + >=dev-python/pytest-2.3[${PYTHON_USEDEP}] + dev-python/twine[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + )" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e "/tox/d" setup.py || die + + # https://github.com/pypiserver/pypiserver/issues/312 + sed -e 's:test_root_count:_&:' \ + -i tests/test_app.py || die + sed -e 's:test_hash_algos:_&:' \ + -e 's:test_pipInstall_openOk:_&:' \ + -e 's:test_pipInstall_authedOk:_&:' \ + -i tests/test_server.py || die + + distutils-r1_src_prepare +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: cdb0e709e7cd81d12cf79d78d589d43f08f03e63 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 5 21:19:24 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Oct 5 21:46:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb0e709 dev-python/pypiserver: Bump to 1.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-1.4.0.ebuild | 48 +++ 2 files changed, 49 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 90c09b39052..473c94597a4 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.3.2.tar.gz 505905 BLAKE2B 4e62d11cf280524d532e793d3ffc4dc59f1e72c6aba2ed6bd0d70f86104162dc60377b56e08676ab03326c33885acae698dc60b435426b195f13bf9f60bb7b8c SHA512 de823376f7711bfdaff3a1acefae37e1d7528802203929b8aeb8790c2b1c466badaf5a1d5084100bc37f41636d2cdfc2038cd3ad9805d15ca42c80834760b4da +DIST pypiserver-1.4.0.tar.gz 510845 BLAKE2B e70c72780dc3c601bb8f9893df3b35385392c24b68acabf3bc56ef64074740ba6d3cd0ac844735812936dfae92ff88205cebd9a9f1f53767b9a4beafd19bd21f SHA512 f34d371134a00f8643842d8fedd4e34d533015755a5c868cf4d180fe242940a4c648ac0482c6f56d2a30f9d0f9fc5b40a23e0e6e278fb089efe2968f5df20766 diff --git a/dev-python/pypiserver/pypiserver-1.4.0.ebuild b/dev-python/pypiserver/pypiserver-1.4.0.ebuild new file mode 100644 index 000..c86e71e5c09 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.4.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE="https://github.com/pypiserver/pypiserver; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/passlib[${PYTHON_USEDEP}] + >=dev-python/pytest-2.3[${PYTHON_USEDEP}] + dev-python/twine[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + )" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e "/tox/d" setup.py || die + + # https://github.com/pypiserver/pypiserver/issues/312 + sed -e 's:test_root_count:_&:' \ + -i tests/test_app.py || die + sed -e 's:test_hash_algos:_&:' \ + -e 's:test_pipInstall_openOk:_&:' \ + -e 's:test_pipInstall_authedOk:_&:' \ + -i tests/test_server.py || die + + distutils-r1_src_prepare +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/files/
commit: 9025906f454c356026b5b1c1bba4b2231facc0aa Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Aug 28 16:57:39 2020 + Commit: David Seifert gentoo org> CommitDate: Sat Sep 12 09:54:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9025906f dev-python/pypiserver: remove unused patch(es) Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: David Seifert gentoo.org> .../files/pypiserver-1.3.1-no-internet.patch | 90 -- 1 file changed, 90 deletions(-) diff --git a/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch b/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch deleted file mode 100644 index 2df183f6404..000 --- a/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/tests/test_app.py b/tests/test_app.py -index 52ce234..46cd23a 100644 a/tests/test_app.py -+++ b/tests/test_app.py -@@ -2,6 +2,7 @@ - - # Builtin imports - import logging -+import unittest - - - try: # python 3 -@@ -177,6 +178,7 @@ def test_favicon(testapp): - testapp.get("/favicon.ico", status=404) - - -+@unittest.skip("Requires internet access") - def test_fallback(root, _app, testapp): - assert _app.config.redirect_to_fallback - resp = testapp.get("/simple/pypiserver/", status=302) -diff --git a/tests/test_manage.py b/tests/test_manage.py -index 9735ac6..bde267d 100755 a/tests/test_manage.py -+++ b/tests/test_manage.py -@@ -118,6 +118,7 @@ def test_pip_cmd_root(pip_ver, cmd_type): - assert tuple(PipCmd.update_root(pip_ver)) == exp_cmd - - -+@pytest.mark.skip(reason="Requires internet access") - def test_pip_cmd_update(): - """Verify the correct determination of a pip command.""" - index = 'https://pypi.org/simple' -@@ -138,6 +139,7 @@ def test_pip_cmd_update(): - ) - - -+@pytest.mark.skip(reason="Requires internet access") - def test_pip_cmd_update_index_overridden(): - """Verify the correct determination of a pip command.""" - index = 'https://pypi.org/complex' -@@ -156,6 +158,7 @@ def test_pip_cmd_update_index_overridden(): - ) - - -+@pytest.mark.skip(reason="Requires internet access") - def test_update_package(monkeypatch): - """Test generating an update command for a package.""" - monkeypatch.setattr(manage, 'call', Mock()) -diff --git a/tests/test_server.py b/tests/test_server.py -index 6cb4bc4..6325b6f 100644 a/tests/test_server.py -+++ b/tests/test_server.py -@@ -275,7 +275,6 @@ def twine_register(packages, repository='test', conf='pypirc', - # Tests - # ## - -- - def test_pipInstall_packageNotFound(empty_packdir, port, pipdir, package): - with new_server(empty_packdir, port): - cmd = "centodeps" -@@ -283,18 +282,21 @@ def test_pipInstall_packageNotFound(empty_packdir, port, pipdir, package): - assert not pipdir.listdir() - - -+@pytest.mark.skip(reason="Needs internet") - def test_pipInstall_openOk(open_server, package, pipdir): - cmd = "centodeps" - assert _run_pip_install(cmd, open_server.port, pipdir) == 0 - assert pipdir.join(package.basename).check() - - -+@pytest.mark.skip(reason="Needs internet") - def test_pipInstall_authedFails(protected_server, pipdir): - cmd = "centodeps" - assert _run_pip_install(cmd, protected_server.port, pipdir) != 0 - assert not pipdir.listdir() - - -+@pytest.mark.skip(reason="Needs internet") - def test_pipInstall_authedOk(protected_server, package, pipdir): - cmd = "centodeps" - assert _run_pip_install(cmd, protected_server.port, pipdir, -@@ -395,6 +397,7 @@ def test_twine_upload_open(empty_packdir, port, package): - assert len(empty_packdir.listdir()) == 1 - - -+@pytest.mark.skip(reason="needs internet") - @pytest.mark.parametrize("hash_algo", ("md5", "sha256", "sha512")) - def test_hash_algos(empty_packdir, port, package, pipdir, hash_algo): - """Test twine upload with no authentication"""
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 4ea5c048773a834ccb7cb1e8ff16d222e3890a00 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 25 08:07:23 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 25 08:31:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea5c048 dev-python/pypiserver: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 3 +-- dev-python/pypiserver/pypiserver-1.3.2.ebuild| 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 3c550ec559a..ae45b1bb101 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server" @@ -26,7 +26,6 @@ BDEPEND="${RDEPEND} >=dev-python/pytest-2.3[${PYTHON_USEDEP}] dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" PATCHES=( diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 239ce2d544d..cb7e56092ae 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server" @@ -27,7 +27,6 @@ BDEPEND=" >=dev-python/pytest-2.3[${PYTHON_USEDEP}] dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" DOCS=( README.rst )
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: de92e5bad6e8b7d9ad4285d9531a15c451522fd7 Author: Sam James gentoo org> AuthorDate: Sun Jul 19 15:43:41 2020 + Commit: Sam James gentoo org> CommitDate: Sun Jul 19 15:43:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de92e5ba dev-python/pypiserver: x86 stable (bug #730126) Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 37f391c8417..239ce2d544d 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: c591fd5586ba9cc278b718fa1730b3e1be2346d1 Author: Sam James gentoo org> AuthorDate: Tue Jul 14 15:51:12 2020 + Commit: Sam James gentoo org> CommitDate: Tue Jul 14 15:57:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c591fd55 dev-python/pypiserver: ppc64 stable (bug #730126) Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 8594565d4cf..37f391c8417 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 315cc6b62da5ca97ba53fa3902c24fb7098cf3be Author: Sam James gentoo org> AuthorDate: Tue Jul 14 13:13:12 2020 + Commit: Sam James gentoo org> CommitDate: Tue Jul 14 13:13:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315cc6b6 dev-python/pypiserver: ppc stable (bug #730126) Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 7a88f6f88f0..8594565d4cf 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: eed943b3e37c287dc0ec414f29597ec39eaca0e3 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 6 18:54:24 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 6 19:01:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed943b3 dev-python/pypiserver: Stabilize 1.3.2 amd64, #730126 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index b9df6a9bd89..7a88f6f88f0 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: ce5e8623c3ffebb62e576f8082faeca3c26f2d99 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Jul 6 15:24:53 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jul 6 16:43:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5e8623 dev-python/pypiserver: stable 1.3.2 for hppa, bug #730126 Package-Manager: Portage-2.3.99, Repoman-2.3.23 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index c9c3cf88268..b9df6a9bd89 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 3ada31ed5c0b712335521a2bdf8b232105d7db5f Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jul 5 13:42:11 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jul 5 13:42:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ada31ed dev-python/pypiserver: sparc stable wrt bug #730126 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 31d1842487e..c9c3cf88268 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 2c7e1ae070552856368ae088df62c24ada071c0a Author: Sam James (sam_c) cmpct info> AuthorDate: Wed Jul 1 03:18:54 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Jul 1 12:21:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c7e1ae0 dev-python/pypiserver: arm stable (bug #730126) 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/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 629571cc42a..58fe52472db 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 395713fd304e80c17ec62bd45065f1665cb7b65b Author: Sam James (sam_c) cmpct info> AuthorDate: Mon Jun 1 03:18:42 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 1 20:30:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395713fd dev-python/pypiserver: arm keyworded (bug #718774) 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/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index cde7613ca75..3c550ec559a 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~sparc x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: e7d9135a989c5cd6d1c2c1b2cedd662f6297f7d6 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun May 31 10:03:37 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun May 31 10:04:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d9135a dev-python/pypiserver: keyworded 1.3.2 for ia64, bug #726188 Package-Manager: Portage-2.3.100, Repoman-2.3.22 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 5698e1731a2..ac72fade33b 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 6085956cf890bf0bfc7b3ee35b26380a3fd8478f Author: Michał Górny gentoo org> AuthorDate: Sat May 30 12:57:06 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat May 30 14:37:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6085956c dev-python/pypiserver: Keyword 1.3.2 ppc, #726188 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 055f34536aa..5698e1731a2 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: a9715242fe7b327aed1f07e64d501c71cd284efc Author: Michał Górny gentoo org> AuthorDate: Sat May 30 09:40:28 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat May 30 11:51:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9715242 dev-python/pypiserver: Keyword 1.3.2 ppc64, #726188 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 5fbff5dfc52..055f34536aa 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc64 ~sparc ~x86" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 6e2fe940a8423b642a486e0f41da323b6862c06d Author: Michał Górny gentoo org> AuthorDate: Thu May 28 07:25:07 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu May 28 08:00:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2fe940 dev-python/pypiserver: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 09770ec0c4f..5fbff5dfc52 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 3057796f747c072c26bc425f890cb0a2c743d162 Author: Michał Górny gentoo org> AuthorDate: Thu May 28 07:05:39 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu May 28 07:05:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3057796f dev-python/pypiserver: Bump to 1.3.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/Manifest| 1 + dev-python/pypiserver/pypiserver-1.3.2.ebuild | 49 +++ 2 files changed, 50 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 72fb33b1997..8f1de04c7b8 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.3.1.tar.gz 504875 BLAKE2B 18089a1d18ace55038fb2b114a3402ce1352139a858a2e32399ad36ef0cbe5dfcf9bbdb865807ea84330405bdd4da1c00265e095b7299fe2b9f56150d573f7d9 SHA512 425a557eb74111fb07911cacd275dfa35b8e8ba5e9f230ca5f86500c10b2ab33235eb3376150c75972de3d8ebd85b03ecdf935753b0af46936a78311d5f174a7 +DIST pypiserver-1.3.2.tar.gz 505905 BLAKE2B 4e62d11cf280524d532e793d3ffc4dc59f1e72c6aba2ed6bd0d70f86104162dc60377b56e08676ab03326c33885acae698dc60b435426b195f13bf9f60bb7b8c SHA512 de823376f7711bfdaff3a1acefae37e1d7528802203929b8aeb8790c2b1c466badaf5a1d5084100bc37f41636d2cdfc2038cd3ad9805d15ca42c80834760b4da diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild new file mode 100644 index 000..09770ec0c4f --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE="https://github.com/pypiserver/pypiserver; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~sparc ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/passlib[${PYTHON_USEDEP}] + >=dev-python/pytest-2.3[${PYTHON_USEDEP}] + dev-python/twine[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) + )" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e "/tox/d" setup.py || die + + # https://github.com/pypiserver/pypiserver/issues/312 + sed -e 's:test_root_count:_&:' \ + -i tests/test_app.py || die + sed -e 's:test_hash_algos:_&:' \ + -e 's:test_pipInstall_openOk:_&:' \ + -e 's:test_pipInstall_authedOk:_&:' \ + -i tests/test_server.py || die + + distutils-r1_src_prepare +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 06a26afc5c4a1db7c5b32c2f9b17ea23ed4c30c9 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 24 20:15:18 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Apr 24 20:15:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a26afc dev-python/pypiserver: Add missing mock dep Closes: https://bugs.gentoo.org/719270 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 932cb26051e..cde7613ca75 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -26,6 +26,7 @@ BDEPEND="${RDEPEND} >=dev-python/pytest-2.3[${PYTHON_USEDEP}] dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 82a834bc70e60cd1cecf92d6eee9b526c794e969 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 22 16:18:14 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 22 18:40:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a834bc dev-python/pypiserver: Add missing dep on pip Closes: https://bugs.gentoo.org/718880 Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 42e89f9b615..932cb26051e 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -15,7 +15,9 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86" IUSE="test" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/pip[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND} dev-python/setuptools-git[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 8743203357299cf7479617ef7eb2e84c93e50192 Author: Matt Turner gentoo org> AuthorDate: Tue Mar 17 01:53:13 2020 + Commit: Matt Turner gentoo org> CommitDate: Tue Mar 17 02:09:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87432033 dev-python/pypiserver-1.3.1-r1: add ~alpha, bug 700918 Signed-off-by: Matt Turner gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 9bd6fb4f224..42e89f9b615 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~sparc x86" +KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86" IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: b0e2373d23295007f10de7f68a209c36f7ea0ccc Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Mar 14 20:22:41 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Mar 14 21:37:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e2373d dev-python/pypiserver: keyworded 1.3.1-r1 for sparc, bug #700918 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index e217d3b80f5..9bd6fb4f224 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa x86" +KEYWORDS="amd64 ~arm64 ~hppa ~sparc x86" IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 1911e5438a6a8e3be9bb7aea0bbeccadd944cce7 Author: Roy Bamford gentoo org> AuthorDate: Tue Mar 3 20:44:14 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 4 04:47:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1911e543 dev-python/pypiserver: added ~arm64 keyword Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Roy Bamford gentoo.org> Signed-off-by: Michał Górny gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 75d145630ce..e217d3b80f5 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="amd64 ~hppa x86" +KEYWORDS="amd64 ~arm64 ~hppa x86" IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 54fc253c59b69823f77c178cbda59044b20cf926 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Feb 18 06:58:30 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 18 08:59:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fc253c dev-python/pypiserver: keyworded 1.3.1-r1 for hppa, bug #700918 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 8aabc6bf36a..75d145630ce 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~hppa x86" IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: d8f9c33a1b36cc41cfe35b8811836aeb3543c5e4 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 3 11:30:29 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 3 11:30:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f9c33a dev-python/pypiserver: x86 stable wrt bug #706508 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 0832a3d59a4..8aabc6bf36a 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 22aa0d72153cdd6cbf56bf1af84cc96f8b421166 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 31 13:45:10 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 31 13:45:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22aa0d72 dev-python/pypiserver: amd64 stable wrt bug #706508 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index 3d66b6ccb80..0832a3d59a4 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 885771ca8dedd5a2e9e737b349c3b6f697d66fe8 Author: Patrick McLean sony com> AuthorDate: Wed Dec 4 23:17:40 2019 + Commit: Patrick McLean gentoo org> CommitDate: Thu Dec 5 00:20:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885771ca dev-python/pypiserver-1.3.1-r1: revbump, add py38, remove unneeded tox dep Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Patrick McLean gentoo.org> ...{pypiserver-1.3.1.ebuild => pypiserver-1.3.1-r1.ebuild} | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild similarity index 82% rename from dev-python/pypiserver/pypiserver-1.3.1.ebuild rename to dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild index a743d8143be..66f4301a9b6 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server" @@ -22,14 +22,10 @@ BDEPEND="${RDEPEND} test? ( dev-python/passlib[${PYTHON_USEDEP}] >=dev-python/pytest-2.3[${PYTHON_USEDEP}] - dev-python/tox[${PYTHON_USEDEP}] dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] )" -# tests need access to pypi.org -#RESTRICT="test" - PATCHES=( "${FILESDIR}/pypiserver-1.3.1-no-internet.patch" ) @@ -37,3 +33,11 @@ PATCHES=( DOCS=( README.rst ) distutils_enable_tests pytest + +python_prepare_all() { + sed -r \ + -e "s:[\"']tox[\"'](,|$)::" \ + -i setup.py || die + + distutils-r1_python_prepare_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: e1ee6cf8bbb49e2fef28c5de4649ac2fc69a202a Author: Patrick McLean sony com> AuthorDate: Wed Dec 4 01:19:16 2019 + Commit: Patrick McLean gentoo org> CommitDate: Wed Dec 4 01:19:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ee6cf8 dev-python/pypiserver-1.3.1: add pypy{,3} support Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Patrick McLean gentoo.org> dev-python/pypiserver/pypiserver-1.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1.ebuild index b5a3ddd40f7..a743d8143be 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
commit: 06ad09ece2641ce075b102bda8f07887deec04fd Author: Patrick McLean sony com> AuthorDate: Fri Nov 22 21:49:59 2019 + Commit: Patrick McLean gentoo org> CommitDate: Fri Nov 22 23:57:47 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ad09ec dev-python/pypiserver: Add python{2_7,3_5} Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean gentoo.org> dev-python/pypiserver/pypiserver-1.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypiserver/pypiserver-1.3.1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1.ebuild index 29f0c61101a..b5a3ddd40f7 100644 --- a/dev-python/pypiserver/pypiserver-1.3.1.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) inherit distutils-r1 DESCRIPTION="Minimal PyPI server"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/, dev-python/pypiserver/files/
commit: cb8abb6747ebf933a099d7b2c9301ead51a9febf Author: Patrick McLean sony com> AuthorDate: Fri Nov 22 02:55:05 2019 + Commit: Patrick McLean gentoo org> CommitDate: Fri Nov 22 03:15:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb8abb67 dev-python/pypiserver: New package Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean gentoo.org> dev-python/pypiserver/Manifest | 1 + .../files/pypiserver-1.3.1-no-internet.patch | 90 ++ dev-python/pypiserver/metadata.xml | 12 +++ dev-python/pypiserver/pypiserver-1.3.1.ebuild | 39 ++ 4 files changed, 142 insertions(+) diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest new file mode 100644 index 000..72fb33b1997 --- /dev/null +++ b/dev-python/pypiserver/Manifest @@ -0,0 +1 @@ +DIST pypiserver-1.3.1.tar.gz 504875 BLAKE2B 18089a1d18ace55038fb2b114a3402ce1352139a858a2e32399ad36ef0cbe5dfcf9bbdb865807ea84330405bdd4da1c00265e095b7299fe2b9f56150d573f7d9 SHA512 425a557eb74111fb07911cacd275dfa35b8e8ba5e9f230ca5f86500c10b2ab33235eb3376150c75972de3d8ebd85b03ecdf935753b0af46936a78311d5f174a7 diff --git a/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch b/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch new file mode 100644 index 000..2df183f6404 --- /dev/null +++ b/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch @@ -0,0 +1,90 @@ +diff --git a/tests/test_app.py b/tests/test_app.py +index 52ce234..46cd23a 100644 +--- a/tests/test_app.py b/tests/test_app.py +@@ -2,6 +2,7 @@ + + # Builtin imports + import logging ++import unittest + + + try: # python 3 +@@ -177,6 +178,7 @@ def test_favicon(testapp): + testapp.get("/favicon.ico", status=404) + + ++@unittest.skip("Requires internet access") + def test_fallback(root, _app, testapp): + assert _app.config.redirect_to_fallback + resp = testapp.get("/simple/pypiserver/", status=302) +diff --git a/tests/test_manage.py b/tests/test_manage.py +index 9735ac6..bde267d 100755 +--- a/tests/test_manage.py b/tests/test_manage.py +@@ -118,6 +118,7 @@ def test_pip_cmd_root(pip_ver, cmd_type): + assert tuple(PipCmd.update_root(pip_ver)) == exp_cmd + + ++@pytest.mark.skip(reason="Requires internet access") + def test_pip_cmd_update(): + """Verify the correct determination of a pip command.""" + index = 'https://pypi.org/simple' +@@ -138,6 +139,7 @@ def test_pip_cmd_update(): + ) + + ++@pytest.mark.skip(reason="Requires internet access") + def test_pip_cmd_update_index_overridden(): + """Verify the correct determination of a pip command.""" + index = 'https://pypi.org/complex' +@@ -156,6 +158,7 @@ def test_pip_cmd_update_index_overridden(): + ) + + ++@pytest.mark.skip(reason="Requires internet access") + def test_update_package(monkeypatch): + """Test generating an update command for a package.""" + monkeypatch.setattr(manage, 'call', Mock()) +diff --git a/tests/test_server.py b/tests/test_server.py +index 6cb4bc4..6325b6f 100644 +--- a/tests/test_server.py b/tests/test_server.py +@@ -275,7 +275,6 @@ def twine_register(packages, repository='test', conf='pypirc', + # Tests + # ## + +- + def test_pipInstall_packageNotFound(empty_packdir, port, pipdir, package): + with new_server(empty_packdir, port): + cmd = "centodeps" +@@ -283,18 +282,21 @@ def test_pipInstall_packageNotFound(empty_packdir, port, pipdir, package): + assert not pipdir.listdir() + + ++@pytest.mark.skip(reason="Needs internet") + def test_pipInstall_openOk(open_server, package, pipdir): + cmd = "centodeps" + assert _run_pip_install(cmd, open_server.port, pipdir) == 0 + assert pipdir.join(package.basename).check() + + ++@pytest.mark.skip(reason="Needs internet") + def test_pipInstall_authedFails(protected_server, pipdir): + cmd = "centodeps" + assert _run_pip_install(cmd, protected_server.port, pipdir) != 0 + assert not pipdir.listdir() + + ++@pytest.mark.skip(reason="Needs internet") + def test_pipInstall_authedOk(protected_server, package, pipdir): + cmd = "centodeps" + assert _run_pip_install(cmd, protected_server.port, pipdir, +@@ -395,6 +397,7 @@ def test_twine_upload_open(empty_packdir, port, package): + assert len(empty_packdir.listdir()) == 1 + + ++@pytest.mark.skip(reason="needs internet") + @pytest.mark.parametrize("hash_algo", ("md5", "sha256", "sha512")) + def test_hash_algos(empty_packdir, port, package, pipdir, hash_algo): + """Test twine upload with no authentication""" diff --git a/dev-python/pypiserver/metadata.xml b/dev-python/pypiserver/metadata.xml new file mode 100644 index 000..e3205b37b69 --- /dev/null +++ b/dev-python/pypiserver/metadata.xml @@ -0,0