summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-02 08:00:26 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-02 08:13:18 +0100
commitdc0f79536a2b155ddabba891e7bdb9021ac3c7c5 (patch)
tree8e6b23e1e9cc0c68aadd7e44b66fa4418bef945e /dev-python/osrf_pycommon
parentdev-python/coverage: Bump to 6.3.1 (diff)
downloadgentoo-dc0f79536a2b155ddabba891e7bdb9021ac3c7c5.tar.gz
gentoo-dc0f79536a2b155ddabba891e7bdb9021ac3c7c5.tar.bz2
gentoo-dc0f79536a2b155ddabba891e7bdb9021ac3c7c5.zip
dev-python/osrf_pycommon: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/osrf_pycommon')
-rw-r--r--dev-python/osrf_pycommon/Manifest1
-rw-r--r--dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/osrf_pycommon/Manifest b/dev-python/osrf_pycommon/Manifest
index 96192f531cd7..753f5a7633c2 100644
--- a/dev-python/osrf_pycommon/Manifest
+++ b/dev-python/osrf_pycommon/Manifest
@@ -1 +1,2 @@
DIST osrf_pycommon-1.0.0.tar.gz 45084 BLAKE2B 83bfd5393575a5032e72ae93c9c3eec87d2907ce3fbd3e9fe14a94e5470d61594ab75bca394ec4b7960bbdb16c3ec060966bd6bf47f9a4037d530501c7ce947f SHA512 ff7204116c94eef972b7071f8d6c68fd7cdb1a518fd6c77cd47f54e5390815ff4b6a7d265ef3ed0093c1baa20eb332d69e92926e856da0e34b7186100b688d83
+DIST osrf_pycommon-2.0.0.tar.gz 45467 BLAKE2B bcf111183b66dd19e24182e6fee75674f0481bdeb2498ea2a0d10c56977651da60f94444706df525ee71f64d5eb1a24e2e5b4acaf13f19f94b787ce5b424c81e SHA512 ebb06a86c3527ea9dfb24778410a7f84d5560216aedd4ed5fe0b22660b6fbf9625d093dc8653db58a2cc7f3a81e6c4a2770fca90694441cdb141fb840935c50e
diff --git a/dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild b/dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild
new file mode 100644
index 000000000000..c05eb3531f96
--- /dev/null
+++ b/dev-python/osrf_pycommon/osrf_pycommon-2.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Commonly needed Python modules used by Python software developed at OSRF"
+HOMEPAGE="https://github.com/osrf/osrf_pycommon"
+SRC_URI="https://github.com/osrf/osrf_pycommon/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ # linting is something upstreams do
+ # for us, it either means unneeded deps or breakage due to changes
+ epytest --ignore tests/test_code_format.py
+}