Update flexget and friends

This commit is contained in:
layman 2019-07-12 14:05:37 +02:00
parent ab3bb9906b
commit a127e54cbe
7 changed files with 336 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST importlib_metadata-0.9.tar.gz 22427 BLAKE2B 0f4e4355a27a578f5a3a6b3e5c1c88022019b078a27c64c7c93c941f24ac71d7728e691fcd07de69d7b13540f87b9d7171c85be69c42e4caf3f2ed37a0b35bc9 SHA512 8f09fb02e78fa52a265c60c2aea882fff6ecfaa3485ffb4aa4c9022503a95a53a814d5f12603a747cacd639233704a51d12c9a3bd725c36091bf2ed4fe910ee4
EBUILD importlib_metadata-0.9.ebuild 620 BLAKE2B f6a1a60564f880492a18d4944de5bbd83834448c56fa4d76817e486e79d1b68ddfe73378f27a266b336bd7dedfb678499ace7f3e2fbdce086efd333e90289cd7 SHA512 476e9d09d9737d0ec6aa3252294c1b95b9078d5ec961a7351e2652e87d5ee5640f0402877b35dfdd2741aa212f7731d8ed639fb331a5cacf2be7c105da56140f

View File

@ -0,0 +1,25 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Read metadata from Python packages."
HOMEPAGE="https://importlib-metadata.readthedocs.io"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]
dev-python/contextlib2[${PYTHON_USEDEP}]
dev-python/pathlib2[${PYTHON_USEDEP}]
>=dev-python/zipp-0.3.2[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

2
dev-python/zipp/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST zipp-0.3.3.tar.gz 9719 BLAKE2B 5d756d44d0b0d12f7b6efe29e7accc3ad6e8f05db52f07bb85bea0a44f4b437b1b32697806ab44f84a898d46a0a31d5df6439090bc06457ac22b5b9430d2ffd7 SHA512 dbf367bffcb8f7dc6b36d917c2bc8631fc6cde334631912bc5fa98c0b01944428b388785fd3a07780675fc1dc2ee207a9c6ad0450aa79566f32c72c911cf3f26
EBUILD zipp-0.3.3.ebuild 417 BLAKE2B 8213c1d62154dc79458b57638bb1f97ead2b87d04e20143ab31d6c621871e5ff894d7f781a25e53b06ad1f9df2536c312bf85dba41e1640656dd1434b564b4c4 SHA512 40655181ff7fe9735b7237e5368e53cb59326c2187881bab58d74a2393a976976185d2c5f1ed65bdac9ecdf37aac73b7bbead7d43326114e24cedcce5bef3021

View File

@ -0,0 +1,20 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_6} )
inherit distutils-r1
DESCRIPTION="A pathlib-compatible Zipfile object wrapper."
HOMEPAGE="https://github.com/jaraco/zipp"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"

View File

@ -8,6 +8,7 @@ DIST FlexGet-2.14.15.tar.gz 6123464 BLAKE2B 47eaf0cdf3968cf6b734c680ac5a645af966
DIST FlexGet-2.14.25.tar.gz 6131799 BLAKE2B 42e104e9e6a8ad4e4d23b86c01955098512d607fde60cfb5a42fc7fbd6811e72fed384eaa66163f31396a987596ef6dcebf95d318b78189b9838cf07349c4de7 SHA512 5963fa6d63d62b9ba09ff87457794d3b619506ef6fac05d54caf626ada50e7e5ad138a6d6f2127e65632cb3fd9a3842047ab3b1fbe8025fe10481af6fff3286a
DIST FlexGet-2.14.9.tar.gz 6122541 BLAKE2B 24d7617f8e2692ea313038428634f1cbc4ee986899dbca5725d2c73af243b40db25b2123ba08ebf9a720f70cacdfdfe6090f2a2d32d047af80ed8ef197d90aee SHA512 16d372db032b5cfbb132bae65cf774e42874eafc9ebe16299e471222b54ae5f4a47ebbda1df19c81028b3b14dd6dc0a158412f98f9d21d56f180dfba17f1a32b
DIST FlexGet-2.17.11.tar.gz 6128310 BLAKE2B 5f8a91e2bf5442adb15a8a00b16ecec32b418fd35e90d70fc18c43be28a40ced25d5c92f4c983cce7d285b3e383041eb2374e6a84e405c85e2e7cba8d165d917 SHA512 41118d3b35ff2add07e7fed89a5be97a4bb33057f7830d9100bdb37028d15104f15a1c669addedc6ef9e0b641e0c8d1ea70cd6a26457455155841a34dc5977f4
DIST FlexGet-2.20.21.tar.gz 6175953 BLAKE2B c13ce5dc69a1b9e2817feb38ea9ee3c4f9110db705fce873785183c9d21a1b6ad15386f00932f09f3853228d10bbc232ed5048d72ea9c0d25d5aba4fbce137a0 SHA512 be9ca09a0ecab42f16a66745a0d07c023015316167dd6f476ffe3ecc213e46183ea6915a9c7fa64c6131d89a3bb5cf965970a24fe4e9c80e6c927c66283206e4
DIST FlexGet-2.9.18.tar.gz 2637431 BLAKE2B 78253e2ae95193488715c7c5e5d048b7abb98c1bd2399dc5b77f1e1d0795b52f3ce35074c53c23a0200fb3d4e3b186a87c7b6f88b51bf2db71719e636533400a SHA512 3ae7d407d31850aa4f003e257c3c41b11658d1ab13ca3f11476fe976fd6b16314410c3b7d441a4b66dc987618deb62ec703e1e9e81d34ca7344a6674488a8b57
EBUILD flexget-2.10.35.ebuild 2589 BLAKE2B 0d6e3deb742f146a8f1fc193e340dde9d15e5853c4da2d69c7d15fed0aa327a274f704f2aa515b14820d9b079e0e9ed27cf559140f9f08dde944962ede9001a1 SHA512 30a1ddac133fd8617dfac5c3a8dfae6240503a4e64f65f030582b27b5a0fb2469bcba49357f59e0972c706acbfc83b53dd0b51c0aabd623263c93c6a30fb2568
EBUILD flexget-2.10.84.ebuild 2555 BLAKE2B 7610d7606ec86ee5ceb957b18560b17b6f945e72bb0fd6f78339ba4f5b8b08d62dce5b631be5f1d6e295a9426744a11fb1eaf6037972c81a197148a3d32fc3e3 SHA512 ba1efb6b476c9bcfd346bcad40f6aac688b17d037de63a3307fb85f8ada6575be52cf44a6ab579a4f0a7dc83bc7f8c86c7e49e2ca275d84adeb3c6f566d59fe8
@ -17,5 +18,6 @@ EBUILD flexget-2.14.15.ebuild 4470 BLAKE2B ff8e9f00c7c9f541492c80feccbc6468ae597
EBUILD flexget-2.14.25.ebuild 4681 BLAKE2B 883381534828801262ec638fe3393c5c358962f2f550a5d76113ec9f1f9c62eff9307a2b56f0d337eb1496b19aac0e8333c9f54384a76fcdff85bb5051c4176e SHA512 624c4fe355f5a37460c1f73af4e3396ce397ec9fffbbc10aff263b08f1834a70c4afc2b837d219a86a582f4f5a1f9ff5229b641217d0a824a0c77b9d3a15a2c1
EBUILD flexget-2.14.9.ebuild 3517 BLAKE2B 069cf2cba3fb96524525fc919e461ca6bb3870cdbbd39c6858e1531bfe11e7ad4c0dca753aca64571a73f0738d68d6a8990545b95af31a2898b84c927001ecfb SHA512 8df3527222e8f7d4636db63225e4a6826e11f54161cb59a14c0173be1715835ee62c79fc2182b93f625acea1284070aaf1b63568d4eeebe50a80716a625b68d2
EBUILD flexget-2.17.11.ebuild 4766 BLAKE2B 91bc29dcf67aeeeea124b7056f3dd3a80ef23be4fd0a1703032c2d915e61d7fe5a826e8a6f6245a83daea2e1ed65dc908d6e46e755fff97a5d902b46696e7c61 SHA512 f465a4f90e0924d8274874ecc37856508d47045926ca0915983dc8fc931b7f4ae3f947339817996e6a8b545d5c2b63c253f09bed682aec4f84b44572a8a44cc9
EBUILD flexget-2.20.21.ebuild 5637 BLAKE2B 5e52628e4656ff436bc036f1e50221a17359fac77966dc134652b0b8a5efc74dd86bef159ff96cc51505ac650fb643339df30dc60c563bd1779414d34e3a8b53 SHA512 1dc7209f1a865a2296a33f50292519a61435987d75fac35040e32cc7666fd441cab86a2a7b080a460ad17def054d2fe45c296f39808a1f77f3efd90088506c71
EBUILD flexget-2.9.18.ebuild 2725 BLAKE2B 2a80b56f4cf1c5d92a1648919f2daac5818a36908ac3130df5ab482bb65fbf0f3675ae8ff6d1d15025e0acc616314160357972d3d9c6aabf578954e20997d649 SHA512 6a1282b64862b61f15586278462fd29da45a2472dbd5a1740b1ef13eb486210fd42de625d6ed200c804349a4684ee4db4e3a6f2347be3e9d85ffea806e6d9bfd
MISC ChangeLog 559 BLAKE2B 43030b5c73d9efa71c0cd9b8e60d1d75908debd818fb880a3740b2f74764fccfd9e1e014453a3fe851addce9f57a701c53894279ef1801622d9e8b71900b62df SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667

View File

@ -0,0 +1,141 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
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/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.3:4[${PYTHON_USEDEP}]
=dev-python/certifi-2018.11.29[${PYTHON_USEDEP}]
~dev-python/cheroot-6.5.4[${PYTHON_USEDEP}]
~dev-python/cherrypy-13.1.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.0.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.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
=dev-python/functools32-3.2.3[${PYTHON_USEDEP}]
~dev-python/future-0.17.0[${PYTHON_USEDEP}]
=dev-python/guessit-3.0.3[${PYTHON_USEDEP}]
=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
=dev-python/idna-2.8[${PYTHON_USEDEP}]
=dev-python/importlib_metadata-0.9[${PYTHON_USEDEP}]
=dev-python/jinja-2.10[${PYTHON_USEDEP}]
=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
=dev-python/path-py-11.0.1[${PYTHON_USEDEP}]
~dev-python/pathlib-1.0.1[${PYTHON_USEDEP}]
=dev-python/plumbum-1.6.4[${PYTHON_USEDEP}]
~dev-python/progressbar-2.3[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
=dev-python/pytz-2018.9[${PYTHON_USEDEP}]
=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
~dev-python/requests-2.21.0[${PYTHON_USEDEP}]
=dev-python/rpyc-4.0.2[${PYTHON_USEDEP}]
=dev-python/six-1.12.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.2.18[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.24.1[${PYTHON_USEDEP}]
=dev-python/zipp-0.3.3[${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==3.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^beautifulsoup4==4.6.0/beautifulsoup4==4.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==2018.11.29/" ${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.5.4/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^click==6.7/click==7.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask==0.12.2/flask==1.0.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/^future==0.16.0/future==0.17.0/" ${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.5/idna==2.8/" ${S}/requirements.txt || die
sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.9/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.10.1/jinja2==2.10/" ${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/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${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.7.5/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz==2018.9/" ${S}/requirements.txt || die
sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.3.1/" ${S}/requirements.txt || die
sed -i -e "s/^pyyaml==3.13/pyyaml==5.1/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.20.1/requests==2.21.0/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.0.1/rpyc==4.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.12.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.3.3/sqlalchemy==1.2.18/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.24.2/urllib3==1.24.1/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.12.2/werkzeug==0.14.1/" ${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,144 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
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/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.3:4[${PYTHON_USEDEP}]
=dev-python/certifi-2018.11.29[${PYTHON_USEDEP}]
~dev-python/cheroot-6.5.4[${PYTHON_USEDEP}]
~dev-python/cherrypy-13.1.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.0.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.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
=dev-python/functools32-3.2.3[${PYTHON_USEDEP}]
~dev-python/future-0.17.0[${PYTHON_USEDEP}]
=dev-python/guessit-3.0.3[${PYTHON_USEDEP}]
=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
=dev-python/idna-2.8[${PYTHON_USEDEP}]
=dev-python/importlib_metadata-0.9[${PYTHON_USEDEP}]
~dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
~dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
~dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
~dev-python/path-py-11.0.1[${PYTHON_USEDEP}]
=dev-python/plumbum-1.6.4[${PYTHON_USEDEP}]
~dev-python/portend-2.2[${PYTHON_USEDEP}]
~dev-python/progressbar-2.5[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
~dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.6.1[${PYTHON_USEDEP}]
=dev-python/pytz-2018.9[${PYTHON_USEDEP}]
=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
~dev-python/requests-2.21.0[${PYTHON_USEDEP}]
=dev-python/rpyc-4.0.2[${PYTHON_USEDEP}]
=dev-python/six-1.12.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.3.4[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.24.2[${PYTHON_USEDEP}]
~dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
~dev-python/werkzeug-0.14.1[${PYTHON_USEDEP}]
=dev-python/zipp-0.3.3[${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==3.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^beautifulsoup4==4.6.0/beautifulsoup4==4.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==2018.11.29/" ${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.5.4/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^click==6.7/click==7.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask==0.12.2/flask==1.0.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/^future==0.16.0/future==0.17.0/" ${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.5/idna==2.8/" ${S}/requirements.txt || die
sed -i -e "s/^importlib-metadata==0.8/importlib-metadata==0.9/" ${S}/requirements.txt || die
#sed -i -e "s/^jinja2==2.10.1/jinja2==2.10/" ${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/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${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.7.5/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz==2018.9/" ${S}/requirements.txt || die
sed -i -e "s/^pyparsing==2.2.0/pyparsing==2.3.1/" ${S}/requirements.txt || die
#sed -i -e "s/^pyyaml==3.13/pyyaml==5.1/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.20.1/requests==2.21.0/" ${S}/requirements.txt || die
sed -i -e "s/^rpyc==4.0.1/rpyc==4.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.12.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/^urllib3==1.24.2/urllib3==1.24.1/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.12.2/werkzeug==0.14.1/" ${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
}