summaryrefslogtreecommitdiff
path: root/dev-python/python-debian
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-15 17:13:45 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-15 17:13:45 +0000
commite2d84e38284aeb9d522a7e935554340ddf0e4a6f (patch)
tree5a7444ee5f2af59431481999f729676090b1e0f3 /dev-python/python-debian
parent519e4d5d99fc43d5c9a038098c029dc4ef9d6792 (diff)
gentoo resync : 15.11.2017
Diffstat (limited to 'dev-python/python-debian')
-rw-r--r--dev-python/python-debian/Manifest4
-rw-r--r--dev-python/python-debian/python-debian-0.1.28.ebuild4
-rw-r--r--dev-python/python-debian/python-debian-0.1.31.ebuild41
3 files changed, 46 insertions, 3 deletions
diff --git a/dev-python/python-debian/Manifest b/dev-python/python-debian/Manifest
index 5889121a6c31..623657a8e3e4 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,5 +1,7 @@
DIST python-debian_0.1.28.tar.xz 292404 SHA256 355edeaa0e2d5a46e4b12c83c7a17386526af4fee34c1d4054fc03bd4f0adf00 SHA512 ffbc924fe2dfd5790d49aacf80109bbaa18126bb8d6c9b8ffa25e9ed8b1cdeb28024a8dc202587682088e2e558da1642385faa4afda925cbb2edf6f304592a0d WHIRLPOOL 6f1778dd6839459e86179f5f02ba0a6e69154efcfc034c1d554d940409e974b57c73839853c86b14d840f27c6a0666a11618f51a125922e58596f28aa888c8ca
-EBUILD python-debian-0.1.28.ebuild 983 SHA256 e8438a343a8832e4f888cdbc005c8e11ebea16a718db39e8b2c664a9ac849a4d SHA512 4c23d9dd33e82dd8a89f2b6aecafe14491024d9d22cd7142cc93382d47119bb8542f7cc7b17e44031838d10e4681965bae3012c05363bac1c91e06d805c7c48f WHIRLPOOL bb8cffad818d65b6fb8695e8d61129cf0921760c52bf5f5a6f84b752e9d88795ff8ea4b6b7f4e95530e72e9abda630d91391979b18fc75f3e475523d64000461
+DIST python-debian_0.1.31.tar.xz 295720 SHA256 942968340c5b8fbabe89f1081940ec7baeca0cdbd7f82bdcbda98da511ce35b3 SHA512 d2bf071b088e53ac132f91e5983c092bddb9736b3fd1394dfd2654fb8b6af7f89982af8debba8c4af21086d4f8a3ef86393fdef25ef18bcf71dcb00a60a8ae5b WHIRLPOOL 1edd2ac1d1aa3d45d591c7f1a40f02243b188f4299cd781aa043168e9cf05ffa3dcba3ee742446835eaaa35a3cf8b4a42a3e0d39350ce99ee24f4d3b3055b779
+EBUILD python-debian-0.1.28.ebuild 984 SHA256 9ceda70ccc1e224338222533189a3b19307585fa8fdc9e46558eeea7e3bdce9d SHA512 365ceb69505d32076eb84ce231049ebedb06e79a34d69ebd9658ad515ff9148f874e03b00a07604dbc425fc66ff661e465dfcb19931c058f17b1fe3a429b394b WHIRLPOOL fd87dda4f3f68b8494b83b277b77332c28383236de0f9dbf9a45970da6ebf8d77fd6096492a484c188c9db2f48c0ce0b058adca5b5087cd8abb0516ab3b77365
+EBUILD python-debian-0.1.31.ebuild 1014 SHA256 2fad95b07d00e09d8ef81d291e4242f9c1ffa8fdbe7bd42f7947068bb58fac02 SHA512 4161402726f04af0c2f836e8a1d2a87bc03cd10501509a06b15753c87326f0d9b2375f0178b05cca842234c56e25dad1c5a2c9b2bd72867ddfb1e1a3ce273edf WHIRLPOOL 32559d0a50e35cf039317335a75ce041a14a77a44e654845cf67c103436c2703ef9b0044e38dbcdfccfc6cc9703372e38e0ebce261a0432b87d296d317efcbb0
MISC ChangeLog 3426 SHA256 97c7cd8e4e9db63f44eee89c344efeacdd8028135d0b799bba41b88ec1e34847 SHA512 3e5b3061b1a1860c476e2b88c1ebc4c1bf4a9e84c76774c1f398b708d7b0d87c39b913e8024dd7791f3b9090cc69d10f917b9542a05dec05f74701dd551fedc9 WHIRLPOOL 77b41e162f247253dfef91bc3960a26758c843a4bff5192aa10677de1d299db1e72377d0cf738e0bc4fc6417007a2c4db058103e29c4ef9c1dc5806dca384f31
MISC ChangeLog-2015 2057 SHA256 6291b25829b72f62e2636a2dae06d2f8fabf24f4e1b8730eced736eaf59db0ef SHA512 313296b453b36e0f95b78324104cdc0e45617fdeab076d3ee8e72505b93d991e8410a2fcaa8ed0e9185546592b446d8c4e47e03c686b60d694cde66abd5b03ec WHIRLPOOL b609ab8cbeb6619fb68e7ac7793b19be413e62d5708e91230ff23a3a183b6bc40a45b93f4f5aec8dd7c2413dfd26098eecac5985b8e9bfebb7527478d85bb738
MISC metadata.xml 357 SHA256 95dfb9f3359ea566680dc61c7e47ac1f757ba9da96506c4004ce92f1baf306ef SHA512 452510eeb22c1db33118dfcd518488f42be0789b5607c9b76d316b14c6d1a474b6bfeddfc4034389a136c408bc4180ad704b6e1b0eac1381f9a77284b7016e39 WHIRLPOOL c3d60d51c48100d7ef6ee3ba1d5bdc5ce872e81f397127ba0a6612cc2d85d45c4dc42764f8610ce583d76f4d43d080afe1ff966457b4144e9c7c67b585d33ac6
diff --git a/dev-python/python-debian/python-debian-0.1.28.ebuild b/dev-python/python-debian/python-debian-0.1.28.ebuild
index ba4f1f045850..427a310a47e1 100644
--- a/dev-python/python-debian/python-debian-0.1.28.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
inherit distutils-r1
DESCRIPTION="Python modules to work with Debian-related data formats"
-HOMEPAGE="http://packages.debian.org/sid/python-debian"
+HOMEPAGE="https://packages.debian.org/sid/python-debian"
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2 GPL-3"
diff --git a/dev-python/python-debian/python-debian-0.1.31.ebuild b/dev-python/python-debian/python-debian-0.1.31.ebuild
new file mode 100644
index 000000000000..d563a839202d
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.31.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python modules to work with Debian-related data formats"
+HOMEPAGE="https://packages.debian.org/sid/python-debian"
+SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-python/chardet[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( app-arch/dpkg )"
+
+RESTRICT="test"
+
+python_prepare_all() {
+ sed -i -e '/import apt_pkg/d' \
+ -e 's/test_iter_paragraphs_comments_use_apt_pkg/_&/' \
+ lib/debian/tests/test_deb822.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ "${PYTHON}" lib/debian/doc-debtags > README.debtags || die
+}
+
+python_test() {
+ "${PYTHON}" -m unittest discover lib || die "Testing failed with ${EPYTHON}"
+}