1 |
commit: d601f69b93eed813f4bed81c7ec61f1c155530f4 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 1 18:45:27 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 1 18:45:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d601f69b |
7 |
|
8 |
dev-python/versioningit: add 2.0.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/versioningit/Manifest | 1 + |
13 |
dev-python/versioningit/versioningit-2.0.1.ebuild | 50 +++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest |
17 |
index c7f5dda67934..33a5275c2764 100644 |
18 |
--- a/dev-python/versioningit/Manifest |
19 |
+++ b/dev-python/versioningit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST versioningit-2.0.0.tar.gz 735138 BLAKE2B 59247c0a2ec85f828b1b36c7f7ff6981fdd430b242c262f7325586e8ab35410083e0a795e72204c9ad9c0c50bb02c047f8baa01c556f74d69a8ddfc9e911474b SHA512 d700e25f3b58efd87943a950ede66ad8814e3aeea1927bb68b51312a636684b16695c44492f4357595305a5a85a3fc8c411d80a02e9b157162844d731dcab93f |
22 |
+DIST versioningit-2.0.1.tar.gz 735415 BLAKE2B 92aefa4c565ba1e7e707e7ea53a139c64e645ca5e68c74f8ee516122996037061174f703b566458d947e131ed56cc0a9922ce23bf82680607591900a7cc88e36 SHA512 b6f8c578d36607731429e43a7bd349ac69e44943a7b9a79c9f70e1dd44201ee6af239a575ebb36a44e870ee2a121a91d1d63c8e63dadaac71139431ef2eb36e5 |
23 |
|
24 |
diff --git a/dev-python/versioningit/versioningit-2.0.1.ebuild b/dev-python/versioningit/versioningit-2.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..7af2c2936c5d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/versioningit/versioningit-2.0.1.ebuild |
29 |
@@ -0,0 +1,50 @@ |
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 |
+DESCRIPTION="A setuptools plugin for versioning based on git tags" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/jwodder/versioningit/ |
43 |
+ https://pypi.org/project/versioningit/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/packaging-17.1[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/pydantic[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+EPYTEST_IGNORE=( |
62 |
+ # Tries to do wheel/pip installs |
63 |
+ test/test_end2end.py |
64 |
+) |
65 |
+ |
66 |
+distutils_enable_tests pytest |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ sed -i \ |
70 |
+ -e '/--cov/d' \ |
71 |
+ -e '/-cov-/d' \ |
72 |
+ tox.ini || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |
76 |
+ |
77 |
+python_test() { |
78 |
+ epytest -p no:pytest-describe |
79 |
+} |