From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
Date: Tue, 18 Oct 2022 18:07:43 +0000 (UTC) [thread overview]
Message-ID: <1666116458.4c79f44fa2b74a6ef4616e21c5f8a1c90b943d3b.arthurzam@gentoo> (raw)
commit: 4c79f44fa2b74a6ef4616e21c5f8a1c90b943d3b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 18:02:37 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 18:07:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c79f44f
dev-python/pypiserver: add 1.5.1
Signed-off-by: Arthur Zamarin <arthurzam <AT> 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 000000000000..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
+}
next reply other threads:[~2022-10-18 18:07 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 18:07 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-14 10:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/ Sam James
2024-11-25 4:02 Michał Górny
2024-10-05 7:10 Michał Górny
2024-09-16 3:59 Michał Górny
2024-08-26 18:54 Arthur Zamarin
2024-07-12 6:56 Michał Górny
2024-07-12 6:21 Ionen Wolkens
2024-07-12 6:21 Ionen Wolkens
2024-07-12 6:21 Ionen Wolkens
2024-07-12 6:21 Ionen Wolkens
2024-07-05 17:37 Michał Górny
2024-06-15 14:06 Michał Górny
2024-06-15 13:17 Michał Górny
2024-05-11 9:49 Arthur Zamarin
2024-05-11 7:45 Arthur Zamarin
2024-05-11 7:28 Arthur Zamarin
2024-05-11 7:09 Arthur Zamarin
2024-04-26 1:35 Yixun Lan
2024-04-25 16:35 Arthur Zamarin
2024-04-25 14:45 Sam James
2024-04-25 14:45 Sam James
2023-11-02 5:44 Michał Górny
2023-11-01 20:37 Arthur Zamarin
2023-10-01 18:07 Arthur Zamarin
2023-09-01 16:42 Michał Górny
2023-09-01 16:31 Arthur Zamarin
2023-07-31 7:13 Michał Górny
2022-11-19 8:47 Arthur Zamarin
2022-11-19 8:44 Arthur Zamarin
2022-07-04 6:57 Michał Górny
2022-07-04 6:57 Michał Górny
2022-06-07 7:15 Michał Górny
2022-06-07 6:31 Agostino Sarubbo
2022-05-24 15:15 Michał Górny
2022-05-24 6:16 Michał Górny
2022-05-02 19:38 Arthur Zamarin
2022-05-02 8:27 Michał Górny
2022-04-25 16:50 Sam James
2022-01-31 0:26 Michał Górny
2021-11-28 14:42 Michał Górny
2021-11-27 10:27 Michał Górny
2021-06-13 11:27 Michał Górny
2020-11-28 15:42 Sam James
2020-11-15 7:54 Michał Górny
2020-11-15 5:19 Sam James
2020-11-14 22:06 Michał Górny
2020-10-10 16:26 Michał Górny
2020-10-05 21:47 Michał Górny
2020-07-25 8:31 Michał Górny
2020-07-19 15:48 Sam James
2020-07-14 15:57 Sam James
2020-07-14 13:19 Sam James
2020-07-06 19:01 Michał Górny
2020-07-06 16:44 Sergei Trofimovich
2020-07-05 13:42 Agostino Sarubbo
2020-07-01 12:21 Michał Górny
2020-06-01 20:30 Michał Górny
2020-05-31 10:04 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-30 11:51 Michał Górny
2020-05-28 8:00 Michał Górny
2020-05-28 7:06 Michał Górny
2020-04-24 20:21 Michał Górny
2020-04-22 18:40 Michał Górny
2020-03-17 2:09 Matt Turner
2020-03-14 21:37 Sergei Trofimovich
2020-03-04 5:01 Michał Górny
2020-02-18 8:59 Sergei Trofimovich
2020-02-03 11:31 Agostino Sarubbo
2020-01-31 13:45 Agostino Sarubbo
2019-12-05 0:21 Patrick McLean
2019-12-04 1:36 Patrick McLean
2019-11-22 23:58 Patrick McLean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1666116458.4c79f44fa2b74a6ef4616e21c5f8a1c90b943d3b.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox