diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-01 18:26:53 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-01 18:26:53 +0000 |
| commit | cfd1744f9e0477d2132218bb1caeccdec38e5570 (patch) | |
| tree | f49b834fdff56a01ad2c58872414f77a7adcdfa6 /dev-python | |
| parent | fef9649facf9cd074103ca19e15bbf10a76fa55f (diff) | |
| download | baldeagleos-repo-cfd1744f9e0477d2132218bb1caeccdec38e5570.tar.gz baldeagleos-repo-cfd1744f9e0477d2132218bb1caeccdec38e5570.tar.xz baldeagleos-repo-cfd1744f9e0477d2132218bb1caeccdec38e5570.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
31 files changed, 511 insertions, 309 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b8992852b4d3..f79951790614 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.33.0.gh.tar.gz 748113 BLAKE2B 0db5a6b8bfb10854374b178c885a8e8383a65 DIST boto3-1.33.1.gh.tar.gz 748452 BLAKE2B 59e7c28d59c69e6ab440740e85f6ed016d1df7078635cfab4616095182f4ad7bba5bcc01a9484f97a8a0388f2ac5d9b53ab595431a8117f9d4731954df63149f SHA512 95996e4005d33e85de8f15889e69c4725943b5a0dd74ee97ae82c282b9da68cdbfcbd494b66c4adca5b530eefbe5505b963f9fcb9e97bd78bc74525c78708818 DIST boto3-1.33.2.gh.tar.gz 749706 BLAKE2B b83b6bfc2953c5d353e9e245da99deea9e6428c8c5e3fa3041a249b2a34981b329ef7a2fbf272066b2a11c8bb707c9a5e1e2b040e070958062080979a1bd0a16 SHA512 245343fb8a3f5adacfa4b379152feff70adc7d99487dae1cc793f5531f83cd06b7ef40200b9dcac91ad936113a13dbe6cdf1add2b4b94922a83d3e979a226698 DIST boto3-1.33.4.gh.tar.gz 751698 BLAKE2B 71510f09eb944b551451e0ed4fa9e4216f1ffc06aef6752a5d179228b49f3c2e81949fe9f615aaf5b7196bd9697ef319d29d3299c897be05a67d55c02a4c9455 SHA512 450377581351f78a43027ab9c50d543d714bc590eab26833c62df88b2d7b5a7da2b79b5ebb276836688e1dde09beef0769a80cc4ad30772a5c515636620d36b9 +DIST boto3-1.33.5.gh.tar.gz 752183 BLAKE2B c94996b306fece564dab4601223776f8c9ae7a3f038c0b762581cfd681cce8378c95c9aaa66c95487968582bf07343e173d070d5a1061e1aae29335ce04f13a9 SHA512 07c0f533a0b7cb6761a4f2f6608f75f8053cfba9fa4550732bbc2ef79bfffd266222b9cf4aa21e2ed2a28f9ac07b23543d998202d5e03b985cf7272d4996cdc7 diff --git a/dev-python/boto3/boto3-1.33.5.ebuild b/dev-python/boto3/boto3-1.33.5.ebuild new file mode 100644 index 000000000000..8c522847f741 --- /dev/null +++ b/dev-python/boto3/boto3-1.33.5.ebuild @@ -0,0 +1,64 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index f9c0188ef1bf..6637ab09c40c 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.33.0.gh.tar.gz 12348895 BLAKE2B 14925bfa7839fb8982e53ba001ef3682 DIST botocore-1.33.1.gh.tar.gz 12352240 BLAKE2B e87e0204e3b4c2274a9bb7a9b31128cbba1d37e1ebc52509d1409afc83413db844e20cef708318657cc4a890afdc8ae5c8825b6ff95eb7634d6072a5180cd457 SHA512 ff98f47ff34d5ba2da00e06c82550f9edcd3552bec881c80882452f8d1eccbc1b57376f6026718b25fb70b1039caffd9cf0f368a06aaa26ed6607562ed345386 DIST botocore-1.33.2.gh.tar.gz 12455360 BLAKE2B 8cc7c4cea1d2cb342c63e2d335801ae2fe27e3473ffd05205b01ce33c7d7610b24960e5cb3899d7145a1dcd4a4d7b3d279e96210a8e86bcf5b192090a75204ea SHA512 f25893ebd7e172ca354b203121a7516e242ecc7c320b7f9e7b8313936710dc2fecfebe987be401de73f0c6cc8301163689ec4bff9354ebe63ae862d32d892378 DIST botocore-1.33.4.gh.tar.gz 12506808 BLAKE2B d8bba2722e13e37ef867e1565d52de439b6e143301f9ea3bcb0eeb896903f69d226041234e6ed570b9483d6cd2e3ad687a57d24a5bae66560f70939f75d1122f SHA512 a0a980d261618aba5b55bef588fc8b5c5c852d134921977d2714ba6698246955187864ab3b6219900735e8d294a58b7953bc8f226c56b06065bf1fd2e6f8f1b6 +DIST botocore-1.33.5.gh.tar.gz 12514042 BLAKE2B ba16606352fffdf478b3f1ceb0712aa0b0a18508ec0f3f4e4f9ba1c3366a2a615549e6b194101d7634bd22eebdea63ad5aa41e810ec4b733b9c09fdfaef02ba3 SHA512 1f26f58009ae84acd7b4557c04af3acc2f5f6900357419565c4fbb5ee54fc54c8593e7b21a27a9c374f4edab8b95555bd891f52f9026283df20f867ad90b74ea diff --git a/dev-python/botocore/botocore-1.33.5.ebuild b/dev-python/botocore/botocore-1.33.5.ebuild new file mode 100644 index 000000000000..9a0240c45f2a --- /dev/null +++ b/dev-python/botocore/botocore-1.33.5.ebuild @@ -0,0 +1,68 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index a5284fbefd33..45dd14664739 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1,3 +1,4 @@ DIST cattrs-23.1.2.gh.tar.gz 602336 BLAKE2B f39ff3c1525ea14789edd137d82343a9447de0a41f65a71ee85754a15f8fdc929137125043b23c6cd088c8b2d2e9da18577c3b6dbbb6e9a33bdf6789f117bc46 SHA512 d05c8a5d4c5dc0b69ccdf33164d44c35a37a871199a35d1c2c25f9fbd8ee53d48da8e9d9bec49cde2baf901b524d5e8ff1ade175928908ea81f94e8398224488 DIST cattrs-23.2.1.gh.tar.gz 611553 BLAKE2B f0d1c34838c5b869242411d393f2e395b45a84afb302d2df87ab0a51c537fc0057ee9def2b47313e8134635ffb616045f606070a0260ea4814a2cf227539132d SHA512 2b733dc6123cb26ab6d33b1d445ecbddea98a1a76a02acb15231deee2273933bc726da387419fd6143b44e97729d4fd1746eebadd2309e2440bfc5c153f7079b DIST cattrs-23.2.2.gh.tar.gz 611668 BLAKE2B b7abcffa8c6f62deed70b3fc3850913054a54382c07384d5635984eb1ceaf456c7d8aa45a6baaf3189ca57477eeea9990a60381045b3e1711969dff7f56d0be4 SHA512 d969f3d4b9e9d25a940ab1a48f1a8b2de306cc9180f88f403537d78757f50486d522f40e97f1bccbb60839f3d503dfdbd6ad3379e99bd5c5d66306fe36447341 +DIST cattrs-23.2.3.gh.tar.gz 612120 BLAKE2B a227cc50cb23a76931562f17444fcfb4a5532cac74f80b478a8abb6d113cbb0a06c471c3ca7ee256f74640486464762f4a13387ccfc1cd144cfd1a9bfecddd8e SHA512 76a75ea0893bb1549dd5178436c4823ae5b918c16f0d8195203c48e894438ec792cee77698d783f7e43c07445c46a6041a309c3d3bbcadcff95d9c4079e3d622 diff --git a/dev-python/cattrs/cattrs-23.2.3.ebuild b/dev-python/cattrs/cattrs-23.2.3.ebuild new file mode 100644 index 000000000000..d5f8a2c0587c --- /dev/null +++ b/dev-python/cattrs/cattrs-23.2.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Composable complex class support for attrs and dataclasses" +HOMEPAGE=" + https://pypi.org/project/cattrs/ + https://github.com/python-attrs/cattrs/ +" +SRC_URI=" + https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] + >=dev-python/immutables-0.18[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] + >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] + >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] + test-rust? ( + $(python_gen_cond_dep ' + >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] + ' 'python*') + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_preconf.py::test_orjson + tests/test_preconf.py::test_orjson_converter + tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= tests +} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index d0731bded31c..007fab5f359a 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1 +1,2 @@ DIST google-auth-2.23.4.tar.gz 233560 BLAKE2B 3d058c9c16af4f982aac7411b306eeace70f17d23b7043328c235bff5233e79360cc5a9ca24b06e33d318606acd331b33fef14c7574338f9ac3caee3088c4f35 SHA512 561cff5003f5b6e37a0ab4fa4c827646bb9b3fee3dc500214b88ec3fc7203022f487abaee315751fb7d90b4ed9a9d9d0ab6f3dc7d3336d9df9d4b45e6146bc2f +DIST google-auth-2.24.0.tar.gz 234771 BLAKE2B 05111637ae26529b9345ef1f3ce8334bbcfc782e93d560749205a18e50075593573130e6ba3d33e79cd0190305ae382d44aac071c12ab67df7a8064a041220f2 SHA512 e4987b8e52be45e2fd2906525e1a4645f73b2322a6d7055f9b9c00555f4ffe05b7cda6e21cbf9f491e1e0f2b43772050017b7473b24a92cf5ca6ae6e589a15e0 diff --git a/dev-python/google-auth/google-auth-2.24.0.ebuild b/dev-python/google-auth/google-auth-2.24.0.ebuild new file mode 100644 index 000000000000..8a53431927c5 --- /dev/null +++ b/dev-python/google-auth/google-auth-2.24.0.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 +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/grpcio[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} diff --git a/dev-python/ipywidgets/ipywidgets-8.1.1.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.1-r1.ebuild index 2b7ce5c53daa..2b7ce5c53daa 100644 --- a/dev-python/ipywidgets/ipywidgets-8.1.1.ebuild +++ b/dev-python/ipywidgets/ipywidgets-8.1.1-r1.ebuild diff --git a/dev-python/jsonschema-specifications/Manifest b/dev-python/jsonschema-specifications/Manifest index 0b531a0b2694..a50891116099 100644 --- a/dev-python/jsonschema-specifications/Manifest +++ b/dev-python/jsonschema-specifications/Manifest @@ -1 +1,2 @@ DIST jsonschema_specifications-2023.11.1.tar.gz 12935 BLAKE2B 317c6c937f0939ec59e25f2d84a6eea30ae4d8f14c4787e282dc9d6d4b74d84ab4985fde8f78f0cffa0fc61efe44493afe9d79182f4c02b0d6caff18f15dfd08 SHA512 a917226f5341c2a8913fa87a9640e1a5fdb34c857a8be1a0618db15cd09de0d45e82b294f759177de5fbe002f1ad9a04196c1c0976cc99ec685764b30e648b8d +DIST jsonschema_specifications-2023.11.2.tar.gz 13033 BLAKE2B a9e64f1956a80f040eb300b772e10c7f75ed36502b69899bcadaef79086bc209d63b139bfe94cc3f30ee250bd50b9e0021e3c7616cecd08b322160cadba69046 SHA512 de990c8e6976a2a5915f9b5882f4b9da1cbe8c63a9de70aff74efeb2c659f041815186c6cb38ca9df14fefc211cae2b3c7c8af838fc4b9b853b07f7a5362f181 diff --git a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.11.2.ebuild b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.11.2.ebuild new file mode 100644 index 000000000000..b2fee94a4a62 --- /dev/null +++ b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.11.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="The JSON Schema meta-schemas and vocabularies, exposed as a Registry" +HOMEPAGE=" + https://github.com/python-jsonschema/jsonschema-specifications/ + https://pypi.org/project/jsonschema-specifications/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/referencing-0.31.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/openapi3/Manifest b/dev-python/openapi3/Manifest index a3f27e544ca4..697d01605b7e 100644 --- a/dev-python/openapi3/Manifest +++ b/dev-python/openapi3/Manifest @@ -1 +1 @@ -DIST openapi3-1.8.2.tar.gz 23237 BLAKE2B 63a520f1ba5ab0074240b90f9ad308d2bcd76b465cb138ccd71e8e510266831f3fb112eed31e85e3ff1c94c56d1ebd30e97a40c2f9599eb049907ce3374b758d SHA512 d69d527a57c5d0192c646fa4d9ff4cca887af7a35b247e2d7d5d8a2ac74931285160591ecee1989917345247b57396595186fe81987b5bdefa9aa4fc88ef8725 +DIST openapi3-1.8.2.gh.tar.gz 41402 BLAKE2B a22af8ce1d1c94f3dd2b5f1871222c8c2ec902e9f8b5b065a9a3dd8143ed361df4b26438215e88ac416b6012b015a38c9709b9ed290aaf5cfdaff5b2d1d439f7 SHA512 5555ef0495f7d459fabef98c56da4b1b9d758aa06c4dc83adf1388c044dd0f6b09b933e105ef8665737359fbf98b9699ca2d7127ead2aa86e3f99682b29dbf1e diff --git a/dev-python/openapi3/metadata.xml b/dev-python/openapi3/metadata.xml index e16ccd772c2f..71aa522d811c 100644 --- a/dev-python/openapi3/metadata.xml +++ b/dev-python/openapi3/metadata.xml @@ -5,5 +5,5 @@ <email>ceamac@gentoo.org</email> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/openapi3/openapi3-1.8.2.ebuild b/dev-python/openapi3/openapi3-1.8.2.ebuild index bdf3329b8856..39d900003ca5 100644 --- a/dev-python/openapi3/openapi3-1.8.2.ebuild +++ b/dev-python/openapi3/openapi3-1.8.2.ebuild @@ -6,13 +6,14 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 pypi +inherit distutils-r1 DESCRIPTION="Python OpenAPI 3 Specification client and validator" HOMEPAGE=" https://pypi.org/project/openapi3/ https://github.com/Dorthu/openapi3 " +SRC_URI="https://github.com/Dorthu/openapi3/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" @@ -22,3 +23,11 @@ RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] " + +distutils_enable_tests pytest + +python_test() { + # the fastapi test is broken for fastapi 0.94+ + rm -f tests/fastapi_test.py || die + epytest +} diff --git a/dev-python/patsy/Manifest b/dev-python/patsy/Manifest index 4b6452e86436..0701b1d0065d 100644 --- a/dev-python/patsy/Manifest +++ b/dev-python/patsy/Manifest @@ -1 +1,2 @@ DIST patsy-0.5.3.tar.gz 397680 BLAKE2B 43696f9e95c124cab5bf907723596d8b2b15f0539fbd2b9c2a2fcc76591e935020929ba31fd5378114fe58d22a9931508d89edf21f24b00c916a6e78dc4ee58f SHA512 9a6ea2382287208013e02bab7cba9378311a8e18fe059593aa99090bb6191efa74badff011424a7f6b3c8ec72c1b8650637322b71617f23357bb4b38ac6a79a0 +DIST patsy-0.5.4.tar.gz 397809 BLAKE2B d10a4a155d3346b7a5968af914e68f1c2508208eda5658091b40c4df421c6b5566278bfe7db856793a477cb9c78ed7bc8aae4209dde7b476d0d8a19164602797 SHA512 4fa6b099a12464b1ad1685e0d9ca0e9640c059d5021631e6c52f4025ff100899824e722d9b12107c49dc987e8f3e377aeeb007889d8b35b3f1e4cdf5ca491d2f diff --git a/dev-python/patsy/patsy-0.5.4.ebuild b/dev-python/patsy/patsy-0.5.4.ebuild new file mode 100644 index 000000000000..9ef4c81edb4e --- /dev/null +++ b/dev-python/patsy/patsy-0.5.4.ebuild @@ -0,0 +1,30 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module to describe statistical models and design matrices" +HOMEPAGE=" + https://patsy.readthedocs.io/en/latest/index.html + https://github.com/pydata/patsy/ + https://pypi.org/project/patsy/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + !hppa? ( + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild b/dev-python/pydot/pydot-1.4.2-r4.ebuild index 3059b747e4ab..7441f1dff849 100644 --- a/dev-python/pydot/pydot-1.4.2-r4.ebuild +++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index fee4178481bd..ef5835d4bb89 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,2 +1,3 @@ DIST pyfakefs-5.3.0.gh.tar.gz 224241 BLAKE2B de6d1b420bcfe710bef00c4f8d9cd4fa838341a7285d89a02607701f0011ccbe7f1974c5eec502994f787661496f74332bc4d4aa3389023ae02607a968c33be5 SHA512 25d967390f66ba5881429a37b62110ef129aae989efe66740c3a04fccfcbc601476d23427ac23d5df82a1e1a8102d557f0cca39b94fa0c7e69b6dca80d1e435e DIST pyfakefs-5.3.1.gh.tar.gz 225234 BLAKE2B 2688a40ce22a112ce80de8795e3c0b0dd7e2cd46b41c442c5e13085ec614e323a5558cfa48e0e5c79c7c418a739b3f0a6202bb007e8c201ac3fbcc3b209a3d9f SHA512 6d2b16327e8f40d98ac84ea8662dc359aa1b590e1de71761d511b084268d44ee2950cd2af1ec4e722fcb6e7dd14b93e01969fa5cc12e178e97ca2ce69073deea +DIST pyfakefs-5.3.2.gh.tar.gz 225929 BLAKE2B 1a84f52e8d85b55d2ebc0dcf9c4b44bd053c0a3a12d6c47c1f8d5aec304e39a83ffb01d4c707929955ca5cd86ae9427332d5bf043cb7f910fe1d17fbcc19e35c SHA512 4cc2c861fa358c06832df6e8a7cfc91e2b9be42f1164378ea6bd0a3a6cc48f36c545b7d61e03591d025ef7bd98fdc812f903973f28a278056961aec22ca88641 diff --git a/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild new file mode 100644 index 000000000000..c0c1eeb02271 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild @@ -0,0 +1,36 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +} diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest index 7e06bf103710..346edbedc2dc 100644 --- a/dev-python/rpds-py/Manifest +++ b/dev-python/rpds-py/Manifest @@ -27,11 +27,7 @@ DIST quote-1.0.31.crate 27881 BLAKE2B 47c8ac1051f7fa03d002420ade3cb18bf2aedc6ba9 DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde DIST rpds-1.0.1.crate 69049 BLAKE2B 2235344d274d4fef171b430e7500a075d383f2409f22908217a6caf6b6924891893835c3427a01a351d5bfbdda661542446a5db1f5c9bccdb2bc505474443794 SHA512 119527d615f359ddf2681dda05e9bf853a2747db4524559601c4cf5114cfdc00ba734fcd727830787e3f1cb978eb28538e5f9424d968deec95ff3826db18f377 DIST rpds-1.1.0.crate 69493 BLAKE2B f2d02c758de1abd46ff133965e0491a0276e4a95be5b64b6c83947bf8b3718896781eb96cf96d4abac84aba0c7caaa5e95abf1364ab2ffd65d573d0af212e058 SHA512 b24640e34c2f88ecfff5efb1581941eb02987bb7b342dc439513e8d7c8ee0afa63949f8dee09bf8f445ec6f3b3ec22d2927d3d03be05fee3c651b29c924a6b3e -DIST rpds_py-0.10.3.tar.gz 17164 BLAKE2B 5f51ba86fcbf51c690c8d5d59e690d9b6ab6a8ddf8140bc3c6abb888cac3821eaf0b178700395ac9e1c380890200176f9cb347130e5252fd27d815fef774d83b SHA512 967a087bec689274cae7031095355756938b11deb83f40225cfca145143df9c5cf403aef6436623ac7b91317fa816482e0e12558e6373f6f6cfaf8b76d13cab4 -DIST rpds_py-0.10.4.tar.gz 16496 BLAKE2B b9e9c67cbd1f49e1f495d9ec455ac07354e54411354bd52cc27da8e971cb366650418019b6389c7e9748f8b6ac018a45496f2694c422d439523ae6ed8f9d8294 SHA512 1c23108f356b5dc687098d1490062fe8a488f0cce397b16e8fe0375251549c4380bae20fdb1be87a1cf70e3463ee98a0394d9673803089f2e7c42152ecd3167f DIST rpds_py-0.10.6.tar.gz 16514 BLAKE2B b3df3d79b22fe102e96b5d56cfac97d30b2de0ce05ecc82227f411aca2ae39aa3c10171e08f850e58c60faac5dd9cfb5f1f0eb0559d8dc3ac18d530b8c6b95d3 SHA512 4e887e57c59372f48b87ec10a810a65d0ff1ba2fc7587cc4f4da78d8394a78a91d84a7a7b8ad810bd1f34f4e73ad706628dbc2bd25662c9e4f83e4183c280ab1 -DIST rpds_py-0.12.0.tar.gz 16723 BLAKE2B b4839a0d463a22cbd36956c171afa625b9e3faffc8b63d907268b4b50ee95b4130f8105bb67da46458959d9800c035364f85375e5f038b918595fc53ad551043 SHA512 8495862fb41f3e1272428fa8262e4738b9fe2b85c38e50f5b786ed11ee20a98e28c421c9090dc9d21ee5f1065df0f89d8cffd19cff6f245c17d027b8733d8928 -DIST rpds_py-0.13.0.tar.gz 17004 BLAKE2B 02c813d7d24aca2e2227f25aeeb9083af19c5a98f45674b7c624e927cfee46e6dfde817638e2ebb6696cce755b151a458cd374ab6db755af751c12ced0274ee7 SHA512 8832552e486ed217a84ebfba8c9f09ca1e117acca4206d6936aaa0120b6e2944fdcc4fa10a69350443926169e7a1401fd64163f81db86611122b985e216a5045 DIST rpds_py-0.13.1.tar.gz 17008 BLAKE2B e8fbc559ead936ae378d26dd6c0b704ab53b5bc41fe0a1bab67e48b8a627b43060b454f6915b2653d78f2f8e0f1d623f77db96c821bc2a25a3141fa145b5f5a3 SHA512 1cc901ae5bbfbbfdd14df4ff988dc3ffd75c5ac60acdec4dea9ddc30b9849ee12bf9ac05377bdf29a8db58919ceda51ef2fbb66885567608f1268baa1fa3eba1 DIST rpds_py-0.13.2.tar.gz 17146 BLAKE2B 722ff3115e0eca30692b71f8f7eeeebc7c1276c49dc03b4a3fd322b527d6b2a3570a8a8f80ed188566eced79fa19538b342828ca72a8309a78162d87cbcebc14 SHA512 a2aeb3cdb6a0c09ffb09091bb02d60a5cb79d4dae81711d9cd67a005081354124a5c9476ab3c6f4ae1a3c28544a824bf0b0f9f96d54674428198601e06138734 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d diff --git a/dev-python/rpds-py/rpds-py-0.10.3.ebuild b/dev-python/rpds-py/rpds-py-0.10.3.ebuild deleted file mode 100644 index d67ad16b6ab5..000000000000 --- a/dev-python/rpds-py/rpds-py-0.10.3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -CRATES=" - archery@1.0.0 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - indoc@1.0.9 - libc@0.2.147 - lock_api@0.4.10 - memoffset@0.9.0 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - pyo3-macros-backend@0.19.2 - pyo3-macros@0.19.2 - pyo3@0.19.2 - quote@1.0.31 - redox_syscall@0.3.5 - rpds@1.0.1 - scopeguard@1.1.0 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@1.0.109 - target-lexicon@0.12.9 - unicode-ident@1.0.11 - unindent@0.1.11 - windows-targets@0.48.1 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_msvc@0.48.0 - windows_i686_gnu@0.48.0 - windows_i686_msvc@0.48.0 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_msvc@0.48.0 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest diff --git a/dev-python/rpds-py/rpds-py-0.10.4.ebuild b/dev-python/rpds-py/rpds-py-0.10.4.ebuild deleted file mode 100644 index eeda61900cca..000000000000 --- a/dev-python/rpds-py/rpds-py-0.10.4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -CRATES=" - archery@1.0.0 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - indoc@1.0.9 - libc@0.2.147 - lock_api@0.4.10 - memoffset@0.9.0 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - pyo3-macros-backend@0.19.2 - pyo3-macros@0.19.2 - pyo3@0.19.2 - quote@1.0.31 - redox_syscall@0.3.5 - rpds@1.0.1 - scopeguard@1.1.0 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@1.0.109 - target-lexicon@0.12.9 - unicode-ident@1.0.11 - unindent@0.1.11 - windows-targets@0.48.1 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_msvc@0.48.0 - windows_i686_gnu@0.48.0 - windows_i686_msvc@0.48.0 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_msvc@0.48.0 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest diff --git a/dev-python/rpds-py/rpds-py-0.12.0.ebuild b/dev-python/rpds-py/rpds-py-0.12.0.ebuild deleted file mode 100644 index 6379ee730a5c..000000000000 --- a/dev-python/rpds-py/rpds-py-0.12.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -CRATES=" - archery@1.0.0 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.147 - lock_api@0.4.10 - memoffset@0.9.0 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - proc-macro2@1.0.66 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.31 - redox_syscall@0.3.5 - rpds@1.0.1 - scopeguard@1.1.0 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@2.0.32 - target-lexicon@0.12.9 - unicode-ident@1.0.11 - unindent@0.2.3 - windows-targets@0.48.1 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_msvc@0.48.0 - windows_i686_gnu@0.48.0 - windows_i686_msvc@0.48.0 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_msvc@0.48.0 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest diff --git a/dev-python/rpds-py/rpds-py-0.13.0.ebuild b/dev-python/rpds-py/rpds-py-0.13.0.ebuild deleted file mode 100644 index eecf229f538e..000000000000 --- a/dev-python/rpds-py/rpds-py-0.13.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -CRATES=" - archery@1.1.0 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.147 - lock_api@0.4.10 - memoffset@0.9.0 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - proc-macro2@1.0.66 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.31 - redox_syscall@0.3.5 - rpds@1.1.0 - scopeguard@1.1.0 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@2.0.32 - target-lexicon@0.12.9 - triomphe@0.1.9 - unicode-ident@1.0.11 - unindent@0.2.3 - windows-targets@0.48.1 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_msvc@0.48.0 - windows_i686_gnu@0.48.0 - windows_i686_msvc@0.48.0 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_msvc@0.48.0 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 3fad92e541ce..9028be4c1dc5 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1 +1,2 @@ DIST scikit_build_core-0.6.1.tar.gz 191098 BLAKE2B 8ce97e6ae81b729fe2ea2bdaa8d90620f1279004f0b73cf7b546ae7f9427dc06f4f11afd251dd669ca044db5a7eca2602c2652fd4c85b759ca7db3e15daed53e SHA512 82902d1a18ce9e9b3088bfb61fe10366eadc2cc48869d995e3126c14e1abf42112e1b28739a782aa78301571291b044a6923e2ea125feee6b85b38e2d73f53a2 +DIST scikit_build_core-0.7.0.tar.gz 197884 BLAKE2B f632cc131af9db03db2c84b32e451c6369273f9d5db0bca2991cface419c5f9faa5d98239a8a5edd8a36749bc368c0f3c25b3813f33ed63f125731ba4e3d11ae SHA512 ee50070156030fe6c8e07db428902bec67e2267bf36338e62bd936e63f402da869fc4c629c0bc274ab6f798642d163906cc8d6695a62228580ba979878e5d6f8 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.7.0.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.7.0.ebuild new file mode 100644 index 000000000000..9e02212b0f56 --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.7.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Build backend for CMake based projects" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build-core/ + https://pypi.org/project/scikit-build-core/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# we always want [pyproject] extra +RDEPEND=" + >=dev-python/packaging-20.9[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/tomli-1.1[${PYTHON_USEDEP}] + ' 3.9 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO / we don't package validate_pyproject anyway + tests/test_schema.py::test_compare_schemas + ) + + epytest -m "not isolated and not network" +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index dc3e86f78a2c..b86cf1ca7385 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,2 +1,3 @@ DIST stripe-7.4.0.tar.gz 743353 BLAKE2B 30246bf8c5c922fe1ab906757fef064d4f6eea6989825e1ddabc1ad3fad95cd486bcaa3be860045c29daa2f3c84f65a01e275c919da286d8f0d81cfa3aa512b8 SHA512 9e67fbfdd4fc65ad72a56bc841316e803eca031307a3ced4ba5773773a9920fd1d2e11cb7de6e6da4b2aae78611e198d999d85a5df65d3d7a43af195a47a84c7 DIST stripe-7.6.0.tar.gz 743504 BLAKE2B 32b82cd34241f00c259edc3e0d46d25337cd2490e6c3f4fb9d90d13e785f5e844fbaf66b224a7ae2ac7643d80b90eb36fde465ffdae058ded7741cb53dca5ec6 SHA512 5383ee5bc7e128840f9a1a738eca3bd6ce4a98df554243308d3b6fc667b519b996fc63d34c29abfc4f2f9082e8062aaf9aacdb3edb70e4ef2a6556228926daa2 +DIST stripe-7.7.0.tar.gz 747906 BLAKE2B 40d6f4cdbefef54df8aa84529c879f9cfe3b36fafb35cdc12e98513ae63e3fc41a38174def79adf2e891445502771437489f73010b206a005a02883ef51400fd SHA512 988bf67fce52c5b48e8a7d0d6dac408fd5bc1bd3cbd0d80b06ab5b7b8c44a5daa231c6f3f5e563cea2a717cbec56ae4a83eac9526a463074ff3d1d2cb68a6b92 diff --git a/dev-python/stripe/stripe-7.7.0.ebuild b/dev-python/stripe/stripe-7.7.0.ebuild new file mode 100644 index 000000000000..cd9f43a78c7c --- /dev/null +++ b/dev-python/stripe/stripe-7.7.0.ebuild @@ -0,0 +1,73 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.178.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest index bea41a5402a4..8fe4819f46fd 100644 --- a/dev-python/tempy/Manifest +++ b/dev-python/tempy/Manifest @@ -1 +1 @@ -DIST tempy-1.1.0.tar.gz 1526857 BLAKE2B 9d043db27466bc254bf285687359cb8302c1280e0e3c4aa97bc927931fdd14b28c59407dbf5005c159f292f7594e6a21ae2b374535941cbe771c35244ea31469 SHA512 e2eec6f5763226868634e5865a103ebde09ddc5dde9bca4ecf74dfe53de1efb0a576c765c23b0b2910fdea573320c0bc8df2f892e22bf4f5959afe7c72a44b68 +DIST tempy-1.3.0.gh.tar.gz 1546602 BLAKE2B 19019b7ce5ea74d7dddac1504d81a268df68ae88623892337255312c383af23ebb3399e437e94d150ab13236f846eee017f95a34bf6c55124a77dce8d1f6183e SHA512 2ede021316b9249c0ac8bc58506c3a7d006d242c3d4843ebbe5501532a9dc044e86c8b1228e4cb4dac4e09ae5ffab89731c1f6ca1a683bbfd3b34c6833fc1373 diff --git a/dev-python/tempy/files/assets.patch b/dev-python/tempy/files/assets.patch deleted file mode 100644 index dff32bce66fa..000000000000 --- a/dev-python/tempy/files/assets.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/setup.py b/setup.py -index f67994f..e62f7c1 100644 ---- a/setup.py -+++ b/setup.py -@@ -23,8 +23,8 @@ setup( - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], -- packages=["tempy"], -- package_data={"": ["assets/*.txt", "tempyrc"]}, -+ packages=["tempy", "tempy.assets"], -+ package_data={"": ["tempyrc"]}, - include_package_data=True, - install_requires=["requests", "rich"], - entry_points={"console_scripts": ["tempy=tempy.__main__:main"]}, diff --git a/dev-python/tempy/tempy-1.1.0.ebuild b/dev-python/tempy/tempy-1.3.0.ebuild index d37b00af93b2..3ae0723a1998 100644 --- a/dev-python/tempy/tempy-1.1.0.ebuild +++ b/dev-python/tempy/tempy-1.3.0.ebuild @@ -1,31 +1,30 @@ -# Copyright 2023 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 DESCRIPTION="A simple, visually pleasing weather report in your terminal" HOMEPAGE="https://github.com/noprobelm/tempy" -SRC_URI="https://github.com/noprobelm/tempy/archive/26f13ed.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/tempy-26f13ed15bc1a4458976572ccdc60399ca5cb123" +SRC_URI="https://github.com/noprobelm/tempy/archive/815893b.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/tempy-815893b1f2020e0ceac6be6d21762155967408be" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +RESTRICT="test" +# We need https://github.com/darrenburns/ward, which is not in GURU, gentoo, or any overlay I could find. +# When I have more time, I will write the ebuild and remove this. RDEPEND=" dev-python/rich[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}/assets.patch" -) - pkg_postinst() { elog By default, tempy is using the API key of the developper by making requests throught their proxy server. elog You can register your own API key at https://www.weatherapi.com, and store it in '$HOME/.config/tempyrc'. |
