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 flask-cors-2.1.2.tar.gz 27712 SHA256 f262e73adce557b2802a64054c82a0395576c88fbb944e3a9e1e2147140aa639 SHA512 61b0c32b63ea3f63350b69946411a2f370507aedf8898e0129c6fec9069d171489e853a57009815ff9b4c0ae7398b018200fb72d9478349b32fa24c243940604 WHIRLPOOL c77e9204c402e39ca0d653d816d1a8bf6f33b6c511f830fd28025b35ee1b15ad30ce94a8098a0851cb09a29d356055ef097c6aa65227d889a362f4df0aa4a6cc
EBUILD flask-cors-2.1.2.ebuild 1696 SHA256 0169705aa714f7cd84dc8d3861d5f4de16e653f025ac0a60a9c4b08bc19bad1f SHA512 476a9c13d55b4f2b297d5227de71a3e061f69008d753512c46ea14afefe4bf243f943761d13f0c636dd90e3be5cd54f6ee3d1f04fc7d57dca3c4a3c386430f45 WHIRLPOOL 980914b177e721b2b2c78a9a3b7486c46d02ec6b4d9c61b42ccb0bf3b3fde636bdf2e538ea200583a1524f472dba0875ff0e6715927f4cbacac38a18ad45acdf
MISC metadata.xml 562 SHA256 d27591a719383c9b44e5f72d8617abaf07ebb1d80d7db5923291e5c791732d0c SHA512 0f7aeff494625337815930c46d69e05f5a34c880761c1de16bb8006477aab1208c2991b9388b31fc4ef42fb3adc9921494e92aae832ab774999953700940204d WHIRLPOOL d004abdf0ae98a0e7342b2e45b9483880bb97945b30d273f605b5c5c7bd65461693151f6d1a5c221856ecc36671d833e2224ac3d7737014a362634254e16d210
@@ -0,0 +1,69 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
inherit distutils-r1
MY_PN="Flask-Cors"
MY_P="${MY_PN}-${PV}"
if [[ "${PV}" == "9999" ]]; then
inherit git-2
EGIT_REPO_URI="git://github.com/wcdolphin/${PN}.git"
SRC_URI=""
else
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="A Flask extension for Cross Origin Resource Sharing (CORS)"
HOMEPAGE="https://github.com/wcdolphin/flask-cors https://pypi.python.org/pypi/Flask-Cors"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
${RDEPEND}
dev-python/sphinx[${PYTHON_USEDEP}]
>=dev-python/python-docs-2.7.6-r1:2.7
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
if use doc; then
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die
fi
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
esetup.py test
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>wking@tremily.us</email>
<name>W. Trevor King</name>
<description>proxy maintainer</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="pypi">Flask-Cors</remote-id>
<remote-id type="github">wcdolphin/flask-cors</remote-id>
</upstream>
</pkgmetadata>