diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-12-03 09:28:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-12-03 09:29:25 +0100 |
commit | 049de164f57c0d78595a376097d5236a7707556a (patch) | |
tree | 29969cbaf1b53d909635c98ceb0183983d98a558 /dev-python/flask-cors | |
parent | dev-python/pymongo: Bump to 3.11.2 (diff) | |
download | gentoo-049de164f57c0d78595a376097d5236a7707556a.tar.gz gentoo-049de164f57c0d78595a376097d5236a7707556a.tar.bz2 gentoo-049de164f57c0d78595a376097d5236a7707556a.zip |
dev-python/flask-cors: Remove old
Bug: https://bugs.gentoo.org/743646
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-cors')
-rw-r--r-- | dev-python/flask-cors/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-cors/flask-cors-2.1.0.ebuild | 69 |
2 files changed, 0 insertions, 70 deletions
diff --git a/dev-python/flask-cors/Manifest b/dev-python/flask-cors/Manifest index 18d676bfb5a7..e08914b0b6f9 100644 --- a/dev-python/flask-cors/Manifest +++ b/dev-python/flask-cors/Manifest @@ -1,2 +1 @@ -DIST flask-cors-2.1.0.tar.gz 28038 BLAKE2B ecba951b0bac645088658ea5dc4947c0eaf9d0adb8f0f70e3a3f68337e008cb04a5efab3cb8139aaddf380f9b59c2524d33a5c5ac851b98446dadff9aa82fc92 SHA512 235162749485588e9112a52a833a43e68ad1737997628dc51cc30358d01837f427ba33872ecb1fff8e821b84c3de0a15a1c89c57f2407ef0cacafae9ca354640 DIST flask-cors-3.0.9.tar.gz 29222 BLAKE2B 5c13218728c1741c455efedcf46af0b7e2c765e41ad256eb52413f06544d6d0d1d755ab336bc4a2a44627665b1252246073acfd201622604db825dbd7e2501ed SHA512 1b80b4dbc928e076c8c415f4514877c2e44e5b658b200178dc9a63b3342e46a7da62eba80d6703cdfd6ac74302aae2ff072531a587e7f04e5c1715d8b7592654 diff --git a/dev-python/flask-cors/flask-cors-2.1.0.ebuild b/dev-python/flask-cors/flask-cors-2.1.0.ebuild deleted file mode 100644 index 153d823f42cb..000000000000 --- a/dev-python/flask-cors/flask-cors-2.1.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python3_6 ) - -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" -RESTRICT="!test? ( 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 -} |