Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/osrf_pycommon/
Date: Thu, 22 Jul 2021 07:25:33
Message-Id: 1626938713.108128bbfa663c62570a2fab25cbdde8d5b7bb35.mgorny@gentoo
1 commit: 108128bbfa663c62570a2fab25cbdde8d5b7bb35
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 22 06:45:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 07:25:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108128bb
7
8 dev-python/osrf_pycommon: Bump to 0.2.1
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-0.2.1.ebuild | 29 ++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/osrf_pycommon/Manifest b/dev-python/osrf_pycommon/Manifest
17 index c66df3e411e..676acf15222 100644
18 --- a/dev-python/osrf_pycommon/Manifest
19 +++ b/dev-python/osrf_pycommon/Manifest
20 @@ -1 +1,2 @@
21 DIST osrf_pycommon-0.1.10.tar.gz 46303 BLAKE2B 3f18b8683a6363e1f15addfe75b8dee31f64fff7c286379d18355dc1f3467063c2cf1a9eb7978c5f9de5d64cb23d18a3922a416fe24fafa618f50f0ba89cddfe SHA512 5d53ea0c3c410a99964330dc22dcbcb3cd8892a359fee2061acc15ddb46e334ff757e8aa5b776fef381246c58e9834003ac818624da4b8e95552f214f3d9e6bb
22 +DIST osrf_pycommon-0.2.1.tar.gz 46633 BLAKE2B ba89f8d783446d52a328d126bcdfac721dba0a811007a55e48ebd3626e58b732d4f03cc2a042d517698d6708bc72e0ffede99ba82604d1f4204ef3c1da36601a SHA512 d05e6bcbb8e7b5506ea953d37c895dbca59765e9a26081aff2c4d213c02365a4254580843dd7624fe4a046afdb2d5b8935c1fcd4d60b6b1d71c4d22789d26371
23
24 diff --git a/dev-python/osrf_pycommon/osrf_pycommon-0.2.1.ebuild b/dev-python/osrf_pycommon/osrf_pycommon-0.2.1.ebuild
25 new file mode 100644
26 index 00000000000..76c71e1f7c8
27 --- /dev/null
28 +++ b/dev-python/osrf_pycommon/osrf_pycommon-0.2.1.ebuild
29 @@ -0,0 +1,29 @@
30 +# Copyright 2019-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 +DISTUTILS_USE_SETUPTOOLS=rdepend
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Commonly needed Python modules used by Python software developed at OSRF"
40 +HOMEPAGE="https://github.com/osrf/osrf_pycommon"
41 +SRC_URI="https://github.com/osrf/osrf_pycommon/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +BDEPEND="
48 + test? (
49 + dev-python/mock[${PYTHON_USEDEP}]
50 + )"
51 +
52 +distutils_enable_tests pytest
53 +
54 +python_test() {
55 + # linting is something upstreams do
56 + # for us, it either means unneeded deps or breakage due to changes
57 + epytest --ignore tests/test_code_format.py
58 +}