Added new flexget versions
This commit is contained in:
parent
24d4a6656f
commit
178fffc45f
@ -10,6 +10,8 @@ DIST FlexGet-3.1.148.tar.gz 8628253 BLAKE2B 0840b3584e36c8c3f31a65bb4d132f1c67e0
|
||||
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.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
|
||||
@ -20,4 +22,6 @@ EBUILD flexget-3.1.148.ebuild 4983 BLAKE2B 3d6e1c37d7ff799f30160467916518b665ae7
|
||||
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.3.ebuild 5368 BLAKE2B a393d273d923d4dbd748739bd06d14efeb7b69ee5b03cfa875ef1071d5672ac7c0fe84c91a7793227821f74afa277a65e30dad2541bc63a9c30dd9be3038bc0e SHA512 8c7a5865d646a58f102e3ae2e49ab4c4f9cc11d0b71b11b8de2568da47ee3a882c72ffa7aaec561ccea450f6d9eb03a96b20405ea446e566c67c635e158e16e5
|
||||
MISC ChangeLog 559 BLAKE2B 43030b5c73d9efa71c0cd9b8e60d1d75908debd818fb880a3740b2f74764fccfd9e1e014453a3fe851addce9f57a701c53894279ef1801622d9e8b71900b62df SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667
|
||||
|
140
net-misc/flexget/flexget-3.3.2.ebuild
Normal file
140
net-misc/flexget/flexget-3.3.2.ebuild
Normal file
@ -0,0 +1,140 @@
|
||||
# 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/charset_normalizer-2.0.12[${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/commonmark-0.9.1[${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/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.5.0[${PYTHON_USEDEP}]
|
||||
~dev-python/jaraco-text-3.7.0[${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.7[${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/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/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/^certifi==2021.10.8/certifi==10001/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^charset-normalizer==2.0.7/charset-normalizer==2.0.12/" ${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-functools==3.3.0/jaraco-functools==3.5.0/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^jaraco.text==3.5.1/jaraco.text>=3.5.1/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^pyparsing==2.4.7/pyparsing==3.0.7/" ${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
|
||||
}
|
142
net-misc/flexget/flexget-3.3.3.ebuild
Normal file
142
net-misc/flexget/flexget-3.3.3.ebuild
Normal file
@ -0,0 +1,142 @@
|
||||
# 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/charset_normalizer-2.0.12[${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/commonmark-0.9.1[${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/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.5.0[${PYTHON_USEDEP}]
|
||||
~dev-python/jaraco-text-3.7.0[${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.1.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.11.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pyparsing-3.0.7[${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/tzlocal-4.0.2[${PYTHON_USEDEP}]
|
||||
~dev-python/urllib3-1.26.9[${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/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/^certifi==2021.10.8/certifi==10001/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^charset-normalizer==2.0.7/charset-normalizer==2.0.12/" ${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.functools==3.3.0/jaraco.functools==3.5.0/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^jaraco.text==3.5.1/jaraco.text>=3.5.1/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^markupsafe==2.0.1/markupsafe==2.1.1/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^pygments==2.10.0/pygments==2.11.2/" ${S}/requirements.txt || die
|
||||
sed -i -e "s/^pyparsing==2.4.7/pyparsing==3.0.7/" ${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.9/" ${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
|
||||
}
|
Loading…
Reference in New Issue
Block a user