1 |
commit: 96f672996d9789112ac48b4d2b4895ac0e9431c2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 2 09:07:52 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 2 09:20:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96f67299 |
7 |
|
8 |
dev-python/wheel: Bump to 0.36.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/wheel/Manifest | 1 + |
13 |
dev-python/wheel/wheel-0.36.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest |
17 |
index a74cc6c375e..4df43acb817 100644 |
18 |
--- a/dev-python/wheel/Manifest |
19 |
+++ b/dev-python/wheel/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST wheel-0.35.1.gh.tar.gz 63563 BLAKE2B d1432a638b91e821cb9b9fc748567b9ad18bbfd4737cee915ee3e2c585c4758e79bcf163edac56a09f9e356d81a057214c8e84c5c75b45505c67aa761e97fe3f SHA512 34cd6d1a649842abd895418c0183e68f44e228be905041e1dd8562987fbab8aa617da9b78479cb8d56fb6bb8714ec1085b87640c385bfc933e215f6e33ccf55b |
22 |
+DIST wheel-0.36.0.gh.tar.gz 65186 BLAKE2B 384dea20a6fdc2e9cc581c1e30814ac84285b8ca2ac5588fc837a1e27add493dedd38ead643776d1353a98cafa45a609e9655168fd09944cfe016d99e357fcd2 SHA512 1f851dfc18fa96d67bb96c61eec15999c46ea77c490173b71121810480f3c30f2de770a2e6e0712d04f35c91fcadbb276b05968e2b5db76dea882929f555f983 |
23 |
|
24 |
diff --git a/dev-python/wheel/wheel-0.36.0.ebuild b/dev-python/wheel/wheel-0.36.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3878e8e58ef |
27 |
--- /dev/null |
28 |
+++ b/dev-python/wheel/wheel-0.36.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
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 |
+ |
38 |
+inherit distutils-r1 eutils |
39 |
+ |
40 |
+DESCRIPTION="A built-package format for Python" |
41 |
+HOMEPAGE="https://pypi.org/project/wheel/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ sed \ |
53 |
+ -e 's:--cov=wheel::g' \ |
54 |
+ -i setup.cfg || die |
55 |
+ distutils-r1_src_prepare |
56 |
+} |
57 |
+ |
58 |
+python_test() { |
59 |
+ if ! python_is_python3; then |
60 |
+ # install fails due to unicode in paths |
61 |
+ ewarn "Testing is broken with py2.7, please test externally" |
62 |
+ return |
63 |
+ fi |
64 |
+ |
65 |
+ distutils_install_for_testing |
66 |
+ pytest -vv || die "Tests failed with ${EPYTHON}" |
67 |
+} |