1 |
commit: 7270edfadcd70ce8f18f4cdc1b865a35c06559ae |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 25 07:28:07 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 25 07:29:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7270edfa |
7 |
|
8 |
dev-python/pockets: enable py3.10, enable tests |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pockets/Manifest | 1 + |
13 |
dev-python/pockets/pockets-0.9.1-r2.ebuild | 33 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pockets/Manifest b/dev-python/pockets/Manifest |
17 |
index f94e6731c7f..c7365505cc1 100644 |
18 |
--- a/dev-python/pockets/Manifest |
19 |
+++ b/dev-python/pockets/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST pockets-0.9.1.gh.tar.gz 42077 BLAKE2B 0cdc5a63389b7c01df9a2e63fc1e18edfb8471da8084832b3381141459932146fd46e2e1cf8f87fbf33fea8204a46596566be62ca6c5780985f0d7bd18d5d3e3 SHA512 a24418759bc133a0c62cf0a606a851d00cf1bd280c731065b92fb96a5274a45bc2266a4e1fec3db929aacec5baab774667052e7b732a53c4c4a217663c02ec7b |
22 |
DIST pockets-0.9.1.tar.gz 24993 BLAKE2B 9962655f755bb96853f1b4450f2bdcbd111ba945dc3a5cdaad84bb43a84150e7384ecb3c5758274b9cf578adc1c8991c163c56f72a00a00bf8fed634397e02af SHA512 436f2fd8cfb9c5612733b1163d381f52c28b8749de28f5e0de609d012ccfc10ad77a31851d3e1010feef5b517f287f1e5c7fc4b447e7b080e5536fdaf8d2e9d6 |
23 |
|
24 |
diff --git a/dev-python/pockets/pockets-0.9.1-r2.ebuild b/dev-python/pockets/pockets-0.9.1-r2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..9524e493f30 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pockets/pockets-0.9.1-r2.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+# No tags upstream, https://github.com/RobRuana/pockets/issues/5 |
40 |
+COMMIT="777724c8eabaf76f6d0c5e4837c982d110509b2e" |
41 |
+ |
42 |
+DESCRIPTION="Collection of helpful Python tools" |
43 |
+HOMEPAGE="https://pypi.org/project/pockets/" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/RobRuana/pockets/archive/${COMMIT}.tar.gz |
46 |
+ -> ${P}.gh.tar.gz |
47 |
+" |
48 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
53 |
+ |
54 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
55 |
+BDEPEND="test? ( dev-python/pytz[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ sed -i -e 's/description-file/description_file/g' "${S}/setup.cfg" ||die |
61 |
+ default |
62 |
+} |