[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2024-05-18 Thread Michał Górny
commit: bff13a4300423d40f885bf4e10053a164c1a7482
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 08:13:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 08:36:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff13a43

dev-python/python-debian: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/python-debian-0.1.49.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
index d99f43c8102f..12bd8fe0660b 100644
--- a/dev-python/python-debian/python-debian-0.1.49.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.49.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2011-2023 Gentoo Authors
+# Copyright 2011-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2024-05-18 Thread Michał Górny
commit: 92df4beb37a6bfeba03e5eee8046baf8f3dcd3ad
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 08:35:25 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 08:36:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92df4beb

dev-python/python-debian: Silence QA warnings

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/python-debian-0.1.49.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
index 12bd8fe0660b..855bcbe7bcc8 100644
--- a/dev-python/python-debian/python-debian-0.1.49.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.49.ebuild
@@ -32,10 +32,13 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_prepare_all() {
+   distutils-r1_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
+   # silence false positives
+   rm -rf debian || die
 }
 
 python_compile_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2023-11-24 Thread Arthur Zamarin
commit: 296e3763825a90063dd7250bb4c4ce5be3b52295
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 24 15:24:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 24 15:24:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296e3763

dev-python/python-debian: Stabilize 0.1.49 arm64, #918353

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python-debian/python-debian-0.1.49.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
index d97afed7f39a..d99f43c8102f 100644
--- a/dev-python/python-debian/python-debian-0.1.49.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.49.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 x86"
+KEYWORDS="amd64 arm arm64 x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2023-06-01 Thread Michał Górny
commit: 4282bc3264524701c66a99951c030f45ee5a66e5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  1 13:59:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  1 14:00:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4282bc32

dev-python/python-debian: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/python-debian-0.1.49.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
index fd88bfd9199c..d97afed7f39a 100644
--- a/dev-python/python-debian/python-debian-0.1.49.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.49.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2011-2022 Gentoo Authors
+# Copyright 2011-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-12-31 Thread Michał Górny
commit: a3e5aaa8ea98eb644ca3a5130b06a49a0236574e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 31 11:06:59 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 31 11:06:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e5aaa8

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.48.ebuild  | 48 --
 2 files changed, 49 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 0d9e67906fa8..85e2989d4069 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.48.tar.xz 189096 BLAKE2B 
3b273f1e90069e00a93aeb9c2333d20d479b057613c93325344f42a73230bd569160a487a25d1c7f90f7f00f42feeab55c9850cf44121e1ca423cd1f40a991a4
 SHA512 
85bd12ce8ade9b43d502bd60ac1ac826d9a81b5bf32262ff9377b4ba5a1c95306683098d10a64fd6a1331ed7eb44a7fb09ad90f0ee6c885d69ea16f85c4eda59
 DIST python-debian_0.1.49.tar.xz 191388 BLAKE2B 
590e6f7877684caaa5a74f06d335bcf7808960968209cf18bb2cec7e81f33a3b0ff458bbe30264ae5fc015de9357dddb1522b5fd93bf33d0a7fabef1b7dd98f9
 SHA512 
201ceecdd8c1d3dc0cca0f661407bcfb825a1cba07c528858cc1123ab16afe0df50e338c8cd82ea24230812a9cc136220bd4f0dccbac19ad53efe48eaa25cf6f

diff --git a/dev-python/python-debian/python-debian-0.1.48.ebuild 
b/dev-python/python-debian/python-debian-0.1.48.ebuild
deleted file mode 100644
index 15b1e315ea43..
--- a/dev-python/python-debian/python-debian-0.1.48.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-12-31 Thread Arthur Zamarin
commit: 34e5ce1283140992e6124076fc350f4764223d8c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 31 10:59:39 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 31 10:59:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e5ce12

dev-python/python-debian: Stabilize 0.1.49 ALLARCHES, #889126

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python-debian/python-debian-0.1.49.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
index 5daf3ded63cd..fd88bfd9199c 100644
--- a/dev-python/python-debian/python-debian-0.1.49.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.49.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 arm ~arm64 x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-11-29 Thread James Le Cuirot
commit: 04f672e0243a5af3ae4a656119b033d2ad00f030
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Nov 29 23:18:12 2022 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Nov 29 23:18:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f672e0

dev-python/python-debian: Keyword 0.1.49 for ~arm64

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/python-debian/python-debian-0.1.49.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
index b1cc03134cca..5daf3ded63cd 100644
--- a/dev-python/python-debian/python-debian-0.1.49.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.49.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-11-19 Thread Michał Górny
commit: 35c05217d410d6f4c19840a446122e7ac2489fa2
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 20 06:19:57 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 20 07:44:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c05217

dev-python/python-debian: Bump to 0.1.49

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.49.ebuild  | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 31422edc4d80..0d9e67906fa8 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.48.tar.xz 189096 BLAKE2B 
3b273f1e90069e00a93aeb9c2333d20d479b057613c93325344f42a73230bd569160a487a25d1c7f90f7f00f42feeab55c9850cf44121e1ca423cd1f40a991a4
 SHA512 
85bd12ce8ade9b43d502bd60ac1ac826d9a81b5bf32262ff9377b4ba5a1c95306683098d10a64fd6a1331ed7eb44a7fb09ad90f0ee6c885d69ea16f85c4eda59
+DIST python-debian_0.1.49.tar.xz 191388 BLAKE2B 
590e6f7877684caaa5a74f06d335bcf7808960968209cf18bb2cec7e81f33a3b0ff458bbe30264ae5fc015de9357dddb1522b5fd93bf33d0a7fabef1b7dd98f9
 SHA512 
201ceecdd8c1d3dc0cca0f661407bcfb825a1cba07c528858cc1123ab16afe0df50e338c8cd82ea24230812a9cc136220bd4f0dccbac19ad53efe48eaa25cf6f

diff --git a/dev-python/python-debian/python-debian-0.1.49.ebuild 
b/dev-python/python-debian/python-debian-0.1.49.ebuild
new file mode 100644
index ..b1cc03134cca
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.49.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 pytest
+
+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() {
+   epytest --doctest-modules lib
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-11-19 Thread Arthur Zamarin
commit: 99b64b7470c6851876eb6236d24abc9c863a1a3c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 19 08:47:09 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 19 08:47:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b64b74

dev-python/python-debian: drop 0.1.47

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.47.ebuild  | 48 --
 2 files changed, 49 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 13714ea5f0aa..31422edc4d80 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.47.tar.xz 189036 BLAKE2B 
b929b3785064560bbad202d95d88fa330a9fb34e0dc4338865ce17910c9ff986696778dba847097fa1ccbb04ad6b298a5b84e4a550e038ca754a598d78f7cbef
 SHA512 
fdf37476d4658b790ea4bbb43fca43a627cc569881f9e45666eae4221ddb71d57eba7d009e06e8e2864cd41c7718b9bf41e319f6fc0785549b6171de981b6ed7
 DIST python-debian_0.1.48.tar.xz 189096 BLAKE2B 
3b273f1e90069e00a93aeb9c2333d20d479b057613c93325344f42a73230bd569160a487a25d1c7f90f7f00f42feeab55c9850cf44121e1ca423cd1f40a991a4
 SHA512 
85bd12ce8ade9b43d502bd60ac1ac826d9a81b5bf32262ff9377b4ba5a1c95306683098d10a64fd6a1331ed7eb44a7fb09ad90f0ee6c885d69ea16f85c4eda59

diff --git a/dev-python/python-debian/python-debian-0.1.47.ebuild 
b/dev-python/python-debian/python-debian-0.1.47.ebuild
deleted file mode 100644
index 15b1e315ea43..
--- a/dev-python/python-debian/python-debian-0.1.47.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-11-19 Thread Arthur Zamarin
commit: e842f5d3e45c768218cbf97a10ae7492570ea46e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 19 08:46:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 19 08:46:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e842f5d3

dev-python/python-debian: Stabilize 0.1.48 ALLARCHES, #881933

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python-debian/python-debian-0.1.48.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.48.ebuild 
b/dev-python/python-debian/python-debian-0.1.48.ebuild
index 3c07375c1483..15b1e315ea43 100644
--- a/dev-python/python-debian/python-debian-0.1.48.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.48.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-10-15 Thread Michał Górny
commit: bbad117d7782c42f4f29c59b35808034f3b7aa24
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 15 06:50:27 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 15 08:04:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbad117d

dev-python/python-debian: Bump to 0.1.48

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.48.ebuild  | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 61789bc93890..13714ea5f0aa 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.47.tar.xz 189036 BLAKE2B 
b929b3785064560bbad202d95d88fa330a9fb34e0dc4338865ce17910c9ff986696778dba847097fa1ccbb04ad6b298a5b84e4a550e038ca754a598d78f7cbef
 SHA512 
fdf37476d4658b790ea4bbb43fca43a627cc569881f9e45666eae4221ddb71d57eba7d009e06e8e2864cd41c7718b9bf41e319f6fc0785549b6171de981b6ed7
+DIST python-debian_0.1.48.tar.xz 189096 BLAKE2B 
3b273f1e90069e00a93aeb9c2333d20d479b057613c93325344f42a73230bd569160a487a25d1c7f90f7f00f42feeab55c9850cf44121e1ca423cd1f40a991a4
 SHA512 
85bd12ce8ade9b43d502bd60ac1ac826d9a81b5bf32262ff9377b4ba5a1c95306683098d10a64fd6a1331ed7eb44a7fb09ad90f0ee6c885d69ea16f85c4eda59

diff --git a/dev-python/python-debian/python-debian-0.1.48.ebuild 
b/dev-python/python-debian/python-debian-0.1.48.ebuild
new file mode 100644
index ..3c07375c1483
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.48.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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-10-03 Thread Michał Górny
commit: 3719493509c6c400368f9709919719bd348d05be
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  3 06:42:06 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  3 06:42:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37194935

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.44.ebuild  | 48 --
 2 files changed, 49 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 45cad158360a..61789bc93890 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.44.tar.xz 179372 BLAKE2B 
39d19c46e956231cda7c1fdb3ca89f8ef579d61e6bff06b35114184b2596516b3a01f756ff8e34e9a0dab669658cce7b8fdbfa39ed770df376acf6c4c6fb1401
 SHA512 
34c627cf32647f196a4b41a8913fd9aaefcfd6c96d21cc8f9798723ac11dac371574f62af9e549437188f2f492cb80445e33f35c72b6fa8212223029371a7b33
 DIST python-debian_0.1.47.tar.xz 189036 BLAKE2B 
b929b3785064560bbad202d95d88fa330a9fb34e0dc4338865ce17910c9ff986696778dba847097fa1ccbb04ad6b298a5b84e4a550e038ca754a598d78f7cbef
 SHA512 
fdf37476d4658b790ea4bbb43fca43a627cc569881f9e45666eae4221ddb71d57eba7d009e06e8e2864cd41c7718b9bf41e319f6fc0785549b6171de981b6ed7

diff --git a/dev-python/python-debian/python-debian-0.1.44.ebuild 
b/dev-python/python-debian/python-debian-0.1.44.ebuild
deleted file mode 100644
index 15b1e315ea43..
--- a/dev-python/python-debian/python-debian-0.1.44.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-10-02 Thread Arthur Zamarin
commit: 3f00654b9c279dc0370c4c32eb1df34c93584f6a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  2 19:42:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  2 19:42:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f00654b

dev-python/python-debian: Stabilize 0.1.47 ALLARCHES, #874177

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python-debian/python-debian-0.1.47.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.47.ebuild 
b/dev-python/python-debian/python-debian-0.1.47.ebuild
index 3c07375c1483..15b1e315ea43 100644
--- a/dev-python/python-debian/python-debian-0.1.47.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.47.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-08-29 Thread Michał Górny
commit: 22c0de4850a13e3237efc5111c85bdffcef38cfc
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 30 05:36:40 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 30 05:45:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c0de48

dev-python/python-debian: Bump to 0.1.47

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.47.ebuild  | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 460a88852597..45cad158360a 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.44.tar.xz 179372 BLAKE2B 
39d19c46e956231cda7c1fdb3ca89f8ef579d61e6bff06b35114184b2596516b3a01f756ff8e34e9a0dab669658cce7b8fdbfa39ed770df376acf6c4c6fb1401
 SHA512 
34c627cf32647f196a4b41a8913fd9aaefcfd6c96d21cc8f9798723ac11dac371574f62af9e549437188f2f492cb80445e33f35c72b6fa8212223029371a7b33
+DIST python-debian_0.1.47.tar.xz 189036 BLAKE2B 
b929b3785064560bbad202d95d88fa330a9fb34e0dc4338865ce17910c9ff986696778dba847097fa1ccbb04ad6b298a5b84e4a550e038ca754a598d78f7cbef
 SHA512 
fdf37476d4658b790ea4bbb43fca43a627cc569881f9e45666eae4221ddb71d57eba7d009e06e8e2864cd41c7718b9bf41e319f6fc0785549b6171de981b6ed7

diff --git a/dev-python/python-debian/python-debian-0.1.47.ebuild 
b/dev-python/python-debian/python-debian-0.1.47.ebuild
new file mode 100644
index ..3c07375c1483
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.47.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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-07-24 Thread Michał Górny
commit: fb475c8cb3edc127977ca8c724a963d5b812bbc9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 24 20:22:15 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 24 20:22:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb475c8c

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.43.ebuild  | 41 --
 2 files changed, 42 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index be797da053d3..460a88852597 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.43.tar.xz 175832 BLAKE2B 
2b43da25392c844a3c8fa8e159695ef4c871c6620be88d286abde31b9285e3f005e3c20997617d24014fe94a1a3c446c8721f8d92c35018ac308da8703788bcd
 SHA512 
510dd37ef65be2ee0f9c4c4c15010b94fc7c05c621de2cb25fee4f6e741f51dff2e4cdc13bac8269bfa621533217b3f72ecbd8b0b6368aa52c54e5237bb6
 DIST python-debian_0.1.44.tar.xz 179372 BLAKE2B 
39d19c46e956231cda7c1fdb3ca89f8ef579d61e6bff06b35114184b2596516b3a01f756ff8e34e9a0dab669658cce7b8fdbfa39ed770df376acf6c4c6fb1401
 SHA512 
34c627cf32647f196a4b41a8913fd9aaefcfd6c96d21cc8f9798723ac11dac371574f62af9e549437188f2f492cb80445e33f35c72b6fa8212223029371a7b33

diff --git a/dev-python/python-debian/python-debian-0.1.43.ebuild 
b/dev-python/python-debian/python-debian-0.1.43.ebuild
deleted file mode 100644
index b18cae919905..
--- a/dev-python/python-debian/python-debian-0.1.43.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python modules to work with Debian-related data formats"
-HOMEPAGE="https://salsa.debian.org/python-debian-team/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 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-06-15 Thread Michał Górny
commit: 9eec3b5ce76ac7c3d7b50527bc414bed1910ddbe
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 15 07:02:57 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 15 11:32:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eec3b5c

dev-python/python-debian: Bump to 0.1.44

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.44.ebuild  | 48 ++
 2 files changed, 49 insertions(+)

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 
510dd37ef65be2ee0f9c4c4c15010b94fc7c05c621de2cb25fee4f6e741f51dff2e4cdc13bac8269bfa621533217b3f72ecbd8b0b6368aa52c54e5237bb6
+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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-02-17 Thread Michał Górny
commit: a7e1f9ecd4619e1ce0128712a075aa0fbe65e74e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 17 21:52:44 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 17 21:52:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e1f9ec

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.42.ebuild  | 40 --
 2 files changed, 41 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 509445a7bb6a..de536ceb6030 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.42.tar.xz 173928 BLAKE2B 
615be084cba8ff11eaaefc1b40335b73a16604b864600dbeb717ba65ee94f1d3a62f845a59c3db5b915346de4211fdde811593db989b143f4d60e7b425b98d2d
 SHA512 
923831077d0a42dafd22277579e714af33b99612e5282f5d95bc884b2faec05321f8caaad20b72b25ce88d8c2449a6a23913c5377ed0bdc30d4ef87e39341ff7
 DIST python-debian_0.1.43.tar.xz 175832 BLAKE2B 
2b43da25392c844a3c8fa8e159695ef4c871c6620be88d286abde31b9285e3f005e3c20997617d24014fe94a1a3c446c8721f8d92c35018ac308da8703788bcd
 SHA512 
510dd37ef65be2ee0f9c4c4c15010b94fc7c05c621de2cb25fee4f6e741f51dff2e4cdc13bac8269bfa621533217b3f72ecbd8b0b6368aa52c54e5237bb6

diff --git a/dev-python/python-debian/python-debian-0.1.42.ebuild 
b/dev-python/python-debian/python-debian-0.1.42.ebuild
deleted file mode 100644
index 7f51672b702e..
--- a/dev-python/python-debian/python-debian-0.1.42.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2011-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python modules to work with Debian-related data formats"
-HOMEPAGE="https://salsa.debian.org/python-debian-team/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 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-02-17 Thread Arthur Zamarin
commit: 8848f8f49aa1f1b2b330cc87e057188f84dd7e02
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 17 21:34:31 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 17 21:34:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8848f8f4

dev-python/python-debian: Stabilize 0.1.43 ALLARCHES, #833546

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python-debian/python-debian-0.1.43.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.43.ebuild 
b/dev-python/python-debian/python-debian-0.1.43.ebuild
index ef7feef28718..b18cae919905 100644
--- a/dev-python/python-debian/python-debian-0.1.43.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.43.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2022-01-16 Thread Michał Górny
commit: 2b3cc8c4cc79af27f9c715ab029cb0c143e9f452
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 16 20:22:01 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 16 20:52:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3cc8c4

dev-python/python-debian: Bump to 0.1.43

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.43.ebuild  | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 85fe2d44c9e3..509445a7bb6a 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.42.tar.xz 173928 BLAKE2B 
615be084cba8ff11eaaefc1b40335b73a16604b864600dbeb717ba65ee94f1d3a62f845a59c3db5b915346de4211fdde811593db989b143f4d60e7b425b98d2d
 SHA512 
923831077d0a42dafd22277579e714af33b99612e5282f5d95bc884b2faec05321f8caaad20b72b25ce88d8c2449a6a23913c5377ed0bdc30d4ef87e39341ff7
+DIST python-debian_0.1.43.tar.xz 175832 BLAKE2B 
2b43da25392c844a3c8fa8e159695ef4c871c6620be88d286abde31b9285e3f005e3c20997617d24014fe94a1a3c446c8721f8d92c35018ac308da8703788bcd
 SHA512 
510dd37ef65be2ee0f9c4c4c15010b94fc7c05c621de2cb25fee4f6e741f51dff2e4cdc13bac8269bfa621533217b3f72ecbd8b0b6368aa52c54e5237bb6

diff --git a/dev-python/python-debian/python-debian-0.1.43.ebuild 
b/dev-python/python-debian/python-debian-0.1.43.ebuild
new file mode 100644
index ..ef7feef28718
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.43.ebuild
@@ -0,0 +1,41 @@
+# 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..10} )
+inherit distutils-r1
+
+DESCRIPTION="Python modules to work with Debian-related data formats"
+HOMEPAGE="https://salsa.debian.org/python-debian-team/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 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/files/, dev-python/python-debian/

2021-11-21 Thread Michał Górny
commit: 113ba946480cdfdc0ec71a2259c44c0341bca5c6
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 21 20:10:26 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 21 20:11:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113ba946

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |   1 -
 .../files/0.1.39-disable-apt-pkg.patch | 146 -
 .../python-debian/python-debian-0.1.40.ebuild  |  36 -
 3 files changed, 183 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 7114386ff375..85fe2d44c9e3 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.40.tar.xz 319952 BLAKE2B 
4d5c2d3202ef09fc8eba4e0c4f9a5861d0662f288768cb9026e1ab43309a57fb21c0b8e87734c9310f39646e071947b31b17bd48b71510e7d783af9f337c3ed1
 SHA512 
73ed735a3c7bb43208aa26ea9fd64fc658e111dc201ae8c1947a4e5835ebd675e37b78d2895d72bd5ed2b6afa491e77b50bd5f10d62ea8299fbdda6c0b9e5095
 DIST python-debian_0.1.42.tar.xz 173928 BLAKE2B 
615be084cba8ff11eaaefc1b40335b73a16604b864600dbeb717ba65ee94f1d3a62f845a59c3db5b915346de4211fdde811593db989b143f4d60e7b425b98d2d
 SHA512 
923831077d0a42dafd22277579e714af33b99612e5282f5d95bc884b2faec05321f8caaad20b72b25ce88d8c2449a6a23913c5377ed0bdc30d4ef87e39341ff7

diff --git a/dev-python/python-debian/files/0.1.39-disable-apt-pkg.patch 
b/dev-python/python-debian/files/0.1.39-disable-apt-pkg.patch
deleted file mode 100644
index 6765b2f6c3a0..
--- a/dev-python/python-debian/files/0.1.39-disable-apt-pkg.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-From e87972d4ae499d7049338ddb0d5009b6527a93dc Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Mon, 8 Feb 2021 22:24:33 -0500
-Subject: [PATCH] Disable apt_pkg support
-

- lib/debian/deb822.py|  4 +--
- lib/debian/tests/test_deb822.py | 58 -
- 2 files changed, 2 insertions(+), 60 deletions(-)
-
-diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
-index 46cf81a..158033f 100644
 a/lib/debian/deb822.py
-+++ b/lib/debian/deb822.py
-@@ -2286,7 +2286,7 @@ class Sources(Dsc, _PkgRelationMixin):
- def iter_paragraphs(cls,
- sequence,# type: InputDataType
- fields=None, # type: Optional[List[str]]
--use_apt_pkg=True,# type: bool
-+use_apt_pkg=False,   # type: bool
- shared_storage=False,# type: bool
- encoding="utf-8",# type: str
- strict=None, # type: Optional[Dict[str, 
bool]]
-@@ -2328,7 +2328,7 @@ class Packages(Deb822, _PkgRelationMixin, 
_VersionAccessorMixin):
- def iter_paragraphs(cls,
- sequence,  # type: InputDataType
- fields=None,   # type: Optional[List[str]]
--use_apt_pkg=True,  # type: bool
-+use_apt_pkg=False, # type: bool
- shared_storage=False,  # type: bool
- encoding="utf-8",  # type: str
- strict=None,   # type: Optional[Dict[str, 
bool]]
-diff --git a/lib/debian/tests/test_deb822.py b/lib/debian/tests/test_deb822.py
-index f386391..7fb11fa 100755
 a/lib/debian/tests/test_deb822.py
-+++ b/lib/debian/tests/test_deb822.py
-@@ -42,8 +42,6 @@ else:
- from StringIO import StringIO
- BytesIO = StringIO
- 
--import apt_pkg
--
- from debian import deb822
- from debian.debian_support import Version
- 
-@@ -541,11 +539,6 @@ with open("test_deb822.pickle", "wb") as fh:
- for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=False):
- self.assertWellParsed(d, PARSED_PACKAGE)
- 
--with self.assertWarns(UserWarning):
--# The StringIO is not a real file so this will raise a warning
--for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=True):
--self.assertWellParsed(d, PARSED_PACKAGE)
--
- def test_iter_paragraphs_file(self):
- # type: () -> None
- text = StringIO()
-@@ -564,10 +557,6 @@ with open("test_deb822.pickle", "wb") as fh:
- for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=False):
- self.assertWellParsed(d, PARSED_PACKAGE)
- 
--fh.seek(0)
--for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=True):
--self.assertWellParsed(d, PARSED_PACKAGE)
--
- 
- def test_iter_paragraphs_with_gpg(self):
- # type: () -> None
-@@ -640,12 +629,7 @@ with open("test_deb822.pickle", "wb") as fh:
- test_count(deb822.Deb822.iter_paragraphs, 2)
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-11-21 Thread Jakov Smolić
commit: 297f0e6931201cdeab5af3d23ba6edd4ca6aad4f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Nov 21 19:28:32 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Nov 21 19:28:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297f0e69

dev-python/python-debian: Stabilize 0.1.42 ALLARCHES, #825678

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/python-debian/python-debian-0.1.42.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.42.ebuild 
b/dev-python/python-debian/python-debian-0.1.42.ebuild
index 0064ad2018ff..7f51672b702e 100644
--- a/dev-python/python-debian/python-debian-0.1.42.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.42.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-10-18 Thread Mike Gilbert
commit: fe01686ae1dadd42efe8da952a1093ed4b005bc1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Oct 18 20:57:03 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Oct 18 20:57:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe01686a

dev-python/python-debian: fix debian.__version__

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/python-debian/python-debian-0.1.42.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/python-debian/python-debian-0.1.42.ebuild 
b/dev-python/python-debian/python-debian-0.1.42.ebuild
index c237932970e..0064ad2018f 100644
--- a/dev-python/python-debian/python-debian-0.1.42.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.42.ebuild
@@ -24,7 +24,14 @@ BDEPEND="
 
 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
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-10-18 Thread Michał Górny
commit: 61b0e2d15f29af35bd16ad5c6553c982a0930e05
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct 18 20:27:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 18 20:40:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b0e2d1

dev-python/python-debian: Bump to 0.1.42

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.42.ebuild  | 33 ++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index d01aef71f70..7114386ff37 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.40.tar.xz 319952 BLAKE2B 
4d5c2d3202ef09fc8eba4e0c4f9a5861d0662f288768cb9026e1ab43309a57fb21c0b8e87734c9310f39646e071947b31b17bd48b71510e7d783af9f337c3ed1
 SHA512 
73ed735a3c7bb43208aa26ea9fd64fc658e111dc201ae8c1947a4e5835ebd675e37b78d2895d72bd5ed2b6afa491e77b50bd5f10d62ea8299fbdda6c0b9e5095
+DIST python-debian_0.1.42.tar.xz 173928 BLAKE2B 
615be084cba8ff11eaaefc1b40335b73a16604b864600dbeb717ba65ee94f1d3a62f845a59c3db5b915346de4211fdde811593db989b143f4d60e7b425b98d2d
 SHA512 
923831077d0a42dafd22277579e714af33b99612e5282f5d95bc884b2faec05321f8caaad20b72b25ce88d8c2449a6a23913c5377ed0bdc30d4ef87e39341ff7

diff --git a/dev-python/python-debian/python-debian-0.1.42.ebuild 
b/dev-python/python-debian/python-debian-0.1.42.ebuild
new file mode 100644
index 000..c237932970e
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.42.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2011-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+inherit distutils-r1
+
+DESCRIPTION="Python modules to work with Debian-related data formats"
+HOMEPAGE="https://salsa.debian.org/python-debian-team/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 ~arm ~x86"
+
+RDEPEND="
+   dev-python/chardet[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? ( app-arch/dpkg )
+"
+
+distutils_enable_tests unittest
+
+python_compile_all() {
+   ${EPYTHON} lib/debian/doc-debtags > README.debtags || die
+}
+
+python_test() {
+   eunittest lib
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-08-01 Thread Michał Górny
commit: 597b6e10ea3d7835cc755ab17a5f5ae8b38cdc6a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug  1 06:26:35 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug  1 08:14:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597b6e10

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.39.ebuild  | 36 --
 2 files changed, 37 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index ef60d287df9..d01aef71f70 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.39.tar.xz 319020 BLAKE2B 
de38ddc6e4878404f9685a264e1198e513cb57f7bfea064e4512ee00049d007b6007ee7fea42e18bd2f12dc8132582fbea2235694b5f908c9ae5cbc830cfe98a
 SHA512 
de29ef224a17b149dde8cf6bb4b9fe77aa1fdfc040463163fb97f7e4ed283f16af43422e26c352183fd74e9e0ff6b41a91ee18c63b5534d5c9de2ef663c8f4df
 DIST python-debian_0.1.40.tar.xz 319952 BLAKE2B 
4d5c2d3202ef09fc8eba4e0c4f9a5861d0662f288768cb9026e1ab43309a57fb21c0b8e87734c9310f39646e071947b31b17bd48b71510e7d783af9f337c3ed1
 SHA512 
73ed735a3c7bb43208aa26ea9fd64fc658e111dc201ae8c1947a4e5835ebd675e37b78d2895d72bd5ed2b6afa491e77b50bd5f10d62ea8299fbdda6c0b9e5095

diff --git a/dev-python/python-debian/python-debian-0.1.39.ebuild 
b/dev-python/python-debian/python-debian-0.1.39.ebuild
deleted file mode 100644
index 63a9d4c0230..000
--- a/dev-python/python-debian/python-debian-0.1.39.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2011-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python modules to work with Debian-related data formats"
-HOMEPAGE="https://salsa.debian.org/python-debian-team/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 arm x86"
-
-RDEPEND="
-   dev-python/chardet[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? ( app-arch/dpkg )
-"
-
-distutils_enable_tests unittest
-
-PATCHES=( "${FILESDIR}/0.1.39-disable-apt-pkg.patch" )
-
-python_compile_all() {
-   ${EPYTHON} lib/debian/doc-debtags > README.debtags || die
-}
-
-python_test() {
-   eunittest lib
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-07-31 Thread Sam James
commit: 309afe53e4825971a980786e1a48c428254cdac7
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 22:11:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 22:11:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309afe53

dev-python/python-debian: Stabilize 0.1.40 ALLARCHES, #805425

Signed-off-by: Sam James  gentoo.org>

 dev-python/python-debian/python-debian-0.1.40.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.40.ebuild 
b/dev-python/python-debian/python-debian-0.1.40.ebuild
index dfab437931a..093dbb450db 100644
--- a/dev-python/python-debian/python-debian-0.1.40.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.40.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-06-29 Thread Michał Górny
commit: 9a7726b25b29c4dafa707eba094bbcea5e7286a8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 29 05:42:03 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 29 06:04:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7726b2

dev-python/python-debian: Bump to 0.1.40

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.40.ebuild  | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 722f036b997..ef60d287df9 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.39.tar.xz 319020 BLAKE2B 
de38ddc6e4878404f9685a264e1198e513cb57f7bfea064e4512ee00049d007b6007ee7fea42e18bd2f12dc8132582fbea2235694b5f908c9ae5cbc830cfe98a
 SHA512 
de29ef224a17b149dde8cf6bb4b9fe77aa1fdfc040463163fb97f7e4ed283f16af43422e26c352183fd74e9e0ff6b41a91ee18c63b5534d5c9de2ef663c8f4df
+DIST python-debian_0.1.40.tar.xz 319952 BLAKE2B 
4d5c2d3202ef09fc8eba4e0c4f9a5861d0662f288768cb9026e1ab43309a57fb21c0b8e87734c9310f39646e071947b31b17bd48b71510e7d783af9f337c3ed1
 SHA512 
73ed735a3c7bb43208aa26ea9fd64fc658e111dc201ae8c1947a4e5835ebd675e37b78d2895d72bd5ed2b6afa491e77b50bd5f10d62ea8299fbdda6c0b9e5095

diff --git a/dev-python/python-debian/python-debian-0.1.40.ebuild 
b/dev-python/python-debian/python-debian-0.1.40.ebuild
new file mode 100644
index 000..dfab437931a
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.40.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2011-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Python modules to work with Debian-related data formats"
+HOMEPAGE="https://salsa.debian.org/python-debian-team/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 ~arm ~x86"
+
+RDEPEND="
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? ( app-arch/dpkg )
+"
+
+distutils_enable_tests unittest
+
+PATCHES=( "${FILESDIR}/0.1.39-disable-apt-pkg.patch" )
+
+python_compile_all() {
+   ${EPYTHON} lib/debian/doc-debtags > README.debtags || die
+}
+
+python_test() {
+   eunittest lib
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-05-19 Thread Michał Górny
commit: e3d5caa093b27a2c7fb63b5f11df656829996134
Author: Zamarin Arthur  gmail  com>
AuthorDate: Wed May 19 06:55:57 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 19 07:31:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d5caa0

dev-python/python-debian: bump to python 3.10

passes tests

Signed-off-by: Zamarin Arthur  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/python-debian-0.1.39.ebuild | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.39.ebuild 
b/dev-python/python-debian/python-debian-0.1.39.ebuild
index 372a8043850..63a9d4c0230 100644
--- a/dev-python/python-debian/python-debian-0.1.39.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.39.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1
 
@@ -13,19 +13,18 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
 KEYWORDS="amd64 arm x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
 "
 
-BDEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
test? ( app-arch/dpkg )
 "
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}/0.1.39-disable-apt-pkg.patch" )
 
 python_compile_all() {
@@ -33,5 +32,5 @@ python_compile_all() {
 }
 
 python_test() {
-   ${EPYTHON} -m unittest discover --verbose lib || die "Testing failed 
with ${EPYTHON}"
+   eunittest lib
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/files/, dev-python/python-debian/

2021-03-15 Thread Michał Górny
commit: f3ba035129f73a0c5a570ca541047dd7fef8cd15
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 15 08:54:35 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 15 08:54:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3ba0351

dev-python/python-debian: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |   1 -
 .../files/0.1.36-disable-apt-pkg.patch | 140 -
 .../python-debian/python-debian-0.1.37.ebuild  |  37 --
 3 files changed, 178 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 4d7fbb7f743..722f036b997 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.37.tar.xz 308568 BLAKE2B 
7747ed21d3d6e06d5342ace6de83b79a93c76e44e8fd6d5738575e154f6d55dacd5dbb27d0210fac6f0a9db95b6d95b1fb9106da64ffbe7f77ec9d1a3e829d49
 SHA512 
0c13d6ee008bdcdfc28ac35d031a8486994a79a90d6b817349f09936c798211333604fd967bfde720fbc6b089bbec8e52b8c0977c430517e6f8c23d370fdff7c
 DIST python-debian_0.1.39.tar.xz 319020 BLAKE2B 
de38ddc6e4878404f9685a264e1198e513cb57f7bfea064e4512ee00049d007b6007ee7fea42e18bd2f12dc8132582fbea2235694b5f908c9ae5cbc830cfe98a
 SHA512 
de29ef224a17b149dde8cf6bb4b9fe77aa1fdfc040463163fb97f7e4ed283f16af43422e26c352183fd74e9e0ff6b41a91ee18c63b5534d5c9de2ef663c8f4df

diff --git a/dev-python/python-debian/files/0.1.36-disable-apt-pkg.patch 
b/dev-python/python-debian/files/0.1.36-disable-apt-pkg.patch
deleted file mode 100644
index b497986b6da..000
--- a/dev-python/python-debian/files/0.1.36-disable-apt-pkg.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-From 76b7c4e7d16e8f792323f8d14ebdb1678d9d12b0 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Sat, 30 Nov 2019 23:18:05 -0500
-Subject: [PATCH] Disable apt_pkg support
-

- lib/debian/deb822.py|  4 +--
- lib/debian/tests/test_deb822.py | 53 -
- 2 files changed, 2 insertions(+), 55 deletions(-)
-
-diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
-index c679f4b..2e85956 100644
 a/lib/debian/deb822.py
-+++ b/lib/debian/deb822.py
-@@ -1913,7 +1913,7 @@ class Sources(Dsc, _PkgRelationMixin):
- def iter_paragraphs(cls,
- sequence,# type: IterableInputDataType
- fields=None, # type: Optional[List[str]]
--use_apt_pkg=True,# type: bool
-+use_apt_pkg=False,   # type: bool
- shared_storage=False,# type: bool
- encoding="utf-8",# type: str
- strict=None, # type: Optional[Dict]
-@@ -1955,7 +1955,7 @@ class Packages(Deb822, _PkgRelationMixin, 
_VersionAccessorMixin):
- def iter_paragraphs(cls,
- sequence,  # type: IterableInputDataType
- fields=None,   # type: Optional[List[str]]
--use_apt_pkg=True,  # type: bool
-+use_apt_pkg=False, # type: bool
- shared_storage=False,  # type: bool
- encoding="utf-8",  # type: str
- strict=None,   # type: Optional[Dict]
-diff --git a/lib/debian/tests/test_deb822.py b/lib/debian/tests/test_deb822.py
-index 7101727..64a724c 100755
 a/lib/debian/tests/test_deb822.py
-+++ b/lib/debian/tests/test_deb822.py
-@@ -40,8 +40,6 @@ else:
- from StringIO import StringIO
- BytesIO = StringIO
- 
--import apt_pkg   #type: ignore
--
- from debian import deb822
- from debian.debian_support import Version
- 
-@@ -465,11 +463,6 @@ class TestDeb822(unittest.TestCase):
- for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=False):
- self.assertWellParsed(d, PARSED_PACKAGE)
- 
--with self.assertWarns(UserWarning):
--# The StringIO is not a real file so this will raise a warning
--for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=True):
--self.assertWellParsed(d, PARSED_PACKAGE)
--
- def test_iter_paragraphs_file(self):
- text = StringIO()
- text.write(UNPARSED_PACKAGE)
-@@ -487,10 +480,6 @@ class TestDeb822(unittest.TestCase):
- for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=False):
- self.assertWellParsed(d, PARSED_PACKAGE)
- 
--fh.seek(0)
--for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=True):
--self.assertWellParsed(d, PARSED_PACKAGE)
--
- 
- def test_iter_paragraphs_with_gpg(self):
- for string in GPG_SIGNED:
-@@ -556,12 +545,7 @@ class TestDeb822(unittest.TestCase):
- test_count(deb822.Deb822.iter_paragraphs, 2)
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-03-15 Thread Sam James
commit: 64d59e5c00f65cf354ba5fc180971c63b96661fc
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 06:30:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 06:30:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d59e5c

dev-python/python-debian: Stabilize 0.1.39 ALLARCHES, #776118

Signed-off-by: Sam James  gentoo.org>

 dev-python/python-debian/python-debian-0.1.39.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.39.ebuild 
b/dev-python/python-debian/python-debian-0.1.39.ebuild
index 12bcdea2319..372a8043850 100644
--- a/dev-python/python-debian/python-debian-0.1.39.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.39.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-02-08 Thread Mike Gilbert
commit: 5cd3b54e5ab4a1f7c508e17d608926880e129042
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Feb  9 03:30:07 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb  9 03:30:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd3b54e

dev-python/python-debian: 0.1.37 stable on arm (allarches)

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/python-debian/python-debian-0.1.37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.37.ebuild 
b/dev-python/python-debian/python-debian-0.1.37.ebuild
index dc9600e4df1..86681e27da7 100644
--- a/dev-python/python-debian/python-debian-0.1.37.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.37.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm x86"
+KEYWORDS="amd64 arm x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/files/, dev-python/python-debian/

2021-02-08 Thread Mike Gilbert
commit: 33b7cd31557ae4a01541d2150e1a1c389dd0d861
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Feb  9 03:27:19 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb  9 03:28:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b7cd31

dev-python/python-debian: bump to 0.1.39

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/python-debian/Manifest  |   1 +
 .../files/0.1.39-disable-apt-pkg.patch | 146 +
 .../python-debian/python-debian-0.1.39.ebuild  |  37 ++
 3 files changed, 184 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index dd13908e41f..4d7fbb7f743 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.37.tar.xz 308568 BLAKE2B 
7747ed21d3d6e06d5342ace6de83b79a93c76e44e8fd6d5738575e154f6d55dacd5dbb27d0210fac6f0a9db95b6d95b1fb9106da64ffbe7f77ec9d1a3e829d49
 SHA512 
0c13d6ee008bdcdfc28ac35d031a8486994a79a90d6b817349f09936c798211333604fd967bfde720fbc6b089bbec8e52b8c0977c430517e6f8c23d370fdff7c
+DIST python-debian_0.1.39.tar.xz 319020 BLAKE2B 
de38ddc6e4878404f9685a264e1198e513cb57f7bfea064e4512ee00049d007b6007ee7fea42e18bd2f12dc8132582fbea2235694b5f908c9ae5cbc830cfe98a
 SHA512 
de29ef224a17b149dde8cf6bb4b9fe77aa1fdfc040463163fb97f7e4ed283f16af43422e26c352183fd74e9e0ff6b41a91ee18c63b5534d5c9de2ef663c8f4df

diff --git a/dev-python/python-debian/files/0.1.39-disable-apt-pkg.patch 
b/dev-python/python-debian/files/0.1.39-disable-apt-pkg.patch
new file mode 100644
index 000..6765b2f6c3a
--- /dev/null
+++ b/dev-python/python-debian/files/0.1.39-disable-apt-pkg.patch
@@ -0,0 +1,146 @@
+From e87972d4ae499d7049338ddb0d5009b6527a93dc Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Mon, 8 Feb 2021 22:24:33 -0500
+Subject: [PATCH] Disable apt_pkg support
+
+---
+ lib/debian/deb822.py|  4 +--
+ lib/debian/tests/test_deb822.py | 58 -
+ 2 files changed, 2 insertions(+), 60 deletions(-)
+
+diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
+index 46cf81a..158033f 100644
+--- a/lib/debian/deb822.py
 b/lib/debian/deb822.py
+@@ -2286,7 +2286,7 @@ class Sources(Dsc, _PkgRelationMixin):
+ def iter_paragraphs(cls,
+ sequence,# type: InputDataType
+ fields=None, # type: Optional[List[str]]
+-use_apt_pkg=True,# type: bool
++use_apt_pkg=False,   # type: bool
+ shared_storage=False,# type: bool
+ encoding="utf-8",# type: str
+ strict=None, # type: Optional[Dict[str, 
bool]]
+@@ -2328,7 +2328,7 @@ class Packages(Deb822, _PkgRelationMixin, 
_VersionAccessorMixin):
+ def iter_paragraphs(cls,
+ sequence,  # type: InputDataType
+ fields=None,   # type: Optional[List[str]]
+-use_apt_pkg=True,  # type: bool
++use_apt_pkg=False, # type: bool
+ shared_storage=False,  # type: bool
+ encoding="utf-8",  # type: str
+ strict=None,   # type: Optional[Dict[str, 
bool]]
+diff --git a/lib/debian/tests/test_deb822.py b/lib/debian/tests/test_deb822.py
+index f386391..7fb11fa 100755
+--- a/lib/debian/tests/test_deb822.py
 b/lib/debian/tests/test_deb822.py
+@@ -42,8 +42,6 @@ else:
+ from StringIO import StringIO
+ BytesIO = StringIO
+ 
+-import apt_pkg
+-
+ from debian import deb822
+ from debian.debian_support import Version
+ 
+@@ -541,11 +539,6 @@ with open("test_deb822.pickle", "wb") as fh:
+ for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=False):
+ self.assertWellParsed(d, PARSED_PACKAGE)
+ 
+-with self.assertWarns(UserWarning):
+-# The StringIO is not a real file so this will raise a warning
+-for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=True):
+-self.assertWellParsed(d, PARSED_PACKAGE)
+-
+ def test_iter_paragraphs_file(self):
+ # type: () -> None
+ text = StringIO()
+@@ -564,10 +557,6 @@ with open("test_deb822.pickle", "wb") as fh:
+ for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=False):
+ self.assertWellParsed(d, PARSED_PACKAGE)
+ 
+-fh.seek(0)
+-for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=True):
+-self.assertWellParsed(d, PARSED_PACKAGE)
+-
+ 
+ def test_iter_paragraphs_with_gpg(self):
+ # type: () -> None
+@@ -640,12 +629,7 @@ with open("test_deb822.pickle", "wb") as fh:
+ test_count(deb822.Deb822.iter_paragraphs, 2)
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-02-08 Thread Mike Gilbert
commit: 9f0071cba4a7ef5eb2c529299be3e2039d5f9cf1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Feb  9 03:16:46 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb  9 03:16:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0071cb

dev-python/python-debian: update HOMEPAGE

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/python-debian/python-debian-0.1.37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.37.ebuild 
b/dev-python/python-debian/python-debian-0.1.37.ebuild
index 642c875a9f8..dc9600e4df1 100644
--- a/dev-python/python-debian/python-debian-0.1.37.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2011-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7,8,9} )
 inherit distutils-r1
 
 DESCRIPTION="Python modules to work with Debian-related data formats"
-HOMEPAGE="https://packages.debian.org/sid/python-debian;
+HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian;
 SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2021-02-08 Thread James Le Cuirot
commit: 60117941e5f041bc9645cbdba08f589c1f12abbc
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Feb  8 23:28:54 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Feb  8 23:28:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60117941

dev-python/python-debian: Add ~arm keyword

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/python-debian/python-debian-0.1.37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.37.ebuild 
b/dev-python/python-debian/python-debian-0.1.37.ebuild
index 59f194993b5..642c875a9f8 100644
--- a/dev-python/python-debian/python-debian-0.1.37.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-10-18 Thread Sam James
commit: 5a9accd6bcdab1ef8b1092f2ae2bdf2f1c60acd1
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 18 19:17:30 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 18 19:17:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9accd6

dev-python/python-debian: Stabilize 0.1.37 ALLARCHES, #749510

Signed-off-by: Sam James  gentoo.org>

 dev-python/python-debian/python-debian-0.1.37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.37.ebuild 
b/dev-python/python-debian/python-debian-0.1.37.ebuild
index c6ffe0a099d..457aa7bf5e1 100644
--- a/dev-python/python-debian/python-debian-0.1.37.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.37.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-10-18 Thread Thomas Deutschmann
commit: 9326135d3c0fa0d78114c9f10ecb5abcfa606327
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 18 18:45:40 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 18 18:51:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9326135d

dev-python/python-debian: x86 stable (bug #749510)

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/python-debian/python-debian-0.1.37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.37.ebuild 
b/dev-python/python-debian/python-debian-0.1.37.ebuild
index 0f352c156f2..c6ffe0a099d 100644
--- a/dev-python/python-debian/python-debian-0.1.37.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.37.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-10-16 Thread Michał Górny
commit: d123618c2a0f79c6c733eb3b9c156a88f2ab110f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 16 11:53:11 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 16 12:00:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d123618c

dev-python/python-debian: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/python-debian/metadata.xml 
b/dev-python/python-debian/metadata.xml
index 37d58853f5c..76f69654b26 100644
--- a/dev-python/python-debian/metadata.xml
+++ b/dev-python/python-debian/metadata.xml
@@ -9,4 +9,5 @@
pyt...@gentoo.org
Python

+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-09-07 Thread Mike Gilbert
commit: ed5b615889642b4e031c5c98a5295ef1800377cb
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Sep  7 20:59:18 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Sep  7 20:59:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5b6158

dev-python/python-debian: bump to 0.1.37

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.37.ebuild  | 37 ++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 753a3e48185..7e6b5804208 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.36.tar.xz 308364 BLAKE2B 
1cc7e2844db8143a3a4cc4f59c4bbb90bb90ab024b2524335d8ab69947ffe8c64b2b41a54a5d199cd287a3d6b6a0173c75be708af9aedfeb871e354ac1873528
 SHA512 
3f2ca6d86f6b6d383a1628021a77d19b562b0c409d204dba4de6968d2cdd2c8fb4aa882429fa1ce6af5361352f7a51b339c481dd47937cb103a08132379d77c5
+DIST python-debian_0.1.37.tar.xz 308568 BLAKE2B 
7747ed21d3d6e06d5342ace6de83b79a93c76e44e8fd6d5738575e154f6d55dacd5dbb27d0210fac6f0a9db95b6d95b1fb9106da64ffbe7f77ec9d1a3e829d49
 SHA512 
0c13d6ee008bdcdfc28ac35d031a8486994a79a90d6b817349f09936c798211333604fd967bfde720fbc6b089bbec8e52b8c0977c430517e6f8c23d370fdff7c

diff --git a/dev-python/python-debian/python-debian-0.1.37.ebuild 
b/dev-python/python-debian/python-debian-0.1.37.ebuild
new file mode 100644
index 000..0f352c156f2
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.37.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+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"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+BDEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( app-arch/dpkg )
+"
+
+PATCHES=( "${FILESDIR}/0.1.36-disable-apt-pkg.patch" )
+
+python_compile_all() {
+   ${EPYTHON} lib/debian/doc-debtags > README.debtags || die
+}
+
+python_test() {
+   ${EPYTHON} -m unittest discover --verbose lib || die "Testing failed 
with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-08-14 Thread Andreas Sturmlechner
commit: cc0c702e641c038bfcd537a8d8698e97e79dd5b4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug  3 21:27:05 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug 14 23:21:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc0c702e

dev-python/python-debian: Drop superfluous python_gen_cond_dep w/o python2_7

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-python/python-debian/python-debian-0.1.36.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.36.ebuild 
b/dev-python/python-debian/python-debian-0.1.36.ebuild
index 78fab194385..c4ec7d333fa 100644
--- a/dev-python/python-debian/python-debian-0.1.36.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.36.ebuild
@@ -23,10 +23,7 @@ RDEPEND="
 
 BDEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   app-arch/dpkg
-   $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' 
-2)
-   )
+   test? ( app-arch/dpkg )
 "
 
 PATCHES=( "${FILESDIR}/0.1.36-disable-apt-pkg.patch" )



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-03-18 Thread Michał Górny
commit: 0b756f2b380b104b8660c2f58d1a9ce15313910f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 18 18:19:15 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 18 18:19:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b756f2b

dev-python/python-debian: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/Manifest  |  1 -
 .../python-debian/python-debian-0.1.31.ebuild  | 41 --
 2 files changed, 42 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index deee55f71dd..753a3e48185 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1 @@
-DIST python-debian_0.1.31.tar.xz 295720 BLAKE2B 
3b3a68ab5604571355a15afac181e488c278ca78ab4c8a6cba4c392a0a89fd778bfd37e69a369d50fbc72f5080cf37fdbd31771f5d973c386795c436112ea347
 SHA512 
d2bf071b088e53ac132f91e5983c092bddb9736b3fd1394dfd2654fb8b6af7f89982af8debba8c4af21086d4f8a3ef86393fdef25ef18bcf71dcb00a60a8ae5b
 DIST python-debian_0.1.36.tar.xz 308364 BLAKE2B 
1cc7e2844db8143a3a4cc4f59c4bbb90bb90ab024b2524335d8ab69947ffe8c64b2b41a54a5d199cd287a3d6b6a0173c75be708af9aedfeb871e354ac1873528
 SHA512 
3f2ca6d86f6b6d383a1628021a77d19b562b0c409d204dba4de6968d2cdd2c8fb4aa882429fa1ce6af5361352f7a51b339c481dd47937cb103a08132379d77c5

diff --git a/dev-python/python-debian/python-debian-0.1.31.ebuild 
b/dev-python/python-debian/python-debian-0.1.31.ebuild
deleted file mode 100644
index 3f638065525..000
--- a/dev-python/python-debian/python-debian-0.1.31.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python2_7 python3_6 )
-
-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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-03-18 Thread Michał Górny
commit: 65e246dc2060c5c8ed862dc0830eed2e7eea
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 18 18:19:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 18 18:19:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e246dc

dev-python/python-debian: Drop py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-debian/python-debian-0.1.36.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.36.ebuild 
b/dev-python/python-debian/python-debian-0.1.36.ebuild
index cfe71594f81..78fab194385 100644
--- a/dev-python/python-debian/python-debian-0.1.36.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.36.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-03-18 Thread Agostino Sarubbo
commit: 3326899e4e6b633f54cb77d141e1fbeb4937d032
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 18 11:03:17 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 18 11:03:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3326899e

dev-python/python-debian: x86 stable wrt bug #713062

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/python-debian/python-debian-0.1.36.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.36.ebuild 
b/dev-python/python-debian/python-debian-0.1.36.ebuild
index 5bd41758173..cfe71594f81 100644
--- a/dev-python/python-debian/python-debian-0.1.36.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.36.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2020-03-18 Thread Agostino Sarubbo
commit: 6544c4cb2d34dab81af69daeb222ab09290e702b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 18 10:59:41 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 18 10:59:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6544c4cb

dev-python/python-debian: amd64 stable wrt bug #713062

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/python-debian/python-debian-0.1.36.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.36.ebuild 
b/dev-python/python-debian/python-debian-0.1.36.ebuild
index 524d945c32f..5bd41758173 100644
--- a/dev-python/python-debian/python-debian-0.1.36.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.36.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/, dev-python/python-debian/files/

2019-11-30 Thread Mike Gilbert
commit: 24b83c988f5e24127dfab2c9430618ddb16d7e24
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Dec  1 04:41:44 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec  1 04:41:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b83c98

dev-python/python-debian: disable apt_pkg by default

Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2
Signed-off-by: Mike Gilbert  gentoo.org>

 ...-apt-pkg.patch => 0.1.36-disable-apt-pkg.patch} | 29 +++---
 .../python-debian/python-debian-0.1.36.ebuild  |  2 +-
 2 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/dev-python/python-debian/files/0.1.36-test-no-apt-pkg.patch 
b/dev-python/python-debian/files/0.1.36-disable-apt-pkg.patch
similarity index 77%
rename from dev-python/python-debian/files/0.1.36-test-no-apt-pkg.patch
rename to dev-python/python-debian/files/0.1.36-disable-apt-pkg.patch
index 64b040852b7..b497986b6da 100644
--- a/dev-python/python-debian/files/0.1.36-test-no-apt-pkg.patch
+++ b/dev-python/python-debian/files/0.1.36-disable-apt-pkg.patch
@@ -1,12 +1,35 @@
-From 0b4e4e02e62ab6069e855fc44fec1cbfba3e2f2a Mon Sep 17 00:00:00 2001
+From 76b7c4e7d16e8f792323f8d14ebdb1678d9d12b0 Mon Sep 17 00:00:00 2001
 From: Mike Gilbert 
 Date: Sat, 30 Nov 2019 23:18:05 -0500
-Subject: [PATCH] Remove tests that rely on apt_pkg
+Subject: [PATCH] Disable apt_pkg support
 
 ---
+ lib/debian/deb822.py|  4 +--
  lib/debian/tests/test_deb822.py | 53 -
- 1 file changed, 53 deletions(-)
+ 2 files changed, 2 insertions(+), 55 deletions(-)
 
+diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
+index c679f4b..2e85956 100644
+--- a/lib/debian/deb822.py
 b/lib/debian/deb822.py
+@@ -1913,7 +1913,7 @@ class Sources(Dsc, _PkgRelationMixin):
+ def iter_paragraphs(cls,
+ sequence,# type: IterableInputDataType
+ fields=None, # type: Optional[List[str]]
+-use_apt_pkg=True,# type: bool
++use_apt_pkg=False,   # type: bool
+ shared_storage=False,# type: bool
+ encoding="utf-8",# type: str
+ strict=None, # type: Optional[Dict]
+@@ -1955,7 +1955,7 @@ class Packages(Deb822, _PkgRelationMixin, 
_VersionAccessorMixin):
+ def iter_paragraphs(cls,
+ sequence,  # type: IterableInputDataType
+ fields=None,   # type: Optional[List[str]]
+-use_apt_pkg=True,  # type: bool
++use_apt_pkg=False, # type: bool
+ shared_storage=False,  # type: bool
+ encoding="utf-8",  # type: str
+ strict=None,   # type: Optional[Dict]
 diff --git a/lib/debian/tests/test_deb822.py b/lib/debian/tests/test_deb822.py
 index 7101727..64a724c 100755
 --- a/lib/debian/tests/test_deb822.py

diff --git a/dev-python/python-debian/python-debian-0.1.36.ebuild 
b/dev-python/python-debian/python-debian-0.1.36.ebuild
index 49012658cf5..eb6ee829a2e 100644
--- a/dev-python/python-debian/python-debian-0.1.36.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.36.ebuild
@@ -29,7 +29,7 @@ BDEPEND="${RDEPEND}
)
 "
 
-PATCHES=( "${FILESDIR}/0.1.36-test-no-apt-pkg.patch" )
+PATCHES=( "${FILESDIR}/0.1.36-disable-apt-pkg.patch" )
 
 python_compile_all() {
${EPYTHON} lib/debian/doc-debtags > README.debtags || die



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/, dev-python/python-debian/files/

2019-11-30 Thread Mike Gilbert
commit: 34383b63cdb73f700f0e8b672d7a0e83b01dc2f0
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Dec  1 04:25:40 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec  1 04:26:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34383b63

dev-python/python-debian: bump to 0.1.36

Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/python-debian/Manifest  |   1 +
 .../files/0.1.36-test-no-apt-pkg.patch | 117 +
 dev-python/python-debian/metadata.xml  |  16 +--
 .../python-debian/python-debian-0.1.36.ebuild  |  40 +++
 4 files changed, 166 insertions(+), 8 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 917c0ed1a41..916c6ad918f 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,3 +1,4 @@
 DIST python-debian_0.1.28.tar.xz 292404 BLAKE2B 
78634043fc0dabd378bae171a485931b080dc0d31cc7e2ea448c000a1c4250e322f900cf0a0a4c3a8505af6f10da692d0fad948bc253ede7a38e4fe98831924b
 SHA512 
ffbc924fe2dfd5790d49aacf80109bbaa18126bb8d6c9b8ffa25e9ed8b1cdeb28024a8dc202587682088e2e558da1642385faa4afda925cbb2edf6f304592a0d
 DIST python-debian_0.1.31.tar.xz 295720 BLAKE2B 
3b3a68ab5604571355a15afac181e488c278ca78ab4c8a6cba4c392a0a89fd778bfd37e69a369d50fbc72f5080cf37fdbd31771f5d973c386795c436112ea347
 SHA512 
d2bf071b088e53ac132f91e5983c092bddb9736b3fd1394dfd2654fb8b6af7f89982af8debba8c4af21086d4f8a3ef86393fdef25ef18bcf71dcb00a60a8ae5b
 DIST python-debian_0.1.32.tar.xz 296028 BLAKE2B 
15e2678a1ec2f4d96baec8b9e3ce7b84d8ad37f520fe9f174d6fe9cac8adbcbb73f628d9c3cdf39eca2639855e797b8f8cef4c9517063d61aa1e3b3ce7f1df2c
 SHA512 
2b55d9a3100028699ec63dd4861a4f60d44e03662cc144784a37cdd980f3ff276e6cd2e535a50cdc6db28bf44affdd576259d73e14e16a2bbeeeda0de0bdd194
+DIST python-debian_0.1.36.tar.xz 308364 BLAKE2B 
1cc7e2844db8143a3a4cc4f59c4bbb90bb90ab024b2524335d8ab69947ffe8c64b2b41a54a5d199cd287a3d6b6a0173c75be708af9aedfeb871e354ac1873528
 SHA512 
3f2ca6d86f6b6d383a1628021a77d19b562b0c409d204dba4de6968d2cdd2c8fb4aa882429fa1ce6af5361352f7a51b339c481dd47937cb103a08132379d77c5

diff --git a/dev-python/python-debian/files/0.1.36-test-no-apt-pkg.patch 
b/dev-python/python-debian/files/0.1.36-test-no-apt-pkg.patch
new file mode 100644
index 000..64b040852b7
--- /dev/null
+++ b/dev-python/python-debian/files/0.1.36-test-no-apt-pkg.patch
@@ -0,0 +1,117 @@
+From 0b4e4e02e62ab6069e855fc44fec1cbfba3e2f2a Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Sat, 30 Nov 2019 23:18:05 -0500
+Subject: [PATCH] Remove tests that rely on apt_pkg
+
+---
+ lib/debian/tests/test_deb822.py | 53 -
+ 1 file changed, 53 deletions(-)
+
+diff --git a/lib/debian/tests/test_deb822.py b/lib/debian/tests/test_deb822.py
+index 7101727..64a724c 100755
+--- a/lib/debian/tests/test_deb822.py
 b/lib/debian/tests/test_deb822.py
+@@ -40,8 +40,6 @@ else:
+ from StringIO import StringIO
+ BytesIO = StringIO
+ 
+-import apt_pkg   #type: ignore
+-
+ from debian import deb822
+ from debian.debian_support import Version
+ 
+@@ -465,11 +463,6 @@ class TestDeb822(unittest.TestCase):
+ for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=False):
+ self.assertWellParsed(d, PARSED_PACKAGE)
+ 
+-with self.assertWarns(UserWarning):
+-# The StringIO is not a real file so this will raise a warning
+-for d in deb822.Deb822.iter_paragraphs(text, use_apt_pkg=True):
+-self.assertWellParsed(d, PARSED_PACKAGE)
+-
+ def test_iter_paragraphs_file(self):
+ text = StringIO()
+ text.write(UNPARSED_PACKAGE)
+@@ -487,10 +480,6 @@ class TestDeb822(unittest.TestCase):
+ for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=False):
+ self.assertWellParsed(d, PARSED_PACKAGE)
+ 
+-fh.seek(0)
+-for d in deb822.Deb822.iter_paragraphs(fh, use_apt_pkg=True):
+-self.assertWellParsed(d, PARSED_PACKAGE)
+-
+ 
+ def test_iter_paragraphs_with_gpg(self):
+ for string in GPG_SIGNED:
+@@ -556,12 +545,7 @@ class TestDeb822(unittest.TestCase):
+ test_count(deb822.Deb822.iter_paragraphs, 2)
+ test_count(deb822.Deb822.iter_paragraphs, 2, 
use_apt_pkg=False)
+ 
+-# apt_pkg used, should not split
+-test_count(deb822.Deb822.iter_paragraphs, 1, use_apt_pkg=True)
+-
+ # Specialised iter_paragraphs force use of apt_pkg and don't 
split
+-test_count(deb822.Packages.iter_paragraphs, 1, 
use_apt_pkg=True)
+-test_count(deb822.Sources.iter_paragraphs, 1, 
use_apt_pkg=True)
+ test_count(deb822.Packages.iter_paragraphs, 1, 
use_apt_pkg=False)
+ test_count(deb822.Sources.iter_paragraphs, 1, 
use_apt_pkg=False)
+ 
+@@ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2018-08-14 Thread Mike Gilbert
commit: 75aefc83f993f9e35b3ba49d07b9f9ceac456ded
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Aug 14 13:34:37 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Aug 14 13:34:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75aefc83

dev-python/python-debian: add python3.7

Package-Manager: Portage-2.3.46_p1_p185476, Repoman-2.3.10_p36_p185476

 dev-python/python-debian/python-debian-0.1.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.32.ebuild 
b/dev-python/python-debian/python-debian-0.1.32.ebuild
index 03133f9a7a5..609ae77ac71 100644
--- a/dev-python/python-debian/python-debian-0.1.32.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.32.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2018-07-25 Thread Patrice Clement
commit: 3d9aeeca03f967a5061be73e8d9e2ad358e5312f
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Jul 23 08:41:46 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Jul 25 17:27:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9aeeca

dev-python/python-debian: version bump.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.32.ebuild  | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 19badbe5cf0..917c0ed1a41 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1,3 @@
 DIST python-debian_0.1.28.tar.xz 292404 BLAKE2B 
78634043fc0dabd378bae171a485931b080dc0d31cc7e2ea448c000a1c4250e322f900cf0a0a4c3a8505af6f10da692d0fad948bc253ede7a38e4fe98831924b
 SHA512 
ffbc924fe2dfd5790d49aacf80109bbaa18126bb8d6c9b8ffa25e9ed8b1cdeb28024a8dc202587682088e2e558da1642385faa4afda925cbb2edf6f304592a0d
 DIST python-debian_0.1.31.tar.xz 295720 BLAKE2B 
3b3a68ab5604571355a15afac181e488c278ca78ab4c8a6cba4c392a0a89fd778bfd37e69a369d50fbc72f5080cf37fdbd31771f5d973c386795c436112ea347
 SHA512 
d2bf071b088e53ac132f91e5983c092bddb9736b3fd1394dfd2654fb8b6af7f89982af8debba8c4af21086d4f8a3ef86393fdef25ef18bcf71dcb00a60a8ae5b
+DIST python-debian_0.1.32.tar.xz 296028 BLAKE2B 
15e2678a1ec2f4d96baec8b9e3ce7b84d8ad37f520fe9f174d6fe9cac8adbcbb73f628d9c3cdf39eca2639855e797b8f8cef4c9517063d61aa1e3b3ce7f1df2c
 SHA512 
2b55d9a3100028699ec63dd4861a4f60d44e03662cc144784a37cdd980f3ff276e6cd2e535a50cdc6db28bf44affdd576259d73e14e16a2bbeeeda0de0bdd194

diff --git a/dev-python/python-debian/python-debian-0.1.32.ebuild 
b/dev-python/python-debian/python-debian-0.1.32.ebuild
new file mode 100644
index 000..03133f9a7a5
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.32.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2018-06-25 Thread Thomas Deutschmann
commit: 23596cad164c08b64aef5e1668d61ebffdb34a57
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Jun 25 22:55:28 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Jun 25 23:20:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23596cad

dev-python/python-debian: x86 stable (bug #658844)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/python-debian/python-debian-0.1.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python-debian/python-debian-0.1.31.ebuild 
b/dev-python/python-debian/python-debian-0.1.31.ebuild
index c40b36f322a..685365963e1 100644
--- a/dev-python/python-debian/python-debian-0.1.31.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.31.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2018-06-23 Thread Mikle Kolyada
commit: 7a0c50a7c18bd0d9e837e8d3f82b5ada2cd5790a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jun 23 23:29:31 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jun 23 23:29:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0c50a7

dev-python/python-debian: amd64 stable wrt bug #658844

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/python-debian/python-debian-0.1.31.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.31.ebuild 
b/dev-python/python-debian/python-debian-0.1.31.ebuild
index d563a839202..c40b36f322a 100644
--- a/dev-python/python-debian/python-debian-0.1.31.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -13,7 +13,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2017-11-13 Thread Mike Gilbert
commit: 96e447a335d509d6f5f1318c5989cd257ffa280b
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Nov 13 21:33:37 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Nov 13 21:33:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96e447a3

dev-python/python-debian: bump 0.1.31

Package-Manager: Portage-2.3.13_p7, Repoman-2.3.3_p87

 dev-python/python-debian/Manifest   |  1 +
 .../python-debian/python-debian-0.1.28.ebuild   |  4 ++--
 ...an-0.1.28.ebuild => python-debian-0.1.31.ebuild} | 21 -
 3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 8f15bd167d3..55f23449dc1 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1 +1,2 @@
 DIST python-debian_0.1.28.tar.xz 292404 SHA256 
355edeaa0e2d5a46e4b12c83c7a17386526af4fee34c1d4054fc03bd4f0adf00 SHA512 
ffbc924fe2dfd5790d49aacf80109bbaa18126bb8d6c9b8ffa25e9ed8b1cdeb28024a8dc202587682088e2e558da1642385faa4afda925cbb2edf6f304592a0d
 WHIRLPOOL 
6f1778dd6839459e86179f5f02ba0a6e69154efcfc034c1d554d940409e974b57c73839853c86b14d840f27c6a0666a11618f51a125922e58596f28aa888c8ca
+DIST python-debian_0.1.31.tar.xz 295720 SHA256 
942968340c5b8fbabe89f1081940ec7baeca0cdbd7f82bdcbda98da511ce35b3 SHA512 
d2bf071b088e53ac132f91e5983c092bddb9736b3fd1394dfd2654fb8b6af7f89982af8debba8c4af21086d4f8a3ef86393fdef25ef18bcf71dcb00a60a8ae5b
 WHIRLPOOL 
1edd2ac1d1aa3d45d591c7f1a40f02243b188f4299cd781aa043168e9cf05ffa3dcba3ee742446835eaaa35a3cf8b4a42a3e0d39350ce99ee24f4d3b3055b779

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 ba4f1f04585..427a310a47e 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.28.ebuild 
b/dev-python/python-debian/python-debian-0.1.31.ebuild
similarity index 56%
copy from dev-python/python-debian/python-debian-0.1.28.ebuild
copy to dev-python/python-debian/python-debian-0.1.31.ebuild
index ba4f1f04585..d563a839202 100644
--- a/dev-python/python-debian/python-debian-0.1.28.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.31.ebuild
@@ -1,19 +1,19 @@
-# Copyright 1999-2016 Gentoo Foundation
+# 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} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} 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"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="test"
 
 RDEPEND="
@@ -25,14 +25,17 @@ DEPEND="${RDEPEND}
 
 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() {
-   # Tests currently fail with >=app-crypt/gnupg-2.1
-   # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782904
-   pushd tests > /dev/null || die
-   "${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"
-   popd > /dev/null || die
+   "${PYTHON}" -m unittest discover lib || die "Testing failed with 
${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/files/, dev-python/python-debian/

2017-05-02 Thread Michał Górny
commit: f4deeafd5ac3257310499e74bc6d0890cdd089b6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 13:35:11 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 14:01:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4deeafd

dev-python/python-debian: Clean old versions up

 dev-python/python-debian/Manifest  |  2 -
 .../files/python-debian-0.1.26-CVE-2015-0840.patch | 29 --
 .../files/python-debian-0.1.26-fix-tests.patch | 24 
 .../python-debian/python-debian-0.1.26.ebuild  | 44 -
 .../python-debian/python-debian-0.1.27.ebuild  | 45 --
 5 files changed, 144 deletions(-)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index f6127ca6af7..8f15bd167d3 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,3 +1 @@
-DIST python-debian_0.1.26.tar.xz 289496 SHA256 
601e2a096c1490669f35080544875857bdc54b5f43bf1a37f88fccbf3740b4f8 SHA512 
c857bdeaf651626c1b9d1f0f114bae961d073771f0a38caaa06785323bd586cf15fd2bf662a7bdc3af148f387756260b9d81378fdd5044bfabf7388de79c4d5a
 WHIRLPOOL 
1dcf9a855e75ed483551edffba72265878208f3e55adf9e206bb79ac8462c1186251231f97368b1673ff73a3c38f6c5cf37195480fe010b2b7199e829317a4d3
-DIST python-debian_0.1.27.tar.xz 289692 SHA256 
3a21d07553d46c0cf7961b13483e62005d8793a3780e79d1191b357f50174eab SHA512 
101f49ce2337266856f6cf8f6d33c42d9fa2a281194a7d6fb2328d6e5f46574a7b742b04c4250e2384c197c6e6886c0e9f7b504e8c2230afaa00777e1a0057ab
 WHIRLPOOL 
f8b867fbbd236d685acbdf880bf636efb59f033788365aeea52e898217735bd0117526c2f67cfe9205d3f31b5d8da68eb5e6e6ec1ad2920a2ed0d4d54616c38f
 DIST python-debian_0.1.28.tar.xz 292404 SHA256 
355edeaa0e2d5a46e4b12c83c7a17386526af4fee34c1d4054fc03bd4f0adf00 SHA512 
ffbc924fe2dfd5790d49aacf80109bbaa18126bb8d6c9b8ffa25e9ed8b1cdeb28024a8dc202587682088e2e558da1642385faa4afda925cbb2edf6f304592a0d
 WHIRLPOOL 
6f1778dd6839459e86179f5f02ba0a6e69154efcfc034c1d554d940409e974b57c73839853c86b14d840f27c6a0666a11618f51a125922e58596f28aa888c8ca

diff --git 
a/dev-python/python-debian/files/python-debian-0.1.26-CVE-2015-0840.patch 
b/dev-python/python-debian/files/python-debian-0.1.26-CVE-2015-0840.patch
deleted file mode 100644
index d4cde15e6d2..000
--- a/dev-python/python-debian/files/python-debian-0.1.26-CVE-2015-0840.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 94a5864bca5c2d0760702f386047189a248e Mon Sep 17 00:00:00 2001
-From: Guillem Jover 
-Date: Thu, 9 Apr 2015 23:16:48 +0200
-Subject: [PATCH] deb822: Fix OpenPGP Armor Header Line parsing
-
-We should only accept [\r\t ] as trailing whitespace, although RFC4880
-does not clarify what whitespace really maps to, we should really match
-the GnuPG implementation anyway, as that is what we use to verify the
-signatures.

- lib/debian/deb822.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
-index 0c0748e..c1dcb17 100644
 a/lib/debian/deb822.py
-+++ b/lib/debian/deb822.py
-@@ -638,7 +638,7 @@ class Deb822(Deb822Dict):
- lines = []
- gpg_post_lines = []
- state = b'SAFE'
--gpgre = re.compile(br'^-(?PBEGIN|END) PGP 
(?P[^-]+)-\s*$')
-+gpgre = re.compile(br'^-(?PBEGIN|END) PGP 
(?P[^-]+)-[\r\t ]*$')
- # Include whitespace-only lines in blank lines to split paragraphs.
- # (see #715558)
- blank_line = re.compile(b'^\s*$')
--- 
-2.2.1.209.g41e5f3a
-

diff --git 
a/dev-python/python-debian/files/python-debian-0.1.26-fix-tests.patch 
b/dev-python/python-debian/files/python-debian-0.1.26-fix-tests.patch
deleted file mode 100644
index 189f83ac28e..000
--- a/dev-python/python-debian/files/python-debian-0.1.26-fix-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
- tests/test_deb822.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test_deb822.py b/tests/test_deb822.py
-index 698366b..c989d3f 100755
 a/tests/test_deb822.py
-+++ b/tests/test_deb822.py
-@@ -468,6 +468,7 @@ class TestDeb822(unittest.TestCase):
- for d in deb822.Deb822.iter_paragraphs(text)])
- self.assertEqual(2, count)
- 
-+@unittest.skip("Seems to be broken")
- def test_iter_paragraphs_with_extra_whitespace(self):
- """ Paragraphs not elided when stray whitespace is between
- 
-@@ -920,7 +921,7 @@ Description: python modules to work with Debian-related 
data formats
- with open_utf8(filename) as fh:
- paragraphs = list(deb822.Deb822.iter_paragraphs(
- fh, use_apt_pkg=True))
--self.assertEqual(paragraphs[0]['Build-Depends'], 'debhelper,')
-+self.assertEqual(paragraphs[0]['Build-Depends'], 
'debhelper,\n python')
- finally:
- os.remove(filename)
- 

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2016-11-06 Thread Michael Palimaka
commit: 788bd74b88894bbf41fa14cb0c2b329d642ac89c
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Nov  6 15:39:46 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Nov  6 15:40:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788bd74b

dev-python/python-debian: x86 stable

Gentoo-bug: 590680

Package-Manager: portage-2.3.2

 dev-python/python-debian/python-debian-0.1.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ce73b8d..05e93d0 100644
--- a/dev-python/python-debian/python-debian-0.1.28.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.28.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2016-11-06 Thread Michael Palimaka
commit: bdb37e57cf6ec2e6404dfc5f917d57814da1c114
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Nov  6 15:36:29 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Nov  6 15:40:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb37e57

dev-python/python-debian: amd64 stable

Gentoo-bug: 590680

Package-Manager: portage-2.3.2

 dev-python/python-debian/python-debian-0.1.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e4c27a5..ce73b8d 100644
--- a/dev-python/python-debian/python-debian-0.1.28.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.28.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2016-08-06 Thread Mike Gilbert
commit: 414ee1f769606b142c6c04d5d610091defacc505
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Aug  6 19:04:50 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Aug  6 19:07:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=414ee1f7

dev-python/python-debian: bump to 0.1.28

Package-Manager: portage-2.3.0_p16

 dev-python/python-debian/Manifest  |  1 +
 .../python-debian/python-debian-0.1.28.ebuild  | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/python-debian/Manifest 
b/dev-python/python-debian/Manifest
index 5f894bd..f6127ca 100644
--- a/dev-python/python-debian/Manifest
+++ b/dev-python/python-debian/Manifest
@@ -1,2 +1,3 @@
 DIST python-debian_0.1.26.tar.xz 289496 SHA256 
601e2a096c1490669f35080544875857bdc54b5f43bf1a37f88fccbf3740b4f8 SHA512 
c857bdeaf651626c1b9d1f0f114bae961d073771f0a38caaa06785323bd586cf15fd2bf662a7bdc3af148f387756260b9d81378fdd5044bfabf7388de79c4d5a
 WHIRLPOOL 
1dcf9a855e75ed483551edffba72265878208f3e55adf9e206bb79ac8462c1186251231f97368b1673ff73a3c38f6c5cf37195480fe010b2b7199e829317a4d3
 DIST python-debian_0.1.27.tar.xz 289692 SHA256 
3a21d07553d46c0cf7961b13483e62005d8793a3780e79d1191b357f50174eab SHA512 
101f49ce2337266856f6cf8f6d33c42d9fa2a281194a7d6fb2328d6e5f46574a7b742b04c4250e2384c197c6e6886c0e9f7b504e8c2230afaa00777e1a0057ab
 WHIRLPOOL 
f8b867fbbd236d685acbdf880bf636efb59f033788365aeea52e898217735bd0117526c2f67cfe9205d3f31b5d8da68eb5e6e6ec1ad2920a2ed0d4d54616c38f
+DIST python-debian_0.1.28.tar.xz 292404 SHA256 
355edeaa0e2d5a46e4b12c83c7a17386526af4fee34c1d4054fc03bd4f0adf00 SHA512 
ffbc924fe2dfd5790d49aacf80109bbaa18126bb8d6c9b8ffa25e9ed8b1cdeb28024a8dc202587682088e2e558da1642385faa4afda925cbb2edf6f304592a0d
 WHIRLPOOL 
6f1778dd6839459e86179f5f02ba0a6e69154efcfc034c1d554d940409e974b57c73839853c86b14d840f27c6a0666a11618f51a125922e58596f28aa888c8ca

diff --git a/dev-python/python-debian/python-debian-0.1.28.ebuild 
b/dev-python/python-debian/python-debian-0.1.28.ebuild
new file mode 100644
index 000..157e2a7
--- /dev/null
+++ b/dev-python/python-debian/python-debian-0.1.28.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python modules to work with Debian-related data formats"
+HOMEPAGE="http://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_compile_all() {
+   "${PYTHON}" lib/debian/doc-debtags > README.debtags || die
+}
+
+python_test() {
+   # Tests currently fail with >=app-crypt/gnupg-2.1
+   # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782904
+   pushd tests > /dev/null || die
+   "${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"
+   popd > /dev/null || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-debian/

2015-11-17 Thread Mike Gilbert
commit: 37336fd73acdd692894c1178561020cf2759ff77
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Nov 17 23:44:58 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Nov 17 23:44:58 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37336fd7

dev-python/python-debian: Add python3.5

Package-Manager: portage-2.2.25

 dev-python/python-debian/python-debian-0.1.27.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.27.ebuild 
b/dev-python/python-debian/python-debian-0.1.27.ebuild
index b841b0a..7bf9ecc 100644
--- a/dev-python/python-debian/python-debian-0.1.27.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.27.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
 
 inherit distutils-r1
 
@@ -26,7 +26,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.1.26-fix-tests.patch
-   )
+)
 
 python_compile_all() {
"${PYTHON}" lib/debian/doc-debtags > README.debtags || die