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/python-debian/
Date: Tue, 29 Jun 2021 06:05:09
Message-Id: 1624946694.9a7726b25b29c4dafa707eba094bbcea5e7286a8.mgorny@gentoo
1 commit: 9a7726b25b29c4dafa707eba094bbcea5e7286a8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 29 05:42:03 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 06:04:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7726b2
7
8 dev-python/python-debian: Bump to 0.1.40
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-debian/Manifest | 1 +
13 .../python-debian/python-debian-0.1.40.ebuild | 36 ++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/python-debian/Manifest b/dev-python/python-debian/Manifest
17 index 722f036b997..ef60d287df9 100644
18 --- a/dev-python/python-debian/Manifest
19 +++ b/dev-python/python-debian/Manifest
20 @@ -1 +1,2 @@
21 DIST python-debian_0.1.39.tar.xz 319020 BLAKE2B de38ddc6e4878404f9685a264e1198e513cb57f7bfea064e4512ee00049d007b6007ee7fea42e18bd2f12dc8132582fbea2235694b5f908c9ae5cbc830cfe98a SHA512 de29ef224a17b149dde8cf6bb4b9fe77aa1fdfc040463163fb97f7e4ed283f16af43422e26c352183fd74e9e0ff6b41a91ee18c63b5534d5c9de2ef663c8f4df
22 +DIST python-debian_0.1.40.tar.xz 319952 BLAKE2B 4d5c2d3202ef09fc8eba4e0c4f9a5861d0662f288768cb9026e1ab43309a57fb21c0b8e87734c9310f39646e071947b31b17bd48b71510e7d783af9f337c3ed1 SHA512 73ed735a3c7bb43208aa26ea9fd64fc658e111dc201ae8c1947a4e5835ebd675e37b78d2895d72bd5ed2b6afa491e77b50bd5f10d62ea8299fbdda6c0b9e5095
23
24 diff --git a/dev-python/python-debian/python-debian-0.1.40.ebuild b/dev-python/python-debian/python-debian-0.1.40.ebuild
25 new file mode 100644
26 index 00000000000..dfab437931a
27 --- /dev/null
28 +++ b/dev-python/python-debian/python-debian-0.1.40.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 2011-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 +inherit distutils-r1
37 +
38 +DESCRIPTION="Python modules to work with Debian-related data formats"
39 +HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian"
40 +SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
41 +
42 +LICENSE="GPL-2 GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~x86"
45 +
46 +RDEPEND="
47 + dev-python/chardet[${PYTHON_USEDEP}]
48 + dev-python/six[${PYTHON_USEDEP}]
49 +"
50 +
51 +BDEPEND="
52 + test? ( app-arch/dpkg )
53 +"
54 +
55 +distutils_enable_tests unittest
56 +
57 +PATCHES=( "${FILESDIR}/0.1.39-disable-apt-pkg.patch" )
58 +
59 +python_compile_all() {
60 + ${EPYTHON} lib/debian/doc-debtags > README.debtags || die
61 +}
62 +
63 +python_test() {
64 + eunittest lib
65 +}