1 |
commit: b5f1f67cfd68452cbe5557b082b087175998361b |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 3 08:43:37 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 08:43:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f1f67c |
7 |
|
8 |
dev-python/python-utils: bump to 2.4.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/python-utils/Manifest | 1 + |
14 |
dev-python/python-utils/python-utils-2.4.0.ebuild | 27 +++++++++++++++++++++++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest |
18 |
index 187109d9611..0b9fd897533 100644 |
19 |
--- a/dev-python/python-utils/Manifest |
20 |
+++ b/dev-python/python-utils/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST python-utils-2.3.0.tar.gz 19384 BLAKE2B 1746deadc8dbaf49a6499fe9c79d25c2b5cfea68e2d1b7ab6f88aa72807eedcdb338058e24a7822c6360dea36f1a044145572443c57f43f4cfed765a76e48f0b SHA512 482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a |
23 |
+DIST python-utils-2.4.0.tar.gz 22230 BLAKE2B 1c144f62a009a2470ec43341283048842cba61f1b677e8b1d197d3ef39dd1d890b364e63ed8da0b30ad5560d335ab0eb2dfc329ff6dfea86c0f64e909de730b9 SHA512 bfad0ef30383df634b89bb2206a00e45434eff9fee9ba0eeab99361bacfb56f3fb420019608b639713a7e8777870de75becb1d7b48aa09c582df27f9ebe8c512 |
24 |
|
25 |
diff --git a/dev-python/python-utils/python-utils-2.4.0.ebuild b/dev-python/python-utils/python-utils-2.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..880245a0fc3 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/python-utils/python-utils-2.4.0.ebuild |
30 |
@@ -0,0 +1,27 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6..9} pypy3) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Collection of small Python functions & classes" |
40 |
+HOMEPAGE="https://pypi.org/project/python-utils/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed" |
53 |
+ find . -name '*.pyc' -exec rm -f {} \; || die "Cleaning *.pyc failed" |
54 |
+ sed -i -e '/--cov/d' -e '/--pep8/d' -e '/--flakes/d' pytest.ini || die |
55 |
+ sed -i -e 's/+ pytest-runner//' setup.py || die |
56 |
+ distutils-r1_python_prepare_all |
57 |
+} |