Updated flexget

This commit is contained in:
layman 2022-07-22 16:59:57 +02:00
parent 752b3f7934
commit 670bbbea18
12 changed files with 165 additions and 1681 deletions

View File

@ -1,28 +1,8 @@
AUX flexget-2.10.35-guessit.patch 559 BLAKE2B fc5a9348c77f298c0919c532d741c196f3ee3548eb667c277595760deb6465c1bfe4089f0bf545a0115f788d7c170bd9f3c93709f4a2769ffba0ce0827d2f990 SHA512 e10aef03cdaf5e1c9839c8c165776c613ffeb007d68f5d030c2ae648a4b7452694194cff0774365df3475c2f780d84b0d2b5c8515e48263e46766580e07caef0 AUX flexget-2.10.35-guessit.patch 559 BLAKE2B fc5a9348c77f298c0919c532d741c196f3ee3548eb667c277595760deb6465c1bfe4089f0bf545a0115f788d7c170bd9f3c93709f4a2769ffba0ce0827d2f990 SHA512 e10aef03cdaf5e1c9839c8c165776c613ffeb007d68f5d030c2ae648a4b7452694194cff0774365df3475c2f780d84b0d2b5c8515e48263e46766580e07caef0
AUX flexget.service 415 BLAKE2B d3900ecde223345364ca33bcf7d8fa8695b61dfd6f101b7a93d330294581b55e98adcb0b9b779d54fd201dfee64312edec29835f55e57b8517924dc545c2ca78 SHA512 96c413e85acb7d31a390446833b6c861fc72c175e1d9f6fbe73037d25b57bc7e2d6ae82fed9faddbf2a18dfbf706b8ef0e0df32ae480ee5dfee4fca49c62de6b AUX flexget.service 415 BLAKE2B d3900ecde223345364ca33bcf7d8fa8695b61dfd6f101b7a93d330294581b55e98adcb0b9b779d54fd201dfee64312edec29835f55e57b8517924dc545c2ca78 SHA512 96c413e85acb7d31a390446833b6c861fc72c175e1d9f6fbe73037d25b57bc7e2d6ae82fed9faddbf2a18dfbf706b8ef0e0df32ae480ee5dfee4fca49c62de6b
DIST FlexGet-3.1.100.tar.gz 8598546 BLAKE2B 2ece2b4666ecf6b2b93f32232f5b5f9f386b5ee70bf44a8e89973eb0de10a8d552d66921c78e783d481baaa4a4ccd0586647d14aec74997634f74c1b38c685fa SHA512 b27473b4440f9f8ae66f345cc0bd4b0343bbb1b2db38774d73e42a5827530d7039652b9ea40dba040d3458540e65d6dc103a8a846bc67e3b428e9b93485040ee
DIST FlexGet-3.1.106.tar.gz 8599599 BLAKE2B 240bbe48916bade1a49a6f1d44df3c644c406ac8f6e025c84ffd3f975b8799ca1ef28897e5467cf609251e402a93c5eca0def68bd8401ef6dc4be086e2e991ed SHA512 cf19c8ce0665e72257f120a4cf208c06483a1ed5ad6ef3e3d6c778e8897e0c5db4cf337f7a03893a1be22c4993f81146532fa60a466f62e67e96409223013acf
DIST FlexGet-3.1.128.tar.gz 8621930 BLAKE2B 76c179bdeaa14957f7d679443700cc22e4f561ff9f20747dcc553c007e8bccd98f6128ec10700e459629da5b1536bd342d3d1e6a72183b039878b84cfdfac46b SHA512 2ed4e52bb7a03307a0a97ee6c2a1077d3c44ac4e0606201aea6ce31354aec6798df1b5b8d3260f75ca293d322500cebc1806c0dacb144a252e5efd98debf4f49
DIST FlexGet-3.1.131.tar.gz 8628149 BLAKE2B bde9dc4ea9ece5fda944fed0ceb907a9d1dba3f78af74d01352b502ddb78585313f65b986ec78480db990d798e5a0ec3b9e964020faed68a37680a69d0672702 SHA512 00ceda651e0e7b778a4725f43ce1031ea3a57798eb12fed0fe097df2d41e6f42d75f5d9f15116e87568155dd46fb4dbae0f6c7450dea84f4713339cd9881d81f
DIST FlexGet-3.1.133.tar.gz 8628169 BLAKE2B 4037dea22477449ddde9fe721fdeb44d0fcaa40989e498fde8c8bbda2e5b338bc8ed33a1be4d51331ca04f6b9140721df0c2fcb3ceeee8a24b403ccbf25f4676 SHA512 b766bc455175d91b908dcfbd59c8dd1054417c5d61889c20e5dae8e9cc82822881e44fc92c594473c67ec0222bd20f4c43e416eb9fe54252bffc2e34d7514e9e
DIST FlexGet-3.1.136.tar.gz 8628294 BLAKE2B c800541e06af7ad7411dac3d40900326e16113f7610c97a4b32da74ac0df4bf074450e0c39c9e824d677531ec79e057c26905248ffd405f1649a1452af7eff29 SHA512 cb2db5979475734bc2afbe891c9aa17602820b0c7b698cf8fe67484c8e23cdb0c4ca11ab238e6393405dc5787e7044e332e7b140ea5ce45d1d9958df567baec5
DIST FlexGet-3.1.148.tar.gz 8628253 BLAKE2B 0840b3584e36c8c3f31a65bb4d132f1c67e0d3763b39c103d8dbb56f493fd1e31ac4482c15a2490fe8edee97a5448813d3fc13d83b3102623e57629785cb04d0 SHA512 8839e22d092f25db6f832b2c3ec94e765de908d768ffa005cbcfa1aa167178ca3308fb41041b4400b6eceec9af0d4eab5252eca16caac35615a47a1fca2758fb
DIST FlexGet-3.1.48.tar.gz 8579168 BLAKE2B e741aea505aca635fb9d9e5518e19d21162a5fc34196cf277c3c045d987df4e032ee97fc64a543db44007334062a7aa270e79944a15d35c31d81e7b9f39e2a68 SHA512 e88d1bcec6f5e41aace79d010e66d1a3ead44ef950244a7d00be319950aa961af0346774c9034a29e4d40835741870b68da1c9dbc360eb8ba303b60de9f383ce
DIST FlexGet-3.1.70.tar.gz 8594444 BLAKE2B 64814bb87ae208ca1020e2491c09dbce343b1afda76beb7a157021f0cb62dd87b24c70176969931974431641f258bf2caeabf982cce2131edbcbff2c862a727c SHA512 977187497abda6ebccfefff8e7cdafa6ed828042f7457b9f62b84e7b4a4aba932a4d99df57b6da065a2a355170c48e3de9de9427b2f190c4db088c20581ebfed
DIST FlexGet-3.2.8.tar.gz 8629339 BLAKE2B 4e76441460b63b736ed37e477aba06ca74294382b267e9566f11e58d909fdb66ab874ff35ecfe2bfa71be75b1bd39de6cfc21b38a247d7baff96f8b3196de952 SHA512 eb52b41ebbeffb32332068b5781ddcae8111541c5a713652852b2de3bb6d68bcc4aa65a4d127b6233ae6848e021d512ad01bd1dd43d63b577da7abeee6e809f8
DIST FlexGet-3.3.2.tar.gz 8631180 BLAKE2B 17fe6b8fca1ee75668f421af9fb830c9fdbf86e32c2ad370af4f1c89b00cc9211b6072df3627d24e88d9e2e80bec757f1b3946ba8dd659cb9e6a0eb4b33ea160 SHA512 fe731315803cc12f3b9884926db81c8183f063bd4b18d7426a3e534e2a29a96e8f8ebb15645b2ebf50b63187ece45824f000f0c1a00ccc217b2ac1da274c7825 DIST FlexGet-3.3.2.tar.gz 8631180 BLAKE2B 17fe6b8fca1ee75668f421af9fb830c9fdbf86e32c2ad370af4f1c89b00cc9211b6072df3627d24e88d9e2e80bec757f1b3946ba8dd659cb9e6a0eb4b33ea160 SHA512 fe731315803cc12f3b9884926db81c8183f063bd4b18d7426a3e534e2a29a96e8f8ebb15645b2ebf50b63187ece45824f000f0c1a00ccc217b2ac1da274c7825
DIST FlexGet-3.3.21.tar.gz 8632853 BLAKE2B 590039fdffb74ceb190a7d3d549bb72d78e3438ebbd5950cb9cf7d2a0e89044c70425db565f1d52f592f60653d9119b30142fef902bbe980232fde9effc687c8 SHA512 5695d320055238b4f1a17ddeb0bf16889ff0c99202ecca575568ba7229eaed34b93214c5a7c86f307eb6c92c534c353c4edd58e50e7abf4dda6bead53e320e9b DIST FlexGet-3.3.21.tar.gz 8632853 BLAKE2B 590039fdffb74ceb190a7d3d549bb72d78e3438ebbd5950cb9cf7d2a0e89044c70425db565f1d52f592f60653d9119b30142fef902bbe980232fde9effc687c8 SHA512 5695d320055238b4f1a17ddeb0bf16889ff0c99202ecca575568ba7229eaed34b93214c5a7c86f307eb6c92c534c353c4edd58e50e7abf4dda6bead53e320e9b
DIST FlexGet-3.3.3.tar.gz 8631710 BLAKE2B 7f5dfb08296f6af087b28c2b5c14f43848b3cbba0dba1c229a88b43c9eafcc235df1660a99f39162d5cb80886004ba5d1bf289dadcaf39d302e57a16f18c68dd SHA512 df737242ae7a5f304ccb0ad4a748801e5a3ffd02b16d48c4a8b4444f07e2e61c26585d81b28059890d2c5feb984305d6604a36dd13aa659d304e291afe94be06 DIST FlexGet-3.3.3.tar.gz 8631710 BLAKE2B 7f5dfb08296f6af087b28c2b5c14f43848b3cbba0dba1c229a88b43c9eafcc235df1660a99f39162d5cb80886004ba5d1bf289dadcaf39d302e57a16f18c68dd SHA512 df737242ae7a5f304ccb0ad4a748801e5a3ffd02b16d48c4a8b4444f07e2e61c26585d81b28059890d2c5feb984305d6604a36dd13aa659d304e291afe94be06
EBUILD flexget-3.1.100.ebuild 7468 BLAKE2B 63832eb753fd023feb9ceb2acde44db5c2feece538c8467f95f412e0824e917ace19375afdbb1419c063658853cb772c9bcf5bc6da71ab0fe5acaad7cd676be2 SHA512 5add6137e6b72e56cff56a15bf1b2718828d37af89aebe3c4533878b4adfdecb09346d90ce195f613d28b362a1a371edb30120328fbd2949c9afd9c58b822744
EBUILD flexget-3.1.106.ebuild 7698 BLAKE2B 9c5fcb77d8350b4334967035fab0fa2bc7409af9a0380faf160f3e3ae0543320e958c66792698066c715f5d713f612b98aa2daff4724e6761239c08d0fafbe48 SHA512 a2bcf7ade15d5291e0e41886b3af823ecdf2896c29c5f67c44ed6d44d64e79923c169e374b4c298ff76c64898851fbb2709b4c4573b7e19e91df37a3330bf598
EBUILD flexget-3.1.128.ebuild 8013 BLAKE2B b4d33ac21ac98a93aec76708f2f0d0224e230205ce3ec77d40cd9157a3880051c7b2393d6b0273f7acfb729c10bf6d1245b1b7db68957ae5709dc98115396a8b SHA512 7b90d266862f5408a439b3f4e6b36eb40cd5c305533752d73277a346baea8c4509facbd8ed1c640d3c963353731a51249870143936582f7f255e8bed5477c706
EBUILD flexget-3.1.131.ebuild 8042 BLAKE2B 7d1b9f2c31fce94d6a2670d3d3b5617944cc64bc8562b0cdffab11697745f77a060d9c3022a550e02cae54c2ffbcbf7ec4fb799589b4feac6f0af4416ce91795 SHA512 46c26e209a1bd56f94b5ee01e07bee1200dcfb12343b0d216cb59b23730c805a3427c0580fdc8f9fc93981fdf0ca4f4fde080c92d62af14675cbf873ff784794
EBUILD flexget-3.1.133.ebuild 8180 BLAKE2B 62b4e7f45fa8422c83d514c23e608cb720c4de333f66638fbd5aff7c3d0dcd819021f0f1f10ade9ae12d24cb8412ff41a9dacce6e02356512c6920149d15088e SHA512 91a13751afa709811366a60f0ca5c45a77547a74a2f8c7170605b3fa2efad4f4be9a13792eb93bf0777ada78bafee1e039d5a41cdf8f072dc531224ed1a8566d
EBUILD flexget-3.1.136.ebuild 8638 BLAKE2B c52f199ed8c3bc9c25fbfda7bb451bc3ee9d6ad8f06e5eb9d4e59214c0e43308fa7d2fbe80eec081a3c6078766854db90d1ac5dc894a8c00a2e64014d559fd4b SHA512 1566af50e4701e7efc8313a4db5d361948d432f71cc25a612150789ec5d5a60d7ab923c9353f060fe0c449d4db61c15c969b413a2c8bbf86c62390dcfd892be7
EBUILD flexget-3.1.148.ebuild 4983 BLAKE2B 3d6e1c37d7ff799f30160467916518b665ae7246902acf32649482f24f5177e3c9288ae09f5a37c32fa82bb12cef9ddda1fa44522c3e4224f9e16393cf1c5c96 SHA512 e360108106076dd7df149bf9046ae4af455a9e5c1e8e8d6080baf4cee74fee26100bdf4b1d19a7a7d697234b4fbc1c1d80b54ba0e148bf1e53acb7f8415b382e
EBUILD flexget-3.1.48.ebuild 6838 BLAKE2B 5398abd9a8360bb989e0229dc948135f525ca9dfe2e08c2ba9a7ed35762f18005150a0a8843282f69d7e77692c8a495560cde49e806620208dcb7e430ca19fab SHA512 7c7d1b129421daa9c97755d015540a9eafba2582aa14072816c9e2008b5f2a3270e6ea758ae732962c24b060e3be8726e76ac45c8d01612fdac7456de3a9a9d6
EBUILD flexget-3.1.70.ebuild 6999 BLAKE2B ad15651980e52f86694fd4a76062069d35abfad15701022b68e821caad3e814f9aff470fef0baab80838e397942b0e5af175a726fbd9decc8e83ce599fb6bcae SHA512 30c7147973684bd7da895c81396f984332afbf167d84cc9e2f45fcf15dd6463785d7fcd8c0f8970daeb7e4045e25491381be1f46d0743897e6613e43400fa218
EBUILD flexget-3.2.8.ebuild 5397 BLAKE2B 6c1ea034e26bc3263e4d4a8aee2ef3d9a0a773e537e434d4fb2cf80bbfe946a7030f26a656cca8bc7c1bede2deecb0305000efc0e7a5cd0dffdc4a4a27b5ab64 SHA512 227a22bd9c789576b9e56352970450c1ae97edc6cddb2f8f10bd434e1c0f29c27f305bf1f72bdf9e64f8885eb3f3bf6b86f62eaf46ad2ca2a842fb95da9fd476
EBUILD flexget-3.3.2.ebuild 5206 BLAKE2B 1e77c2aba2e7cb1f0ffed7f638230d13021c01faebba00d2a7e95d9caa08b14fc781a0c53ce0f4a9e0dacf9dea68a09963e5a5a2ca04638a592cfdcff13ac68f SHA512 9ac5ee3361353b76a84035008ed5172f107fa895f309550534dd8ef5c502cd61dd9b51731e8fb549bdd23fae19a93f09aa9aaea3a7ae56c1352fbd509bfa2b15 EBUILD flexget-3.3.2.ebuild 5206 BLAKE2B 1e77c2aba2e7cb1f0ffed7f638230d13021c01faebba00d2a7e95d9caa08b14fc781a0c53ce0f4a9e0dacf9dea68a09963e5a5a2ca04638a592cfdcff13ac68f SHA512 9ac5ee3361353b76a84035008ed5172f107fa895f309550534dd8ef5c502cd61dd9b51731e8fb549bdd23fae19a93f09aa9aaea3a7ae56c1352fbd509bfa2b15
EBUILD flexget-3.3.21.ebuild 7201 BLAKE2B b5c3cb5f9f02cc7cd82ac09a6166e2c36a90abdb1dcf1568106dba020a757acaded2edc3f977b0c824c2578df837d1d76fc423221db4a111f8426c61266657ef SHA512 fa6609faa0a259e8bf28e8a33f8c501a737935f9885e9e267dbfb9721c80df7310a1f70447c7a24858c2f0d09e54fb9c89d7d9835a3447c7b75dbc33d75247d4 EBUILD flexget-3.3.21.ebuild 7201 BLAKE2B b5c3cb5f9f02cc7cd82ac09a6166e2c36a90abdb1dcf1568106dba020a757acaded2edc3f977b0c824c2578df837d1d76fc423221db4a111f8426c61266657ef SHA512 fa6609faa0a259e8bf28e8a33f8c501a737935f9885e9e267dbfb9721c80df7310a1f70447c7a24858c2f0d09e54fb9c89d7d9835a3447c7b75dbc33d75247d4
EBUILD flexget-3.3.3.ebuild 5368 BLAKE2B a393d273d923d4dbd748739bd06d14efeb7b69ee5b03cfa875ef1071d5672ac7c0fe84c91a7793227821f74afa277a65e30dad2541bc63a9c30dd9be3038bc0e SHA512 8c7a5865d646a58f102e3ae2e49ab4c4f9cc11d0b71b11b8de2568da47ee3a882c72ffa7aaec561ccea450f6d9eb03a96b20405ea446e566c67c635e158e16e5 EBUILD flexget-3.3.3.ebuild 5368 BLAKE2B a393d273d923d4dbd748739bd06d14efeb7b69ee5b03cfa875ef1071d5672ac7c0fe84c91a7793227821f74afa277a65e30dad2541bc63a9c30dd9be3038bc0e SHA512 8c7a5865d646a58f102e3ae2e49ab4c4f9cc11d0b71b11b8de2568da47ee3a882c72ffa7aaec561ccea450f6d9eb03a96b20405ea446e566c67c635e158e16e5

View File

@ -1,168 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-8.0.0[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.6.3[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.9.3:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.0[${PYTHON_USEDEP}]
~dev-python/click-7.1.2[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.2[${PYTHON_USEDEP}]
~dev-python/flask-1.1.2[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.8.0[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.8[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.2.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.2.0[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-2.10[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.1.0[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-1.1.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.6.0[${PYTHON_USEDEP}]
~dev-python/pillow-8.1.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.6.9[${PYTHON_USEDEP}]
~dev-python/portend-2.7.0[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/pystray-0.15.0[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
~dev-python/pytz-2020.5[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/six-1.15.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.1.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.22[${PYTHON_USEDEP}]
~dev-python/tempora-4.0.1[${PYTHON_USEDEP}]
~dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.2[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^beautifulsoup4==4.8.2/beautifulsoup4==4.9.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==10001/" ${S}/requirements.txt || die
sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cheroot==8.2.1/cheroot==8.5.2/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.6.0/" ${S}/requirements.txt || die
sed -i -e "s/^click==6.7/click==7.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask==1.0.2/flask==1.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask-compress==1.4.0/flask-compress==1.8.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask-cors==3.0.2/flask-cors==3.0.10/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.4.0/flask-login==0.5.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.8/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
sed -i -e "s/^guessit==3.1.0/guessit==3.2.0/" ${S}/requirements.txt || die
sed -i -e "s/^html5lib==0.999999999/html5lib==1.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.8/idna==2.10/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.10.1/jinja2==2.11.2/" ${S}/requirements.txt || die
sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^markupsafe==1.0/markupsafe==1.1.1/" ${S}/requirements.txt || die
sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.9/" ${S}/requirements.txt || die
sed -i -e "s/^portend==2.6/portend==2.7.0/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz==2020.5/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
sed -i -e "s/^pyyaml==5.1.2/pyyaml==5.3.1/" ${S}/requirements.txt || die
sed -i -e "s/^rebulk==2.0.0/rebulk==3.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.24.0/requests==2.25.1/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.0.1/rpyc==5.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.13.0/six==1.15.0/" ${S}/requirements.txt || die
sed -i -e "s/^soupsieve==1.9.5/soupsieve==2.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.3.11/sqlalchemy==1.3.22/" ${S}/requirements.txt || die
sed -i -e "s/^tempora==1.8/tempora==4.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.25.11/urllib3==1.26.2/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.15.6/werkzeug==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.15/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,171 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.7.0[${PYTHON_USEDEP}]
~dev-python/attrs-20.3.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.9.3:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.0[${PYTHON_USEDEP}]
~dev-python/click-7.1.2[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.2[${PYTHON_USEDEP}]
~dev-python/flask-1.1.2[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.9.0[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.8[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.2.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.2.0[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-2.10[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.2.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.2.1[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.0[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-1.1.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.7.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-2.7.1[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.17.3[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/pystray-0.15.0[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
~dev-python/pytz-2021.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.15.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.23[${PYTHON_USEDEP}]
~dev-python/tempora-4.0.1[${PYTHON_USEDEP}]
~dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.4[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
#sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.8.2/beautifulsoup4==4.9.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2020.12.5/certifi==10001/" ${S}/requirements.txt || die
#sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==8.2.1/cheroot==8.5.2/" ${S}/requirements.txt || die
#sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^click==6.7/click==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^flask==1.0.2/flask==1.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-compress==1.4.0/flask-compress==1.8.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-cors==3.0.2/flask-cors==3.0.10/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-login==0.4.0/flask-login==0.5.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.8/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
#sed -i -e "s/^guessit==3.1.0/guessit==3.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^html5lib==0.999999999/html5lib==1.1/" ${S}/requirements.txt || die
#sed -i -e "s/^idna==2.8/idna==2.10/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
#sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jinja2==2.10.1/jinja2==2.11.2/" ${S}/requirements.txt || die
#sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^markupsafe==1.0/markupsafe==1.1.1/" ${S}/requirements.txt || die
#sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.9/" ${S}/requirements.txt || die
#sed -i -e "s/^portend==2.6/portend==2.7.0/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
#sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pytz==2017.2/pytz==2020.5/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
#sed -i -e "s/^pyyaml==5.1.2/pyyaml==5.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rebulk==2.0.0/rebulk==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^requests==2.24.0/requests==2.25.1/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.1.5/rpyc==5.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^six==1.13.0/six==1.15.0/" ${S}/requirements.txt || die
sed -i -e "s/^soupsieve==2.2/soupsieve==2.2.1/" ${S}/requirements.txt || die
#sed -i -e "s/^sqlalchemy==1.3.11/sqlalchemy==1.3.22/" ${S}/requirements.txt || die
#sed -i -e "s/^tempora==1.8/tempora==4.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.3/urllib3==1.26.4/" ${S}/requirements.txt || die
#sed -i -e "s/^werkzeug==0.15.6/werkzeug==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,177 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.7.0[${PYTHON_USEDEP}]
~dev-python/attrs-20.3.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.9.3:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.0[${PYTHON_USEDEP}]
~dev-python/click-7.1.2[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.2[${PYTHON_USEDEP}]
~dev-python/flask-1.1.2[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.9.0[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.8[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.4.0[${PYTHON_USEDEP}]
~dev-python/greenlet-1.0.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.2.0[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.1[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-4.0.1[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.0.1[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.7.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-2.7.1[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/psutil-5.7.3[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.17.3[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/pystray-0.15.0[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
~dev-python/pytz-2021.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.15[${PYTHON_USEDEP}]
~dev-python/tempora-4.0.2[${PYTHON_USEDEP}]
~dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zipp-3.4.1[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
#sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.8.2/beautifulsoup4==4.9.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2020.12.5/certifi==10001/" ${S}/requirements.txt || die
#sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==8.2.1/cheroot==8.5.2/" ${S}/requirements.txt || die
#sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^click==6.7/click==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^flask==1.0.2/flask==1.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-compress==1.4.0/flask-compress==1.8.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-cors==3.0.2/flask-cors==3.0.10/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-login==0.4.0/flask-login==0.5.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.8/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
#sed -i -e "s/^guessit==3.1.0/guessit==3.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^html5lib==0.999999999/html5lib==1.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.10/idna==3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
#sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==3.0.0/jinja2==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
sed -i -e "s/^markupsafe==2.0.0/markupsafe==2.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.9/" ${S}/requirements.txt || die
#sed -i -e "s/^portend==2.6/portend==2.7.0/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
sed -i -e "s/^psutil==5.8.0/psutil==5.7.3/" ${S}/requirements.txt || die
#sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pytz==2017.2/pytz==2020.5/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
#sed -i -e "s/^pyyaml==5.1.2/pyyaml==5.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rebulk==2.0.0/rebulk==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^requests==2.24.0/requests==2.25.1/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.1.5/rpyc==5.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.15.0/six==1.16.0/" ${S}/requirements.txt || die
#sed -i -e "s/^soupsieve==2.2/soupsieve==2.2.1/" ${S}/requirements.txt || die
#sed -i -e "s/^sqlalchemy==1.3.11/sqlalchemy==1.3.22/" ${S}/requirements.txt || die
#sed -i -e "s/^tempora==1.8/tempora==4.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.4/urllib3==1.26.5/" ${S}/requirements.txt || die
#sed -i -e "s/^werkzeug==0.15.6/werkzeug==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,177 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.7.0[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.9.3:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.0[${PYTHON_USEDEP}]
~dev-python/click-7.1.2[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.2[${PYTHON_USEDEP}]
~dev-python/flask-1.1.4[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.10.1[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.9[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.4.0[${PYTHON_USEDEP}]
~dev-python/greenlet-1.0.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.3.1[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.2[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-4.6.0[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.0.1[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.8.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-2.7.1[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/psutil-5.8.0[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.17.3[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
~dev-python/pytz-2021.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.20[${PYTHON_USEDEP}]
~dev-python/tempora-4.0.2[${PYTHON_USEDEP}]
~dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.6[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zipp-3.4.1[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
#sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^attrs==20.3.0/attrs==21.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.8.2/beautifulsoup4==4.9.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2020.12.5/certifi==10001/" ${S}/requirements.txt || die
#sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==8.2.1/cheroot==8.5.2/" ${S}/requirements.txt || die
#sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^click==6.7/click==7.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask==1.1.2/flask==1.1.4/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-compress==1.4.0/flask-compress==1.8.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-cors==3.0.2/flask-cors==3.0.10/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-login==0.4.0/flask-login==0.5.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.8/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
sed -i -e "s/^guessit==3.2.0/guessit==3.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^html5lib==0.999999999/html5lib==1.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.10/idna==3.2/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
#sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jinja2==3.0.0/jinja2==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
sed -i -e "s/^markupsafe==2.0.0/markupsafe==2.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.9/" ${S}/requirements.txt || die
#sed -i -e "s/^portend==2.6/portend==2.7.0/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
#sed -i -e "s/^psutil==5.8.0/psutil==5.7.3/" ${S}/requirements.txt || die
#sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pytz==2017.2/pytz==2020.5/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
#sed -i -e "s/^pyyaml==5.1.2/pyyaml==5.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rebulk==2.0.0/rebulk==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^requests==2.24.0/requests==2.25.1/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.1.5/rpyc==5.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.15.0/six==1.16.0/" ${S}/requirements.txt || die
#sed -i -e "s/^soupsieve==2.2/soupsieve==2.2.1/" ${S}/requirements.txt || die
#sed -i -e "s/^sqlalchemy==1.3.11/sqlalchemy==1.3.22/" ${S}/requirements.txt || die
#sed -i -e "s/^tempora==1.8/tempora==4.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.4/urllib3==1.26.6/" ${S}/requirements.txt || die
#sed -i -e "s/^werkzeug==0.15.6/werkzeug==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,179 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.7.0[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.9.3:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.0[${PYTHON_USEDEP}]
~dev-python/click-7.1.2[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.8[${PYTHON_USEDEP}]
~dev-python/flask-1.1.4[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.10.1[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.9[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.4.0[${PYTHON_USEDEP}]
~dev-python/greenlet-1.0.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.3.1[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.2[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-4.6.0[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-classes-3.2.1[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.1[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.8.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-2.7.1[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/psutil-5.8.0[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.17.3[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
~dev-python/pytz-2021.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.22[${PYTHON_USEDEP}]
~dev-python/tempora-4.1.1[${PYTHON_USEDEP}]
~dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.6[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zipp-3.4.1[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
#sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^attrs==20.3.0/attrs==21.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.8.2/beautifulsoup4==4.9.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2020.12.5/certifi==10001/" ${S}/requirements.txt || die
#sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==8.2.1/cheroot==8.5.2/" ${S}/requirements.txt || die
#sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^click==6.7/click==7.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask==1.1.2/flask==1.1.4/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-compress==1.4.0/flask-compress==1.8.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-cors==3.0.2/flask-cors==3.0.10/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-login==0.4.0/flask-login==0.5.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.8/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
sed -i -e "s/^guessit==3.2.0/guessit==3.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^html5lib==0.999999999/html5lib==1.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.10/idna==3.2/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
#sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.text==3.5.0/jaraco.text==3.5.1/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==3.0.1/jinja2==2.11.3/" ${S}/requirements.txt || die
#sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
sed -i -e "s/^markupsafe==2.0.0/markupsafe==2.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.9/" ${S}/requirements.txt || die
#sed -i -e "s/^portend==2.6/portend==2.7.0/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
#sed -i -e "s/^psutil==5.8.0/psutil==5.7.3/" ${S}/requirements.txt || die
#sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pytz==2017.2/pytz==2020.5/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
#sed -i -e "s/^pyyaml==5.1.2/pyyaml==5.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rebulk==2.0.0/rebulk==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^requests==2.24.0/requests==2.25.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rpyc==4.1.5/rpyc==5.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.15.0/six==1.16.0/" ${S}/requirements.txt || die
#sed -i -e "s/^soupsieve==2.2/soupsieve==2.2.1/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.4.20/sqlalchemy==1.4.22/" ${S}/requirements.txt || die
sed -i -e "s/^tempora==4.0.2/tempora==4.1.1/" ${S}/requirements.txt || die
#sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.4/urllib3==1.26.6/" ${S}/requirements.txt || die
#sed -i -e "s/^werkzeug==0.15.6/werkzeug==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,185 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.7.0[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.9.3:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/charset_normalizer-2.0.4[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.1[${PYTHON_USEDEP}]
~dev-python/click-7.1.2[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.8[${PYTHON_USEDEP}]
~dev-python/flask-1.1.4[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.10.1[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.9[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.5.0[${PYTHON_USEDEP}]
~dev-python/greenlet-1.0.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.3.1[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.2[${PYTHON_USEDEP}]
~dev-python/immutables-0.15[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-4.6.4[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-classes-3.2.1[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.1[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.8.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-2.7.1[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/psutil-5.8.0[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.17.3[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
~dev-python/pytz-2021.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.26.0[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.22[${PYTHON_USEDEP}]
~dev-python/tempora-4.1.1[${PYTHON_USEDEP}]
~dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.6[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zipp-3.5.0[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_resources-5.2.2[${PYTHON_USEDEP}]' python3_8)
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "/^aiocontextvars==0.2.2/d" ${S}/requirements.txt || die
#sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^attrs==20.3.0/attrs==21.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.8.2/beautifulsoup4==4.9.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2020.12.5/certifi==10001/" ${S}/requirements.txt || die
#sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^charset-normalizer==2.0.3/charset-normalizer==2.0.4/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==8.2.1/cheroot==8.5.2/" ${S}/requirements.txt || die
#sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^click==6.7/click==7.1.2/" ${S}/requirements.txt || die
sed -i -e "/^contextvars==2.4/d" ${S}/requirements.txt || die
sed -i -e "s/^flask==1.1.2/flask==1.1.4/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-compress==1.4.0/flask-compress==1.8.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-cors==3.0.2/flask-cors==3.0.10/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-login==0.4.0/flask-login==0.5.0/" ${S}/requirements.txt || die
#sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.8/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
sed -i -e "s/^guessit==3.2.0/guessit==3.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^html5lib==0.999999999/html5lib==1.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.10/idna==3.2/" ${S}/requirements.txt || die
sed -i -e "s/^importlib-metadata==4.6.3/importlib-metadata==4.6.4/" ${S}/requirements.txt || die
sed -i -e "/^importlib-resources==5.2.2/d" ${S}/requirements.txt || die
#sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
#sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.text==3.5.0/jaraco.text==3.5.1/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==3.0.1/jinja2==2.11.3/" ${S}/requirements.txt || die
#sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
sed -i -e "s/^markupsafe==2.0.0/markupsafe==2.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.6.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
#sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.9/" ${S}/requirements.txt || die
#sed -i -e "s/^portend==2.6/portend==2.7.0/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
#sed -i -e "s/^psutil==5.8.0/psutil==5.7.3/" ${S}/requirements.txt || die
#sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pytz==2017.2/pytz==2020.5/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
#sed -i -e "s/^pyyaml==5.1.2/pyyaml==5.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rebulk==2.0.0/rebulk==3.0.1/" ${S}/requirements.txt || die
#sed -i -e "s/^requests==2.24.0/requests==2.25.1/" ${S}/requirements.txt || die
#sed -i -e "s/^rpyc==4.1.5/rpyc==5.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.15.0/six==1.16.0/" ${S}/requirements.txt || die
#sed -i -e "s/^soupsieve==2.2/soupsieve==2.2.1/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.4.20/sqlalchemy==1.4.22/" ${S}/requirements.txt || die
sed -i -e "s/^tempora==4.0.2/tempora==4.1.1/" ${S}/requirements.txt || die
#sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.4/urllib3==1.26.6/" ${S}/requirements.txt || die
#sed -i -e "s/^werkzeug==0.15.6/werkzeug==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,139 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.8.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.6.0[${PYTHON_USEDEP}]
~dev-python/beautifulsoup4-4.10.0[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/charset_normalizer-2.0.7[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.1[${PYTHON_USEDEP}]
~dev-python/click-8.0.3[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.8[${PYTHON_USEDEP}]
~dev-python/flask-2.0.2[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.10.1[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.9[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.5.1[${PYTHON_USEDEP}]
~dev-python/greenlet-1.1.2[${PYTHON_USEDEP}]
~dev-python/guessit-3.3.1[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.3[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-4.8.1[${PYTHON_USEDEP}]
~dev-python/itsdangerous-2.0.1[${PYTHON_USEDEP}]
~dev-python/jaraco-classes-3.2.1[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.4.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.1[${PYTHON_USEDEP}]
~dev-python/jinja-3.0.2[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.10.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-3.0.0[${PYTHON_USEDEP}]
~dev-python/psutil-5.8.0[${PYTHON_USEDEP}]
~dev-python/pygments-2.10.0[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-3.0.3[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
~dev-python/pytz-2021.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/rebulk-3.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.26.0[${PYTHON_USEDEP}]
~dev-python/rich-10.12.0[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.25[${PYTHON_USEDEP}]
~dev-python/tempora-4.1.2[${PYTHON_USEDEP}]
~dev-python/typing-extensions-3.10.0.2[${PYTHON_USEDEP}]
~dev-python/tzlocal-4.0.2[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.7[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-2.0.2[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zipp-3.6.0[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^apscheduler==3.8.0/apscheduler==3.8.1/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2021.10.8/certifi==10001/" ${S}/requirements.txt || die
sed -i -e "s/^guessit==3.2.0/guessit==3.3.1/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.text==3.5.0/jaraco.text==3.5.1/" ${S}/requirements.txt || die
sed -i -e "s/^pyparsing==2.4.7/pyparsing==3.0.3/" ${S}/requirements.txt || die
sed -i -e "s/^tzlocal==2.1/tzlocal==4.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,159 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-4.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.6.3[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.8.2:4[${PYTHON_USEDEP}]
=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/cheroot-8.2.1[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.5.0[${PYTHON_USEDEP}]
~dev-python/click-7.0[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
~dev-python/flask-1.1.2[${PYTHON_USEDEP}]
=dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
~dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
=dev-python/flask-restful-0.3.7[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
=dev-python/guessit-3.1.0[${PYTHON_USEDEP}]
~dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
~dev-python/idna-2.9[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.4.1[${PYTHON_USEDEP}]
~dev-python/markupsafe-1.1.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-7.0.0[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
~dev-python/plumbum-1.6.8[${PYTHON_USEDEP}]
~dev-python/portend-2.6[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/pystray-0.15.0[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
=dev-python/pyyaml-5.1.2[${PYTHON_USEDEP}]
=dev-python/rebulk-2.0.0[${PYTHON_USEDEP}]
~dev-python/requests-2.23.0[${PYTHON_USEDEP}]
~dev-python/rpyc-4.1.4[${PYTHON_USEDEP}]
~dev-python/six-1.15.0[${PYTHON_USEDEP}]
=dev-python/soupsieve-1.9.5[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.3.11[${PYTHON_USEDEP}]
~dev-python/tempora-1.14.1[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
=dev-python/urllib3-1.25.8[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-0.16.1[${PYTHON_USEDEP}]
=dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^aniso8601==1.2.1/aniso8601==4.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.6.2/beautifulsoup4==4.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==2020.4.5.1/" ${S}/requirements.txt || die
sed -i -e "s/^chardet==3.0.3/chardet==3.0.4/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.5.0/" ${S}/requirements.txt || die
sed -i -e "s/^click==6.7/click==7.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask==1.0.2/flask==1.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.4.0/flask-login==0.4.1/" ${S}/requirements.txt || die
sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.7/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
sed -i -e "s/^html5lib==0.999999999/html5lib==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.8/idna==2.9/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
sed -i -e "s/jaraco.functools==2.0/jaraco.functools==3.0/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.10.1/jinja2==2.11.1/" ${S}/requirements.txt || die
sed -i -e "s/^markupsafe==1.0/markupsafe==1.1.1/" ${S}/requirements.txt || die
sed -i -e "s/^more-itertools==7.2.0/more-itertools==7.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.8/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz==2019.3/" ${S}/requirements.txt || die
sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.21.0/requests==2.23.0/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.0.1/rpyc==4.1.4/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.13.0/six==1.15.0/" ${S}/requirements.txt || die
#sed -i -e "s/^sqlalchemy==1.3.3/sqlalchemy==1.3.4/" ${S}/requirements.txt || die
sed -i -e "s/^tempora==1.8/tempora==1.14.1/" ${S}/requirements.txt || die
sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.24.2/urllib3==1.25.8/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.15.6/werkzeug==0.16.1/" ${S}/requirements.txt || die
#sed -i -e "s/^zipp==0.3.3/zipp==0.6.0/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,162 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-8.0.0[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.6.3[${PYTHON_USEDEP}]
~dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.8.2:4[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.2.1[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.5.0[${PYTHON_USEDEP}]
~dev-python/click-7.0[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
~dev-python/flask-1.1.2[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
~dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.7[${PYTHON_USEDEP}]
~dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.2.0[${PYTHON_USEDEP}]
~dev-python/guessit-3.1.0[${PYTHON_USEDEP}]
~dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
~dev-python/idna-2.10[${PYTHON_USEDEP}]
~dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.4.1[${PYTHON_USEDEP}]
~dev-python/markupsafe-1.1.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.5.0[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
~dev-python/plumbum-1.6.8[${PYTHON_USEDEP}]
~dev-python/portend-2.6[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/pystray-0.15.0[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
=dev-python/pytz-2020.4[${PYTHON_USEDEP}]
=dev-python/pyyaml-5.1.2[${PYTHON_USEDEP}]
=dev-python/rebulk-2.0.0[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/rpyc-4.1.4[${PYTHON_USEDEP}]
~dev-python/six-1.15.0[${PYTHON_USEDEP}]
=dev-python/soupsieve-1.9.5[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.17[${PYTHON_USEDEP}]
~dev-python/tempora-1.14.1[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.2[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-0.16.1[${PYTHON_USEDEP}]
=dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^aniso8601==1.2.1/aniso8601==8.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^apscheduler==3.5.0/apscheduler==3.6.3/" ${S}/requirements.txt || die
#sed -i -e "s/^beautifulsoup4==4.6.2/beautifulsoup4==4.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==10001/" ${S}/requirements.txt || die
sed -i -e "s/^chardet==3.0.3/chardet==4.0.0/" ${S}/requirements.txt || die
#sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==18.4.0/cherrypy==18.5.0/" ${S}/requirements.txt || die
sed -i -e "s/^click==6.7/click==7.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask==1.0.2/flask==1.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.4.0/flask-login==0.4.1/" ${S}/requirements.txt || die
sed -i -e "s/^flask-restful==0.3.6/flask-restful==0.3.7/" ${S}/requirements.txt || die
#sed -i -e "s/^future==0.16.0/future==0.17.1/" ${S}/requirements.txt || die
sed -i -e "s/^html5lib==0.999999999/html5lib==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.8/idna==2.10/" ${S}/requirements.txt || die
#sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.23/" ${S}/requirements.txt || die
sed -i -e "s/^itsdangerous==0.24/itsdangerous==1.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.functools==2.0/jaraco.functools==3.0/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.10.1/jinja2==2.11.1/" ${S}/requirements.txt || die
sed -i -e "s/^jsonschema==2.6.0/jsonschema==3.2.0/" ${S}/requirements.txt || die
#sed -i -e "s/^markupsafe==1.0/markupsafe==1.1.1/" ${S}/requirements.txt || die
sed -i -e "s/^more-itertools==7.2.0/more-itertools==8.5.0/" ${S}/requirements.txt || die
#sed -i -e "s/^path.py==11.5.0/path.py==11.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^pillow==7.0.0/pillow==7.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.8/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
#sed -i -e "s/^progressbar==2.5/progressbar==2.3/" ${S}/requirements.txt || die
sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.8.1/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz==2020.4/" ${S}/requirements.txt || die
#sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.4.7/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.21.0/requests==2.25.1/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.0.1/rpyc==4.1.4/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.13.0/six==1.15.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.3.11/sqlalchemy==1.3.17/" ${S}/requirements.txt || die
sed -i -e "s/^tempora==1.8/tempora==1.14.1/" ${S}/requirements.txt || die
sed -i -e "s/^tzlocal==1.4/tzlocal==2.1/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.24.2/urllib3==1.26.2/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.15.6/werkzeug==0.16.1/" ${S}/requirements.txt || die
#sed -i -e "s/^zipp==0.3.3/zipp==0.6.0/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -1,144 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.8.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.6.0[${PYTHON_USEDEP}]
~dev-python/beautifulsoup4-4.10.0[${PYTHON_USEDEP}]
~dev-python/certifi-10001[${PYTHON_USEDEP}]
~dev-python/chardet-4.0.0[${PYTHON_USEDEP}]
~dev-python/charset_normalizer-2.0.10[${PYTHON_USEDEP}]
~dev-python/cheroot-8.5.2[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.1[${PYTHON_USEDEP}]
~dev-python/click-8.0.3[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.8[${PYTHON_USEDEP}]
~dev-python/flask-2.0.2[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.10.1[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.5.0[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.9[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.5.1[${PYTHON_USEDEP}]
~dev-python/greenlet-1.1.2[${PYTHON_USEDEP}]
~dev-python/guessit-3.4.2[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.3[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-4.8.1[${PYTHON_USEDEP}]
~dev-python/itsdangerous-2.0.1[${PYTHON_USEDEP}]
~dev-python/jaraco-classes-3.2.1[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.4.0[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.3.0[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.5.1[${PYTHON_USEDEP}]
~dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
~dev-python/loguru-0.5.3[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.12.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
~dev-python/portend-3.0.0[${PYTHON_USEDEP}]
~dev-python/psutil-5.8.0[${PYTHON_USEDEP}]
~dev-python/pygments-2.10.0[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-3.0.6[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
~dev-python/pytz-2021.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/rebulk-3.1.0[${PYTHON_USEDEP}]
~dev-python/requests-2.27.1[${PYTHON_USEDEP}]
~dev-python/rich-11.0.0[${PYTHON_USEDEP}]
~dev-python/rpyc-5.0.1[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.2.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.29[${PYTHON_USEDEP}]
~dev-python/tempora-4.1.2[${PYTHON_USEDEP}]
~dev-python/typing-extensions-3.10.0.2[${PYTHON_USEDEP}]
~dev-python/tzlocal-4.0.2[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.8[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-2.0.2[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zipp-3.6.0[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^apscheduler==3.8.0/apscheduler==3.8.1/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2021.10.8/certifi==10001/" ${S}/requirements.txt || die
sed -i -e "s/^charset-normalizer==2.0.7/charset-normalizer==2.0.10/" ${S}/requirements.txt || die
sed -i -e "s/^guessit==3.4.3/guessit==3.4.2/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.text==3.5.0/jaraco.text==3.5.1/" ${S}/requirements.txt || die
sed -i -e "s/^pyparsing==2.4.7/pyparsing==3.0.6/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.26.0/requests==2.27.1/" ${S}/requirements.txt || die
sed -i -e "s/^rich==10.15.0/rich==11.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.4.27/sqlalchemy==1.4.29/" ${S}/requirements.txt || die
sed -i -e "s/^tzlocal==2.1/tzlocal==4.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.7/urllib3==1.26.8/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -0,0 +1,165 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python3_{9,10} )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
~dev-python/aniso8601-9.0.1[${PYTHON_USEDEP}]
~dev-python/APScheduler-3.9.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.4.0[${PYTHON_USEDEP}]
~dev-python/babelfish-0.6.0[${PYTHON_USEDEP}]
~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}]
~dev-python/certifi-3021.3.16[${PYTHON_USEDEP}]
~dev-python/charset_normalizer-2.1.0[${PYTHON_USEDEP}]
~dev-python/cheroot-8.6.0[${PYTHON_USEDEP}]
~dev-python/cherrypy-18.6.1[${PYTHON_USEDEP}]
~dev-python/click-8.1.3[${PYTHON_USEDEP}]
~dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
~dev-python/commonmark-0.9.1[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.10[${PYTHON_USEDEP}]
~dev-python/flask-2.1.3[${PYTHON_USEDEP}]
~dev-python/flask-compress-1.12[${PYTHON_USEDEP}]
~dev-python/flask-cors-3.0.10[${PYTHON_USEDEP}]
~dev-python/flask-login-0.6.1[${PYTHON_USEDEP}]
~dev-python/flask-restful-0.3.9[${PYTHON_USEDEP}]
~dev-python/flask-restx-0.5.1[${PYTHON_USEDEP}]
~dev-python/greenlet-1.1.2[${PYTHON_USEDEP}]
~dev-python/guessit-3.4.3[${PYTHON_USEDEP}]
~dev-python/html5lib-1.1[${PYTHON_USEDEP}]
~dev-python/idna-3.3[${PYTHON_USEDEP}]
~dev-python/itsdangerous-2.1.2[${PYTHON_USEDEP}]
~dev-python/jaraco-classes-3.2.2[${PYTHON_USEDEP}]
~dev-python/jaraco-collections-3.5.2[${PYTHON_USEDEP}]
~dev-python/jaraco-context-4.1.2[${PYTHON_USEDEP}]
~dev-python/jaraco-functools-3.5.1[${PYTHON_USEDEP}]
~dev-python/jaraco-text-3.8.1[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/jsonschema-4.7.2[${PYTHON_USEDEP}]
~dev-python/loguru-0.6.0[${PYTHON_USEDEP}]
~dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}]
~dev-python/more-itertools-8.13.0[${PYTHON_USEDEP}]
~dev-python/plumbum-1.7.2[${PYTHON_USEDEP}]
~dev-python/portend-3.1.0[${PYTHON_USEDEP}]
~dev-python/psutil-5.9.1[${PYTHON_USEDEP}]
~dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-3.0.9[${PYTHON_USEDEP}]
~dev-python/pyrsistent-0.18.1[${PYTHON_USEDEP}]
~dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
~dev-python/pytz-2022.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/rebulk-3.1.0[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~dev-python/rich-12.5.1[${PYTHON_USEDEP}]
~dev-python/rpyc-5.1.0[${PYTHON_USEDEP}]
~dev-python/sgmllib3k-1.0.0[${PYTHON_USEDEP}]
~dev-python/six-1.16.0[${PYTHON_USEDEP}]
~dev-python/soupsieve-2.3.2_p1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.4.39[${PYTHON_USEDEP}]
~dev-python/tempora-5.0.2[${PYTHON_USEDEP}]
~dev-python/tzdata-2022.1[${PYTHON_USEDEP}]
~dev-python/tzlocal-4.2[${PYTHON_USEDEP}]
~dev-python/urllib3-1.26.10[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-2.1.2[${PYTHON_USEDEP}]
~dev-python/zc-lockfile-2.0[${PYTHON_USEDEP}]
~dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^beautifulsoup4==4.10.0/beautifulsoup4==4.11.1/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2021.10.8/certifi==3021.3.16/" ${S}/requirements.txt || die
sed -i -e "s/^charset-normalizer==2.0.12/charset-normalizer==2.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^click==8.0.4/click==8.1.3/" ${S}/requirements.txt || die
sed -i -e "s/^colorama==0.4.5/colorama==0.4.4/" ${S}/requirements.txt || die
sed -i -e "s/^feedparser==6.0.8/feedparser==6.0.10/" ${S}/requirements.txt || die
sed -i -e "s/^flask==2.0.3/flask==2.1.3/" ${S}/requirements.txt || die
sed -i -e "s/^flask-compress==1.11/flask-compress==1.12/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.5.0/flask-login==0.6.1/" ${S}/requirements.txt || die
sed -i -e "s/^itsdangerous==2.0.1/itsdangerous==2.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.classes==3.2.1/jaraco.classes==3.2.2/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.collections==3.4.0/jaraco.collections==3.5.2/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.context==4.1.1/jaraco.context==4.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.functools==3.4.0/jaraco.functools==3.5.1/" ${S}/requirements.txt || die
sed -i -e "s/^jaraco.text==3.7.0/jaraco.text==3.8.1/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==3.0.3/jinja2==3.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^jsonschema==3.2.0/jsonschema==4.7.2/" ${S}/requirements.txt || die
sed -i -e "s/^markupsafe==2.0.1/markupsafe==2.1.1/" ${S}/requirements.txt || die
sed -i -e "s/^more-itertools==8.12.0/more-itertools==8.13.0/" ${S}/requirements.txt || die
sed -i -e "s/^portend==3.0.0/portend==3.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^psutil==5.9.0/psutil==5.9.1/" ${S}/requirements.txt || die
sed -i -e "s/^pygments==2.11.2/pygments==2.12.0/" ${S}/requirements.txt || die
sed -i -e "s/^pyparsing==2.4.7/pyparsing==3.0.9/" ${S}/requirements.txt || die
sed -i -e "s/^pyrsistent==0.18.0/pyrsistent==0.18.1/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.27.1/requests==2.28.1/" ${S}/requirements.txt || die
sed -i -e "s/^rich==12.0.1/rich==12.5.0/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==5.0.1/rpyc==5.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^soupsieve==2.3.1/soupsieve==2.3.2.post1/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.4.32/sqlalchemy==1.4.39/" ${S}/requirements.txt || die
sed -i -e "s/^tempora==4.1.2/tempora==5.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^tzlocal==4.1/tzlocal==4.2/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.26.9/urllib3==1.26.10/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==2.0.3/werkzeug==2.1.2/" ${S}/requirements.txt || die
sed -i -e "s/^zc-lockfile==2.0/zc.lockfile==2.0/" ${S}/requirements.txt || die
sed -i -e "s/^zxcvbn-python==4.4.24/zxcvbn==4.4.28/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}