[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2024-05-28 Thread Sam James
commit: f2001ca85d719f0aa07ca6422eb80e5d78760239
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 22:02:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 22:02:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2001ca8

net-p2p/torrentinfo: Stabilize 1.8.7 amd64, #933032

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

 net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
index 5160adbe2ebd..b3365d900267 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 PATCHES=(
# https://github.com/Fuuzetsu/torrentinfo/pull/16



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2024-05-28 Thread Sam James
commit: 8fd76f8d4330c7fe14c4344e975d7c9ce797c341
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 20:47:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 20:47:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd76f8d

net-p2p/torrentinfo: Stabilize 1.8.7 x86, #933032

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

 net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
index 34117dc5b487..5160adbe2ebd 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 PATCHES=(
# https://github.com/Fuuzetsu/torrentinfo/pull/16



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2024-04-29 Thread Louis Sautier
commit: 18fde8f3dd6a9c2804afb2ceffdbff76eb9c5258
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Apr 29 20:17:54 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Mon Apr 29 20:19:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fde8f3

net-p2p/torrentinfo: add 1.8.7, enable py312

Closes: https://bugs.gentoo.org/929737
Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/torrentinfo/Manifest |  1 +
 net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/net-p2p/torrentinfo/Manifest b/net-p2p/torrentinfo/Manifest
index bc05406886b8..a39cce912e62 100644
--- a/net-p2p/torrentinfo/Manifest
+++ b/net-p2p/torrentinfo/Manifest
@@ -1 +1,2 @@
 DIST torrentinfo-1.8.6.tar.gz 22232 BLAKE2B 
04159e4e54fbe979a1a73e1dee39c9b7f9def389c44e3886fd28707646a2bc4c6a4dfadd5494ef9283427959da1c36260828693a0008e09993786d8639813bcf
 SHA512 
7f36f6c80876cbd70ea9e1331195c8a30a6546406f345402d4bec5c58afb9b03a3b60189b8d177a63a7047c3ede7fc18d8fc47ecb1bcbb726dd01b7cb2a6efb2
+DIST torrentinfo-1.8.7.tar.gz 22325 BLAKE2B 
07947a2b3b66b6bc25954f689bf8c070e75b6d0eca5f0f02900abfa9526f55aa9712b7c923fa4a5198050cbe83abb64ebc9154c4c32cb6b6cfb6b5b5bab104bd
 SHA512 
751d4ca9d666058e768fee5c4469f9a76f6d1f6eb503271cf45d2c850f92cf0467723d94e8c6e5a78801be83aa3f83a30eb615b8a3dd7baa5bcc67e9a4544547

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
new file mode 100644
index ..34117dc5b487
--- /dev/null
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A torrent file parser"
+HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
+SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   # https://github.com/Fuuzetsu/torrentinfo/pull/16
+   "${FILESDIR}/${PN}-1.8.6-fix-tests.patch"
+   # https://github.com/Fuuzetsu/torrentinfo/pull/18
+   "${FILESDIR}/${PN}-1.8.6-remove-nose.patch"
+)
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2022-12-23 Thread Michał Górny
commit: ed2e4ddf39dadb0a32e1c35d1503bc47716cb52d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 23 14:37:07 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 23 14:37:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2e4ddf

net-p2p/torrentinfo: Remove old

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

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 27 -
 1 file changed, 27 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
deleted file mode 100644
index e07d37d49483..
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{7..10} )
-# The package uses distutils
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="A torrent file parser"
-HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
-SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
-
-distutils_enable_tests nose
-
-# distutils_enable_tests nose doesn't work here,
-# probably because the test file has a non-standard name
-python_test() {
-   nosetests test/tests.py || die "tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2022-12-23 Thread Arthur Zamarin
commit: 62fcff581a718db28e8578ff28d2ab32a79ca714
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 23 14:04:01 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 23 14:04:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62fcff58

net-p2p/torrentinfo: Stabilize 1.8.6-r3 amd64, #888081

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

 net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
index 73758f91f122..997e81f181f9 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 PATCHES=(
# https://github.com/Fuuzetsu/torrentinfo/pull/16



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2022-12-23 Thread Arthur Zamarin
commit: a133b6ec2d3bcff2d45dc900c555c9fe4d943650
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 23 14:04:00 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 23 14:04:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a133b6ec

net-p2p/torrentinfo: Stabilize 1.8.6-r3 x86, #888081

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

 net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
index 877569c19445..73758f91f122 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 PATCHES=(
# https://github.com/Fuuzetsu/torrentinfo/pull/16



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/files/, net-p2p/torrentinfo/

2022-11-04 Thread Louis Sautier
commit: aa35d194bad0b5845fc9fdbe00b36de306c45708
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  5 02:15:20 2022 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sat Nov  5 02:22:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa35d194

net-p2p/torrentinfo: support Python 3.11, drop nose

Closes: https://bugs.gentoo.org/878719
Signed-off-by: Louis Sautier  gentoo.org>

 .../files/torrentinfo-1.8.6-remove-nose.patch  | 38 ++
 net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild| 26 +++
 2 files changed, 64 insertions(+)

diff --git a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch 
b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch
new file mode 100644
index ..260b5c494321
--- /dev/null
+++ b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-remove-nose.patch
@@ -0,0 +1,38 @@
+From ce97e73493bded33bf83934bd7affd49aff58379 Mon Sep 17 00:00:00 2001
+From: Louis Sautier 
+Date: Sat, 5 Nov 2022 02:54:34 +0100
+Subject: [PATCH] Remove dependency on nose, fixes #17
+
+Also rename the test file so that it uses a standard name that pytest
+autodetects.
+---
+ test/{tests.py => test_torrentinfo.py} | 5 -
+ 1 file changed, 5 deletions(-)
+ rename test/{tests.py => test_torrentinfo.py} (99%)
+ mode change 100755 => 100644
+
+diff --git a/test/tests.py b/test/test_torrentinfo.py
+old mode 100755
+new mode 100644
+similarity index 99%
+rename from test/tests.py
+rename to test/test_torrentinfo.py
+index 9e67c9c..ba9bbc7
+--- a/test/tests.py
 b/test/test_torrentinfo.py
+@@ -27,7 +27,6 @@
+ from io import StringIO
+ 
+ import unittest
+-import nose
+ import re
+ import torrentinfo
+ 
+@@ -704,7 +703,3 @@ def test_is_printable_ascii_success(self):
+ test_string = 'perfectly printable ascii'
+ torrentinfo.dump(test_string, self.config, 0, newline=False)
+ self.assertEqual(self.out.getvalue(), test_string)
+-
+-
+-if __name__ == '__main__':
+-nose.main(buffer=True)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
new file mode 100644
index ..877569c19445
--- /dev/null
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A torrent file parser"
+HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
+SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   # https://github.com/Fuuzetsu/torrentinfo/pull/16
+   "${FILESDIR}/${P}-fix-tests.patch"
+   # https://github.com/Fuuzetsu/torrentinfo/pull/18
+   "${FILESDIR}/${P}-remove-nose.patch"
+)
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2021-05-11 Thread Louis Sautier
commit: e4f93a025b2ad727a2684b086f7b848e5449f42f
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue May 11 19:03:47 2021 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue May 11 19:07:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4f93a02

net-p2p/torrentinfo: enable Python 3.10, simplify deps

Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
index 3b5ca0b936e..e07d37d4948 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{7..10} )
 # The package uses distutils
 DISTUTILS_USE_SETUPTOOLS=no
 
@@ -15,13 +15,11 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
 
 PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
 
+distutils_enable_tests nose
+
 # distutils_enable_tests nose doesn't work here,
 # probably because the test file has a non-standard name
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2020-09-04 Thread Louis Sautier
commit: 67893194b1f1b7de3e027d6b369dc337721634dd
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Sep  4 23:45:05 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Sep  4 23:46:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67893194

net-p2p/torrentinfo: remove old

Package-Manager: Portage-3.0.3, Repoman-2.3.23
Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild | 28 -
 1 file changed, 28 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
deleted file mode 100644
index 21dd1324842..000
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_6 pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A torrent file parser"
-HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
-SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
-
-PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
-
-python_test() {
-   nosetests test/tests.py || die "tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2020-09-04 Thread Louis Sautier
commit: 9a7eb10d34d46677417174a00d7f879d986817f3
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Sep  4 23:44:50 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Sep  4 23:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7eb10d

net-p2p/torrentinfo: add Python 3.9 support

Package-Manager: Portage-3.0.3, Repoman-2.3.23
Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
index 56e97bef6ea..7c4fc84190c 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
 # The package uses distutils
 DISTUTILS_USE_SETUPTOOLS=no
 
@@ -18,12 +18,12 @@ KEYWORDS="amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
+BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
 
 PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
 
+# distutils_enable_tests nose doesn't work here,
+# probably because the test file has a non-standard name
 python_test() {
nosetests test/tests.py || die "tests failed with ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2020-05-09 Thread Agostino Sarubbo
commit: 42fc2098e2ff56e6c572057075d691527b301e39
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat May  9 07:47:32 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat May  9 07:47:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42fc2098

net-p2p/torrentinfo: x86 stable wrt bug #721410

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

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
index 08fab859655..56e97bef6ea 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2020-05-09 Thread Agostino Sarubbo
commit: 9dc98a8b16f928ffc7b9bc1bf2dd29083e9a41a7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat May  9 07:39:35 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat May  9 07:39:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc98a8b

net-p2p/torrentinfo: amd64 stable wrt bug #721410

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

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
index 47fe1ceaf02..08fab859655 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2020-04-23 Thread Louis Sautier
commit: 1550c1b68365047359a2e4b888205b2ff87c387f
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Apr 23 18:41:58 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Thu Apr 23 18:42:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1550c1b6

net-p2p/torrentinfo: add Python 3.8 support, fix dependencies

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Louis Sautier  gentoo.org>

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
index fb969611213..47fe1ceaf02 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -2,7 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+# The package uses distutils
+DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1
 
@@ -17,7 +19,6 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
 "
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2020-02-11 Thread Michał Górny
commit: 5bc3d552ddda983bc6cc64969a4a22d377acfa4f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 12:07:02 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:16:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc3d552

net-p2p/torrentinfo: Remove py2

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

 net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild | 2 +-
 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
index 0e50b76255e..21dd1324842 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6} pypy3 )
+PYTHON_COMPAT=( python3_6 pypy3 )
 
 inherit distutils-r1
 

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
index b7a80d84c66..fb969611213 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( pypy3 python3_{6,7} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2018-07-20 Thread Louis Sautier
commit: 2700c6c4a41a49f5ffe489ae71384bbf2e2e84eb
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Jul 20 22:49:54 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Jul 20 22:50:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2700c6c4

net-p2p/torrentinfo: remove old

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild | 23 ---
 1 file changed, 23 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild
deleted file mode 100644
index fd8cc74b4dd..000
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1
-
-DESCRIPTION="A torrent file parser"
-HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
-SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-python_test() {
-   # tests sometimes fail, see bug #493682
-   nosetests test/tests.py || die "tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2018-07-20 Thread Louis Sautier
commit: c71cd289f0da5a7792cdffbfbff6619f0827f563
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Jul 20 22:39:17 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Jul 20 22:50:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71cd289

net-p2p/torrentinfo: EAPI=7, add Python 3.7

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 27 +
 1 file changed, 27 insertions(+)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
new file mode 100644
index 000..71e0fd69639
--- /dev/null
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A torrent file parser"
+HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
+SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
+
+python_test() {
+   nosetests test/tests.py || die "tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2018-06-24 Thread Louis Sautier
commit: b601cb35b7195f107ca19f1cb1ac93e02ef7f3e7
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jun 24 13:23:43 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sun Jun 24 13:24:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b601cb35

net-p2p/torrentinfo: x86 stable

Closes: https://bugs.gentoo.org/658924
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
index a65eeca3759..c952405116e 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2018-06-24 Thread Louis Sautier
commit: 103a534b09bc410cbede796cd8bc3bc39c560768
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jun 24 10:53:55 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sun Jun 24 10:54:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103a534b

net-p2p/torrentinfo: amd64 stable

Bug: https://bugs.gentoo.org/658924
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
index 5474e996bcb..a65eeca3759 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.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
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2018-06-18 Thread Louis Sautier
commit: 8315f328bf12e32f31575498492abd68c15f27e7
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jun 17 23:34:13 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Mon Jun 18 10:34:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8315f328

net-p2p/torrentinfo: change my email in metadata.xml

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-p2p/torrentinfo/metadata.xml | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-p2p/torrentinfo/metadata.xml b/net-p2p/torrentinfo/metadata.xml
index 2054982a1b7..80c3d150237 100644
--- a/net-p2p/torrentinfo/metadata.xml
+++ b/net-p2p/torrentinfo/metadata.xml
@@ -2,13 +2,9 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 

-   sautier.lo...@gmail.com
+   sb...@gentoo.org
Louis Sautier

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   


fuuze...@fuuzetsu.co.uk



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/, net-p2p/torrentinfo/files/

2017-03-06 Thread Göktürk Yüksek
commit: a05232376b0ec0ca84df3e1be97bf81375304690
Author: Louis Sautier  gmail  com>
AuthorDate: Mon Mar  6 09:34:14 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Mar  6 15:51:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0523237

net-p2p/torrentinfo: add myself as maintainer, fix tests, add py3.6, pypy{,3}

Also update LICENSE to add later GPL versions.

Gentoo-Bug: 493682

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 .../files/torrentinfo-1.8.6-fix-tests.patch| 23 ++
 net-p2p/torrentinfo/metadata.xml   |  9 +++-
 net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild| 27 ++
 3 files changed, 58 insertions(+), 1 deletion(-)

diff --git a/net-p2p/torrentinfo/files/torrentinfo-1.8.6-fix-tests.patch 
b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-fix-tests.patch
new file mode 100644
index 000..1c9f5dfae4d
--- /dev/null
+++ b/net-p2p/torrentinfo/files/torrentinfo-1.8.6-fix-tests.patch
@@ -0,0 +1,23 @@
+From 26ad58f68927186a1216ca8ae4596a8132191dcf Mon Sep 17 00:00:00 2001
+From: Louis Sautier 
+Date: Sat, 30 Jan 2016 15:06:35 +0100
+Subject: [PATCH] Fix #15 by making the output predictably sorted
+
+Fixes https://github.com/Fuuzetsu/torrentinfo/issues/15
+---
+ src/torrentinfo.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/torrentinfo.py b/src/torrentinfo.py
+index a8ffea4..07b653b 100755
+--- a/src/torrentinfo.py
 b/src/torrentinfo.py
+@@ -569,7 +569,7 @@ def list_files(config, torrent, detailed=False):
+ 
+ config.formatter.string_format(TextFormatter.NORMAL, config, '\n')
+ if detailed:
+-for kwrd in filestorrent[index]:
++for kwrd in sorted(filestorrent[index], reverse=True):
+ start_line(config, kwrd, 3, postfix='\n')
+ dump(filestorrent[index][kwrd], config, 4)
+ else:

diff --git a/net-p2p/torrentinfo/metadata.xml b/net-p2p/torrentinfo/metadata.xml
index 24ba7699db2..2054982a1b7 100644
--- a/net-p2p/torrentinfo/metadata.xml
+++ b/net-p2p/torrentinfo/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
+   
+   sautier.lo...@gmail.com
+   Louis Sautier
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   


fuuze...@fuuzetsu.co.uk

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
new file mode 100644
index 000..5474e996bcb
--- /dev/null
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="A torrent file parser"
+HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo";
+SRC_URI="https://github.com/Fuuzetsu/torrentinfo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
+
+python_test() {
+   nosetests test/tests.py || die "tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2017-03-05 Thread Göktürk Yüksek
commit: bfcc493f258f686b0a8f782e4e3e191c2803c8e8
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Mar  6 01:45:21 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Mar  6 01:51:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfcc493f

net-p2p/torrentinfo: remove unresponsive proxied maintainer

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 net-p2p/torrentinfo/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/net-p2p/torrentinfo/metadata.xml b/net-p2p/torrentinfo/metadata.xml
index 056722d87e0..24ba7699db2 100644
--- a/net-p2p/torrentinfo/metadata.xml
+++ b/net-p2p/torrentinfo/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   nik...@gmx.us
-   Nikoli
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+


fuuze...@fuuzetsu.co.uk



[gentoo-commits] repo/gentoo:master commit in: net-p2p/torrentinfo/

2016-01-30 Thread Ian Delaney
commit: 27aa78a3cb3996720d7d6c25f42efab4ebaac2a8
Author: Louis Sautier  gmail  com>
AuthorDate: Sat Jan 30 14:31:36 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sat Jan 30 14:31:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27aa78a3

net-p2p/torrentinfo: add Python 3.5

Package-Manager: portage-2.2.27

 net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild 
b/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild
index 6329cf3..0a9fdc6 100644
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 
 inherit distutils-r1
 
@@ -16,11 +16,9 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="test"
 
-RDEPEND=""
-DEPEND="${RDEPEND}
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
 
 python_test() {
-   nosetests -v test/tests.py || die "Tests fail with ${EPYTHON}"
+   # tests sometimes fail, see bug #493682
+   nosetests test/tests.py || die "tests failed with ${EPYTHON}"
 }