New flexget

This commit is contained in:
layman
2020-02-13 21:57:33 +01:00
parent 4f9689ee8c
commit df8d00dc33
28 changed files with 573 additions and 20 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST rebulk-2.0.0.tar.gz 257112 BLAKE2B c68bbca02535a00b816d36e0c90bb80a9ea4f192e128efac701d96443d8ceb58642c0e0d3e3676a1395479c5923dbbdc91b132d99815281bb13dd1f64e8454be SHA512 e42bc73645eaa33ee321d69d5091c0a11e47ade0b2b48ba78b8b682e327f0608bb4345e7be7e51551b672bbfd6de490bc563e12344da30be6900b5860b9047ab
EBUILD rebulk-2.0.0.ebuild 951 BLAKE2B 89513c3b138d1c90ee23df8c1f0836d6ab49753450fc17a366629c6329903dae4c2ae60d5d40bd04db8967726d18db693b21c822449832e4fa4bd5fee086d075 SHA512 624c3738b28a4ca58678f4ed740abb4f5de91baa2219605cbb76e23120017bcd45b3ad8bb98f07b9d39c04267e745c0e54aeba53a3a048bf57e61a9bcd229214
MISC metadata.xml 289 BLAKE2B 0b4705d4e9400951a5a9bbfd79a5f311cf4918e6665f697b8b94fc7daa4bb777457fd919d09f79627ab5cff49fdf473a4535146b0fb7decf33f1afe15b42d32f SHA512 d3d12fbd490d3b76d211a0a47691e7ed085b6bc6235e36ba5ddb6c976793cad1f206d61444d451da66ff16cc4e0bbc2208ce6fcee07fd8b52fe6a01e39417257
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">Toilal/rebulk</remote-id>
<remote-id type="pypi">rebulk</remote-id>
</upstream>
</pkgmetadata>
+41
View File
@@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_6} )
inherit distutils-r1
DESCRIPTION="Python library that performs advanced searches in strings"
HOMEPAGE="https://github.com/Toilal/rebulk https://pypi.org/project/rebulk/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
# Remove base64-encoded zip archive with pytest.
rm runtests.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
}