summaryrefslogtreecommitdiff
path: root/dev-python/falcon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/falcon
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/falcon')
-rw-r--r--dev-python/falcon/Manifest4
-rw-r--r--dev-python/falcon/falcon-1.3.0.ebuild6
-rw-r--r--dev-python/falcon/falcon-2.0.0.ebuild34
3 files changed, 40 insertions, 4 deletions
diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest
index bff05a79d76c..37316bd0b974 100644
--- a/dev-python/falcon/Manifest
+++ b/dev-python/falcon/Manifest
@@ -1,3 +1,5 @@
DIST falcon-1.3.0.tar.gz 507250 BLAKE2B 3ba3a989f2e9eb281f519e36a24772fe329fee849097028f3183b0e0c7908b7e06dbf0a70ba28cf7570dccbe88fa87703c47d985ea3cf761ea7d6ec3d41ac04b SHA512 a92d0b641152f653f47c9cb9b2e368d643aae14dcabe7028450d190bd08b883d37116d23d3a1ae4e092207f15926f66b12f57e38dd2edd347f6f8df48baa65ce
-EBUILD falcon-1.3.0.ebuild 1516 BLAKE2B aa8cfd4024583864667fa4823b2078cae9c49c0ae72557c9256dc8e37672ca6878c790db8868c4a08edfd64ffe1d328f51e9421345faffc212617772d442f418 SHA512 b4a1c61ef1fd9fdebe2321506b7d4dc4ca5ec0b7064b2fe0359b9b986600b5fc59d175efa0d32e57d2dae86b5c48de822387ab398f9781f14e6ac847b7054afd
+DIST falcon-2.0.0.tar.gz 1075333 BLAKE2B 338e0b2474d743171fb0bc9dc3a05da428e6d46fc25e7cf1e978f799ed70e76bf265f32ba2cdf16d6eec8ea03b7b6111f70aa5b8f59141b7029d8ba9b03cd0d1 SHA512 d5365f91eb312cd058773d0a3809b5d8631acc188b9ee884e7c7db35664138608998f397d3fd831c568cafaf261cca2734b9dc7fb60590062e316ad1dbc74614
+EBUILD falcon-1.3.0.ebuild 1470 BLAKE2B 7544939344f194915eb811a2b6b21e0ab58a9f9af3d3dc7e9219e0b3c88d4310d0cd9c3bef2654ae5d3eb1c764c03530e1e7e1d2cb38d19ac0ffe0831e665ed7 SHA512 f0c38da0d4f6a517d48b4bae4670dd08afb95834881ede779ddf0d0e26f3d3e4ba11038b9a20b65417b133a0a265b3494561b3ec630a61089d9c792f0a36afb5
+EBUILD falcon-2.0.0.ebuild 805 BLAKE2B 71cf8fc32824d9cd77d7341a36528f7aa9fb02ab7a3f26f5e71689f59f74827453fb242f1e80e539db401337f1198cf01460bc788404f11c90238548d51e0aca SHA512 5c21f1700aca2cc1215c900b2fbc47061de968f4d5273ea2ec0545afa7215bb0a9faf92db39c1f43164692e35f5069eb81988ebf877e1f68baf3823622fba5b4
MISC metadata.xml 427 BLAKE2B 419677eaecb3e5eb3fb26781cc3df41cff373a70a4899ce89cef22efbce131c457ce2bdd489b92287ff80f6d12962bd210035a5db77e518e456898498a5eea1d SHA512 7221c24f2bfa8068d4f5516e094af7dfc01786c63ae8d3f040b8d1da0ec4a83a6c507332e524fbd78e0644c978c11c89bec8c9771e0247ef48de1f50c50d8fbe
diff --git a/dev-python/falcon/falcon-1.3.0.ebuild b/dev-python/falcon/falcon-1.3.0.ebuild
index 33bc228d74a2..9806360ed00c 100644
--- a/dev-python/falcon/falcon-1.3.0.ebuild
+++ b/dev-python/falcon/falcon-1.3.0.ebuild
@@ -6,7 +6,7 @@ EAPI=5
# Python 2.6 is supported, but depends on ordereddict, which has been in
# improvise for months and is a minimal package. If needed
# please let me know. PyPy also works
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
@@ -22,12 +22,12 @@ RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/mimeparse[${PYTHON_USEDEP}]
- cython? ( dev-python/cython[$(python_gen_usedep python{2_7,3_3})] )"
+ cython? ( dev-python/cython[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
- dev-python/cython[$(python_gen_usedep python{2_7,3_3})]
+ dev-python/cython[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
diff --git a/dev-python/falcon/falcon-2.0.0.ebuild b/dev-python/falcon/falcon-2.0.0.ebuild
new file mode 100644
index 000000000000..e5c26c42d597
--- /dev/null
+++ b/dev-python/falcon/falcon-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A supersonic micro-framework for building cloud APIs"
+HOMEPAGE="http://falconframework.org/ https://pypi.org/project/falcon/"
+SRC_URI="https://github.com/racker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cython"
+RESTRICT="test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+ dev-python/mimeparse[${PYTHON_USEDEP}]
+ cython? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ if ! use cython; then
+ sed -i -e 's/if with_cython:/if False:/' setup.py \
+ || die 'sed failed.'
+ fi
+
+ eapply_user
+}