diff options
Diffstat (limited to 'dev-python/flask-cors')
-rw-r--r-- | dev-python/flask-cors/Manifest | 7 | ||||
-rw-r--r-- | dev-python/flask-cors/flask-cors-1.8.0.ebuild | 41 | ||||
-rw-r--r-- | dev-python/flask-cors/flask-cors-1.9.0.ebuild | 68 | ||||
-rw-r--r-- | dev-python/flask-cors/flask-cors-2.1.0.ebuild | 68 | ||||
-rw-r--r-- | dev-python/flask-cors/metadata.xml | 16 |
5 files changed, 200 insertions, 0 deletions
diff --git a/dev-python/flask-cors/Manifest b/dev-python/flask-cors/Manifest new file mode 100644 index 000000000000..b9601ed48fbd --- /dev/null +++ b/dev-python/flask-cors/Manifest @@ -0,0 +1,7 @@ +DIST flask-cors-1.8.0.tar.gz 17368 BLAKE2B e342a8d026cec1148448f49a0114c598dba7825d5a3c0ba3d92557c826c2474686741721a35dc5b8970a344b463c1fab21988527dc46846c5f84bfad1aeb096a SHA512 185a4e5785223d547373ff40d18dee2112a8da2dec2ecb39cb7b7c394e9220551e46302590870393c35902dd12e58d3d7cd4fb8fa052828b21d4107457a080fa +DIST flask-cors-1.9.0.tar.gz 22846 BLAKE2B c0aae306a810fe39c9f7d374ca2af1a89f8ab6e51dfa03c7542ff0009e928ef47370d29543ebf6d457c4882cf25c2cde8df9095974db707f60e7e46f524f3bf1 SHA512 0ed2d4fdd80b43bbbcab4257c3917ea12b39a9da89989e3cad5575d1ebca1523f9cefaca6c36b4dae81629f65936b2cdf3af04c789b28cc03d5660062c2a0e56 +DIST flask-cors-2.1.0.tar.gz 28038 BLAKE2B ecba951b0bac645088658ea5dc4947c0eaf9d0adb8f0f70e3a3f68337e008cb04a5efab3cb8139aaddf380f9b59c2524d33a5c5ac851b98446dadff9aa82fc92 SHA512 235162749485588e9112a52a833a43e68ad1737997628dc51cc30358d01837f427ba33872ecb1fff8e821b84c3de0a15a1c89c57f2407ef0cacafae9ca354640 +EBUILD flask-cors-1.8.0.ebuild 891 BLAKE2B 1e9228ba270577d73d54210888b9160f179fe4b193f0fc2e914ad3d0b128f0a701e227d5f52c8062a7b3d86a15deefdca98782e8ab7ec48357f7cf5b38396a32 SHA512 b5c19ce453868a8a4fb0ea5ad40730d110bebfad463cd83c8c3b6d8caa90521087261b5b4b46299e696e24fd8c897c5cdd53fe959b519d27f7b9164d105bcfaf +EBUILD flask-cors-1.9.0.ebuild 1686 BLAKE2B 6b5377a5bb99ce647c269e10d1e00defb3362fe96a92496669785afe08a8fc1dcc3db9c173b363e50bd7f00838dcb80b8b62b1e8cd748295ebd8ee89710839f0 SHA512 6c63b9618c023e574668c5455d130270dfa6f209fd93450822c37ca338396161123b6e9505546e0c3cc60abaac78a145e51d8ed71414f1bb59066c6e458acc5f +EBUILD flask-cors-2.1.0.ebuild 1692 BLAKE2B 08ec6ee5194b601ba613138c00cb233feb254f5168f8ba1cd958c2e8d962767bbafaead84bad69f736aba0a1056b67bfea780a1d1c9e2e0a67c28d195ff778d0 SHA512 1d77ad6b55c8cf8806d725528bc97949d81db1ea8a6f8fbc40c7afd8d1dfdad89b3a759295b3634d3813652ed1b4b7def994c58da3e36a6c94c9b132c9f881c9 +MISC metadata.xml 514 BLAKE2B 255de178f7bce4d4b4678199a8edf799c2a07bd79c8c518bf28a056a2166169864c3e70315d80a09db14ac15a858cc759f5e401ac9808dc5d7d3f2b1c8495dde SHA512 d91e721a0f45e423cb947f5943d9d0615a17f84401c365584ef3eb2b157259f5bf978a10c90e690a52d49f4160c1991f9edfb26e74768686200149f50a15a443 diff --git a/dev-python/flask-cors/flask-cors-1.8.0.ebuild b/dev-python/flask-cors/flask-cors-1.8.0.ebuild new file mode 100644 index 000000000000..9d189c3a8003 --- /dev/null +++ b/dev-python/flask-cors/flask-cors-1.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Cors" +MY_P="${MY_PN}-${PV}" + +if [[ "${PV}" == "9999" ]]; then + inherit git-2 + EGIT_REPO_URI="https://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.org/project/Flask-Cors/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="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_test() { + esetup.py test +} diff --git a/dev-python/flask-cors/flask-cors-1.9.0.ebuild b/dev-python/flask-cors/flask-cors-1.9.0.ebuild new file mode 100644 index 000000000000..fc8a01d89abc --- /dev/null +++ b/dev-python/flask-cors/flask-cors-1.9.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Cors" +MY_P="${MY_PN}-${PV}" + +if [[ "${PV}" == "9999" ]]; then + inherit git-2 + EGIT_REPO_URI="https://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.org/project/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 +} diff --git a/dev-python/flask-cors/flask-cors-2.1.0.ebuild b/dev-python/flask-cors/flask-cors-2.1.0.ebuild new file mode 100644 index 000000000000..b0740f903043 --- /dev/null +++ b/dev-python/flask-cors/flask-cors-2.1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Cors" +MY_P="${MY_PN}-${PV}" + +if [[ "${PV}" == "9999" ]]; then + inherit git-2 + EGIT_REPO_URI="https://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.org/project/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 +} diff --git a/dev-python/flask-cors/metadata.xml b/dev-python/flask-cors/metadata.xml new file mode 100644 index 000000000000..c49fbc0234ea --- /dev/null +++ b/dev-python/flask-cors/metadata.xml @@ -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>wking@tremily.us</email> + <name>W. Trevor King</name> + </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> |