diff options
author | David Seifert <soap@gentoo.org> | 2023-03-18 17:42:30 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-18 17:42:30 +0100 |
commit | 6d4690ea33d365e72a4bd81d86ead1737cdfbda9 (patch) | |
tree | 8f6da9b5206a962f30aff0c7ae85ee0997bee9d7 /net-p2p | |
parent | dev-ml/ppxfind: treeclean (diff) | |
download | gentoo-6d4690ea33d365e72a4bd81d86ead1737cdfbda9.tar.gz gentoo-6d4690ea33d365e72a4bd81d86ead1737cdfbda9.tar.bz2 gentoo-6d4690ea33d365e72a4bd81d86ead1737cdfbda9.zip |
net-p2p/bittornado: treeclean
Closes: https://bugs.gentoo.org/894222
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/bittornado/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild | 60 | ||||
-rw-r--r-- | net-p2p/bittornado/files/bttrack.conf | 17 | ||||
-rw-r--r-- | net-p2p/bittornado/files/bttrack.rc | 22 | ||||
-rw-r--r-- | net-p2p/bittornado/metadata.xml | 8 |
5 files changed, 0 insertions, 108 deletions
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest deleted file mode 100644 index ebfe3739acc8..000000000000 --- a/net-p2p/bittornado/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST BitTornado-0.4.1_p20160925.tar.gz 164352 BLAKE2B 34cebe27ab0cb18a960ef830311ffa47f2064c83768a9a011dcd9e45e9460b60438e159824eaf9cf844d7c5604a9de832e6a85cea3335d9e6223c31e7b349014 SHA512 09971cc5705c421c4440cd51b9aa37da9f8ce992a882d342c0547fe1771199fa61c4924f6d6cd321776f9dcefafd3e244b9cbfce047c4cdd4502dd0a1a1fdaaa diff --git a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild deleted file mode 100644 index 5bebef9b4079..000000000000 --- a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 - -MY_PN=BitTornado -MY_P=${MY_PN}-${PV} -EGIT_COMMIT="ed327c4e1ebbe1fe949be81723527cfda87aeb8d" - -DESCRIPTION="John Hoffman's fork of the original bittorrent" -HOMEPAGE="https://github.com/effigies/BitTornado" -SRC_URI="https://github.com/effigies/BitTornado/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz" -# GPL-2 is just for the init script from FILESDIR. -LICENSE="MIT GPL-2" -SLOT="0" - -KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/pycryptodome[${PYTHON_USEDEP}] -" -# Block dev-python/pytest-testmon for bug #693508. -DEPEND=" - test? ( - !!dev-python/pytest-testmon - ) -" - -S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT} - -distutils_enable_tests pytest - -python_prepare_all() { - # https://github.com/effigies/BitTornado/pull/53 - sed -e 's:"BitTornado.Tracker":\0, "BitTornado.Types":' -i setup.py || die - find "${S}" -name '*.py' -print0 | \ - xargs --null -- \ - sed -r -i ' - s:time.clock\(\):time.perf_counter():g; - s:collections.(MutableSet|Set|Sequence|Mapping):collections.abc.\1:g - ' || die - distutils-r1_python_prepare_all -} - -python_test() { - epytest BitTornado/tests -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}"/bttrack.conf bttrack - newinitd "${FILESDIR}"/bttrack.rc bttrack -} diff --git a/net-p2p/bittornado/files/bttrack.conf b/net-p2p/bittornado/files/bttrack.conf deleted file mode 100644 index 9757ce477ff6..000000000000 --- a/net-p2p/bittornado/files/bttrack.conf +++ /dev/null @@ -1,17 +0,0 @@ -# /etc/conf.d/bttrack -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Change this to this to the port you would like to connect to for the tracker. -# It is accessible at http://localhost:PORT/ from any web browser. -PORT=8082 - -# where to store recent downloader info -DFILE=/usr/share/bittorrent/tracker.dfile - -# path to favicon.ico which many popular web browsers can use -FAVICON=/usr/share/bittorrent/favicon.ico - -# Connection logs are sent to stdout by default, so they should be sent to a -# file when using this script. -LOGFILE=/var/log/bttrack.log diff --git a/net-p2p/bittornado/files/bttrack.rc b/net-p2p/bittornado/files/bttrack.rc deleted file mode 100644 index 2c1dfe69cafd..000000000000 --- a/net-p2p/bittornado/files/bttrack.rc +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting bttrack" - start-stop-daemon --start --quiet --background --make-pidfile \ - --pidfile /var/run/bttrack.pid \ - --exec /usr/bin/bttrack.py -- --port ${PORT} \ - --dfile ${DFILE} --favicon ${FAVICON} --logfile ${LOGFILE} - eend $? -} - -stop() { - ebegin "Stopping bttrack" - start-stop-daemon --stop --quiet --pidfile /var/run/bttrack.pid - eend $? -} diff --git a/net-p2p/bittornado/metadata.xml b/net-p2p/bittornado/metadata.xml deleted file mode 100644 index cf542189efb2..000000000000 --- a/net-p2p/bittornado/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">effigies/BitTornado</remote-id> - </upstream> -</pkgmetadata> |