From fddb33ccaadabe03f5571606f796b45965b38e9c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Apr 2023 23:49:15 +0100 Subject: gentoo auto-resync : 15:04:2023 - 23:49:14 --- dev-python/Manifest.gz | Bin 258387 -> 258401 bytes dev-python/cairocffi/Manifest | 2 + dev-python/cairocffi/cairocffi-1.5.1.ebuild | 53 +++++++++ dev-python/ensurepip-pip/Manifest | 2 + dev-python/ensurepip-pip/ensurepip-pip-23.1.ebuild | 24 ++++ dev-python/importlib_metadata/Manifest | 2 + .../importlib_metadata-6.4.1.ebuild | 53 +++++++++ dev-python/pip-run/Manifest | 2 + dev-python/pip-run/pip-run-10.0.7.ebuild | 59 ++++++++++ dev-python/pip/Manifest | 3 + dev-python/pip/files/pip-23.1-no-coverage.patch | 52 +++++++++ dev-python/pip/pip-23.1.ebuild | 127 +++++++++++++++++++++ dev-python/tavern/Manifest | 2 + dev-python/tavern/tavern-2.0.7.ebuild | 54 +++++++++ 14 files changed, 435 insertions(+) create mode 100644 dev-python/cairocffi/cairocffi-1.5.1.ebuild create mode 100644 dev-python/ensurepip-pip/ensurepip-pip-23.1.ebuild create mode 100644 dev-python/importlib_metadata/importlib_metadata-6.4.1.ebuild create mode 100644 dev-python/pip-run/pip-run-10.0.7.ebuild create mode 100644 dev-python/pip/files/pip-23.1-no-coverage.patch create mode 100644 dev-python/pip/pip-23.1.ebuild create mode 100644 dev-python/tavern/tavern-2.0.7.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 0714def6f4d8..e985fb2188cb 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 0b761d6681b2..7ab1553f50c9 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,6 +1,8 @@ AUX cairocffi-0.8.0-tests.patch 827 BLAKE2B 81e1228f054ccb46b6c3170319fbd47aead8bdbb0b7af8e60cf85391c673d86e3eb1218a393c9b454d3d94b88968421ed9f3d798cc1d28ba7510bc75ad3ec261 SHA512 3fc7c2785586f88b17864931528e8c8e25792855107e5e8b76aa79a198303b68bd8cc822a2a5ff7a646c9f11982a3b5992a9eeb3bd651bbde1792d13a1410021 DIST cairocffi-1.4.0.tar.gz 69851 BLAKE2B 8037d9bc619d2e96e655dc4682bb95a1e920d0b2188963088c1be21f2e157f7e791f3994f0ae7ecd338547baf2a65d03b175398bc1b3c92145ae6ea148420b5a SHA512 7ffdaf365c1251b202e2680a2f689ec6ea04c19eb75df38137624ffeb429ab61c6f54af450aec019b2570a4e91d2d701328109e4e0f5662a3b3b655ab53705ff DIST cairocffi-1.5.0.tar.gz 86811 BLAKE2B c8f6a39608f0db6d0b7730302437a8856a3dd7249ed275733a048b5c8f98b3484787ccecf70bae1053ee052b9a7c8c7d2da699dbbde0f34cea2ef8bbabe2fc6f SHA512 32ee1d1217a0300512b60c11fc3c9a0456e4a74a9c5364840e51e52a1320a2e26a3d2ed761615ce5fee247bcd2c713c099d3419b731c37fa812040d5f6f3096b +DIST cairocffi-1.5.1.tar.gz 86924 BLAKE2B 51bbd85ed486d8a324255d7b328fc44490097f0eeb0568d0e9436350e627ee2da7770323d0cfa547da2f007dc097327962d80d0a9a96a2f119bac0bb4aa4d7f4 SHA512 58b33e921866a3db7dfa464514f935f7c615ae3463b852d888e9d221256e91efaa7639001781999bdf68619a725a90de06300973f9e635c7974e8c48729705dc EBUILD cairocffi-1.4.0.ebuild 927 BLAKE2B d8ee16540e8495e36c2ea53fc0a02ebec035d52e9e96ae7434aeef28827bd86b69253b989cda30980289c1412c214c436eb16f5ea6d69ab1762cf4cf6424d0fd SHA512 b57881771ca23d12bd5b8f6076991f07c9bd4898b7b7655f8f0ce629dfb9c9fb2afba0a0e4686a4566f7372b4d9b09a471d32d8618bb39a89aa88fd52d19857b EBUILD cairocffi-1.5.0.ebuild 1099 BLAKE2B 043b8fde20638038041ea9e9c6f6ddf31a13f015ee70c9ce3cc376daf4ebca0214f9550d373b5f590407a84ea7d2e02f7c1a22dd7eaf64fe373e0c489cfeb798 SHA512 d86293285e4bd8913bad4ed39bf7314578ae18dd6bd35c1add2c8a1a39dcd1de668de32a94b44ac7ed6005a3e602f009fd5c898b362d5adfbe9bf90f0d87e4f9 +EBUILD cairocffi-1.5.1.ebuild 1099 BLAKE2B 043b8fde20638038041ea9e9c6f6ddf31a13f015ee70c9ce3cc376daf4ebca0214f9550d373b5f590407a84ea7d2e02f7c1a22dd7eaf64fe373e0c489cfeb798 SHA512 d86293285e4bd8913bad4ed39bf7314578ae18dd6bd35c1add2c8a1a39dcd1de668de32a94b44ac7ed6005a3e602f009fd5c898b362d5adfbe9bf90f0d87e4f9 MISC metadata.xml 380 BLAKE2B e489f8f463877335d35d1ccd7b04247ff92e5bddeffd36d42a4d8d45f3d48962d704c4a2701b8df91bb38182ada14e19ec6f97c58250f7a9881728cfa319ee15 SHA512 d64dde8aa97fa923c5b13f23539774ebcf02d5ea14b50e01e98c6a3e2f63316ab08a235613fe4bedfc496dd7ffacc2f6e41ea5a2fad310b341ad3ac254b2a522 diff --git a/dev-python/cairocffi/cairocffi-1.5.1.ebuild b/dev-python/cairocffi/cairocffi-1.5.1.ebuild new file mode 100644 index 000000000000..cbd409e79100 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.5.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# custom wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="CFFI-based drop-in replacement for Pycairo" +HOMEPAGE=" + https://github.com/Kozea/cairocffi/ + https://pypi.org/project/cairocffi/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + x11-libs/cairo:0=[X,xcb(+)] + x11-libs/gdk-pixbuf[jpeg] +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pikepdf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-tests.patch +) + +src_test() { + rm -r cairocffi || die + virtx distutils-r1_src_test +} diff --git a/dev-python/ensurepip-pip/Manifest b/dev-python/ensurepip-pip/Manifest index 302001aa180f..5a84c6e3f1e8 100644 --- a/dev-python/ensurepip-pip/Manifest +++ b/dev-python/ensurepip-pip/Manifest @@ -1,5 +1,7 @@ DIST pip-22.3.1-py3-none-any.whl 2051534 BLAKE2B b15f5eac6b3d8d12b382aabfb7fc920bea564be7f9133050d7cb0b4627a92c1de19676dced6bcb79971701898bb1606f3ea1b44349ab35527de90936c0057c71 SHA512 f09c2a48e85108514c20fdc58466b9be6a9b7f234241ccd46e23249f690bd1ec03fa5e60c9df80f4cf31a9be64d7d59b2fa786c1d7779e284fec42b04bffc257 DIST pip-23.0.1-py3-none-any.whl 2055563 BLAKE2B 1b7a2f007c44a0e3aa6c9ecbc3b4b55c3f88c6504fef0d55d2a23fa369393d481dd6e28eb8898aa0015a9744d2faa3ef985e720456d1011c08b0889416e6b51d SHA512 6bad5536c30a0b2d5905318a1592948929fbac9baf3bcf2e7faeaf90f445f82bc2b656d0a89070d8a6a9395761f4793c83187bd640c64b2656a112b5be41f73d +DIST pip-23.1-py3-none-any.whl 2064542 BLAKE2B 32357e85a6c827dc423d91b8d7201d20a0ce610213de8b3b352336203224646137a487779789f7b91e50da8965ca2dca96f88e805ed507c329b28d58c83925a5 SHA512 a15bae4a0c1548cfdf1b886157018b31c723aeefe68794cccf83b16e51d4b1874f885e33117172cb36b42613ec03d4aa82cc4318f042e2b7dcd4e39293e91a94 EBUILD ensurepip-pip-22.3.1.ebuild 654 BLAKE2B f18d5964a7314be76d7445f5187493d135bab4b7d8a26326b044ab4e0fb136373c27f46d3132d08de7cf53b475cfd4d9f3a12f1ba943344a9d39b388633f9dd2 SHA512 0e3db321efe3784abdab74e682a479ee0f5bd5681c6ea36e7a1c8caa20adfcf1a090e8c5bbfb81cd11ea3972321162f425ef62b7e06ec876eb03cde028ef389c EBUILD ensurepip-pip-23.0.1.ebuild 573 BLAKE2B fa15e000043c84e99a030b48446176d212a79939bd285df6d6a4a7ce8af19e003c6926d563ad650e817e674fb7d451ea7c5387e9509d9f714de114abd2ae4250 SHA512 086dd1b0c2289786dfeded4338d9fa649e2535ed01ad04872ec9b39abff4a9e2bec4841414b245894c4ab3df8e9239abf00246448dc98e2985eae7864c4c2956 +EBUILD ensurepip-pip-23.1.ebuild 581 BLAKE2B 46c26f5d7a7a3ffd8e26ef4ce8865932c40748eb6b6a725ad3a428bca65c6fa4f09d3096fc5b293bd577524ccd7aed9da0c68c78618e0c3781e6b29e9db26e48 SHA512 0653ee99f1b7ddb5042a4e4fe135e02024cae2e5b67b44f436c934bc8252617bfabe4fa095a3f4a455a26ecd0a5fe736436b2b3fcf4fd5174b8ad24e9d6cce86 MISC metadata.xml 309 BLAKE2B 197e5620aab85ff590270ae6838c9188cd699943af4c9c3eeb7de92c2e9390c082eec603e63bc2bba39477586f19e58da2e5fe2d5ffe9b59b87ae5386c939df1 SHA512 c678bc8fb62f6e6850939ebff56962503bb03393572cfff7e5f7d38e8cf5ca71d8e38e402355c5f963fb718eed24bca463d7c63fede5cbb550f6f32a9c06af9e diff --git a/dev-python/ensurepip-pip/ensurepip-pip-23.1.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-23.1.ebuild new file mode 100644 index 000000000000..8a4b916f03bd --- /dev/null +++ b/dev-python/ensurepip-pip/ensurepip-pip-23.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared pip wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/pip/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ! pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "importlib_metadata" + version = "${PV}" + description = "Read metadata from Python packages" + EOF +} diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest index e94905637e66..5dd34c8b8be8 100644 --- a/dev-python/pip-run/Manifest +++ b/dev-python/pip-run/Manifest @@ -1,3 +1,5 @@ DIST pip-run-10.0.5.tar.gz 32411 BLAKE2B ce633d003fa869f199dfdded46efb6bfa9fc4e24327cb99b0176d8e6e6bcff552c6f84589b77907a063fba3315b3f9c64d6c182d70dc39d59a1342ee9fe62193 SHA512 55309445793c101d54fd61303e770ae271cfe2be20e7bc084ca0f4e6363a8de28ffdd7cd1b8c595c88d5c0a99863182053d00d3a4175fa5465ef958401601d66 +DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309 SHA512 cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc24448888f65fdd6920b EBUILD pip-run-10.0.5-r1.ebuild 1415 BLAKE2B 731baade7f77c7dd56e9b151745b22d7d5ad284c5e9828b07ee4f95acaff050d909649c79fe0fe81e81a0967637d62ef13ee2f3e59c2a697153ee4946fe6a050 SHA512 6e6365cd49511237fea207e50a8b78682ef34debf641c5c7cb90162b8ff351891aea61f77720fe8c35b90db7486df985fdf5bf384b636145dc7e6719c674a81f +EBUILD pip-run-10.0.7.ebuild 1423 BLAKE2B 546e13d3b18bad6895f8b07d00d05845742cd8ff2d6651aec361d5f928b392b3ed9271dfef40f095279916366657ee14b62d7b7ea5396bee55c4f7a0abd061ff SHA512 77654483ae54d60c0d4b8f6c4c0b8b02c52d77ab473c7e8693bcc2e03c58468dcda58cafd8e1684bb3d12017f14edf1ce42e262e416da7d7c91c4c5cf56b0277 MISC metadata.xml 389 BLAKE2B bc573b4f57b4f8371ecef97266b8441d47e66d551f7088a7f312ca049f7debd90e989d24d59d7aff182795ae27e553d131f3875c789dc793532ff9c812bcaf20 SHA512 00b81cba684e7118a3ce79ec5cb6a27d6ad67064a2745ffead8dec51c7786c9441139b800868cad8854ff39d7e38163ab2c8fa5c7d3f328390b628f8342fb0ca diff --git a/dev-python/pip-run/pip-run-10.0.7.ebuild b/dev-python/pip-run/pip-run-10.0.7.ebuild new file mode 100644 index 000000000000..d9897d60ee5f --- /dev/null +++ b/dev-python/pip-run/pip-run-10.0.7.ebuild @@ -0,0 +1,59 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Install packages and run Python with them" +HOMEPAGE=" + https://github.com/jaraco/pip-run/ + https://pypi.org/project/pip-run/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/autocommand[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' 3.8) + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/path[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jaraco-path[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/nbformat[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=() + + if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_scripts.py + ) + fi + + epytest -m "not network" +} diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 3bbe2aaa026d..78e8aa63bfa2 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,10 +1,13 @@ AUX pip-20.0.2-disable-system-install.patch 1298 BLAKE2B a384ee2114e59b8bc719fc14270cf6efbe8914854c404395beb1126db3278683b940e8fcfee83423d78e2aed6521e0bc57566ab0f5618f473262bbd9b7b0bffa SHA512 d2772105d4f4f880606e1e8ab3381af6768a96604a5fdcaa155dd42f8eea731c3a1b733b027d3e591d81f962ba14758b19da4a2c6c12946cd9a9d77c51ca4e78 AUX pip-22.2.1-no-coverage.patch 1805 BLAKE2B 790a6736194d3ad7cadbb7965978f19c251a65b98b67c64726072f2baa24831f3e3788fdba560c247cde948183c6589b6edf18d5861468801e5729ba53c42995 SHA512 5fd775c0a1cb0f88c6c632a90294f11788916371b7d4bb8b378ed1530b461a9788f289a06d6619e66fcb45dd08a7063a749a608c5f12a778db84dfcbb5e79cba +AUX pip-23.1-no-coverage.patch 1836 BLAKE2B f8c95ed26d5a7cba2a516b8d134ddd9901fd7d39dc8bf174397ab2afab33e93c4af342195b5b4d7b0aedc642493f1ed2ee474c74e16e285f335dcdcf531b1777 SHA512 c63929cc5324b2a741a4c1ebb4990c376eb6a4c0f39370e456b674ce3cfbdf10471ec48cf9368fccba9264fd9d4a5667988116163e73772496f28d52986ff111 DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5 SHA512 c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98 DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203 SHA512 ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c +DIST pip-23.1.gh.tar.gz 9346045 BLAKE2B 2d4e0dcfa730fe68b6b73d87fb3706a5c68f8eb497fe84c15a8a4ed5aa436a5ef07949d3c3d1393aa836bc8d2f67dbfad25609f807519a3d36b3aed34aff4756 SHA512 ba1417811d69462b1e858d6a431abdafdf66a217f9fb25ad9c8430b3ea5289c631a282f3c399f607539d2ce9e2a71b556926f6ebf30be18d86ccda192afe0dfb DIST setuptools-62.3.2-py3-none-any.whl 1225929 BLAKE2B 608952e201f749ebf557e3962ba9856d5bdcbc534f3a25598cab0d6c53282cfb3b9f007ba135497a8addf49db4c02bc4387c486d95a4529d01ce4114154ec28a SHA512 366d69dc44e326dd7549cdacd8dec481a14dce4feef4338adc38b9de5c4c338f04d61696e13ce8603be1315f2e8734100f92d3fe4b4b11843e19f550c9631978 DIST virtualenv-16.7.12.gh.tar.gz 8906590 BLAKE2B a1f206769e4e5797562906162e492e44c4a72720e4f88a0362dc802ce2df20c65aaab6a72dce2238445601a10fae59bd90cd362217994d30911f105afd71c5fa SHA512 0278b33fb19f6553e70ad3dcffa6ea1a455ff435b216ac9b4fadff216b2932714faa2bb6027af3058010111d8511a5c2fcd424f31c9645be361603971f111c8e DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284 EBUILD pip-22.3.1.ebuild 4655 BLAKE2B e2af91203b0d626a9bfb773b564af43a0e07fd36fa724fe246979c40cbb580ac44534f2a3654c1d212fb15ac028d30ab339686b13715d4cc083c4e0090781fdb SHA512 df4a0c3a9b05c652d4db895e7f2ef4ec982f4eea972e2a999fab74885236da4d35ae0807ac2c5bf3ca757f6be9a157f2d7e0129460c2db2953a80797dbd6692a EBUILD pip-23.0.1.ebuild 3744 BLAKE2B d54e44704f9dd800dadde07e339de1def2c19df298e537c654dc9747197afaccedff9d108c5959063561ef0529f004798c082e2560a720a9031a0b37e16fb32f SHA512 4c1dbe72bc1fd19ece2a8e9411b3701a6d2174298fd4068cbdd90e641ea7e984f40f38ba9db3d3ecf5f90d9c8c3ce8d4370bd599d3c6556a5d760be5823ea848 +EBUILD pip-23.1.ebuild 4034 BLAKE2B 56970f391a8824c33a41b5a8304b67a7641b34c3f9024859b1371fb06dd2a5bba7b291492d99d3fe38b5509320d3113663e8482f4a4bbac56f6e2bfaad295d3c SHA512 09318507802b89a0eab6817c27ac06a763d706f5e85c8381c8d5616633e7ea4cf6a0723a600b584de8c9dba5e8df2750a6833164c01ce9326af3396e16d83eec MISC metadata.xml 392 BLAKE2B 94ea3de1220cb9ca64ae1186597789cc83a54adfe44695932c07dd5065df0e5f9ee5078a495e3a12563b36809d781d8ab86bb6c92c485c023199d92547b74f27 SHA512 603199f6547105f3bb64f4fcaf004e9ef62fa2e0f8ec6eab56078119684b0f5119161e0f164fe02b2cf6dd6b115588c9ef77d727eeb6d138e281f1cb0bcb5de9 diff --git a/dev-python/pip/files/pip-23.1-no-coverage.patch b/dev-python/pip/files/pip-23.1-no-coverage.patch new file mode 100644 index 000000000000..943cc281cdfb --- /dev/null +++ b/dev-python/pip/files/pip-23.1-no-coverage.patch @@ -0,0 +1,52 @@ +From d915b0eec7b5844c06b5d8853544c8c5b538b0b9 Mon Sep 17 00:00:00 2001 +From: Arthur Zamarin +Date: Fri, 29 Jul 2022 14:06:03 +0300 +Subject: [PATCH] Disable coverage testing support inside test venvs + +--- + tests/conftest.py | 15 --------------- + 1 file changed, 15 deletions(-) + +diff --git a/tests/conftest.py b/tests/conftest.py +index 57dd7e68a..af2af9ffa 100644 +--- a/tests/conftest.py ++++ b/tests/conftest.py +@@ -408,13 +408,6 @@ def wheel_install(tmpdir_factory: pytest.TempPathFactory, common_wheels: Path) - + return _common_wheel_editable_install(tmpdir_factory, common_wheels, "wheel") + + +-@pytest.fixture(scope="session") +-def coverage_install( +- tmpdir_factory: pytest.TempPathFactory, common_wheels: Path +-) -> Path: +- return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage") +- +- + def install_pth_link( + venv: VirtualEnvironment, project_name: str, lib_dir: Path + ) -> None: +@@ -430,7 +423,6 @@ def virtualenv_template( + pip_src: Path, + setuptools_install: Path, + wheel_install: Path, +- coverage_install: Path, + ) -> Iterator[VirtualEnvironment]: + venv_type: VirtualEnvironmentType + if request.config.getoption("--use-venv"): +@@ -457,13 +449,6 @@ def virtualenv_template( + [os.fspath(venv.bin / "python"), "setup.py", "-q", "develop"], cwd=pip_editable + ) + +- # Install coverage and pth file for executing it in any spawned processes +- # in this virtual environment. +- install_pth_link(venv, "coverage", coverage_install) +- # zz prefix ensures the file is after easy-install.pth. +- with open(venv.site / "zz-coverage-helper.pth", "a") as f: +- f.write("import coverage; coverage.process_startup()") +- + # Drop (non-relocatable) launchers. + for exe in os.listdir(venv.bin): + if not ( +-- +2.40.0 + diff --git a/dev-python/pip/pip-23.1.ebuild b/dev-python/pip/pip-23.1.ebuild new file mode 100644 index 000000000000..a54946d50bf3 --- /dev/null +++ b/dev-python/pip/pip-23.1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# please bump dev-python/ensurepip-pip along with this package! + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{9..11} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 multiprocessing + +DESCRIPTION="The PyPA recommended tool for installing Python packages" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +# bundled deps +LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/pip-23.1-no-coverage.patch" + ) + + distutils-r1_python_prepare_all + + if use test; then + local wheels=( + "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl + ) + mkdir tests/data/common_wheels/ || die + cp "${wheels[@]}" tests/data/common_wheels/ || die + fi +} + +python_compile_all() { + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' + "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + tests/functional/test_install.py::test_double_install_fail + # Internet + tests/functional/test_install.py::test_install_dry_run + tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject + tests/functional/test_install.py::test_install_8559_wheel_package_present + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes + # TODO + tests/unit/test_network_auth.py::test_keyring_cli_get_password + tests/unit/test_network_auth.py::test_keyring_cli_set_password + # wants to install keyring from Internet, sigh + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x SETUPTOOLS_USE_DISTUTILS=stdlib + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + epytest -m "not network" -n "$(makeopts_jobs)" +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pip +} diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index 424306d96e09..b19eebdbc79e 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,5 +1,7 @@ DIST tavern-2.0.1.gh.tar.gz 208510 BLAKE2B a1b6f19d188437758690eced663556e9e3a5cfc8cedf4e04baba0478efd9507faa5dce2c6f308b2ce6e806617a5e75a8a1b2e60d9afe804b2294ca772ffbc7e9 SHA512 72025db6efa7d41f7dfe80ffc83033e12941ac3a9c4b71170647e571f6ce5022c84c0976d7d50fdfe38da06a4b516e334eed2334e016cfb013613fcc05eeaa9e DIST tavern-2.0.6.gh.tar.gz 207404 BLAKE2B 6dc5a01bac0ffce55e3459dcaf4bab60852c4d06c29e86fb6006ad7279cc7114d8e18dbdd6ce07edb70beebc77c13d4c1a34498232dcdafa9827085c7be63361 SHA512 d660a773fae85d40ea461a3529fd233f392f2b523501984f7f228b0b45439309a8386559477154db5bc90c0b2f3b52f27a658f30dd9ed83a945dcf8f7faf74c7 +DIST tavern-2.0.7.gh.tar.gz 207577 BLAKE2B 1583bfdb0ef013f65ed437bb613e87ad0d0e9375cceb3ed295dfe96afcdc11607b77b9e91cfe3db2f5b53a33be56db558f2f489ba60cda15c270ab9ec07118a2 SHA512 9e69d4dc3a3a06855cbbb567e9b73e62fe65832e022e3d0eb471d2eee9035950207abbba2fca5e0aeda091987bebafce78ba96814a41bf785dab5a48afdc5302 EBUILD tavern-2.0.1.ebuild 1192 BLAKE2B 8a02b772fc2069581bee6cc8140ce162382460b127d2e012cccc6da6f8297897997b5dc17a768f75647e9cf34626ac7b5dce3675af9ea6e344ecba749aca0371 SHA512 f77bb303b5f3e465eecefd445a5183bfefbe80d6f1066ed4ca632841b51f08aa8a5d912e9b632abbce88caa1eae7a6e556fe4b443ebfd7cd6ac88f78db984f1c EBUILD tavern-2.0.6.ebuild 1231 BLAKE2B c33ec48fdf8d733c9a022d578789678f5fe1944482a15c09c204bf289ca1bc4d0e1977e4e58ec01bfaba9aca2968f5c5e87becb7698cbd53aa74f047a09c4a83 SHA512 66f88f8a56ad01087aadb303f45135d0c26c89c9f8965e50ccd29fdd9689d06b2fe4a9f9e5e7c22f57780c6fa9ba634b697a8ace3bc0cb07b353c8cc4b957c43 +EBUILD tavern-2.0.7.ebuild 1231 BLAKE2B c33ec48fdf8d733c9a022d578789678f5fe1944482a15c09c204bf289ca1bc4d0e1977e4e58ec01bfaba9aca2968f5c5e87becb7698cbd53aa74f047a09c4a83 SHA512 66f88f8a56ad01087aadb303f45135d0c26c89c9f8965e50ccd29fdd9689d06b2fe4a9f9e5e7c22f57780c6fa9ba634b697a8ace3bc0cb07b353c8cc4b957c43 MISC metadata.xml 722 BLAKE2B 0ed7dd19f49aae7940de52b0df249979458b3950422e1089886929499d7a92d16a3a6e101b52313569900af6aec4e26388ae6d0673d5b1acef1e1615ed87d34a SHA512 3c30524ee5129700db664b5dab8635463ee17d4a45295583d79755c1f5b1dbba9ac611fcec3e9584028bfe96cf913f4f4b9d8da67a0e8ff6cde1ebedbf57c15a diff --git a/dev-python/tavern/tavern-2.0.7.ebuild b/dev-python/tavern/tavern-2.0.7.ebuild new file mode 100644 index 000000000000..d056f7b90089 --- /dev/null +++ b/dev-python/tavern/tavern-2.0.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/paho-mqtt[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/pykwalify[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/python-box[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/stevedore[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + epytest -p tavern +} -- cgit v1.2.3