From 5bd02f229a9c4ce484e49ec36dcb1f4eb5dfcdae Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Oct 2023 17:44:07 +0100 Subject: gentoo auto-resync : 01:10:2023 - 17:44:07 --- dev-python/Manifest.gz | Bin 267641 -> 267647 bytes dev-python/httpbin/Manifest | 4 +- dev-python/httpbin/httpbin-0.10.0.ebuild | 38 ------------------ dev-python/httpbin/httpbin-0.7.0-r5.ebuild | 59 ---------------------------- dev-python/httpbin/httpbin-0.7.0-r6.ebuild | 60 +++++++++++++++++++++++++++++ 5 files changed, 61 insertions(+), 100 deletions(-) delete mode 100644 dev-python/httpbin/httpbin-0.10.0.ebuild delete mode 100644 dev-python/httpbin/httpbin-0.7.0-r5.ebuild create mode 100644 dev-python/httpbin/httpbin-0.7.0-r6.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 78b5eeb24124..490ffde9795f 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index 0a7367f79a3a..41420986599f 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -2,10 +2,8 @@ AUX httpbin-0.7.0-brotlicffi.patch 1362 BLAKE2B 524973fe131181c6601ea7b973c25e55 AUX httpbin-0.7.0-optional-raven.patch 1218 BLAKE2B 010a13db882711af3cd74175b87371d0c9c6e279168653836ce4a445357f4ca3fbd77fc262a57de5cbfccbc4da514e1e89253595b4fdab03553ed9adffddbc57 SHA512 2feb379c4b888560f825f5fce0130999705bfe83cff190da1651ffb9842243036ecb28d1f54cc92d7a855f73b45f0cf5164df75732f4ac2c9035b583941a9560 AUX httpbin-0.7.0-test-werkzeug.patch 1108 BLAKE2B a7118afed382eeedcfb3e8ff9a31b31fb80c01cf97f19948f9d208d77289f829d3ef24f4cbdde74cc87d2d640b61a51994292fcdf5058f94b8768fd4c37a3cc1 SHA512 3556b921a6daed3dc561d78912b41ca9a3cea1274384f849bba1d7cd7e7014798ce5c9e93491351ca5225e26762be03c73cd0d09c60c90b8a55ff6e6ce0bf81f AUX httpbin-0.7.0-werkzeug-2.1.patch 1158 BLAKE2B 7343f4dbe9886fd54fc8187bc48ed8bd016c03057c4e5de81a46c2389b8d9fdd381f687855dc8ded1d8133a47fb8f09f4ec6c8eae739ca1c157945af97a633c5 SHA512 3d9ed7ab76dc0a33d69cf973e16be7358daa0af0a48d5ac24e0ad6ea8d73a68a796b4c8526ad764c0ed09997448f744f205b909261c32405ff166b359be1fb8b -DIST httpbin-0.10.0.tar.gz 103729 BLAKE2B 1daff5bd9eba62c224d4fd6030e3c3378f849365d0e94f04e890fe555537580841bb4bc6868d04c0b64599aa09bf697f331b091f6a4c0450f23bf047fd0da887 SHA512 4fae4fe22cb1870acd31f51c25c1bbe946cfe9be88a63f0ba8d7078d2c48089d794726e86290fc41fa38dcf72f8573f054286cb47ab7518e953b7aafa4518215 DIST httpbin-0.10.1.tar.gz 107058 BLAKE2B a46732946fc3454e2ae71c4eec4f88521e190b736445c54f555021a273a75f57acbc9234237e6973a21fc3bf8f71d8c8b51d6422d719f03546ecd6887a20fe1b SHA512 e3b851253c347893a80e866e7d0188c572f2a87a540125de3d9cbe0b8c3f1ddfab2c60ee3ffde3fd7274fc662294c978c39b1b52acfd92c52fd552966da203be DIST httpbin-0.7.0.tar.gz 92613 BLAKE2B 59252df1d4d0ef853ec65263b472d3ba6c597336d844f9b457f2d0a009048d4222f715a7f6fb120aca00fa641d1687e302036dc151bd2fd67ba98cf5fc47a63a SHA512 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63 -EBUILD httpbin-0.10.0.ebuild 942 BLAKE2B e8c39c88fa05c542a18b0524e663d978355792d509a7e0be24e7a15b8392cb9d540f4eb5cb5e58801831352aeec894969523df693e2bfaa20416d0a77a640d22 SHA512 c2f759e92e9ff1ac093f27ffd8f916990b6ec38e80bd63bb0522af03fc6cd8365b0ad6ee942052e38e01eede9f072d869540bb4de813716e360ca421b19089d2 EBUILD httpbin-0.10.1-r1.ebuild 855 BLAKE2B 4b8363e6cee1761e0ed5d7cae6fde2b04b10fa458a160fc2d8487a50950378f7473083ad4e51094e502b3c6ac445be842b518ce0bd71c455662740e14869cb68 SHA512 1fbfd7a6f58cce71d119256e1ecf737dc56f029d2e68765b2f475d10fb25a1ff1f2b4f59fd29f871d4d64da863feddb439a221c787a971fe098e24378399ab39 -EBUILD httpbin-0.7.0-r5.ebuild 1609 BLAKE2B c5fd5012488a88bcd5a31dfc74a8c776b18e125c957bbad894b42f61d11fb7309f3a80c16a0fb434232884759c05750e5d07549bf0f737ae5bb3f877c9ecaced SHA512 740d37a2f314e8233d492b1cc472a5a2be90a48c80b9197d7056d9928fa03637a5a40b920f82d380684ec1ae8b2f6393bba5e8451992843d29c436fbdf2b0988 +EBUILD httpbin-0.7.0-r6.ebuild 1651 BLAKE2B f3cb3c948f2d194179a553e9c9f8a10707e55f59e97c196fb50a840c6e7ac70af1c54d0dd2485e9fd65c38e128b433c9213542e1039167cc4bf20da4bb7d4205 SHA512 056f6766ba972195cef3498219e8505f850b78ced28dcc42c9d3cc31f2bf6c667836f90a0c8fdd125d5819a78e5710df2534d2493e04cb4cc4d15707599d3521 MISC metadata.xml 445 BLAKE2B c577334830bc0d51f9df221e224c231c254b3db9129e4028d53cbd96a4481728e3b721b44f569c243deeecfb38e8dc81a7566a0b7ccd665d51b1a69a3687eb18 SHA512 fcdbd0c24e12d91df89af24befa6c9600f28083c3fe38e88ebec9856f4fb5c4c137c3b85f2271422c513bbd7c31a457f8290ebc2dd755d9117d57aa42883eec8 diff --git a/dev-python/httpbin/httpbin-0.10.0.ebuild b/dev-python/httpbin/httpbin-0.10.0.ebuild deleted file mode 100644 index 488246720918..000000000000 --- a/dev-python/httpbin/httpbin-0.10.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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/psf/httpbin/ - https://pypi.org/project/httpbin/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~s390 ~sparc" - -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 -} diff --git a/dev-python/httpbin/httpbin-0.7.0-r5.ebuild b/dev-python/httpbin/httpbin-0.7.0-r5.ebuild deleted file mode 100644 index 1199c113d762..000000000000 --- a/dev-python/httpbin/httpbin-0.7.0-r5.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/decorator[${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}] -" - -PATCHES=( - # do not import raven if it's not going to be used - # (upstream removed it completely in git anyway) - "${FILESDIR}"/${P}-optional-raven.patch - # fix tests with new versions of werkzeug - "${FILESDIR}"/${P}-test-werkzeug.patch - # use brotlicffi instead of brotlipy - "${FILESDIR}"/${P}-brotlicffi.patch - # fix compat with werkzeug 2.1 - # https://github.com/postmanlabs/httpbin/pull/674 - "${FILESDIR}"/${P}-werkzeug-2.1.patch -) - -distutils_enable_tests unittest - -src_prepare() { - # a new version of flask or whatever converts relative redirects - # to absolute; this package is dead anyway, so just skip - # the relevant tests - sed -e 's:test_redirect:_&:' \ - -e 's:test_relative:_&:' \ - -i test_httpbin.py || die - # broken - sed -e 's:test_digest_auth:_&:' \ - -e 's:test_base64:_&:' \ - -i test_httpbin.py || die - - distutils-r1_src_prepare -} diff --git a/dev-python/httpbin/httpbin-0.7.0-r6.ebuild b/dev-python/httpbin/httpbin-0.7.0-r6.ebuild new file mode 100644 index 000000000000..b905561d50cc --- /dev/null +++ b/dev-python/httpbin/httpbin-0.7.0-r6.ebuild @@ -0,0 +1,60 @@ +# 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="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/decorator[${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}] +" + +PATCHES=( + # do not import raven if it's not going to be used + # (upstream removed it completely in git anyway) + "${FILESDIR}"/${P}-optional-raven.patch + # fix tests with new versions of werkzeug + "${FILESDIR}"/${P}-test-werkzeug.patch + # use brotlicffi instead of brotlipy + "${FILESDIR}"/${P}-brotlicffi.patch + # fix compat with werkzeug 2.1 + # https://github.com/postmanlabs/httpbin/pull/674 + "${FILESDIR}"/${P}-werkzeug-2.1.patch +) + +distutils_enable_tests unittest + +src_prepare() { + # a new version of flask or whatever converts relative redirects + # to absolute; this package is dead anyway, so just skip + # the relevant tests + sed -e 's:test_redirect:_&:' \ + -e 's:test_relative:_&:' \ + -i test_httpbin.py || die + # broken + sed -e 's:test_digest_auth:_&:' \ + -e 's:test_base64:_&:' \ + -i test_httpbin.py || die + + distutils-r1_src_prepare +} -- cgit v1.2.3