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

2023-05-28 Thread John Helmert III
commit: 60d324664c386e3bd32b3820a72a3d8c9d497f9c
Author: John Helmert III  gentoo  org>
AuthorDate: Sun May 28 18:30:52 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun May 28 18:32:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d32466

net-p2p/tremc: add 0.9.3_p20230506

And slide PYTHON_COMPAT window forward.

Bug: https://bugs.gentoo.org/902907
Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/Manifest |  1 +
 net-p2p/tremc/tremc-0.9.3_p20230506.ebuild | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index f15840486e81..c2583532cd2e 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1 +1,2 @@
 DIST tremc-0.9.3.tar.gz 334457 BLAKE2B 
328f158c96c4927fb910a58508fb3a74aa43d6ab74dfcdde7a99eee0ba70aa7020e00f19197ba0d3ae641b169cf147fc0ea04c1ef4e638a41a29311a042df284
 SHA512 
cbc40ce36eec1f641a6754933e7b009ca3d47e9a2d5091f7677f8005c466f6d0c744023b92e6b5aa93e736828390917c2b5f2f87ba6634d74016960b764467eb
+DIST tremc-0.9.3_p20230506.tar.gz 337178 BLAKE2B 
64e9443bb11d1151a1d9d811ddeaacf67e6e68c37faca3b0267291822d124370f8b1e382c408b2b18f164549a1179dd9c613c4e54f0a93effd501cef76910485
 SHA512 
f13abd1ae5d8bfca4d7d1c10d870e654e974ffd06d7fd46b5d10ae3e6480f9e462c18e7e5cbfbf5bea5c19f8443e76e50e7e3f536db9e1993b4c6bed040c9d66

diff --git a/net-p2p/tremc/tremc-0.9.3_p20230506.ebuild 
b/net-p2p/tremc/tremc-0.9.3_p20230506.ebuild
new file mode 100644
index ..dbe299c4ad08
--- /dev/null
+++ b/net-p2p/tremc/tremc-0.9.3_p20230506.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT=d8deaa5ac25bb45a2ca3a930309d6ecc74836a54
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses"
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
+HOMEPAGE="https://github.com/tremc/tremc;
+SRC_URI="https://github.com/tremc/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+
+# Github tag tarballs include the repo with commit in the dir's name
+# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
+src_compile() {
+   :
+}
+
+src_install() {
+   python_doscript tremc
+   newbashcomp completion/bash/tremc.sh tremc
+   insinto /usr/share/zsh/site-functions
+   doins completion/zsh/_tremc
+   doman tremc.1
+   dodoc NEWS README.md
+}
+
+pkg_postinst() {
+   optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
+   optfeature "Clipboard support" dev-python/pyperclip
+}



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

2022-10-21 Thread John Helmert III
commit: 20b7729a4676211871afe2458d493c253b7b86a8
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Oct 21 19:46:48 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Oct 21 19:56:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b7729a

net-p2p/tremc: enable py3.11

Signed-off-by: John Helmert III  gentoo.org>

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

diff --git a/net-p2p/tremc/tremc-0.9.3.ebuild b/net-p2p/tremc/tremc-0.9.3.ebuild
index 5c1cdd12b4f6..31c79ede0c06 100644
--- a/net-p2p/tremc/tremc-0.9.3.ebuild
+++ b/net-p2p/tremc/tremc-0.9.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE="ncurses"
 
 inherit bash-completion-r1 optfeature python-single-r1



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

2022-10-21 Thread John Helmert III
commit: 6a6653d061341eae5eee91a56da7f4c1917ca67a
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Oct 21 19:45:04 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Oct 21 19:56:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a6653d0

net-p2p/tremc: drop 0.9.2_p20201101

Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/Manifest |  1 -
 net-p2p/tremc/tremc-0.9.2_p20201101.ebuild | 43 --
 2 files changed, 44 deletions(-)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index 30ca8d52886c..f15840486e81 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1,2 +1 @@
-DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece
 DIST tremc-0.9.3.tar.gz 334457 BLAKE2B 
328f158c96c4927fb910a58508fb3a74aa43d6ab74dfcdde7a99eee0ba70aa7020e00f19197ba0d3ae641b169cf147fc0ea04c1ef4e638a41a29311a042df284
 SHA512 
cbc40ce36eec1f641a6754933e7b009ca3d47e9a2d5091f7677f8005c466f6d0c744023b92e6b5aa93e736828390917c2b5f2f87ba6634d74016960b764467eb

diff --git a/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild 
b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
deleted file mode 100644
index 1fe156a2937d..
--- a/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9,10} )
-PYTHON_REQ_USE="ncurses"
-
-COMMIT="8b6b29163295e5cf12d9d874e80203c5906619c8"
-
-inherit bash-completion-r1 optfeature python-single-r1
-
-DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
-HOMEPAGE="https://github.com/tremc/tremc;
-SRC_URI="https://github.com/tremc/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}"
-
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
-src_compile() {
-   :
-}
-
-src_install() {
-   python_doscript tremc
-   newbashcomp completion/bash/tremc.sh tremc
-   insinto /usr/share/zsh/site-functions
-   doins completion/zsh/_tremc
-   doman tremc.1
-   dodoc NEWS README.md
-}
-
-pkg_postinst() {
-   optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
-   optfeature "Clipboard support" dev-python/pyperclip
-}



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

2022-07-31 Thread Jakov Smolić
commit: 0a0c86e50520b891696a94c2b244f714b864225c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Jul 31 18:30:04 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Jul 31 18:37:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0c86e5

net-p2p/tremc: Remove dev-python/geoip-python optfeature

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

 net-p2p/tremc/tremc-0.9.2_p20201101.ebuild | 3 +--
 net-p2p/tremc/tremc-0.9.3.ebuild   | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild 
b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
index df6a3896db78..1fe156a2937d 100644
--- a/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
+++ b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,7 +38,6 @@ src_install() {
 }
 
 pkg_postinst() {
-   optfeature "GeoIP support" dev-python/geoip-python
optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
optfeature "Clipboard support" dev-python/pyperclip
 }

diff --git a/net-p2p/tremc/tremc-0.9.3.ebuild b/net-p2p/tremc/tremc-0.9.3.ebuild
index bd259f46580c..5c1cdd12b4f6 100644
--- a/net-p2p/tremc/tremc-0.9.3.ebuild
+++ b/net-p2p/tremc/tremc-0.9.3.ebuild
@@ -35,7 +35,6 @@ src_install() {
 }
 
 pkg_postinst() {
-   optfeature "GeoIP support" dev-python/geoip-python
optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
optfeature "Clipboard support" dev-python/pyperclip
 }



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

2022-05-31 Thread John Helmert III
commit: 3c29bc6ae4221dc0feed451b2325fb0e57b3df38
Author: John Helmert III  gentoo  org>
AuthorDate: Tue May 31 16:25:45 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Tue May 31 16:29:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c29bc6a

et-p2p/tremc: fix manifest

Due to modifying SRC_URI I accidentally ended up with the same tarball
as the previous version, which ended up reflected in Manifest.

Closes: https://bugs.gentoo.org/848696
Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/Manifest   | 2 +-
 net-p2p/tremc/tremc-0.9.3.ebuild | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index 99bae34ad814..30ca8d52886c 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1,2 +1,2 @@
 DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece
-DIST tremc-0.9.3.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece
+DIST tremc-0.9.3.tar.gz 334457 BLAKE2B 
328f158c96c4927fb910a58508fb3a74aa43d6ab74dfcdde7a99eee0ba70aa7020e00f19197ba0d3ae641b169cf147fc0ea04c1ef4e638a41a29311a042df284
 SHA512 
cbc40ce36eec1f641a6754933e7b009ca3d47e9a2d5091f7677f8005c466f6d0c744023b92e6b5aa93e736828390917c2b5f2f87ba6634d74016960b764467eb

diff --git a/net-p2p/tremc/tremc-0.9.3.ebuild b/net-p2p/tremc/tremc-0.9.3.ebuild
index f08595a9ba3e..bd259f46580c 100644
--- a/net-p2p/tremc/tremc-0.9.3.ebuild
+++ b/net-p2p/tremc/tremc-0.9.3.ebuild
@@ -11,8 +11,6 @@ inherit bash-completion-r1 optfeature python-single-r1
 DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
 HOMEPAGE="https://github.com/tremc/tremc;
 SRC_URI="https://github.com/tremc/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-COMMIT="8b6b29163295e5cf12d9d874e80203c5906619c8"
-S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="GPL-3"
 SLOT="0"



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

2022-05-30 Thread John Helmert III
commit: 631a1e5cd0e3adb5cc71d7cbfb30580529aea4e6
Author: John Helmert III  gentoo  org>
AuthorDate: Mon May 30 22:17:38 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Mon May 30 22:20:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631a1e5c

net-p2p/tremc: add 0.9.3

Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/Manifest   |  1 +
 net-p2p/tremc/tremc-0.9.3.ebuild | 43 
 2 files changed, 44 insertions(+)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index bf328bea1731..99bae34ad814 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1 +1,2 @@
 DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece
+DIST tremc-0.9.3.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece

diff --git a/net-p2p/tremc/tremc-0.9.3.ebuild b/net-p2p/tremc/tremc-0.9.3.ebuild
new file mode 100644
index ..f08595a9ba3e
--- /dev/null
+++ b/net-p2p/tremc/tremc-0.9.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_REQ_USE="ncurses"
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
+HOMEPAGE="https://github.com/tremc/tremc;
+SRC_URI="https://github.com/tremc/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+COMMIT="8b6b29163295e5cf12d9d874e80203c5906619c8"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+
+# Github tag tarballs include the repo with commit in the dir's name
+# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
+src_compile() {
+   :
+}
+
+src_install() {
+   python_doscript tremc
+   newbashcomp completion/bash/tremc.sh tremc
+   insinto /usr/share/zsh/site-functions
+   doins completion/zsh/_tremc
+   doman tremc.1
+   dodoc NEWS README.md
+}
+
+pkg_postinst() {
+   optfeature "GeoIP support" dev-python/geoip-python
+   optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
+   optfeature "Clipboard support" dev-python/pyperclip
+}



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

2021-10-17 Thread John Helmert III
commit: 6f2413724f536acbeb60125d1d59e12f14c9274b
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Oct 17 14:22:40 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Oct 17 16:08:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f241372

net-p2p/tremc: drop 0.9.2-r1

Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/Manifest  |  1 -
 net-p2p/tremc/tremc-0.9.2-r1.ebuild | 39 -
 2 files changed, 40 deletions(-)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index fefad98dd61..bf328bea173 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1,2 +1 @@
-DIST tremc-0.9.2.tar.gz 315631 BLAKE2B 
f5ed154fbfcbdb3e77b678a5827d3f68a6be4033530d6d4e451d57808d43cd5737fff32cf62445d246bfce4d8f02e4cac0c1156603e220e228e61b725d6deaf8
 SHA512 
d6d6d155ddac918d329226d5c3b53c63fd4fa0b98e30f1eb2cd2226ea598bd7dd81d72f747dc11f4a508bcc0453d90d774c1d8db6dac05ae1ecbc217290b7db3
 DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece

diff --git a/net-p2p/tremc/tremc-0.9.2-r1.ebuild 
b/net-p2p/tremc/tremc-0.9.2-r1.ebuild
deleted file mode 100644
index 1609aa817fe..000
--- a/net-p2p/tremc/tremc-0.9.2-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-PYTHON_REQ_USE="ncurses"
-inherit bash-completion-r1 optfeature python-single-r1
-
-DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
-HOMEPAGE="https://github.com/tremc/tremc;
-SRC_URI="https://github.com/tremc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}"
-
-# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
-src_compile() {
-   :
-}
-
-src_install() {
-   python_doscript tremc
-   newbashcomp completion/bash/tremc.sh tremc
-   insinto /usr/share/zsh/site-functions
-   doins completion/zsh/_tremc
-   doman tremc.1
-   dodoc NEWS README.md
-}
-
-pkg_postinst() {
-   optfeature "GeoIP support" dev-python/geoip-python
-   optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
-   optfeature "Clipboard support" dev-python/pyperclip
-}



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

2021-06-11 Thread John Helmert III
commit: 2b57da707a4e35d340eb9811c2603d40d0a912c3
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Jun 11 14:24:02 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Jun 11 19:33:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b57da70

net-p2p/tremc: add 0.9.2_p20201101

Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/Manifest |  1 +
 net-p2p/tremc/tremc-0.9.2_p20201101.ebuild | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index 7e7b6b1bb16..fefad98dd61 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1 +1,2 @@
 DIST tremc-0.9.2.tar.gz 315631 BLAKE2B 
f5ed154fbfcbdb3e77b678a5827d3f68a6be4033530d6d4e451d57808d43cd5737fff32cf62445d246bfce4d8f02e4cac0c1156603e220e228e61b725d6deaf8
 SHA512 
d6d6d155ddac918d329226d5c3b53c63fd4fa0b98e30f1eb2cd2226ea598bd7dd81d72f747dc11f4a508bcc0453d90d774c1d8db6dac05ae1ecbc217290b7db3
+DIST tremc-0.9.2_p20201101.tar.gz 334602 BLAKE2B 
916274775cb51948b3322f0d037d3130e2032ef31acdbbd2b7c42b17c639a82b9dccfe413db4936e9bd580caa7c1ec140091ad09b06058138e8fc0e4882b6c21
 SHA512 
acae099b2fd24362c02f24b5a6aca85e5b6b0608080a79e0a9a6950a3f61135e271415d0db60d04e39195272ea6e2e494ee85345db454811d6de430c75b5bece

diff --git a/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild 
b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
new file mode 100644
index 000..df6a3896db7
--- /dev/null
+++ b/net-p2p/tremc/tremc-0.9.2_p20201101.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_REQ_USE="ncurses"
+
+COMMIT="8b6b29163295e5cf12d9d874e80203c5906619c8"
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
+HOMEPAGE="https://github.com/tremc/tremc;
+SRC_URI="https://github.com/tremc/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
+src_compile() {
+   :
+}
+
+src_install() {
+   python_doscript tremc
+   newbashcomp completion/bash/tremc.sh tremc
+   insinto /usr/share/zsh/site-functions
+   doins completion/zsh/_tremc
+   doman tremc.1
+   dodoc NEWS README.md
+}
+
+pkg_postinst() {
+   optfeature "GeoIP support" dev-python/geoip-python
+   optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
+   optfeature "Clipboard support" dev-python/pyperclip
+}



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

2021-06-11 Thread John Helmert III
commit: f84b92f0cc86f50c91563c7e766dc4aa2682fe2a
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Jun 11 19:24:15 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Jun 11 19:33:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84b92f0

net-p2p/tremc: revbump to drop python3_9

Due to https://github.com/tremc/tremc/issues/99 tremc doesn't support
>python3.8, but with the patch it breaks <=python3.8. Simpler to
snapshot to support newer Pythons and revbump the original and drop 3.9
from it to suppor the older.

Closes: https://bugs.gentoo.org/795150
Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/{tremc-0.9.2.ebuild => tremc-0.9.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/tremc/tremc-0.9.2.ebuild 
b/net-p2p/tremc/tremc-0.9.2-r1.ebuild
similarity index 96%
rename from net-p2p/tremc/tremc-0.9.2.ebuild
rename to net-p2p/tremc/tremc-0.9.2-r1.ebuild
index 745cb109d76..1609aa817fe 100644
--- a/net-p2p/tremc/tremc-0.9.2.ebuild
+++ b/net-p2p/tremc/tremc-0.9.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8} )
 PYTHON_REQ_USE="ncurses"
 inherit bash-completion-r1 optfeature python-single-r1
 



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

2021-02-21 Thread John Helmert III
commit: 71f5e5928d815234eec3eab7c5c562917dc4a20c
Author: John Helmert III  gentoo  org>
AuthorDate: Mon Feb 22 01:57:44 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Mon Feb 22 01:57:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71f5e592

net-p2p/tremc: add python3_9

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: John Helmert III  gentoo.org>

 net-p2p/tremc/tremc-0.9.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/tremc/tremc-0.9.2.ebuild b/net-p2p/tremc/tremc-0.9.2.ebuild
index 056716a8bbd..745cb109d76 100644
--- a/net-p2p/tremc/tremc-0.9.2.ebuild
+++ b/net-p2p/tremc/tremc-0.9.2.ebuild
@@ -1,9 +1,9 @@
-# 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=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 PYTHON_REQ_USE="ncurses"
 inherit bash-completion-r1 optfeature python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/tremc/, games-emulation/openmsx/, net-misc/apt-cacher-ng/, ...

2021-02-21 Thread John Helmert III
commit: 17d01c86a497e324d66b0104a80547f41fa3699b
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Feb 21 23:34:48 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Feb 21 23:38:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d01c86

*/*: reassign my packages to me  g.o

Signed-off-by: John Helmert III  gentoo.org>

 acct-group/apt-cacher-ng/metadata.xml |  8 ++--
 acct-user/apt-cacher-ng/metadata.xml  | 12 
 dev-util/cutter/metadata.xml  |  6 +-
 games-emulation/openmsx/metadata.xml  |  8 ++--
 media-sound/pulsemixer/metadata.xml   |  6 +-
 net-misc/apt-cacher-ng/metadata.xml   |  8 ++--
 net-p2p/tremc/metadata.xml|  6 +-
 www-misc/buku/metadata.xml|  2 +-
 x11-misc/polybar/metadata.xml |  6 +-
 x11-wm/i3-gaps/metadata.xml   |  6 +-
 10 files changed, 16 insertions(+), 52 deletions(-)

diff --git a/acct-group/apt-cacher-ng/metadata.xml 
b/acct-group/apt-cacher-ng/metadata.xml
index 564caa88754..05b4e10bdc6 100644
--- a/acct-group/apt-cacher-ng/metadata.xml
+++ b/acct-group/apt-cacher-ng/metadata.xml
@@ -2,11 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   jchelme...@posteo.net
-   John Helmert III
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
+   a...@gentoo.org
+   John Helmert III

 

diff --git a/acct-user/apt-cacher-ng/metadata.xml 
b/acct-user/apt-cacher-ng/metadata.xml
index 7e5108e69f9..05b4e10bdc6 100644
--- a/acct-user/apt-cacher-ng/metadata.xml
+++ b/acct-user/apt-cacher-ng/metadata.xml
@@ -1,12 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-jchelme...@posteo.net
-John Helmert III
-
-
-proxy-ma...@gentoo.org
-Proxy Maintainers
-
+   
+   a...@gentoo.org
+   John Helmert III
+   
 

diff --git a/dev-util/cutter/metadata.xml b/dev-util/cutter/metadata.xml
index f8896da76b6..0afa8c3be23 100644
--- a/dev-util/cutter/metadata.xml
+++ b/dev-util/cutter/metadata.xml
@@ -2,13 +2,9 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   jchelme...@posteo.net
+   a...@gentoo.org
John Helmert III

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

radareorg/cutter


diff --git a/games-emulation/openmsx/metadata.xml 
b/games-emulation/openmsx/metadata.xml
index 4ae0b02dc38..f8f80fa632e 100644
--- a/games-emulation/openmsx/metadata.xml
+++ b/games-emulation/openmsx/metadata.xml
@@ -6,12 +6,8 @@
Gentoo Games Project


-   jchelme...@posteo.net
-   John Helmert III
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
+   a...@gentoo.org
+   John Helmert III


openmsx/openmsx

diff --git a/media-sound/pulsemixer/metadata.xml 
b/media-sound/pulsemixer/metadata.xml
index 5cffdd8cf98..4f1b4e8b06b 100644
--- a/media-sound/pulsemixer/metadata.xml
+++ b/media-sound/pulsemixer/metadata.xml
@@ -2,13 +2,9 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   jchelme...@posteo.net
+   a...@gentoo.org
John Helmert III

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

GeorgeFilipkin/pulsemixer

https://github.com/GeorgeFilipkin/pulsemixer/releases

diff --git a/net-misc/apt-cacher-ng/metadata.xml 
b/net-misc/apt-cacher-ng/metadata.xml
index 453387392cc..70b0627d808 100644
--- a/net-misc/apt-cacher-ng/metadata.xml
+++ b/net-misc/apt-cacher-ng/metadata.xml
@@ -2,12 +2,8 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   jchelme...@posteo.net
-   John Helmert III
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
+   a...@gentoo.org
+   John Helmert III


Install the sys-fs/fuse based 
acngfs, to use a userspace filesystem for the apt cache.

diff --git a/net-p2p/tremc/metadata.xml b/net-p2p/tremc/metadata.xml
index 9a9bca13525..db034ba870f 100644
--- a/net-p2p/tremc/metadata.xml
+++ b/net-p2p/tremc/metadata.xml
@@ -2,13 +2,9 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   jchelme...@posteo.net
+   a...@gentoo.org
John Helmert III

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

tremc/tremc


diff --git 

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

2020-09-07 Thread David Seifert
commit: 96df8507794acd3ccbabd6652aeee675df15f351
Author: David Seifert  gentoo  org>
AuthorDate: Mon Sep  7 08:53:42 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Sep  7 08:53:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96df8507

net-p2p/tremc: Inherit optfeature.eclass

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

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

diff --git a/net-p2p/tremc/tremc-0.9.2.ebuild b/net-p2p/tremc/tremc-0.9.2.ebuild
index 2c02ce97e8d..056716a8bbd 100644
--- a/net-p2p/tremc/tremc-0.9.2.ebuild
+++ b/net-p2p/tremc/tremc-0.9.2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8} )
 PYTHON_REQ_USE="ncurses"
-inherit bash-completion-r1 eutils python-single-r1
+inherit bash-completion-r1 optfeature python-single-r1
 
 DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
 HOMEPAGE="https://github.com/tremc/tremc;



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

2020-06-29 Thread Joonas Niilola
commit: b33ab4027efae1115964c3baed69c8759693eed0
Author: John Helmert III  posteo  net>
AuthorDate: Wed Jun 17 19:17:12 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun 29 06:08:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b33ab402

net-p2p/tremc: Add version 0.9.2

Closes: https://bugs.gentoo.org/728552
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-p2p/tremc/Manifest   |  1 +
 net-p2p/tremc/tremc-0.9.2.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index 5304ec87b78..57e343bbe67 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1 +1,2 @@
 DIST tremc-0.9.1.tar.gz 315482 BLAKE2B 
c4e94ef13cc9d716cdbcbff061b1956d17c6babe765e192d675d08ad5d76a22cf171a4fb3f5f2952b971f59a16a2768ccd360d10df5b0f3325fd63ff9716f209
 SHA512 
ed16080c6544ce9019e6a0c4d660310992cae0f139a2a78e9eaa51841e293cefb22160a105794b5f03a4bfd47a2c50402879f2a17302a96265a9c9acb3174c39
+DIST tremc-0.9.2.tar.gz 315631 BLAKE2B 
f5ed154fbfcbdb3e77b678a5827d3f68a6be4033530d6d4e451d57808d43cd5737fff32cf62445d246bfce4d8f02e4cac0c1156603e220e228e61b725d6deaf8
 SHA512 
d6d6d155ddac918d329226d5c3b53c63fd4fa0b98e30f1eb2cd2226ea598bd7dd81d72f747dc11f4a508bcc0453d90d774c1d8db6dac05ae1ecbc217290b7db3

diff --git a/net-p2p/tremc/tremc-0.9.2.ebuild b/net-p2p/tremc/tremc-0.9.2.ebuild
new file mode 100644
index 000..2c02ce97e8d
--- /dev/null
+++ b/net-p2p/tremc/tremc-0.9.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_REQ_USE="ncurses"
+inherit bash-completion-r1 eutils python-single-r1
+
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
+HOMEPAGE="https://github.com/tremc/tremc;
+SRC_URI="https://github.com/tremc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+
+# Specify a no-op src_compile so upstream's broken Makefile doesn't get used
+src_compile() {
+   :
+}
+
+src_install() {
+   python_doscript tremc
+   newbashcomp completion/bash/tremc.sh tremc
+   insinto /usr/share/zsh/site-functions
+   doins completion/zsh/_tremc
+   doman tremc.1
+   dodoc NEWS README.md
+}
+
+pkg_postinst() {
+   optfeature "GeoIP support" dev-python/geoip-python
+   optfeature "Extract ipv4 from ipv6 addresses" dev-python/ipy
+   optfeature "Clipboard support" dev-python/pyperclip
+}



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

2020-06-29 Thread Joonas Niilola
commit: e1ee7c8b1aac3a2359a41a528cfc5733a181fb89
Author: John Helmert III  posteo  net>
AuthorDate: Wed Jun 17 19:27:38 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun 29 06:08:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ee7c8b

net-p2p/tremc: Drop old

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: John Helmert III  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16303
Signed-off-by: Joonas Niilola  gentoo.org>

 net-p2p/tremc/Manifest|  1 -
 net-p2p/tremc/files/0.9.1-fix-startup-crash.patch | 62 ---
 net-p2p/tremc/tremc-0.9.1.ebuild  | 41 ---
 3 files changed, 104 deletions(-)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
index 57e343bbe67..7e7b6b1bb16 100644
--- a/net-p2p/tremc/Manifest
+++ b/net-p2p/tremc/Manifest
@@ -1,2 +1 @@
-DIST tremc-0.9.1.tar.gz 315482 BLAKE2B 
c4e94ef13cc9d716cdbcbff061b1956d17c6babe765e192d675d08ad5d76a22cf171a4fb3f5f2952b971f59a16a2768ccd360d10df5b0f3325fd63ff9716f209
 SHA512 
ed16080c6544ce9019e6a0c4d660310992cae0f139a2a78e9eaa51841e293cefb22160a105794b5f03a4bfd47a2c50402879f2a17302a96265a9c9acb3174c39
 DIST tremc-0.9.2.tar.gz 315631 BLAKE2B 
f5ed154fbfcbdb3e77b678a5827d3f68a6be4033530d6d4e451d57808d43cd5737fff32cf62445d246bfce4d8f02e4cac0c1156603e220e228e61b725d6deaf8
 SHA512 
d6d6d155ddac918d329226d5c3b53c63fd4fa0b98e30f1eb2cd2226ea598bd7dd81d72f747dc11f4a508bcc0453d90d774c1d8db6dac05ae1ecbc217290b7db3

diff --git a/net-p2p/tremc/files/0.9.1-fix-startup-crash.patch 
b/net-p2p/tremc/files/0.9.1-fix-startup-crash.patch
deleted file mode 100644
index 5e67e5d3155..000
--- a/net-p2p/tremc/files/0.9.1-fix-startup-crash.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 0cb919b446eeda41aea8578ae26796ae92a973e5 Mon Sep 17 00:00:00 2001
-From: George Angelopoulos 
-Date: Mon, 2 Jul 2018 17:55:38 +0200
-Subject: [PATCH] fix addch ERR crash when starting with no torrents
-
-There was a bug introduced by commit e06d08d:
-scale_bytes: Simplify this function
-
-tremc would crash when started against a transmission-daemon with no
-torrents.
-
-This was because scale_bytes(0) used to return 0K but now it returns
-0.0K. The expected width of 2 was hardcoded. The new width of 4 causes
-addch() to return ERR because it tries to draw outside the window.
-
-Hardcoding the new width to 4 would resolve this issue. Instead,
-this patch dynamically sets the width returned by scale_bytes().
-This should make the code a tiny bit more readable and maybe avoid this
-issue in the future.
-
-There is one more magic number involved here which I don't see a good
-way of getting rid of. So I made an illustrative comment.
-
-Resolves #15

- tremc | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/tremc b/tremc
-index 36ae67b..ed898fb 100755
 a/tremc
-+++ b/tremc
-@@ -883,7 +883,7 @@ class Interface(object):
- self.focus= -1  # -1: nothing focused; 0: top of list; <# of 
torrents>-1: bottom of list
- self.scrollpos= 0   # start of torrentlist
- self.torrents_per_page  = 0 # will be set by manage_layout()
--self.rateDownload_width = self.rateUpload_width = 2
-+self.rateDownload_width = self.rateUpload_width = len(scale_bytes())
- 
- self.details_category_focus = 0  # overview/files/peers/tracker in 
details
- self.focus_detaillist   = -1 # same as focus but for details
-@@ -2667,6 +2667,8 @@ class Interface(object):
- pass
- 
- def draw_global_rates(self):
-+# ↑1.2K ↓3.4M
-+# ^^^ => +3
- rates_width = self.rateDownload_width + self.rateUpload_width + 3
- 
- if self.stats['alt-speed-enabled']:
-@@ -3373,7 +3375,7 @@ def timestamp(timestamp, format="%x %X"):
- return "%s (%s)" % (absolute, relative)
- 
- 
--def scale_bytes(bytes, type='short'):
-+def scale_bytes(bytes=0, type='short'):
- if bytes >= 1099511627776:
- scaled_bytes = round((bytes / 1099511627776.0), 1)
- unit = 'T'
--- 
-2.26.0
-

diff --git a/net-p2p/tremc/tremc-0.9.1.ebuild b/net-p2p/tremc/tremc-0.9.1.ebuild
deleted file mode 100644
index 8306b1e2dfa..000
--- a/net-p2p/tremc/tremc-0.9.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-PYTHON_REQ_USE="ncurses"
-inherit bash-completion-r1 python-single-r1
-
-DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
-HOMEPAGE="https://github.com/tremc/tremc;
-SRC_URI="https://github.com/tremc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="geoip"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   geoip? ( 

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

2020-05-31 Thread Michał Górny
commit: 62606c169d1f914885780448f10420835d630f43
Author: John Helmert III  posteo  net>
AuthorDate: Sat May 30 22:21:06 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 31 06:58:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62606c16

net-p2p/tremc: Fix maintainer email

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: John Helmert III  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16022
Signed-off-by: Michał Górny  gentoo.org>

 net-p2p/tremc/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/tremc/metadata.xml b/net-p2p/tremc/metadata.xml
index 8e79439699d..9a9bca13525 100644
--- a/net-p2p/tremc/metadata.xml
+++ b/net-p2p/tremc/metadata.xml
@@ -2,7 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   jchelmer...@gmail.com
+   jchelme...@posteo.net
John Helmert III





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

2020-04-15 Thread Michał Górny
commit: 8f786fdd9d3cb6865cb58fda63822861d950c035
Author: John Helmert III  gmail  com>
AuthorDate: Tue Apr 14 03:04:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 15 19:09:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f786fdd

net-p2p/tremc: New package

transmission-remote-cli is dead and Python 2 only. This is a fork of it
that supports Python 3.

Signed-off-by: John Helmert III  gmail.com>
Bug: https://bugs.gentoo.org/713518
Closes: https://github.com/gentoo/gentoo/pull/15340
Signed-off-by: Michał Górny  gentoo.org>

 net-p2p/tremc/Manifest|  1 +
 net-p2p/tremc/files/0.9.1-fix-startup-crash.patch | 62 +++
 net-p2p/tremc/metadata.xml| 15 ++
 net-p2p/tremc/tremc-0.9.1.ebuild  | 41 +++
 4 files changed, 119 insertions(+)

diff --git a/net-p2p/tremc/Manifest b/net-p2p/tremc/Manifest
new file mode 100644
index 000..5304ec87b78
--- /dev/null
+++ b/net-p2p/tremc/Manifest
@@ -0,0 +1 @@
+DIST tremc-0.9.1.tar.gz 315482 BLAKE2B 
c4e94ef13cc9d716cdbcbff061b1956d17c6babe765e192d675d08ad5d76a22cf171a4fb3f5f2952b971f59a16a2768ccd360d10df5b0f3325fd63ff9716f209
 SHA512 
ed16080c6544ce9019e6a0c4d660310992cae0f139a2a78e9eaa51841e293cefb22160a105794b5f03a4bfd47a2c50402879f2a17302a96265a9c9acb3174c39

diff --git a/net-p2p/tremc/files/0.9.1-fix-startup-crash.patch 
b/net-p2p/tremc/files/0.9.1-fix-startup-crash.patch
new file mode 100644
index 000..5e67e5d3155
--- /dev/null
+++ b/net-p2p/tremc/files/0.9.1-fix-startup-crash.patch
@@ -0,0 +1,62 @@
+From 0cb919b446eeda41aea8578ae26796ae92a973e5 Mon Sep 17 00:00:00 2001
+From: George Angelopoulos 
+Date: Mon, 2 Jul 2018 17:55:38 +0200
+Subject: [PATCH] fix addch ERR crash when starting with no torrents
+
+There was a bug introduced by commit e06d08d:
+scale_bytes: Simplify this function
+
+tremc would crash when started against a transmission-daemon with no
+torrents.
+
+This was because scale_bytes(0) used to return 0K but now it returns
+0.0K. The expected width of 2 was hardcoded. The new width of 4 causes
+addch() to return ERR because it tries to draw outside the window.
+
+Hardcoding the new width to 4 would resolve this issue. Instead,
+this patch dynamically sets the width returned by scale_bytes().
+This should make the code a tiny bit more readable and maybe avoid this
+issue in the future.
+
+There is one more magic number involved here which I don't see a good
+way of getting rid of. So I made an illustrative comment.
+
+Resolves #15
+---
+ tremc | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/tremc b/tremc
+index 36ae67b..ed898fb 100755
+--- a/tremc
 b/tremc
+@@ -883,7 +883,7 @@ class Interface(object):
+ self.focus= -1  # -1: nothing focused; 0: top of list; <# of 
torrents>-1: bottom of list
+ self.scrollpos= 0   # start of torrentlist
+ self.torrents_per_page  = 0 # will be set by manage_layout()
+-self.rateDownload_width = self.rateUpload_width = 2
++self.rateDownload_width = self.rateUpload_width = len(scale_bytes())
+ 
+ self.details_category_focus = 0  # overview/files/peers/tracker in 
details
+ self.focus_detaillist   = -1 # same as focus but for details
+@@ -2667,6 +2667,8 @@ class Interface(object):
+ pass
+ 
+ def draw_global_rates(self):
++# ↑1.2K ↓3.4M
++# ^^^ => +3
+ rates_width = self.rateDownload_width + self.rateUpload_width + 3
+ 
+ if self.stats['alt-speed-enabled']:
+@@ -3373,7 +3375,7 @@ def timestamp(timestamp, format="%x %X"):
+ return "%s (%s)" % (absolute, relative)
+ 
+ 
+-def scale_bytes(bytes, type='short'):
++def scale_bytes(bytes=0, type='short'):
+ if bytes >= 1099511627776:
+ scaled_bytes = round((bytes / 1099511627776.0), 1)
+ unit = 'T'
+-- 
+2.26.0
+

diff --git a/net-p2p/tremc/metadata.xml b/net-p2p/tremc/metadata.xml
new file mode 100644
index 000..8e79439699d
--- /dev/null
+++ b/net-p2p/tremc/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   jchelmer...@gmail.com
+   John Helmert III
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   tremc/tremc
+   
+

diff --git a/net-p2p/tremc/tremc-0.9.1.ebuild b/net-p2p/tremc/tremc-0.9.1.ebuild
new file mode 100644
index 000..8306b1e2dfa
--- /dev/null
+++ b/net-p2p/tremc/tremc-0.9.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="ncurses"
+inherit bash-completion-r1 python-single-r1
+
+DESCRIPTION="Ncurses interface for the Transmission BitTorrent client"
+HOMEPAGE="https://github.com/tremc/tremc;