Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
Date: Mon, 05 Oct 2020 21:47:08
Message-Id: 1601934399.cdb0e709e7cd81d12cf79d78d589d43f08f03e63.mgorny@gentoo
1 commit: cdb0e709e7cd81d12cf79d78d589d43f08f03e63
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 5 21:19:24 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 5 21:46:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb0e709
7
8 dev-python/pypiserver: Bump to 1.4.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pypiserver/Manifest | 1 +
13 dev-python/pypiserver/pypiserver-1.4.0.ebuild | 48 +++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest
17 index 90c09b39052..473c94597a4 100644
18 --- a/dev-python/pypiserver/Manifest
19 +++ b/dev-python/pypiserver/Manifest
20 @@ -1 +1,2 @@
21 DIST pypiserver-1.3.2.tar.gz 505905 BLAKE2B 4e62d11cf280524d532e793d3ffc4dc59f1e72c6aba2ed6bd0d70f86104162dc60377b56e08676ab03326c33885acae698dc60b435426b195f13bf9f60bb7b8c SHA512 de823376f7711bfdaff3a1acefae37e1d7528802203929b8aeb8790c2b1c466badaf5a1d5084100bc37f41636d2cdfc2038cd3ad9805d15ca42c80834760b4da
22 +DIST pypiserver-1.4.0.tar.gz 510845 BLAKE2B e70c72780dc3c601bb8f9893df3b35385392c24b68acabf3bc56ef64074740ba6d3cd0ac844735812936dfae92ff88205cebd9a9f1f53767b9a4beafd19bd21f SHA512 f34d371134a00f8643842d8fedd4e34d533015755a5c868cf4d180fe242940a4c648ac0482c6f56d2a30f9d0f9fc5b40a23e0e6e278fb089efe2968f5df20766
23
24 diff --git a/dev-python/pypiserver/pypiserver-1.4.0.ebuild b/dev-python/pypiserver/pypiserver-1.4.0.ebuild
25 new file mode 100644
26 index 00000000000..c86e71e5c09
27 --- /dev/null
28 +++ b/dev-python/pypiserver/pypiserver-1.4.0.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Minimal PyPI server"
40 +HOMEPAGE="https://github.com/pypiserver/pypiserver"
41 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="ZLIB MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +IUSE="test"
47 +
48 +RDEPEND="
49 + dev-python/pip[${PYTHON_USEDEP}]
50 + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]"
51 +BDEPEND="
52 + dev-python/setuptools-git[${PYTHON_USEDEP}]
53 + test? (
54 + ${RDEPEND}
55 + dev-python/passlib[${PYTHON_USEDEP}]
56 + >=dev-python/pytest-2.3[${PYTHON_USEDEP}]
57 + dev-python/twine[${PYTHON_USEDEP}]
58 + dev-python/webtest[${PYTHON_USEDEP}]
59 + )"
60 +
61 +DOCS=( README.rst )
62 +
63 +distutils_enable_tests pytest
64 +
65 +src_prepare() {
66 + sed -i -e "/tox/d" setup.py || die
67 +
68 + # https://github.com/pypiserver/pypiserver/issues/312
69 + sed -e 's:test_root_count:_&:' \
70 + -i tests/test_app.py || die
71 + sed -e 's:test_hash_algos:_&:' \
72 + -e 's:test_pipInstall_openOk:_&:' \
73 + -e 's:test_pipInstall_authedOk:_&:' \
74 + -i tests/test_server.py || die
75 +
76 + distutils-r1_src_prepare
77 +}