1 |
commit: 82da3b215eb3cf5c6844580a7cbd1a60da11e853 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 06:51:34 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 07:05:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82da3b21 |
7 |
|
8 |
dev-python/twine: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/twine/Manifest | 2 -- |
13 |
dev-python/twine/twine-3.3.0.ebuild | 66 ------------------------------------- |
14 |
dev-python/twine/twine-3.4.0.ebuild | 56 ------------------------------- |
15 |
3 files changed, 124 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest |
18 |
index 01d4ea27fc4..0b3406a8182 100644 |
19 |
--- a/dev-python/twine/Manifest |
20 |
+++ b/dev-python/twine/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST twine-3.3.0.tar.gz 148996 BLAKE2B 60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97 SHA512 94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291 |
23 |
-DIST twine-3.4.0.tar.gz 211582 BLAKE2B 6b309880e96142a666f0113343f6a7a604ec6058f58429befa4709366d8dd8b6ddd0d2cd69d74653d12a74a615e6e3ad6b7d96892aa5beab00c934be2fc4b8d6 SHA512 6ce4757048fe7b5ada8a384fa185e80cee8412ef7f0561f55a5cbec39c0069522b57e403f148b9b55c55330a577873a5e9597ca0a6b0fb0cce6b377c8df07e4e |
24 |
DIST twine-3.4.1.tar.gz 211775 BLAKE2B 0fdc6a8f5a37ee9695c8db2080987b631dfe6f8ed718e3912c94d77b46d35682d27bef07715c1fe7c0d8b6ab1449a771e18d8ffa5c6044dde1536b56b3e7885e SHA512 eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79 |
25 |
|
26 |
diff --git a/dev-python/twine/twine-3.3.0.ebuild b/dev-python/twine/twine-3.3.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index 705a6185055..00000000000 |
29 |
--- a/dev-python/twine/twine-3.3.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,66 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Collection of utilities for publishing packages on PyPI" |
43 |
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine https://pypi.org/project/twine/" |
44 |
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="Apache-2.0" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-BDEPEND=" |
53 |
- test? ( |
54 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
55 |
- dev-python/jaraco-functools[${PYTHON_USEDEP}] |
56 |
- dev-python/munch[${PYTHON_USEDEP}] |
57 |
- dev-python/portend[${PYTHON_USEDEP}] |
58 |
- dev-python/pretend[${PYTHON_USEDEP}] |
59 |
- dev-python/pypiserver[${PYTHON_USEDEP}] |
60 |
- dev-python/pytest[${PYTHON_USEDEP}] |
61 |
- ) |
62 |
-" |
63 |
-RDEPEND=" |
64 |
- >=dev-python/tqdm-4.14[${PYTHON_USEDEP}] |
65 |
- >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}] |
66 |
- >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}] |
67 |
- >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
68 |
- >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] |
69 |
- $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_{6,7} pypy{,3}) |
70 |
- >=dev-python/keyring-15.1[${PYTHON_USEDEP}] |
71 |
- >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] |
72 |
- >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] |
73 |
-" |
74 |
- |
75 |
-python_prepare_all() { |
76 |
- # avoid a setuptools_scm dependency |
77 |
- sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die |
78 |
- sed -r -i "s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::" \ |
79 |
- setup.cfg || die |
80 |
- |
81 |
- # requires internet |
82 |
- sed -e 's:test_check_status_code_for_wrong_repo_url:_&:' \ |
83 |
- -i tests/test_upload.py || die |
84 |
- rm -f tests/test_integration.py || die |
85 |
- # pytest-socket dep relevant only to test_integration, and upstream |
86 |
- # disables it anyway |
87 |
- sed -i -e '/--disable-socket/d' pytest.ini || die |
88 |
- |
89 |
- sed -i -e '/--cov/d' pytest.ini || die |
90 |
- |
91 |
- distutils-r1_python_prepare_all |
92 |
-} |
93 |
- |
94 |
-python_test() { |
95 |
- distutils_install_for_testing |
96 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
97 |
-} |
98 |
|
99 |
diff --git a/dev-python/twine/twine-3.4.0.ebuild b/dev-python/twine/twine-3.4.0.ebuild |
100 |
deleted file mode 100644 |
101 |
index e71049c037c..00000000000 |
102 |
--- a/dev-python/twine/twine-3.4.0.ebuild |
103 |
+++ /dev/null |
104 |
@@ -1,56 +0,0 @@ |
105 |
-# Copyright 1999-2021 Gentoo Authors |
106 |
-# Distributed under the terms of the GNU General Public License v2 |
107 |
- |
108 |
-EAPI=7 |
109 |
- |
110 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
111 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
112 |
- |
113 |
-inherit distutils-r1 |
114 |
- |
115 |
-DESCRIPTION="Collection of utilities for publishing packages on PyPI" |
116 |
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine https://pypi.org/project/twine/" |
117 |
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" |
118 |
- |
119 |
-LICENSE="Apache-2.0" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" |
122 |
- |
123 |
-RDEPEND=" |
124 |
- >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] |
125 |
- >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] |
126 |
- >=dev-python/keyring-15.1[${PYTHON_USEDEP}] |
127 |
- dev-python/packaging[${PYTHON_USEDEP}] |
128 |
- >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}] |
129 |
- >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}] |
130 |
- >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
131 |
- >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] |
132 |
- >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] |
133 |
- >=dev-python/tqdm-4.14[${PYTHON_USEDEP}] |
134 |
-" |
135 |
-BDEPEND=" |
136 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
137 |
- test? ( |
138 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
139 |
- dev-python/jaraco-functools[${PYTHON_USEDEP}] |
140 |
- dev-python/munch[${PYTHON_USEDEP}] |
141 |
- dev-python/portend[${PYTHON_USEDEP}] |
142 |
- dev-python/pretend[${PYTHON_USEDEP}] |
143 |
- dev-python/pypiserver[${PYTHON_USEDEP}] |
144 |
- dev-python/pytest[${PYTHON_USEDEP}] |
145 |
- ) |
146 |
-" |
147 |
- |
148 |
-distutils_enable_tests --install pytest |
149 |
- |
150 |
-python_prepare_all() { |
151 |
- # requires internet |
152 |
- rm -f tests/test_integration.py || die |
153 |
- # pytest-socket dep relevant only to test_integration, and upstream |
154 |
- # disables it anyway |
155 |
- sed -i -e '/--disable-socket/d' pytest.ini || die |
156 |
- sed -i -e '/--cov/d' pytest.ini || die |
157 |
- |
158 |
- distutils-r1_python_prepare_all |
159 |
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
160 |
-} |