diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
commit | deba8115d2c2af26df42966b91ef04ff4dd79cde (patch) | |
tree | 9a48f42594e1a9e6b2020d5535a784314434d7a7 /net-p2p/deluge | |
parent | 38423c67c8a23f6a1bc42038193182e2da3116eb (diff) |
gentoo resync : 14.05.2020
Diffstat (limited to 'net-p2p/deluge')
-rw-r--r-- | net-p2p/deluge/Manifest | 10 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-1.3.15-r5.ebuild | 142 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-1.3.15-r6.ebuild | 134 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-1.3.15-r7.ebuild | 133 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-1.3.9999.ebuild | 134 | ||||
-rw-r--r-- | net-p2p/deluge/deluge-2.0.3-r5.ebuild | 2 | ||||
-rw-r--r-- | net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch | 32 | ||||
-rw-r--r-- | net-p2p/deluge/files/deluge-1.3.5-disable_libtorrent_internal_copy.patch | 42 | ||||
-rw-r--r-- | net-p2p/deluge/files/deluge-web.service-2 | 11 |
9 files changed, 2 insertions, 638 deletions
diff --git a/net-p2p/deluge/Manifest b/net-p2p/deluge/Manifest index 9309015a7c28..a0522da675aa 100644 --- a/net-p2p/deluge/Manifest +++ b/net-p2p/deluge/Manifest @@ -1,26 +1,18 @@ -AUX deluge-1.3.15-r1-fix-preferences-ui.patch 1209 BLAKE2B 570dba58991221c2c2d329c0a367f68ebadf15d7b0fef8633c9c22d1c3dc992328d69f329f9700d2c46ab812ff4d99de420a37daecbb6623338e005f8fa9538d SHA512 9d32dad457ce5fe5752fa3f4dd42492443ffbeb0508347d21197b4ee950674dbf209d4faf6a730c37eecfa8a5233606fbef9ede5c4a2da5ee60d047ec7569b98 -AUX deluge-1.3.5-disable_libtorrent_internal_copy.patch 1165 BLAKE2B 68d0e98ca8648adb3f5afdeda84c4d36fa5bcea2239e37087404573faa4b8084a8c54362d237bbfda702d4b12213818259ddc0cd61013dc7261186899ded4b96 SHA512 8f08d5b9cfcff3fda8153d4bdfc8435a3b63fefc51b6cd3c648a82134377dc561e68df3c9aba4a37cffeff7b789d352a438b75ec6bdaf58f87ab5326f641b316 AUX deluge-2.0.3-UI-status.patch 1406 BLAKE2B 7da865fa6d87fbfc0443572d34cbf7324cc76037c603b7d2199081533fab04362d78e15dcaf37ceeb606f04017e8b1b5ad9ceb2028a9bd4d11bb859f02d3d898 SHA512 4860c7147ff4ec6da072a4245be7a80e6512f6cf2eecfd4db8260a206e76d1cb44b9f063e82e5a57ef70ab3d7dd020d9ba5ddb1c96b2bbb72ed9d3b2f20d85c8 AUX deluge-2.0.3-gettext.patch 483 BLAKE2B 5c0c4462a27c9e8339979593c7868cca6a3f56549cba094d7f3932b76fe65c5f6d50390db7bbfc39268de05ebaa92bf1a22caffe6ae858e6adf222f17cec15d4 SHA512 122127744960786d7c3b247feb69fa4397ceb70bb1a4f2d30be4a683f163096f120cc5a0f72602cab39374eae5351bd5b3cf8bfd527bf036cc8e5e7f0700cf32 AUX deluge-2.0.3-setup.py.patch 428 BLAKE2B f9469cac78d66cf71b510d846bceb1e59e6c887d89b239d39f67aa3757434dd2f3e384531733ceb332b8b57d62b56f34244caa592a279aa812269cde6106b1cc SHA512 d2f23dd8a27aa5537610c34b6197962b986f4811a89dffbfc82fade0dc8c0942a8f58480e0235d11d049f89dd38c48da43bbf1dc8a66f26cbc16db764b672af5 AUX deluge-web.conf 210 BLAKE2B 169ddb5ad6259940cf0539e884874b42b739c2425011a86208a608bbaece9db386dca186246671d5dc10b61677b843c0a2b6f7dbd6f8a99da2061a1f83867fa3 SHA512 ecea3cd59dff0c2f0215d98c9e4adda49b6f1f95d43d844262fe73c335d93a6e9076ff5143ff7f3e9f4433087d16a1d0497f75e2b1e0a3d788f5ad60705c9999 AUX deluge-web.init 1484 BLAKE2B f58b9a929345ee705088cc7efbf83bd1537a8e0c8332e3c4d50f08f47b1a41c5b5005cb19c94e555fcbe92bcc1c5f2e274057cd9624789ee107d22717ffa0d03 SHA512 8afb1318e4cf267013a3704f71c83942c4c862eeb6d91ea15f4a2a8bb5f1bed7461453bf2877fe0afc4c3f560dad3629ade538324a75a9b6ce4982f5121a74ef AUX deluge-web.init-2 1503 BLAKE2B 418f9091294b87ff6ef7780a3df3ff72e2c30baf8b2f1d0af5c90c5ff122e56fa3e0e2328f02734b8e4bc65976be92bd21740c03202fedee5afe09b3789ce449 SHA512 04135ecc250140ad836b8531e60adc18c39e87901f8be9578948d09027877f6a6523de5be9a33c5db6f93416355f08a8a53dfdc75fa3188e1bf9c10f3dc556a6 -AUX deluge-web.service-2 198 BLAKE2B 00195276c90653b406fcd9d7d75cb6a69fff6929644372905de42e5a62ad1129e954adbe54415a3be612f705cb773f40570d49c7720b40b6caffacc7fce4518f SHA512 51d761c76d213285bef2cd4cc80c7135838f0fb955a7584ca15194080d50aa63e81642d566b901af8970ed01ae9952482226a41627f1e198fd6587c197737889 AUX deluge-web.service-3 200 BLAKE2B cddc255dda99d26d603c20d2d5e6ab15b46a81fd1865734e9b77df82580788938fd2f343c1f3bc5e57062c5089c3244b7e1950451912bdc460c2bba28dd6da89 SHA512 50791884fe84c39784b6350cc38dbca116ae5e4505a6cae6a3833167014861d51fdce7902ad1ca74bbe0b580438d850cc7a8f4f2d065f495c6e7864e360577fa AUX deluge-web.service.conf 100 BLAKE2B 2ed6ce80fb88d19f50911940ca5092617b55670228354cb5c7c38b7fb23801e3880ecea4d2326bb2ce1b496ba484242ed109ef6149b712f3fe6cd4b356eccdf5 SHA512 aaf493b3f614558c762ffea3219eda7045e739eeeb826a19df456ef9a94a0894302695bd96490eb4fb44e16039126170ec31ba6e0a0a2f6ae69669e2b9f4cda9 AUX deluged.conf-2 228 BLAKE2B e498f2d8b232ce40fee847079608750a58e15bb88e5918cf9325a44258a1ae73d114db8d6ff80bcf093a956ed33d592bf76748015a14803c3a380c415a805a0e SHA512 3005478b48c6c4c67f0eb8d9ee44ea1310ccd209fe6364f7bbc37ec296111e50462296d678cd4098bb63472ade190fdaf38ded39c3e8a73cbb4cede4860978c1 AUX deluged.init-2 1503 BLAKE2B 1a46adee922caa964d67e114f27b7d00bf5b8913cf8870aae1f61677f0f2fd763c3d7686d4fcb5a583884f560906bf75917fddd4ebbe379cdb2d839dfba80e9e SHA512 a2514306b14712c7b31e64baccb65080101314e5f81e01702caf0f030afa40d98c1d3898c90fb66f55092bb27c48f0a6bd5a4db215ac68e352602000b700164a AUX deluged.service-2 243 BLAKE2B 461d160a901c804cc405fa1c95ea5eb41feac701577da7385d8c7350ea3a23aa16d4761c598ff2208a2eeb997c3ded11f79637aefb4268fdfc74e7eaedd5fb5f SHA512 cbb783b92eff1562435b690ec1ae9fd7e407577b33764b049d1a591260044ee66ba18acd3f3bf8ddf3822e082a2edb53db16de64c706cb190cf1026e2f880c8c AUX deluged.service.conf 114 BLAKE2B 4b04389b8337e692966f20c9423c5e86a2852969f95684e01fccadc84987cefdc198364dc3827673d33696d109d2194d3aed4f9f90260c373dd4d45b1fe1a05f SHA512 b84ffe94048757359753157643e3d5d6a8110aebffbaf73b836f6f3f53a4e6fee6bcdf65563233ac04859707a5eda986638374b28d913281a98c9edaa6e4750a -DIST deluge-1.3.15.tar.bz2 1775913 BLAKE2B 9d5224766051d52b6e075dcafab5716793081c78ba69da616fc98f2c463ddc7676b2c2ce8f54b81e1480cf4344582245733033cf5927a9692bc43ec0a23f0001 SHA512 1d0f93a8c5081b807a390f79101d7f26751b0dfc47efe4c3573541014f9e5969461e2d421d17646c17fb81eb4f66f25f5ddce63b9bd226989adb7d7506146bda DIST deluge-2.0.3.tar.xz 1777624 BLAKE2B d090e63e7e18c7b420e1c4239c833512a04a72e8b2c494bc8a3a03a3b7a03050eed894de84d7a26a416417b0c874a82809398fcaf57972b1056e2fcceb9d092d SHA512 3abec24495b22ec10649865c7ce7c3271224c7d25c0647b43f3c177b7ccb45d4c5c593f8c89d8bc8eac85ae5dc737f9960827587912dd527bb96100304a7d480 -EBUILD deluge-1.3.15-r5.ebuild 4915 BLAKE2B 76981eabdac0c9bc5ff02f15731473027f8fd327526a0bf3e4b9bdbd1487896cf8fea4b39c3751d6f739f9e87ccd8887a6ae63db0ba4332062328803ec2153b1 SHA512 0fee78aa555b499d52f8f28088784ca9c8dc2d195c480a4434ba8927ce860571287c89e54b17727dc0f575584460bcc46e9a1bca3edb52451e6cfd4d228ecb44 -EBUILD deluge-1.3.15-r6.ebuild 4493 BLAKE2B e097dcbba9eb411cb71421ac8d45ba6f9d6389e22f1b8642356de2fcdd27500f82806d4150b6656dc43fc3c703ba7334392ef3328f67619b772b9b69cd2a276e SHA512 6eec9c42e806608006f5187998aa95fddf0f0ef39d8eb1a7645ca76fd73c045a7f49b0750040d9215645acdba8fbe7e1fd78545d108f32f112bd093b8c1fe4ec -EBUILD deluge-1.3.15-r7.ebuild 4431 BLAKE2B f6e97528f9c78fbc5a1fb1827284410dfbb02cf9a45c66f98d58ddea69bfa26b28d8791f7d25280f030fe3216f96b75406e603c2fe9d30fe20140c03dc497937 SHA512 5bc29d225085c4a4fe2aaf7edcf1ef6827e72787914661b37389be18af2e0316ba015c7e74111090ee699c29e792e50695b70782f30beab8d8c2336ec4e49a47 -EBUILD deluge-1.3.9999.ebuild 4441 BLAKE2B eaeca4ed31cc750ec9de42b6ad53777832717e6224639de6b2ffa0c59b7abb22a3264f08fbc10db9f79cc289cee6ba03f0fdb284d94d3760866b7cf584b53fa3 SHA512 24e5c4641c573a822dd2ef002d851cf0d935b28f3c65b75215e4e824b975ffb32e1f9a5d094580f006a74155277ab3b2af384917cfb1c92dfa9737bb8c9e7e46 EBUILD deluge-2.0.3-r4.ebuild 4551 BLAKE2B ca627923fdbb7144d4e4891916e5ef9f6e85f9ccdb24adc7ce28ab9295148ef3ec56c4f9fe3a53a6cc3c3b172dabb8c3ea23f7989db9e0d0d2c212313d8bbef8 SHA512 5b44412ab8537de7399608ff20afb7c8b06dc7ccc450dba4536df1c20c707bf59d3fa42bac27e91176e0d751da2a1848705fdcd0b7752df8fb3d13e676be4c37 -EBUILD deluge-2.0.3-r5.ebuild 4494 BLAKE2B c044f5d698919c6930999a0ccda4f475c470a4ed07b7fbfa2e4eed7b744b1853317724857048ca0a26556afa75e7a711c97eca8a84ba37c66ad3b50c96e9ffb7 SHA512 853df5c79bb8cd07b9a9afa5ad4ae262f893f00f9e3b3e4feb5e473d7fa176f5d651e3b23aed9304e95ae3990a1b10770a4788f581ba6f2a0b883f57a4ac05e0 +EBUILD deluge-2.0.3-r5.ebuild 4498 BLAKE2B 36a76f2ac7e3729c02fbe55778a4e03f180bc9a786a2e588f9824a2da3f30a01bd414b114fcf00e41f4be7dc35190f204fba5558718894f5ebc7c49aaa0b7e99 SHA512 eb2175efa677e713c9f4f43f8eee4dffbd152b3b15e9344ee402d056504c62a87851bebdc6e5c9b899f58bf24ddf1dfaeed58a402d6bc5ec43558a8de9e57ad5 EBUILD deluge-2.0.3-r6.ebuild 4536 BLAKE2B 2e364f8ab18cd863e062883a44347e25d1013423fab81731b8ed5ed12f16d46d7bf1dd3c334092ad8d2d4f6a8a827036a3432dca0a287c430e021b3d27d192c3 SHA512 907108811c97d88e8ccdee666623f8a130503e45ca4c148ce9266d802654075136940fbcc5563a6ce7de82bf602c6339e277d3e14fd66e3569895ec98dbfb97c EBUILD deluge-9999.ebuild 4483 BLAKE2B 68bc5d2fcb7a73aa084d5bb9f10a783503be261634a9162cbacfeb4454bbdca7c2aa858de5295e0cbfe934037eb97442721fee83b474b5076a6c920cecf34150 SHA512 00587ba71ee066314024586ec5420ed6419053f0ecde16a8745e021ea7dcc328d941927c011e14fd72b31a4ffc8c8eee72046c921f2612786794b6b2a968b35c MISC metadata.xml 756 BLAKE2B bc8720edfa5af1ee53bdf84af194bce3f3620d228d3cffa2b7af0b239b8d0988ff9df2f6cd24931496bb474867403164870f46170db0b1697ee80035c07760e3 SHA512 19ffe8fe672b0a3929cae6351e07c3422e445479a9627d968aefc2b8f7ff042460a6b4e76ea4aa131b3136e3237b700cd8039b1efdefaacc30a194707df86d81 diff --git a/net-p2p/deluge/deluge-1.3.15-r5.ebuild b/net-p2p/deluge/deluge-1.3.15-r5.ebuild deleted file mode 100644 index bb90b8848275..000000000000 --- a/net-p2p/deluge/deluge-1.3.15-r5.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_SINGLE_IMPL=1 -PLOCALES="af ar ast be bg bn bs ca cs cy da de el en_AU en_CA en_GB eo es et eu fa fi fo fr fy ga gl he hi hr hu id is it iu ja ka kk km kn ko ku ky la lb lt lv mk ml ms nap nb nds nl nn oc pl pms pt pt_BR ro ru si sk sl sr sv ta te th tl tlh tr uk ur vi zh_CN zh_HK zh_TW" -inherit distutils-r1 eutils systemd user l10n - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="git://deluge-torrent.org/${PN}.git - http://git.deluge-torrent.org/${PN}" - SRC_URI="" -else - SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.bz2" - KEYWORDS="amd64 ~arm ~ppc ~sparc x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="console geoip gtk libnotify sound webinterface" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - sound? ( gtk ) - libnotify? ( gtk ) -" -PATCHES=( - "${FILESDIR}/${PN}-1.3.5-disable_libtorrent_internal_copy.patch" - "${FILESDIR}/${PN}-1.3.15-r1-fix-preferences-ui.patch" -) - -CDEPEND=" - $(python_gen_cond_dep ' - net-libs/libtorrent-rasterbar[python,${PYTHON_MULTI_USEDEP}] - ')" -DEPEND="${CDEPEND} - dev-util/intltool" -RDEPEND="${CDEPEND} - $(python_gen_cond_dep ' - dev-python/chardet[${PYTHON_MULTI_USEDEP}] - dev-python/pyopenssl[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - dev-python/setproctitle[${PYTHON_MULTI_USEDEP}] - >=dev-python/twisted-16.0.0[${PYTHON_MULTI_USEDEP}] - geoip? ( dev-python/geoip-python[${PYTHON_MULTI_USEDEP}] ) - gtk? ( - sound? ( dev-python/pygame[${PYTHON_MULTI_USEDEP}] ) - dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] - >=dev-python/pygtk-2.12[${PYTHON_MULTI_USEDEP}] - gnome-base/librsvg - libnotify? ( dev-python/notify-python[${PYTHON_MULTI_USEDEP}] ) - ) - webinterface? ( dev-python/mako[${PYTHON_MULTI_USEDEP}] ) - ')" - -python_prepare_all() { - local args=( - -e "/Compiling po file/a \\\tuptoDate = False" - ) - sed -i "${args[@]}" -- 'setup.py' || die - args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - local loc_dir="${S}/deluge/i18n" - l10n_find_plocales_changes "${loc_dir}" "" ".po" - rm_loc() { - rm -vf "${loc_dir}/${1}.po" || die - } - l10n_for_each_disabled_locale_do rm_loc - - distutils-r1_python_prepare_all -} - -esetup.py() { - # bug 531370: deluge has its own plugin system. No need to relocate its egg info files. - # Override this call from the distutils-r1 eclass. - # This does not respect the distutils-r1 API. DONOT copy this example. - set -- "${PYTHON}" setup.py "$@" - echo "$@" - "$@" || die -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/console/" || die - rm -f "${D}/usr/bin/deluge-console" || die - rm -f "${D}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gtk ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/gtkui/" || die - rm -rf "${D}/usr/share/icons/" || die - rm -f "${D}/usr/bin/deluge-gtk" || die - rm -f "${D}/usr/share/man/man1/deluge-gtk.1" || die - rm -f "${D}/usr/share/applications/deluge.desktop" || die - fi - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-2" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/web/" || die - rm -f "${D}/usr/bin/deluge-web" || die - rm -f "${D}/usr/share/man/man1/deluge-web.1" || die - fi - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf -} - -pkg_postinst() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} - elog - elog "If, after upgrading, deluge doesn't work, please remove the" - elog "'~/.config/deluge' directory and try again, but make a backup" - elog "first!" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "/etc/init.d/deluged start as root" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information look at https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-1.3.15-r6.ebuild b/net-p2p/deluge/deluge-1.3.15-r6.ebuild deleted file mode 100644 index 58e3297a8a9a..000000000000 --- a/net-p2p/deluge/deluge-1.3.15-r6.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd user - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="git://deluge-torrent.org/${PN}.git - http://git.deluge-torrent.org/${PN}" - SRC_URI="" -else - SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.bz2" - KEYWORDS="amd64 ~arm ~ppc ~sparc x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="console geoip gtk libnotify sound webinterface" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - sound? ( gtk ) - libnotify? ( gtk ) -" -PATCHES=( - "${FILESDIR}/${PN}-1.3.5-disable_libtorrent_internal_copy.patch" - "${FILESDIR}/${PN}-1.3.15-r1-fix-preferences-ui.patch" -) - -DEPEND=" - $(python_gen_cond_dep ' - <net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_MULTI_USEDEP}] - ') - dev-util/intltool" -RDEPEND=" - $(python_gen_cond_dep ' - <net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_MULTI_USEDEP}] - dev-python/chardet[${PYTHON_MULTI_USEDEP}] - dev-python/pyopenssl[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - dev-python/setproctitle[${PYTHON_MULTI_USEDEP}] - >=dev-python/twisted-16.0.0[${PYTHON_MULTI_USEDEP}] - geoip? ( dev-python/geoip-python[${PYTHON_MULTI_USEDEP}] ) - gtk? ( - sound? ( dev-python/pygame[${PYTHON_MULTI_USEDEP}] ) - dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] - >=dev-python/pygtk-2.12[${PYTHON_MULTI_USEDEP}] - gnome-base/librsvg - libnotify? ( dev-python/notify-python[${PYTHON_MULTI_USEDEP}] ) - ) - webinterface? ( dev-python/mako[${PYTHON_MULTI_USEDEP}] ) - ')" - -python_prepare_all() { - local args=( - -e "/Compiling po file/a \\\tuptoDate = False" - ) - sed -i "${args[@]}" -- 'setup.py' || die - args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -esetup.py() { - # bug 531370: deluge has its own plugin system. No need to relocate its egg info files. - # Override this call from the distutils-r1 eclass. - # This does not respect the distutils-r1 API. DONOT copy this example. - set -- "${PYTHON}" setup.py "$@" - echo "$@" - "$@" || die -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/console/" || die - rm -f "${D}/usr/bin/deluge-console" || die - rm -f "${D}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gtk ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/gtkui/" || die - rm -rf "${D}/usr/share/icons/" || die - rm -f "${D}/usr/bin/deluge-gtk" || die - rm -f "${D}/usr/share/man/man1/deluge-gtk.1" || die - rm -f "${D}/usr/share/applications/deluge.desktop" || die - fi - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-2" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/web/" || die - rm -f "${D}/usr/bin/deluge-web" || die - rm -f "${D}/usr/share/man/man1/deluge-web.1" || die - fi - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf -} - -pkg_postinst() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} - elog - elog "If, after upgrading, deluge doesn't work, please remove the" - elog "'~/.config/deluge' directory and try again, but make a backup" - elog "first!" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "/etc/init.d/deluged start as root" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information look at https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-1.3.15-r7.ebuild b/net-p2p/deluge/deluge-1.3.15-r7.ebuild deleted file mode 100644 index 018c45c4ff65..000000000000 --- a/net-p2p/deluge/deluge-1.3.15-r7.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" - SRC_URI="" -else - SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="console geoip gtk libnotify sound webinterface" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - sound? ( gtk ) - libnotify? ( gtk ) -" -PATCHES=( - "${FILESDIR}/${PN}-1.3.5-disable_libtorrent_internal_copy.patch" - "${FILESDIR}/${PN}-1.3.15-r1-fix-preferences-ui.patch" -) - -DEPEND=" - $(python_gen_cond_dep ' - <net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_MULTI_USEDEP}] - ') - dev-util/intltool - acct-group/deluge - acct-user/deluge" -RDEPEND=" - $(python_gen_cond_dep ' - <net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_MULTI_USEDEP}] - dev-python/chardet[${PYTHON_MULTI_USEDEP}] - dev-python/pyopenssl[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - dev-python/setproctitle[${PYTHON_MULTI_USEDEP}] - >=dev-python/twisted-16.0.0[${PYTHON_MULTI_USEDEP}] - geoip? ( dev-python/geoip-python[${PYTHON_MULTI_USEDEP}] ) - gtk? ( - sound? ( dev-python/pygame[${PYTHON_MULTI_USEDEP}] ) - dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] - >=dev-python/pygtk-2.12[${PYTHON_MULTI_USEDEP}] - gnome-base/librsvg - libnotify? ( dev-python/notify-python[${PYTHON_MULTI_USEDEP}] ) - ) - webinterface? ( dev-python/mako[${PYTHON_MULTI_USEDEP}] ) - ')" - -python_prepare_all() { - local args=( - -e "/Compiling po file/a \\\tuptoDate = False" - ) - sed -i "${args[@]}" -- 'setup.py' || die - args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -esetup.py() { - # bug 531370: deluge has its own plugin system. No need to relocate its egg info files. - # Override this call from the distutils-r1 eclass. - # This does not respect the distutils-r1 API. DONOT copy this example. - set -- "${PYTHON}" setup.py "$@" - echo "$@" - "$@" || die -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/console/" || die - rm -f "${D}/usr/bin/deluge-console" || die - rm -f "${D}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gtk ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/gtkui/" || die - rm -rf "${D}/usr/share/icons/" || die - rm -f "${D}/usr/bin/deluge-gtk" || die - rm -f "${D}/usr/share/man/man1/deluge-gtk.1" || die - rm -f "${D}/usr/share/applications/deluge.desktop" || die - fi - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-2" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/web/" || die - rm -f "${D}/usr/bin/deluge-web" || die - rm -f "${D}/usr/share/man/man1/deluge-web.1" || die - fi - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf -} - -pkg_postinst() { - elog - elog "If, after upgrading, deluge doesn't work, please remove the" - elog "'~/.config/deluge' directory and try again, but make a backup" - elog "first!" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "/etc/init.d/deluged start as root" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information look at https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-1.3.9999.ebuild b/net-p2p/deluge/deluge-1.3.9999.ebuild deleted file mode 100644 index 33dd3918e4ea..000000000000 --- a/net-p2p/deluge/deluge-1.3.9999.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd - -DESCRIPTION="BitTorrent client with a client/server model" -HOMEPAGE="https://deluge-torrent.org/" - -if [[ ${PV} == 1.3.9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="git://deluge-torrent.org/${PN}.git - http://git.deluge-torrent.org/${PN}" - EGIT_BRANCH="1.3-stable" - SRC_URI="" -else - SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="console geoip gtk libnotify sound webinterface" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - sound? ( gtk ) - libnotify? ( gtk ) -" -PATCHES=( - "${FILESDIR}/${PN}-1.3.5-disable_libtorrent_internal_copy.patch" -) - -DEPEND=" - $(python_gen_cond_dep ' - <net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_MULTI_USEDEP}] - ') - dev-util/intltool - acct-group/deluge - acct-user/deluge" -RDEPEND=" - $(python_gen_cond_dep ' - <net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_MULTI_USEDEP}] - dev-python/chardet[${PYTHON_MULTI_USEDEP}] - dev-python/pyopenssl[${PYTHON_MULTI_USEDEP}] - dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] - dev-python/setproctitle[${PYTHON_MULTI_USEDEP}] - >=dev-python/twisted-16.0.0[${PYTHON_MULTI_USEDEP}] - geoip? ( dev-python/geoip-python[${PYTHON_MULTI_USEDEP}] ) - gtk? ( - sound? ( dev-python/pygame[${PYTHON_MULTI_USEDEP}] ) - dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] - >=dev-python/pygtk-2.12[${PYTHON_MULTI_USEDEP}] - gnome-base/librsvg - libnotify? ( dev-python/notify-python[${PYTHON_MULTI_USEDEP}] ) - ) - webinterface? ( dev-python/mako[${PYTHON_MULTI_USEDEP}] ) - ')" - -python_prepare_all() { - local args=( - -e "/Compiling po file/a \\\tuptoDate = False" - ) - sed -i "${args[@]}" -- 'setup.py' || die - args=( - -e 's|"new_release_check": True|"new_release_check": False|' - -e 's|"check_new_releases": True|"check_new_releases": False|' - -e 's|"show_new_releases": True|"show_new_releases": False|' - ) - sed -i "${args[@]}" -- 'deluge/core/preferencesmanager.py' || die - - distutils-r1_python_prepare_all -} - -esetup.py() { - # bug 531370: deluge has its own plugin system. No need to relocate its egg info files. - # Override this call from the distutils-r1 eclass. - # This does not respect the distutils-r1 API. DONOT copy this example. - set -- "${PYTHON}" setup.py "$@" - echo "$@" - "$@" || die -} - -python_install_all() { - distutils-r1_python_install_all - if ! use console ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/console/" || die - rm -f "${D}/usr/bin/deluge-console" || die - rm -f "${D}/usr/share/man/man1/deluge-console.1" ||die - fi - if ! use gtk ; then - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/gtkui/" || die - rm -rf "${D}/usr/share/icons/" || die - rm -f "${D}/usr/bin/deluge-gtk" || die - rm -f "${D}/usr/share/man/man1/deluge-gtk.1" || die - rm -f "${D}/usr/share/applications/deluge.desktop" || die - fi - if use webinterface; then - newinitd "${FILESDIR}/deluge-web.init" deluge-web - newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-2" deluge-web.service - systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" - else - rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/web/" || die - rm -f "${D}/usr/bin/deluge-web" || die - rm -f "${D}/usr/share/man/man1/deluge-web.1" || die - fi - newinitd "${FILESDIR}"/deluged.init-2 deluged - newconfd "${FILESDIR}"/deluged.conf-2 deluged - systemd_newunit "${FILESDIR}"/deluged.service-2 deluged.service - systemd_install_serviced "${FILESDIR}"/deluged.service.conf -} - -pkg_postinst() { - elog - elog "If, after upgrading, deluge doesn't work, please remove the" - elog "'~/.config/deluge' directory and try again, but make a backup" - elog "first!" - elog - elog "To start the daemon either run 'deluged' as user" - elog "or modify /etc/conf.d/deluged and run" - elog "/etc/init.d/deluged start as root" - elog "You can still use deluge the old way" - elog - elog "Systemd unit files for deluged and deluge-web no longer source" - elog "/etc/conf.d/deluge* files. Environment variable customization now" - elog "happens in /etc/systemd/system/deluged.service.d/00gentoo.conf" - elog "and /etc/systemd/system/deluge-web.service.d/00gentoo.conf" - elog - elog "For more information look at https://dev.deluge-torrent.org/wiki/Faq" - elog -} diff --git a/net-p2p/deluge/deluge-2.0.3-r5.ebuild b/net-p2p/deluge/deluge-2.0.3-r5.ebuild index 1afeb0acefde..6faac8588ac6 100644 --- a/net-p2p/deluge/deluge-2.0.3-r5.ebuild +++ b/net-p2p/deluge/deluge-2.0.3-r5.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" else SRC_URI="http://download.deluge-torrent.org/source/2.0/${P}.tar.xz" - KEYWORDS="amd64 ~arm ~sparc ~x86" + KEYWORDS="amd64 ~arm ~ppc ~sparc x86" fi LICENSE="GPL-2" diff --git a/net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch b/net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch deleted file mode 100644 index a63e5de10de1..000000000000 --- a/net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 38d7b7cdfde3c50d6263602ffb03af92fcbfa52e Mon Sep 17 00:00:00 2001 -From: Calum Lind <calumlind+deluge@gmail.com> -Date: Sat, 13 May 2017 00:05:48 +0100 -Subject: [GTKUI] Fix keyerror showing prefs - - * Fix the single_proxy ui to True as unlikely any users using <=0.15 - and need to have different proxy type settings. ---- - deluge/ui/gtkui/preferences.py | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - -diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py -index 645ad26..efcd93d 100644 ---- a/deluge/ui/gtkui/preferences.py -+++ b/deluge/ui/gtkui/preferences.py -@@ -318,11 +318,8 @@ class Preferences(component.Component): - } - # Add proxy stuff - -- # Display workaround for single proxy in libtorrent >v0.16 -- try: -- lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY -- except AttributeError: -- lt_single_proxy = False -+ # Display workaround for single proxy in libtorrent >= v0.16 -+ lt_single_proxy = True - - for t in ("peer", "web_seed", "tracker", "dht"): - if lt_single_proxy and not t == "peer": --- -cgit v1.1 - diff --git a/net-p2p/deluge/files/deluge-1.3.5-disable_libtorrent_internal_copy.patch b/net-p2p/deluge/files/deluge-1.3.5-disable_libtorrent_internal_copy.patch deleted file mode 100644 index 349261426de8..000000000000 --- a/net-p2p/deluge/files/deluge-1.3.5-disable_libtorrent_internal_copy.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -205,38 +205,7 @@ - - _ext_modules = [] - --# Check for a system libtorrent and if found, then do not build the libtorrent extension --build_libtorrent = True --try: -- from deluge._libtorrent import lt --except ImportError: -- build_libtorrent = True --else: -- build_libtorrent = False -- --if build_libtorrent: -- got_libtorrent = False -- if not os.path.exists("libtorrent"): -- import subprocess -- if subprocess.call(['./get_libtorrent.sh']) > 0: -- got_libtorrent = False -- else: -- got_libtorrent = True -- else: -- got_libtorrent = True -- -- if got_libtorrent: -- # There isn't a system libtorrent library, so let's build the one included with deluge -- libtorrent = Extension( -- 'libtorrent', -- extra_compile_args = _extra_compile_args, -- include_dirs = _include_dirs, -- libraries = _libraries, -- library_dirs = _library_dirs, -- sources = _sources -- ) -- -- _ext_modules = [libtorrent] -+import deluge._libtorrent - - desktop_data = 'deluge/data/share/applications/deluge.desktop' - diff --git a/net-p2p/deluge/files/deluge-web.service-2 b/net-p2p/deluge/files/deluge-web.service-2 deleted file mode 100644 index adb38300a30e..000000000000 --- a/net-p2p/deluge/files/deluge-web.service-2 +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Deluge WebUI -Documentation=man:deluge-web -After=deluged.service - -[Service] -ExecStart=/usr/bin/deluge-web -c ${DELUGED_HOME} ${DELUGED_OPTS} - -[Install] -WantedBy=multi-user.target - |