Added flexget dependencies

This commit is contained in:
layman
2017-04-23 18:09:06 +02:00
parent bd8e1053e8
commit d41a9a6c0e
31 changed files with 654 additions and 84 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST guessit-2.0.4.tar.gz 73497 SHA256 4f72e21fca9c294651abee26554e2ad778220d90a84f6e1195299a7ec17accb1 SHA512 ed44267881df208743900b4977d9e9bd555e9bb246b7de78e205c9038c6d8e395db05ba9d982dce830b1ac0c4d002f08b24e1cd7194d67aed942d60986fafd04 WHIRLPOOL bd6f535582c8c807930153eda65a9499a4e3b13c8490990cd3677b3d142b736712d9a7ca69d930d775e0139c4482fcdc0f9012df4894a32ea7fec329e6a832ea
EBUILD guessit-2.0.4.ebuild 1271 SHA256 185de6190c0c405a0c22e4525631014ac08cb7309fcaf5f1f1c53ac1b6dbbdeb SHA512 4ad541493a6935377a13e8eb317092b581014f043e7c52455fd530308fcd516fc11b0031f4a19c786542283797c1fc9b8570e77185fee8db3765096a45d797db WHIRLPOOL 35cf2f31fd9702fadaf72025e8de3d747252ddd4f3300ed2d2d3623b094b560bda1f9dbc7358b0a4f91f530955374797d6379c40aa94a3fd52c7f995899d64f3
MISC metadata.xml 494 SHA256 a4b99dd6eb9954f8676ab24c92b1ceb4cd61e7c8ce207d3e6ec17b9d03d47653 SHA512 7a9448f171bf023c39ca5bdeb3f3c079ad64ecfb07a15d8d3708e00365ed9cb9dd547e404197fca308fab1e52f8c7f3669bb952b370c8ca707ff24d6067a1c32 WHIRLPOOL 4153cc3020a8164f6850959e3ff48ea41d95e54def1368069c0109c1418cb693d6fc6469bd5c05500b061d8e8125e1598d0abfd90f4c7a2620f619d8365c4d5c
+50
View File
@@ -0,0 +1,50 @@
# 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_4,3_5} )
inherit distutils-r1
DESCRIPTION="Python library for guessing information from video filenames"
HOMEPAGE="https://github.com/guessit-io/guessit https://pypi.python.org/pypi/guessit"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="
>=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
>=dev-python/rebulk-0.8.2[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
>=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
dev-python/pytest-capturelog[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
# Disable benchmarks as they require unavailable pytest-benchmark.
rm guessit/test/test_benchmark.py || die
sed -i -e "s|'pytest-benchmark',||g" setup.py || die
# Disable unconditional dependency on dev-python/pytest-runner.
sed -i -e "s|'pytest-runner'||g" setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>itumaykin+gentoo@gmail.com</email>
<name>Coacher</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">guessit-io/guessit</remote-id>
<remote-id type="pypi">guessit</remote-id>
</upstream>
</pkgmetadata>