1 |
commit: bdb55501752eec3ddc503e9589152a31e47c939d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 04:30:33 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 05:16:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb55501 |
7 |
|
8 |
dev-python/minimock: Use PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/minimock/Manifest | 1 + |
13 |
dev-python/minimock/minimock-1.3.0-r1.ebuild | 32 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/minimock/Manifest b/dev-python/minimock/Manifest |
17 |
index 30aa149a6444..6f53f4d0a114 100644 |
18 |
--- a/dev-python/minimock/Manifest |
19 |
+++ b/dev-python/minimock/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST minimock-1.3.0.gh.tar.gz 13828 BLAKE2B ed60d9725ada7173f88cdd64d76e3674fbeff352f4ead919f2a3a94ec871189051da29da5ee285b4d663eee143da847c95e35286cf33a587abb7fe95e02a4824 SHA512 de7feef7fee044ba45a52d7c83905d082ad2ed2c3d12b294a6995086b377a22317730326946d048b19063758f158a9bee7bbb6a79c9ae0b4ba7a93e4a21ea196 |
22 |
DIST minimock-1.3.0.tar.gz 13828 BLAKE2B ed60d9725ada7173f88cdd64d76e3674fbeff352f4ead919f2a3a94ec871189051da29da5ee285b4d663eee143da847c95e35286cf33a587abb7fe95e02a4824 SHA512 de7feef7fee044ba45a52d7c83905d082ad2ed2c3d12b294a6995086b377a22317730326946d048b19063758f158a9bee7bbb6a79c9ae0b4ba7a93e4a21ea196 |
23 |
|
24 |
diff --git a/dev-python/minimock/minimock-1.3.0-r1.ebuild b/dev-python/minimock/minimock-1.3.0-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..157ddf2d15df |
27 |
--- /dev/null |
28 |
+++ b/dev-python/minimock/minimock-1.3.0-r1.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P="MiniMock-${PV}" |
41 |
+DESCRIPTION="The simplest possible mock library" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/lowks/minimock/ |
44 |
+ https://pypi.org/project/MiniMock/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/lowks/minimock/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
54 |
+ |
55 |
+DOCS=( CHANGELOG.txt README.rst ) |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_test() { |
60 |
+ epytest --doctest-modules |
61 |
+} |