1 |
commit: dc0f79536a2b155ddabba891e7bdb9021ac3c7c5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 2 07:00:26 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 2 07:13:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0f7953 |
7 |
|
8 |
dev-python/osrf_pycommon: Bump to 2.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/osrf_pycommon/Manifest | 1 + |
13 |
.../osrf_pycommon/osrf_pycommon-2.0.0.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/osrf_pycommon/Manifest b/dev-python/osrf_pycommon/Manifest |
17 |
index 96192f531cd7..753f5a7633c2 100644 |
18 |
--- a/dev-python/osrf_pycommon/Manifest |
19 |
+++ b/dev-python/osrf_pycommon/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST osrf_pycommon-1.0.0.tar.gz 45084 BLAKE2B 83bfd5393575a5032e72ae93c9c3eec87d2907ce3fbd3e9fe14a94e5470d61594ab75bca394ec4b7960bbdb16c3ec060966bd6bf47f9a4037d530501c7ce947f SHA512 ff7204116c94eef972b7071f8d6c68fd7cdb1a518fd6c77cd47f54e5390815ff4b6a7d265ef3ed0093c1baa20eb332d69e92926e856da0e34b7186100b688d83 |
22 |
+DIST osrf_pycommon-2.0.0.tar.gz 45467 BLAKE2B bcf111183b66dd19e24182e6fee75674f0481bdeb2498ea2a0d10c56977651da60f94444706df525ee71f64d5eb1a24e2e5b4acaf13f19f94b787ce5b424c81e SHA512 ebb06a86c3527ea9dfb24778410a7f84d5560216aedd4ed5fe0b22660b6fbf9625d093dc8653db58a2cc7f3a81e6c4a2770fca90694441cdb141fb840935c50e |
23 |
|
24 |
diff --git a/dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild b/dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c05eb3531f96 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 2019-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="Commonly needed Python modules used by Python software developed at OSRF" |
41 |
+HOMEPAGE="https://github.com/osrf/osrf_pycommon" |
42 |
+SRC_URI="https://github.com/osrf/osrf_pycommon/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+ |
48 |
+BDEPEND=" |
49 |
+ test? ( |
50 |
+ dev-python/mock[${PYTHON_USEDEP}] |
51 |
+ )" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+python_test() { |
56 |
+ # linting is something upstreams do |
57 |
+ # for us, it either means unneeded deps or breakage due to changes |
58 |
+ epytest --ignore tests/test_code_format.py |
59 |
+} |