mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/falcon: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST falcon-2.0.0.tar.gz 1075333 BLAKE2B 338e0b2474d743171fb0bc9dc3a05da428e6d46fc25e7cf1e978f799ed70e76bf265f32ba2cdf16d6eec8ea03b7b6111f70aa5b8f59141b7029d8ba9b03cd0d1 SHA512 d5365f91eb312cd058773d0a3809b5d8631acc188b9ee884e7c7db35664138608998f397d3fd831c568cafaf261cca2734b9dc7fb60590062e316ad1dbc74614
|
||||
DIST falcon-3.0.1.tar.gz 1300689 BLAKE2B 76dd59d0274cc2e78052b800e6e5b4c4244e1f5e47169a424882cda5bb59c38cd69c1c0942d506867728da9ddaf5d35b88195a1b003ca5f66549248293b7006d SHA512 c6a5763264b497979129df26d83a04323f53861b6d453a2b642d22208d0dad2ec1fcb88b13a53c2cb2b2988a1c0d19b94021099b458e23d640984b4d03880edc
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A supersonic micro-framework for building cloud APIs"
|
||||
HOMEPAGE="https://falconframework.org/ https://pypi.org/project/falcon/"
|
||||
SRC_URI="https://github.com/falconry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cython"
|
||||
|
||||
BDEPEND="cython? ( dev-python/cython[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
if ! use cython; then
|
||||
sed -i -e 's/if with_cython:/if False:/' setup.py || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# mujson is unpackaged, test-only dep
|
||||
--ignore tests/test_media_handlers.py
|
||||
# uses unsafe serialization (unsafe_load)
|
||||
--deselect tests/test_httperror.py::TestHTTPError::test_custom_error_serializer
|
||||
)
|
||||
|
||||
pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
@@ -5,9 +5,6 @@
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cython">Build cython-based python modules</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">falconry/falcon</remote-id>
|
||||
<remote-id type="pypi">falcon</remote-id>
|
||||
|
||||
Reference in New Issue
Block a user