diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-15 09:02:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-06-15 13:32:35 +0200 |
commit | 9eec3b5ce76ac7c3d7b50527bc414bed1910ddbe (patch) | |
tree | f28112d41b46cf0352e52f4eb976c0bd840ec922 /dev-python/python-debian | |
parent | dev-python/pylint: Bump to 2.14.2 (diff) | |
download | gentoo-9eec3b5ce76ac7c3d7b50527bc414bed1910ddbe.tar.gz gentoo-9eec3b5ce76ac7c3d7b50527bc414bed1910ddbe.tar.bz2 gentoo-9eec3b5ce76ac7c3d7b50527bc414bed1910ddbe.zip |
dev-python/python-debian: Bump to 0.1.44
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-debian')
-rw-r--r-- | dev-python/python-debian/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-debian/python-debian-0.1.44.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/python-debian/Manifest b/dev-python/python-debian/Manifest index de536ceb6030..be797da053d3 100644 --- a/dev-python/python-debian/Manifest +++ b/dev-python/python-debian/Manifest @@ -1 +1,2 @@ DIST python-debian_0.1.43.tar.xz 175832 BLAKE2B 2b43da25392c844a3c8fa8e159695ef4c871c6620be88d286abde31b9285e3f005e3c20997617d24014fe94a1a3c446c8721f8d92c35018ac308da8703788bcd SHA512 510dd37ef65be2ee0f9c4c4c15010b94fc7c05c621de2cb25fee4f6e741f51dff2e4cdc333313bac8269bfa621533217b3f72ecbd8b0b6368aa52c54e5237bb6 +DIST python-debian_0.1.44.tar.xz 179372 BLAKE2B 39d19c46e956231cda7c1fdb3ca89f8ef579d61e6bff06b35114184b2596516b3a01f756ff8e34e9a0dab669658cce7b8fdbfa39ed770df376acf6c4c6fb1401 SHA512 34c627cf32647f196a4b41a8913fd9aaefcfd6c96d21cc8f9798723ac11dac371574f62af9e549437188f2f492cb80445e33f35c72b6fa8212223029371a7b33 diff --git a/dev-python/python-debian/python-debian-0.1.44.ebuild b/dev-python/python-debian/python-debian-0.1.44.ebuild new file mode 100644 index 000000000000..3c07375c1483 --- /dev/null +++ b/dev-python/python-debian/python-debian-0.1.44.ebuild @@ -0,0 +1,48 @@ +# Copyright 2011-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python modules to work with Debian-related data formats" +HOMEPAGE=" + https://salsa.debian.org/python-debian-team/python-debian/ + https://pypi.org/project/python-debian/ +" +SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + app-arch/dpkg + ) +" + +distutils_enable_tests unittest + +python_prepare_all() { + # See debian/rules. + sed -e "s/__CHANGELOG_VERSION__/${PV}/" lib/debian/_version.py.in \ + > lib/debian/_version.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + # See debian/rules. + "${EPYTHON}" lib/debian/doc-debtags > README.debtags || die +} + +python_test() { + eunittest lib +} |