commit: 665fade2ced1ca27d4dabd2bfa2ffb022c1a6c71 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Aug 11 05:33:44 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Aug 11 05:47:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665fade2
dev-python/httpbin: Bump to 0.10.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/httpbin/Manifest | 1 + dev-python/httpbin/httpbin-0.10.0.ebuild | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index 35a573821dbf..47908390a50a 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -1 +1,2 @@ +DIST httpbin-0.10.0.tar.gz 103729 BLAKE2B 1daff5bd9eba62c224d4fd6030e3c3378f849365d0e94f04e890fe555537580841bb4bc6868d04c0b64599aa09bf697f331b091f6a4c0450f23bf047fd0da887 SHA512 4fae4fe22cb1870acd31f51c25c1bbe946cfe9be88a63f0ba8d7078d2c48089d794726e86290fc41fa38dcf72f8573f054286cb47ab7518e953b7aafa4518215 DIST httpbin-0.7.0.tar.gz 92613 BLAKE2B 59252df1d4d0ef853ec65263b472d3ba6c597336d844f9b457f2d0a009048d4222f715a7f6fb120aca00fa641d1687e302036dc151bd2fd67ba98cf5fc47a63a SHA512 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63 diff --git a/dev-python/httpbin/httpbin-0.10.0.ebuild b/dev-python/httpbin/httpbin-0.10.0.ebuild new file mode 100644 index 000000000000..f5bae8c0052d --- /dev/null +++ b/dev-python/httpbin/httpbin-0.10.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP Request and Response Service" +HOMEPAGE=" + https://github.com/postmanlabs/httpbin/ + https://pypi.org/project/httpbin/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/flasgger[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + [[ ${PV} != 0.10.0 ]] && die "Remove find_packages hack!" + sed -i -e '/find_packages(/d' setup.py || die + distutils-r1_src_prepare +}