diff options
Diffstat (limited to 'dev-python/flask-cors')
-rw-r--r-- | dev-python/flask-cors/Manifest | 2 | ||||
-rw-r--r-- | dev-python/flask-cors/flask-cors-1.3.1.ebuild | 34 | ||||
-rw-r--r-- | dev-python/flask-cors/flask-cors-1.6.1.ebuild | 47 | ||||
-rw-r--r-- | dev-python/flask-cors/metadata.xml | 14 |
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-python/flask-cors/Manifest b/dev-python/flask-cors/Manifest new file mode 100644 index 0000000..0de7990 --- /dev/null +++ b/dev-python/flask-cors/Manifest @@ -0,0 +1,2 @@ +DIST Flask-Cors-1.3.1.tar.gz 9988 SHA256 351c1be901e7b16f533ad1c11ba7e86911270620ad7ec5f8c01b622d2b05f91a SHA512 5922b5ef89e6e9b6ddca176a666ac8727246f301b86ebe58edec4f5204aae66a92f57321dd343307bbed619295a6d13dc77a39c6bea7d8e6a45950520a8038bc WHIRLPOOL 248e26d4858e1292dfb016a32ed5174d0f6d9d2f560214b96924d7b18e634e77b52166473ef403a4d0319ce9d73e3f113cfe01758a6dc09b5a422c48b7c0f2a0 +DIST Flask-Cors-1.6.1.tar.gz 13263 SHA256 24ae9e068d92963116ef3854e105b9840f42ddd759c1da836c2b86a3fb510736 SHA512 03db71cd13986b135e2170ef880d697c6bd9a2eac007d36cbf5f24685d21b4d7aaaac798ba5086126e0cf186184a4ab46b137d1ae06e4daa838960da3afcc69c WHIRLPOOL 36ee538096680efc443e2dd7bac9fd0a3ffc8daca960bb240ac0583d4a36468b258a257a28f0e7184b85978bc4b99673010bede363d31af8f435896efcb6820d diff --git a/dev-python/flask-cors/flask-cors-1.3.1.ebuild b/dev-python/flask-cors/flask-cors-1.3.1.ebuild new file mode 100644 index 0000000..41c874b --- /dev/null +++ b/dev-python/flask-cors/flask-cors-1.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Cors" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Flask extension adding a decorator for CORS support" +HOMEPAGE="https://github.com/wcdolphin/flask-cors https://pypi.python.org/pypi/Flask-Cors" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + esetup.py test +# nosetests || die "Testing failed with ${EPYTHON}" +} + diff --git a/dev-python/flask-cors/flask-cors-1.6.1.ebuild b/dev-python/flask-cors/flask-cors-1.6.1.ebuild new file mode 100644 index 0000000..a1a2b38 --- /dev/null +++ b/dev-python/flask-cors/flask-cors-1.6.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Cors" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Flask extension adding a decorator for CORS support" +HOMEPAGE="https://github.com/wcdolphin/flask-cors https://pypi.python.org/pypi/Flask-Cors" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +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}] + test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Prevent un-needed d'loading + sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die + 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 +} diff --git a/dev-python/flask-cors/metadata.xml b/dev-python/flask-cors/metadata.xml new file mode 100644 index 0000000..4ffdee1 --- /dev/null +++ b/dev-python/flask-cors/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>idella4@gentoo.org</email> + </maintainer> + <maintainer> + <email>wking@tremily.us</email> + <name>W. Trevor King</name> + <description>Proxy maintainer</description> + </maintainer> +</pkgmetadata> |