[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: d7c0d80037170067802056933aa28a99753a02d2 Author: Michał Górny gentoo org> AuthorDate: Mon May 16 13:18:01 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon May 16 13:18:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c0d800 dev-python/falcon: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/Manifest | 1 - dev-python/falcon/falcon-3.0.1-r1.ebuild | 47 2 files changed, 48 deletions(-) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 41ea3755b11f..5563d624d687 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -1,2 +1 @@ -DIST falcon-3.0.1.tar.gz 1300689 BLAKE2B 76dd59d0274cc2e78052b800e6e5b4c4244e1f5e47169a424882cda5bb59c38cd69c1c0942d506867728da9ddaf5d35b88195a1b003ca5f66549248293b7006d SHA512 c6a5763264b497979129df26d83a04323f53861b6d453a2b642d22208d0dad2ec1fcb88b13a53c2cb2b2988a1c0d19b94021099b458e23d640984b4d03880edc DIST falcon-3.1.0.tar.gz 1319252 BLAKE2B 183623c8d7e8b86ed9915cbf3757fd526f7f3a8a97ae5fdf86294bcc65052c5c827d4a920d93e9fa0198a8d255c7b56ecff465a36d9b0ea31581abd87d55ccd0 SHA512 9da76dd92dfce1611ef681588d8e0e2fc7e906b5c0bc4b60a4620e2e9907564783763b7776c9cc2ccb296116c985e527b2f429520a1c601567cf4eb15e98f8cc diff --git a/dev-python/falcon/falcon-3.0.1-r1.ebuild b/dev-python/falcon/falcon-3.0.1-r1.ebuild deleted file mode 100644 index 3bd716866d67.. --- a/dev-python/falcon/falcon-3.0.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -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" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/aiofiles[${PYTHON_USEDEP}] - dev-python/cbor2[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/uvicorn[${PYTHON_USEDEP}] - dev-python/websockets[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - # do not install 'examples' - sed -i -e "s:'tests':'examples', &:" setup.py || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # mujson is unpackaged, test-only dep - --ignore tests/test_media_handlers.py - ) - - cp -r tests "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - epytest tests "${deselect[@]}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: 9c727ea758bccfd5cc058c2990e01980e20449dc Author: Michał Górny gentoo org> AuthorDate: Tue Mar 29 11:34:46 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 29 11:55:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c727ea7 dev-python/falcon: Bump to 3.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/Manifest| 1 + dev-python/falcon/falcon-3.1.0.ebuild | 61 +++ 2 files changed, 62 insertions(+) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 55051ca41e26..41ea3755b11f 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -1 +1,2 @@ DIST falcon-3.0.1.tar.gz 1300689 BLAKE2B 76dd59d0274cc2e78052b800e6e5b4c4244e1f5e47169a424882cda5bb59c38cd69c1c0942d506867728da9ddaf5d35b88195a1b003ca5f66549248293b7006d SHA512 c6a5763264b497979129df26d83a04323f53861b6d453a2b642d22208d0dad2ec1fcb88b13a53c2cb2b2988a1c0d19b94021099b458e23d640984b4d03880edc +DIST falcon-3.1.0.tar.gz 1319252 BLAKE2B 183623c8d7e8b86ed9915cbf3757fd526f7f3a8a97ae5fdf86294bcc65052c5c827d4a920d93e9fa0198a8d255c7b56ecff465a36d9b0ea31581abd87d55ccd0 SHA512 9da76dd92dfce1611ef681588d8e0e2fc7e906b5c0bc4b60a4620e2e9907564783763b7776c9cc2ccb296116c985e527b2f429520a1c601567cf4eb15e98f8cc diff --git a/dev-python/falcon/falcon-3.1.0.ebuild b/dev-python/falcon/falcon-3.1.0.ebuild new file mode 100644 index ..121575f7c481 --- /dev/null +++ b/dev-python/falcon/falcon-3.1.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A supersonic micro-framework for building cloud APIs" +HOMEPAGE=" + https://falconframework.org/ + https://pypi.org/project/falcon/ + https://github.com/falconry/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" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/aiofiles[${PYTHON_USEDEP}] + dev-python/cbor2[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # uwsgi seems to be broken/incompatible + 'tests/test_wsgi_servers.py::TestWSGIServer::test_get[uwsgi]' + 'tests/test_wsgi_servers.py::TestWSGIServer::test_get_deprecated[uwsgi]' + 'tests/test_wsgi_servers.py::TestWSGIServer::test_post_multipart_form[uwsgi]' + 'tests/test_wsgi_servers.py::TestWSGIServer::test_static_file[uwsgi]' + 'tests/test_wsgi_servers.py::TestWSGIServer::test_static_file_byte_range[uwsgi-' + ) + + local EPYTEST_IGNORE=( + # mujson is unpackaged, test-only dep + tests/test_media_handlers.py + ) + + rm -rf falcon || die + # needed because servers are spawned via /usr/bin/python* + local -x PYTHONPATH=${BUILD_DIR}/install$(python_get_sitedir):${PYTHONPATH} + epytest tests +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: f85ecbfc4cf6b60b06efd88e0d6f5b2658c01f96 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 17 08:14:39 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Oct 17 08:23:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85ecbfc dev-python/falcon: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/Manifest | 1 - dev-python/falcon/falcon-2.0.0-r1.ebuild | 41 dev-python/falcon/metadata.xml | 3 --- 3 files changed, 45 deletions(-) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 2db507b6129..55051ca41e2 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -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 diff --git a/dev-python/falcon/falcon-2.0.0-r1.ebuild b/dev-python/falcon/falcon-2.0.0-r1.ebuild deleted file mode 100644 index 1198e6c8fd9..000 --- a/dev-python/falcon/falcon-2.0.0-r1.ebuild +++ /dev/null @@ -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}" -} diff --git a/dev-python/falcon/metadata.xml b/dev-python/falcon/metadata.xml index 6d8725acd53..654149b5c34 100644 --- a/dev-python/falcon/metadata.xml +++ b/dev-python/falcon/metadata.xml @@ -5,9 +5,6 @@ pyt...@gentoo.org Python - - Build cython-based python modules - falconry/falcon falcon
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: c64a4e04445ef5ac17dce37c6acf7718f9f02e1a Author: Michał Górny gentoo org> AuthorDate: Thu May 13 19:28:29 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu May 13 19:31:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c64a4e04 dev-python/falcon: Fix obsolete rdeps Thanks to Vytautas Liuolia for noticing. Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/{falcon-2.0.0.ebuild => falcon-2.0.0-r1.ebuild} | 6 +- dev-python/falcon/{falcon-3.0.1.ebuild => falcon-3.0.1-r1.ebuild} | 6 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/dev-python/falcon/falcon-2.0.0.ebuild b/dev-python/falcon/falcon-2.0.0-r1.ebuild similarity index 89% rename from dev-python/falcon/falcon-2.0.0.ebuild rename to dev-python/falcon/falcon-2.0.0-r1.ebuild index ff5be1f6d87..1198e6c8fd9 100644 --- a/dev-python/falcon/falcon-2.0.0.ebuild +++ b/dev-python/falcon/falcon-2.0.0-r1.ebuild @@ -11,16 +11,12 @@ 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" +LICENSE="Apache-2.0 MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+cython" BDEPEND="cython? ( dev-python/cython[${PYTHON_USEDEP}] )" -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/python-mimeparse[${PYTHON_USEDEP}] -" DEPEND="${RDEPEND}" distutils_enable_tests pytest diff --git a/dev-python/falcon/falcon-3.0.1.ebuild b/dev-python/falcon/falcon-3.0.1-r1.ebuild similarity index 91% rename from dev-python/falcon/falcon-3.0.1.ebuild rename to dev-python/falcon/falcon-3.0.1-r1.ebuild index 5c8184be661..3bd716866d6 100644 --- a/dev-python/falcon/falcon-3.0.1.ebuild +++ b/dev-python/falcon/falcon-3.0.1-r1.ebuild @@ -10,14 +10,10 @@ 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" +LICENSE="Apache-2.0 MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/python-mimeparse[${PYTHON_USEDEP}] -" BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: fefaf2cfeffaced9c2abd57bee6563feb9541fe7 Author: Michał Górny gentoo org> AuthorDate: Tue May 11 07:29:04 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue May 11 07:56:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefaf2cf dev-python/falcon: Bump to 3.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/Manifest| 1 + dev-python/falcon/falcon-3.0.1.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 8aeea13a6f4..2db507b6129 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -1 +1,2 @@ DIST falcon-2.0.0.tar.gz 1075333 BLAKE2B 338e0b2474d743171fb0bc9dc3a05da428e6d46fc25e7cf1e978f799ed70e76bf265f32ba2cdf16d6eec8ea03b7b6111f70aa5b8f59141b7029d8ba9b03cd0d1 SHA512 d5365f91eb312cd058773d0a3809b5d8631acc188b9ee884e7c7db35664138608998f397d3fd831c568cafaf261cca2734b9dc7fb60590062e316ad1dbc74614 +DIST falcon-3.0.1.tar.gz 1300689 BLAKE2B 76dd59d0274cc2e78052b800e6e5b4c4244e1f5e47169a424882cda5bb59c38cd69c1c0942d506867728da9ddaf5d35b88195a1b003ca5f66549248293b7006d SHA512 c6a5763264b497979129df26d83a04323f53861b6d453a2b642d22208d0dad2ec1fcb88b13a53c2cb2b2988a1c0d19b94021099b458e23d640984b4d03880edc diff --git a/dev-python/falcon/falcon-3.0.1.ebuild b/dev-python/falcon/falcon-3.0.1.ebuild new file mode 100644 index 000..96dc17ca3d9 --- /dev/null +++ b/dev-python/falcon/falcon-3.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +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" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/python-mimeparse[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/aiofiles[${PYTHON_USEDEP}] + dev-python/cbor2[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # mujson is unpackaged, test-only dep + --ignore tests/test_media_handlers.py + ) + + cp -r tests "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + epytest tests "${deselect[@]}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: 8bf70e2ad992407f1ba9048515246859c1a3b4fd Author: Michał Górny gentoo org> AuthorDate: Tue May 11 07:29:27 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue May 11 07:56:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf70e2a dev-python/falcon: Add python@ as maint. Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/falcon-3.0.1.ebuild | 6 ++ dev-python/falcon/metadata.xml| 5 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/falcon/falcon-3.0.1.ebuild b/dev-python/falcon/falcon-3.0.1.ebuild index 96dc17ca3d9..5c8184be661 100644 --- a/dev-python/falcon/falcon-3.0.1.ebuild +++ b/dev-python/falcon/falcon-3.0.1.ebuild @@ -33,6 +33,12 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + # do not install 'examples' + sed -i -e "s:'tests':'examples', &:" setup.py || die + distutils-r1_src_prepare +} + python_test() { local deselect=( # mujson is unpackaged, test-only dep diff --git a/dev-python/falcon/metadata.xml b/dev-python/falcon/metadata.xml index eaf3015e2fc..a3ab6baa953 100644 --- a/dev-python/falcon/metadata.xml +++ b/dev-python/falcon/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + pyt...@gentoo.org + Python + Build cython-based python modules
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: c4952755d59519af229a8973e08e90291d93ee16 Author: Sam James gentoo org> AuthorDate: Tue Mar 2 08:26:48 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 2 08:40:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4952755 dev-python/falcon: Python 3.9, tests, modernise Closes: https://bugs.gentoo.org/748279 Signed-off-by: Sam James gentoo.org> dev-python/falcon/falcon-2.0.0.ebuild | 33 ++--- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/dev-python/falcon/falcon-2.0.0.ebuild b/dev-python/falcon/falcon-2.0.0.ebuild index e22b065f73a..ff5be1f6d87 100644 --- a/dev-python/falcon/falcon-2.0.0.ebuild +++ b/dev-python/falcon/falcon-2.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) - +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="A supersonic micro-framework for building cloud APIs" @@ -15,20 +15,31 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+cython" -RESTRICT="test" -RDEPEND="dev-python/six[${PYTHON_USEDEP}] +BDEPEND="cython? ( dev-python/cython[${PYTHON_USEDEP}] )" +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] dev-python/python-mimeparse[${PYTHON_USEDEP}] - cython? ( dev-python/cython[${PYTHON_USEDEP}] )" +" +DEPEND="${RDEPEND}" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" +distutils_enable_tests pytest src_prepare() { if ! use cython; then - sed -i -e 's/if with_cython:/if False:/' setup.py \ - || die 'sed failed.' + sed -i -e 's/if with_cython:/if False:/' setup.py || die fi - eapply_user + 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}" }
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: 8e6fb59c157f7d868d040874b114464f52b468b6 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 11 12:26:54 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Dec 11 12:53:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6fb59c dev-python/falcon: Update HOMEPAGE Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/falcon-2.0.0.ebuild | 4 ++-- dev-python/falcon/metadata.xml| 21 +++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/dev-python/falcon/falcon-2.0.0.ebuild b/dev-python/falcon/falcon-2.0.0.ebuild index 398eac5b72b..1c9ee79bb28 100644 --- a/dev-python/falcon/falcon-2.0.0.ebuild +++ b/dev-python/falcon/falcon-2.0.0.ebuild @@ -8,8 +8,8 @@ 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" +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" SLOT="0" diff --git a/dev-python/falcon/metadata.xml b/dev-python/falcon/metadata.xml index 690e2fa0f23..d7035d2605e 100644 --- a/dev-python/falcon/metadata.xml +++ b/dev-python/falcon/metadata.xml @@ -1,14 +1,15 @@ http://www.gentoo.org/dtd/metadata.dtd";> - -rafaelmart...@gentoo.org -Rafael G. Martins - - -Build cython-based python modules - - -racker/falcon - + + rafaelmart...@gentoo.org + Rafael G. Martins + + + Build cython-based python modules + + + falconry/falcon + falcon +
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: f2bbd879257e8dd06952bc8f38b5b9b65fe99448 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 24 07:01:39 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Jun 24 07:07:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2bbd879 dev-python/falcon: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/Manifest| 1 - dev-python/falcon/falcon-1.3.0.ebuild | 51 --- 2 files changed, 52 deletions(-) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 710a335ff4e..8aeea13a6f4 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -1,2 +1 @@ -DIST falcon-1.3.0.tar.gz 507250 BLAKE2B 3ba3a989f2e9eb281f519e36a24772fe329fee849097028f3183b0e0c7908b7e06dbf0a70ba28cf7570dccbe88fa87703c47d985ea3cf761ea7d6ec3d41ac04b SHA512 a92d0b641152f653f47c9cb9b2e368d643aae14dcabe7028450d190bd08b883d37116d23d3a1ae4e092207f15926f66b12f57e38dd2edd347f6f8df48baa65ce DIST falcon-2.0.0.tar.gz 1075333 BLAKE2B 338e0b2474d743171fb0bc9dc3a05da428e6d46fc25e7cf1e978f799ed70e76bf265f32ba2cdf16d6eec8ea03b7b6111f70aa5b8f59141b7029d8ba9b03cd0d1 SHA512 d5365f91eb312cd058773d0a3809b5d8631acc188b9ee884e7c7db35664138608998f397d3fd831c568cafaf261cca2734b9dc7fb60590062e316ad1dbc74614 diff --git a/dev-python/falcon/falcon-1.3.0.ebuild b/dev-python/falcon/falcon-1.3.0.ebuild deleted file mode 100644 index 4f9fc7b9191..000 --- a/dev-python/falcon/falcon-1.3.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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=( python3_6 ) - -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 test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}] - dev-python/python-mimeparse[${PYTHON_USEDEP}] - cython? ( dev-python/cython[${PYTHON_USEDEP}] )" - -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] )" - -python_test() { - nosetests || die "Testing failed with ${EPYTHON}" -} - -src_prepare() { - if ! use cython; then - sed -i -e 's/if with_cython:/if False:/' setup.py \ - || die 'sed failed.' - fi - - # fix tests installation : potential file collision - sed -e 's@^where = tests@where = falcon/tests@g' -i setup.cfg || die - mv tests falcon/ -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: 3b25712c4d546dab43daa980ac1a90f5903da52c Author: Hanno Böck gentoo org> AuthorDate: Thu Apr 9 07:38:41 2020 + Commit: Hanno Böck gentoo org> CommitDate: Thu Apr 9 07:38:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b25712c dev-python/falcon: Version bump Bump EAPI, add Python 3.7/3.8. Disable tests, they were broken before. Closes: https://bugs.gentoo.org/534740 Signed-off-by: Hanno Böck gentoo.org> Package-Manager: Portage-2.3.97, Repoman-2.3.22 dev-python/falcon/Manifest| 1 + dev-python/falcon/falcon-2.0.0.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index e9ebb8c929d..710a335ff4e 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -1 +1,2 @@ DIST falcon-1.3.0.tar.gz 507250 BLAKE2B 3ba3a989f2e9eb281f519e36a24772fe329fee849097028f3183b0e0c7908b7e06dbf0a70ba28cf7570dccbe88fa87703c47d985ea3cf761ea7d6ec3d41ac04b SHA512 a92d0b641152f653f47c9cb9b2e368d643aae14dcabe7028450d190bd08b883d37116d23d3a1ae4e092207f15926f66b12f57e38dd2edd347f6f8df48baa65ce +DIST falcon-2.0.0.tar.gz 1075333 BLAKE2B 338e0b2474d743171fb0bc9dc3a05da428e6d46fc25e7cf1e978f799ed70e76bf265f32ba2cdf16d6eec8ea03b7b6111f70aa5b8f59141b7029d8ba9b03cd0d1 SHA512 d5365f91eb312cd058773d0a3809b5d8631acc188b9ee884e7c7db35664138608998f397d3fd831c568cafaf261cca2734b9dc7fb60590062e316ad1dbc74614 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 000..e5c26c42d59 --- /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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: 64b437832a0a17330389789b2ae33a519fe46354 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 17 09:57:39 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 17 10:13:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b43783 dev-python/falcon: Drop py2 Signed-off-by: Michał Górny gentoo.org> dev-python/falcon/falcon-1.3.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/falcon/falcon-1.3.0.ebuild b/dev-python/falcon/falcon-1.3.0.ebuild index 33bc228d74a..9806360ed00 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}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/falcon/
commit: 5247131cbfd9007b787d1bce4db3fd7caee9f307 Author: Matthew Thode gentoo org> AuthorDate: Mon Dec 11 03:46:01 2017 + Commit: Matt Thode gentoo org> CommitDate: Mon Dec 11 03:48:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5247131c dev-python/falcon: 1.3.0 bup Package-Manager: Portage-2.3.14, Repoman-2.3.6 dev-python/falcon/Manifest| 1 + dev-python/falcon/falcon-1.3.0.ebuild | 50 +++ 2 files changed, 51 insertions(+) diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index b929ed34ce9..9cc35f4d0c0 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -2,3 +2,4 @@ DIST falcon-0.1.6.tar.gz 186870 BLAKE2B c0c48193cca6ee516f07985810c73520dd2b5547 DIST falcon-0.1.7.tar.gz 193151 BLAKE2B 35d4dc329eda806cd193525c953b011770cbb5ffdd33d52f2aded8e92dd357aa1280cfabb2107aac9e3a1a33ff26ea3d8233798a258e478405c54a9f09b0f103 SHA512 665a0bdd02c8e9a0806c863164fde33a6a10a1ac8c2ec9c3194da0ca41e411c19ec5b2a84cce521abb510588c23b4bb5fab25af58d5c17fbbf8e7c3304839b9a DIST falcon-0.1.8.tar.gz 202170 BLAKE2B 3857672d39138b83760bc58a869a384f7305f7938e20f801b35e5777e3028caa8500ac045101a69c32f2925000e175eefaf4a4a5ac5488aa26d41ce2cf9d9701 SHA512 e0ec028c1d1dc3fba722bd91f9bb315523367313bef40238579a96ca49de37f4c63e53746bf6ab40add053320925378860e3571e32401151c00d4afcbad9b7ca DIST falcon-0.1.9.tar.gz 202209 BLAKE2B 89c786fb777fda3e4118271bedc979bbb4968defe40e863464d27ca7a65ee5ab1e4c0d694625b7c96bf492fb6b8f9cba15fde686af871ec3629477bf4bfc7655 SHA512 442a04c925f4af69bb0f1906c4123e68ef423e4040fbde82cecc200a44410665c0f97ad28e7f59e4139aae1209ba1df1dd445c5a44e6b975bed9416a97e681e8 +DIST falcon-1.3.0.tar.gz 507250 BLAKE2B 3ba3a989f2e9eb281f519e36a24772fe329fee849097028f3183b0e0c7908b7e06dbf0a70ba28cf7570dccbe88fa87703c47d985ea3cf761ea7d6ec3d41ac04b SHA512 a92d0b641152f653f47c9cb9b2e368d643aae14dcabe7028450d190bd08b883d37116d23d3a1ae4e092207f15926f66b12f57e38dd2edd347f6f8df48baa65ce diff --git a/dev-python/falcon/falcon-1.3.0.ebuild b/dev-python/falcon/falcon-1.3.0.ebuild new file mode 100644 index 000..2696344e3cf --- /dev/null +++ b/dev-python/falcon/falcon-1.3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A supersonic micro-framework for building cloud APIs" +HOMEPAGE="http://falconframework.org/ https://pypi.python.org/pypi/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 test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/mimeparse[${PYTHON_USEDEP}] + cython? ( dev-python/cython[$(python_gen_usedep python{2_7,3_3})] )" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/cython[$(python_gen_usedep python{2_7,3_3})] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] )" + +python_test() { + nosetests || die "Testing failed with ${EPYTHON}" +} + +src_prepare() { + if ! use cython; then + sed -i -e 's/if with_cython:/if False:/' setup.py \ + || die 'sed failed.' + fi + + # fix tests installation : potential file collision + sed -e 's@^where = tests@where = falcon/tests@g' -i setup.cfg || die + mv tests falcon/ +}