diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-23 13:24:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-23 13:24:24 +0100 |
commit | cbf055ae8f2fb67e00df9ea122e64a67f930f576 (patch) | |
tree | ed9ab83fb918b8bc4fb292f48dbce597be5d33fb /dev-python | |
parent | 8702447e13af0a540c01f75bee0416677bced231 (diff) |
gentoo auto-resync : 23:06:2023 - 13:24:24
Diffstat (limited to 'dev-python')
31 files changed, 767 insertions, 73 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex a1f7fa04ccdc..92a2e01fbcef 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index 2032bba016ef..aefef4dff3eb 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -3,5 +3,5 @@ DIST cattrs-23.1.1.gh.tar.gz 602294 BLAKE2B c0be7dc8979919c4d29f9bd51203d219b9d6 DIST cattrs-23.1.2.gh.tar.gz 602336 BLAKE2B f39ff3c1525ea14789edd137d82343a9447de0a41f65a71ee85754a15f8fdc929137125043b23c6cd088c8b2d2e9da18577c3b6dbbb6e9a33bdf6789f117bc46 SHA512 d05c8a5d4c5dc0b69ccdf33164d44c35a37a871199a35d1c2c25f9fbd8ee53d48da8e9d9bec49cde2baf901b524d5e8ff1ade175928908ea81f94e8398224488 EBUILD cattrs-22.2.0.ebuild 1265 BLAKE2B 611c0e7707d709e4b7f68e5c5d13c225efb555e69013879ff2414c0a74ac78c76678fd3e8ebf32c980a220eefeb38dddc715a2135d32c2413ba3c32827238a79 SHA512 804d75159dfce03ab9484a8bcf44c7cc1cacce112d0c697f0513c6af4d278f74da209a8fc6ab853d425dc18f07b41bc26ff01d08ccb6d75c55067197ece86b65 EBUILD cattrs-23.1.1.ebuild 1272 BLAKE2B 3d866fd0ef5bc3f2e1ef2a399a794354be9aa3d0c055c7355cca4f00098ce87bf8dd969f6bed436ec61c6c58206163ccf32af4c6fe05e8997147fe202ae3d457 SHA512 bd327c2521f6770d79d975dab8da6a1973474215a1325b5cb440c5d2ee0e2d9f059cb9289532cd9911f7b5b3115fa6ac3d748a7fe1d2e8b6159fd6690408462e -EBUILD cattrs-23.1.2.ebuild 1463 BLAKE2B 86cea7ac63e47afc9864cca02801bcb5ebd5467d9ead421d3ac3a6b7dafa1d45f18ff91e7ee9f612db7b4c28df3c3f32b0af0aea5a3ed67a6065beb9dc3af47a SHA512 ec4683189b50d35ac986d3115227757294275868690f869a5e60e114f072e35045588efd0d5bec8852d13d2d59519f42c91dc8a0ce98a42a3101337d41daf5b2 +EBUILD cattrs-23.1.2.ebuild 1784 BLAKE2B 07f813ae103dad6f006e19441faedf2c8103af1f70fc4330845caf241598b979b9008b655d9c7320f7cc67e667e07447255d4265d33091ab2d5ab34ff3d1070f SHA512 77cbce62a0247323288eae090c9af61f9430b93568a23e5eb839e826f5422901ccb3e79f5fd8e5cb6903a6c5b85fef5a0a70083fbc8e00ff0cdf255846967539 MISC metadata.xml 347 BLAKE2B 94165f2a8e62f3dc7e195f872944300ffff5ba23b9a7e6c30c18d61bc469ea8ff9b70e516f854bfc52d55a0fd27daff0df58145e34bfe26dbcde8070b8a22630 SHA512 5bb37b39b9574256358a623cff942a95162f5f9dcb32ddf28bd167504c7619be54488fae10044a5c765291f8fa28a5aa346973365dcca867be0eef4e232a4999 diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild index cf1b943f4846..097477200e4c 100644 --- a/dev-python/cattrs/cattrs-23.1.2.ebuild +++ b/dev-python/cattrs/cattrs-23.1.2.ebuild @@ -21,6 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="test-rust" RDEPEND=" >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] @@ -35,12 +36,14 @@ BDEPEND=" >=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/orjson-3.5.2[${PYTHON_USEDEP}] >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] dev-python/pytest-xdist[${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? ( + >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] + ) ) " @@ -54,6 +57,15 @@ src_prepare() { } 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 -p xdist -n "$(makeopts_jobs)" tests } diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest index af4081ec2d40..a86cf540cadd 100644 --- a/dev-python/cbor2/Manifest +++ b/dev-python/cbor2/Manifest @@ -1,3 +1,3 @@ DIST cbor2-5.4.6.tar.gz 86909 BLAKE2B df24c786f32819f9a93a2db28536b78349db6185108188d0a20e7298ff8c083d1feb59110865b4e21190e0363b113201ccddaa0d36b49bd7bbacf9d5ee7695f4 SHA512 44fb3e2e2249c79b1454487670d53eb672ffae4c22374d2a2bb9e314ac15470e4e7913e4eb1981a8bd4d722e6827328dde7e57c5f0556843e951c4723ae5bd8e -EBUILD cbor2-5.4.6.ebuild 718 BLAKE2B 4daa91e58737fc8811e5d58aa67d2b96699b26c01aef7e0da50472e48234ed02d7b06955c3e2a767683d14b306673870837b61d45474dc005c78e10d0267f85e SHA512 38a772a7f6bd7bf3e16b93bff49ca3a1af0ee89cddadee9eb1a5ba3b2864890b799e222a997a512dda4e46bd43096a80d5de1f01fbe7aef6a00d1ab85474f28c +EBUILD cbor2-5.4.6.ebuild 977 BLAKE2B c4dbc230f323fb94e414b55e5d2c9dbef5aaa00a852b1cf91189069c896b6136b6ef17eba7fdea562e149ce98bfcdbc1c9d996e6af502580ced83ad8381e8a92 SHA512 07edc86b1c1050b564e3e2e4305c27ac3f1f184c7cba0327bc6103225504f1d06a8f779c24927fc28b87e0b50e3347f3d4b8afb1ff2b28976dcfbf0d94bccc97 MISC metadata.xml 995 BLAKE2B 8b9c668c2628dc12eab5bc42ca90a5c7e1ed64405b3de54ccca8dca90a974e9e2274b8815bc800d5427c6128c2f369eb5fc1fe17b5f6dbcee242239966dcdb98 SHA512 12f4909783b90ac9eef2ef4141f6f0041c2faed7ccb3d08f64fc8cd4e36e5ad8a3a5068267f6dc02c8d2fca5213d26f28ce468ce4487a0b2d44cdb558d4882c8 diff --git a/dev-python/cbor2/cbor2-5.4.6.ebuild b/dev-python/cbor2/cbor2-5.4.6.ebuild index 8642665e99e9..cc594d29a9ea 100644 --- a/dev-python/cbor2/cbor2-5.4.6.ebuild +++ b/dev-python/cbor2/cbor2-5.4.6.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -31,3 +31,13 @@ python_prepare_all() { sed -i -e "s/--cov//" pyproject.toml || die distutils-r1_python_prepare_all } + +python_compile() { + local -x CBOR2_BUILD_C_EXTENSION=1 + # pypy3 not supported upstream + # py3.12: https://github.com/agronholm/cbor2/issues/171 + if has "${EPYTHON}" pypy3 python3.12; then + CBOR2_BUILD_C_EXTENSION=0 + fi + distutils-r1_python_compile +} diff --git a/dev-python/crashtest/Manifest b/dev-python/crashtest/Manifest index bbca5e51cae0..294fabdd2695 100644 --- a/dev-python/crashtest/Manifest +++ b/dev-python/crashtest/Manifest @@ -1,3 +1,3 @@ DIST crashtest-0.4.1.gh.tar.gz 19114 BLAKE2B aa46efb2dbabfeaab54f9149da42cb033f5dca3ab1c75032ca2542018058cf16775f56450cadf3e1272e738d602f32f21b9a6668a99f2733cd53d23c1754a0bc SHA512 83faf66fb422c8fb13780ac5a8ddd4c47ebb77f248bea0eb94962caff24265b107fd8bbc0d577853969c4aecedd83977e9c74c81dc7e772b7684e09a832a0a2f -EBUILD crashtest-0.4.1.ebuild 561 BLAKE2B ac42adbc55f181e18cfe4bdb868f07ffa25bacaf8f5aa6141be5ad72902e253cef58b0dca2e90cb7b3bf7d54330972ea850a936ab2a8eea957801736f4f92ee4 SHA512 a641da208a827373314a87d511772800c80446b534c6e77ffab1a32835307a636cf86839c4fb64067389e7dc5db1e8b595685210a863b75214cd89461e2dfe3d +EBUILD crashtest-0.4.1.ebuild 567 BLAKE2B 5d488081f5a094cc7ad8e7c450885720405e2ba2a4f478a53bedd82b3739cf37afe276d761b07d06e020f5b4a296477feb64bc553cc4104f669bce3271ab9c5b SHA512 aa02c46ef881c1874e2bb8d6021bc5ed7adad6c6ee2b9f640e45b2b3a22057fd78b64fcf609c2ef16d0784b1e7733a75045c1734b091cbf0bf68720264eddc82 MISC metadata.xml 416 BLAKE2B f6b8728929c04221908904b4e43f0fa00c480b193537b519558a1f9e83bd99ab131c3b28d03a624690c4891feee71b6b90bbed6fdc0aa89a4f14dabe282c8343 SHA512 55c2a10cf5611aad9461b1aef9ec28f699a46237a7616e1a834769d20a00f9e4477e2910cc3117a71acd7512ee9812b7658010234387560445c484ce3feabe84 diff --git a/dev-python/crashtest/crashtest-0.4.1.ebuild b/dev-python/crashtest/crashtest-0.4.1.ebuild index 216959cfa820..fd5081a943cc 100644 --- a/dev-python/crashtest/crashtest-0.4.1.ebuild +++ b/dev-python/crashtest/crashtest-0.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest index 806e8ae73c12..7140baeaa77d 100644 --- a/dev-python/hcloud-python/Manifest +++ b/dev-python/hcloud-python/Manifest @@ -1,5 +1,7 @@ DIST hcloud-python-1.20.0.gh.tar.gz 100107 BLAKE2B 584e1399ddb1c5d1e5ad0beaf795609bb63d37457afe33c663cf303f8b20e2c6f6b3ff294007e9f4ae2d9aa833794e59516ad167f1dd51d14e692f6eab887881 SHA512 b17abc716ae6f7c78803096f2fd887e47ee746fccbe299cc434b7f445abdd7818e445d186f5adacc715971e2ebe2e92551cdb08aa1891ed58d8f443ea3be61fb DIST hcloud-python-1.21.0.gh.tar.gz 102150 BLAKE2B 4ec6fb813f61f3c487d632e12a71f9105af5d45a307567fd2b22ff716e30c645bffebc5cd768846fc7d7892ab753d3e4487a1b72edfee62fb99dfefe188be41d SHA512 8226a79324f0097d576cc1336e813a28a562fb9c3f50dcac1debb3c32bb52f4f5e563e920e2bbb6ce8be407a65de321b734d30156fd066d74ed95f6e6bd94a35 +DIST hcloud-python-1.22.0.gh.tar.gz 103301 BLAKE2B 0280567bf75dfe1e684cc9a630cd9c517a9039add7b8937d6293fdddf55e593afa68c4ee7ffc73c186b3444d47fb5dcd385229bace3cf058a37497790d2abf46 SHA512 fca41cc61033c050981588633f9a9801a444db5782eafa35933dec5011f24542a103b1c900b9a830ea426418070d060e4ec407941d54cb9579291a7b467e6a22 EBUILD hcloud-python-1.20.0.ebuild 1046 BLAKE2B f2c7f38ee3a6f1e58d5486a0e6255191ff832b4165fafbe08e3af3fbff2a4b55a2d7268a8ad87bef5ed53ca731b8b5a4591adfdf694dfa97302ef3af0d1f53df SHA512 2e6db7fa1a08b69db9bc90a5f5e74bda2d7e1fb44343f0598b9ce137c763c95a13930fc97a8bba26f3193a8102d31fdc83b5f87992fe3ea7f1048854b93c4f7b EBUILD hcloud-python-1.21.0.ebuild 1098 BLAKE2B 9486b9380fa0a8e07aaeb22d45e195db384a1d1f62275617c4f264c1ede18f25300fa1e7b4a1b174245dadc919054e0b854c52cd0bf62f98ccfc1e7e4c3b339b SHA512 4019e4aef91954555fee9e24626a2e5d9b7772a010d7df418f50efc50d100a9aba35eb1c24d5d36c50eaa3fc67c83496d1966ed0ade88fa5fe9816edfb2ba85c +EBUILD hcloud-python-1.22.0.ebuild 1106 BLAKE2B 0e8e2cc60a2aab3fb2765e9bda6e2016f315444ff18d8e45637c670d70eaae0c3b543acf05e4022c0380426bc3df6bd569a798175dbe06669c15f3a06cf97eda SHA512 9a3c620eae056265d308653ef94d3f38dd8c7d59541c118fc8eca2a5368e392f486edc89391356a414f7ef42a81df88c89f2309be4e06f4f29bb8e44c7b9f6e7 MISC metadata.xml 483 BLAKE2B c945a22b776b5bf73deabf93718a1dea3a9b98f7257467e845106f71910347a803f96ef969227d7c10a119f1e35b904bcb7501b9672bf3ce5a2bef112d903e56 SHA512 4a6540a06d57eb3bc8c455d982531427157fbf1a85abf4b909032b0880c9e2847b295b3c9b02378be35e88f74876357503dd04bbe544ff9a9612df2b1c321b1c diff --git a/dev-python/hcloud-python/hcloud-python-1.22.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.22.0.ebuild new file mode 100644 index 000000000000..07e3931df837 --- /dev/null +++ b/dev-python/hcloud-python/hcloud-python-1.22.0.ebuild @@ -0,0 +1,48 @@ +# 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} ) + +inherit distutils-r1 + +MY_P=hcloud-python-${PV} +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE=" + https://github.com/hetznercloud/hcloud-python/ + https://pypi.org/project/hcloud/ +" +# sdist is missing doc assets as of 1.19.0 +# https://github.com/hetznercloud/hcloud-python/pull/183 +SRC_URI=" + https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + tests/integration +) + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index b1fe05f91523..01fffa95be79 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,7 +1,9 @@ DIST hypothesis-6.76.0.gh.tar.gz 9373576 BLAKE2B ed580296f163f9808597aa3a7b2ceaf1ea43431a9049ffdba229dc0f7886c8ee42829c45c98cc8ec0aae7d1f41f455f7ffd818beb1a956498ac4d676cd72b678 SHA512 2e46762a3bcc595c92eb57e65b2c7ef07062df1c393033efd2cb6b3c774ecbbe41f672e7b6c63ca0e8afb732c0f5308dddd6908bc2f43eab5c0713a6d688d5f4 DIST hypothesis-6.79.0.gh.tar.gz 9377619 BLAKE2B 8e0650967f8552b3968f8627ef61119ea1532656009fcc83899d4c1e5e97e71e7cb14ffe0864008f7e6c658cff864a7a6d94d04365aba99d38383e3c1b4941a6 SHA512 d4268503425805d7ce0800434474b0f582d6114c3323b36abf6ce58e9f8530d7c11ab634671670f1d67387ac8c90d198303129c552130c8127dc0b3bbad2c766 DIST hypothesis-6.79.1.gh.tar.gz 9377826 BLAKE2B 13bf9383df81bf8aa504e4f1314958c98612bd507a935c749411008a25c9c1502cb157f4e80ae43b707486cfa5c4706c13118ea4c62d2cf8d7c40a8a811aba98 SHA512 aa52b85162ddb1fd1da8d01de4e47a5426831791c402fe589090474070608b98e40e8fcda197c18d7b8b4d13004afd0b04fb6f65f965e1af05b41005d3b38618 +DIST hypothesis-6.79.2.gh.tar.gz 9377998 BLAKE2B 7b9aa513fa6bf535094ebf9b6aad51df0f9d3a3c0da9e1402a86c8f41b840efe76b97a8204ba746e933128b1586d4622ab784ea3f040b599a7b61c6d563e9f09 SHA512 af8573f99d128300d358362c7f1f7ad801d27a29c89be554bbaa5325ff406d7237b98090ce7ec79fb72b04819f22ce0a3bc27c28028615ac9de8fc4a58d24d27 EBUILD hypothesis-6.76.0.ebuild 3046 BLAKE2B 6080dbb1a97b85524998d448d50228069e5e43c3b22cd587f940d3ca8534fc84ac044390f4b504bef025796d277bb05a1ff6e61af546c1e26b6210beccf5f985 SHA512 565f63ff85fdaf0a2c80ff30470ea936ae60396ee0486c47dfa020d574fdce586cf6b7012281112ad38372d24ed4e0f9c558811a037db8159628fd9e9065fa8f EBUILD hypothesis-6.79.0.ebuild 3054 BLAKE2B bf986d67fe5bd3a4ef72229835f97404c73f7beef0b112a45ba958c4385c6197d5567fb8c154d83cb80912c51995106f5d3ed430288776ee0c01bc4e21f8713c SHA512 bd251c47b821ad6eb9ab1e68f08c2542e58724e4cce3384b0ad476b83577fe6135fa0d0abe5494b3c89af38962ba458d53f1e07018dcf04bed15881f26dcd7be EBUILD hypothesis-6.79.1.ebuild 2837 BLAKE2B b51c8c2a5d7ad3363df503fe930a264cb898236f16f049ef03c4be42fab1844a9666d36b86e43ea70ff7619f8e87abd886e9143c544ad12a332cd965106c3f2e SHA512 4e8781450d232e7ca806b8af7870e04f388fa3c57bf6f84832034d68c259982253f2fc7de05ec1ab49573d5074ae0eb8575e079c42296aff217485092d407f80 +EBUILD hypothesis-6.79.2.ebuild 2837 BLAKE2B b51c8c2a5d7ad3363df503fe930a264cb898236f16f049ef03c4be42fab1844a9666d36b86e43ea70ff7619f8e87abd886e9143c544ad12a332cd965106c3f2e SHA512 4e8781450d232e7ca806b8af7870e04f388fa3c57bf6f84832034d68c259982253f2fc7de05ec1ab49573d5074ae0eb8575e079c42296aff217485092d407f80 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.79.2.ebuild b/dev-python/hypothesis/hypothesis-6.79.2.ebuild new file mode 100644 index 000000000000..17591ecbb4e4 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.79.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_12 pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # these tests can randomly fail with RecursionError when run + # in parallel + # https://github.com/HypothesisWorks/hypothesis/issues/3671 + hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types + hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults + ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/ijson/Manifest b/dev-python/ijson/Manifest index 54a5cf6c5d8e..743e9b0d6632 100644 --- a/dev-python/ijson/Manifest +++ b/dev-python/ijson/Manifest @@ -1,7 +1,9 @@ AUX ijson-3.2.0_p0-py312.patch 1213 BLAKE2B 757619c8d4ecca674a1f211aba2430659585fdcd9229ce4f6525b4c70a17d06a72fc4c85d317740ab576409f6f3247d777095860e873f5dbe50ed8bfb70bde97 SHA512 70b79da91ba42369b43d6a3719fbaaaa8ddc907ef54a256b36af875e9f4fafb0e8a1adc2eb3c7a756c521d3c8861061cc8162e6361a5e1ce3666aad887fb7484 DIST ijson-3.2.0.post0.gh.tar.gz 127558 BLAKE2B 38e06039bb177c43e4744f145fed2159e317a0b8da628b85a62215cdfe6693b271c39629811513d2e563b532244950616b9105134916bc577446a0b5e5ce25f7 SHA512 b926253a3d6a070e2ac27c61542d340e4a1498de7642957dbe59e9fd3c53d700ed4e8ee71c83efcb90b2c302d15b0d268c38054c10728bbb436521aa5b42050b DIST ijson-3.2.1.gh.tar.gz 127577 BLAKE2B 1b3c8ce6d8b01d0cf4af4d8995bcc33d879321ed5b89c4b6baa84ef10cd311a1e66254113a17229c228c26e2b996a52c4b0629b42dbd830f296fd4903b603468 SHA512 2bd3a978016fbbd3f5aca6644778d19478a561f40729206eaa4f14e30fde4ff3b92c8aa33c928cb9e81c678a5a84fa59ab68e747421d725e77c79a9c987e4536 +DIST ijson-3.2.2.gh.tar.gz 127965 BLAKE2B 2e20f7cc822406fe3e7eec99c3ef394e42d90b0b518226a7b8eb078763cb8317acb4a28934301116c32a2a9cc37403c2950b18232800485b1ea1206dace7ff23 SHA512 5935071bd0d3eecc39b3c30ca5cb2a959e4d455c57e36414d5c97ba71bbcf1a0b53c8b8afed7551a3a4ac4595294105566c9d7501b35832dd7e46a1bb2151287 EBUILD ijson-3.2.0_p0-r1.ebuild 769 BLAKE2B 64eb16600741a1371448b80c6851a2efb6fc731b974bd4f64af5718730c048be8113b678fc4d6d0a027b7c61af72157bbb99dfb11c480d9286ec6e23be103e96 SHA512 d1c912ed65e140f2f8e53a532b94e33ca68b40a48dde1c716686c34deb85d7a39353f73b021faed5288c6fc07bbe08b66e39dc54c96305b5c197b73dedea9f49 EBUILD ijson-3.2.0_p0.ebuild 639 BLAKE2B 5da344583890ba2d5845b2643c30a68db23b347b42c840d67b6fdc8e35adba630fe2e6d301211a8d047c863816096bc33a3396d06dfcaaaf84a98807ba98df5a SHA512 1879d0c2ca6f3b8c592682b6e41a821c5152dc18634eb3650a790a86e20ce07dd66488b153e73a5438043813606a57b455449d3d778ce00292c2e089c0dfff69 EBUILD ijson-3.2.1.ebuild 775 BLAKE2B c6a257983b708a401834293705d5a296306652699d0e205754f3a07f4bc8b53a44276d0c6e94701c05c0b0d35225ffe9e7440f43b38120c3487bf455904b0607 SHA512 aa4db0308b7c6d67eab68ee1576acb73d9db41aa2aa1d94aed8c278c7d6c12203d4d69d4b6c4062134d38d21aaccf3a704fc3c2623cacf180284956917ed9f9a +EBUILD ijson-3.2.2.ebuild 937 BLAKE2B 4b11f2c59902030528e0e77f5a00fa918e6fdf63b135c673db8e31a452670395d662f28f4150f92dba29fcd34c39b31fecabdf318a066e453cd81d69a6115bbb SHA512 1cd773d583d2787f7981690a800f4b5ecd4194591659dc02564e7a5a66c69b5283d6b11efc831b64aa4642344c2238a15612656d773ac955a6e6b63c651e67cf MISC metadata.xml 372 BLAKE2B 9fd70113a6731ca09979bacb2153df2c26db31ef9cb2a95cc2de2201aeb5348a6344fa6dab27a0880a9d70cb4498d39a4ef9cbcff6127932d5af3c534e21b5c2 SHA512 5f3747561e4c802300860b9d2f27b08acea3979e8cac48bf6145c4cbeeb3ec0b3d765399d0ed8fe01947860d78dea0faa0839cb393e066ec0aaffa2ab2661398 diff --git a/dev-python/ijson/ijson-3.2.2.ebuild b/dev-python/ijson/ijson-3.2.2.ebuild new file mode 100644 index 000000000000..f4e7d80ec763 --- /dev/null +++ b/dev-python/ijson/ijson-3.2.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P="${P//_p/.post}" +DESCRIPTION="Iterative JSON parser with a Pythonic interface" +HOMEPAGE=" + https://github.com/ICRAR/ijson/ + https://pypi.org/project/ijson/ +" +SRC_URI=" + https://github.com/ICRAR/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=" + dev-libs/yajl +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +python_compile() { + local -x IJSON_BUILD_YAJL2C=1 + # The extension is broken on PyPy3, probably a bug in PyPy itself. + # https://github.com/ICRAR/ijson/issues/101 + [[ ${EPYTHON} == pypy3 ]] && IJSON_BUILD_YAJL2C=0 + distutils-r1_python_compile +} + +python_test() { + rm -rf ijson || die + epytest +} diff --git a/dev-python/mysqlclient/Manifest b/dev-python/mysqlclient/Manifest index 372f2ca66b20..0f0c56e77cb0 100644 --- a/dev-python/mysqlclient/Manifest +++ b/dev-python/mysqlclient/Manifest @@ -1,3 +1,5 @@ DIST mysqlclient-2.1.1.tar.gz 88138 BLAKE2B fdd044f2703af874dc0ca67b2fe07fcac3ceed5a4543aa15a0daa852ddf5ad6940a43675c0f104d9aa173e96da946e33054e1cc4c1b9812487558af64cc8fd43 SHA512 d8aed044b651aabb8d28d2df085f84e4d824ef0f147216d111425a9c8024f55634236ec131debf46660084c5a8fd67c944db60ffbf89e1d712cdca80c0726a06 +DIST mysqlclient-2.2.0.tar.gz 89543 BLAKE2B 1e75d37825b81300103d980174d12986d7d02fa2f958ebbdb3d8a2ecea498a8afd9f43c2e3d46a88109364bc0ba172f91c7d5853ed4bd173ef34bc451d31c7b3 SHA512 c392bfc173c2a2e20821b862c3f23621bcd0c20884f58623c345921aaa4f0557b3f75e75e5577a0df150adf119ec008af5ad1fcbfe11248d73918c0a211e8df9 EBUILD mysqlclient-2.1.1.ebuild 1886 BLAKE2B b1d3683885ef942afe95e41f74e3976b606225252268864c2f7074f9bfbf78d0723ad345b02cefdd5511e77d857c62b183e54e393fe002c4168b9a01bd199413 SHA512 adfbded1b4462e38032b968ef3bd82079a01245f00b6998bd84d7edc3905831beb9a5e7fd65c1fcac836bdcd822ba9f17002462c614d61add7ac794669536276 +EBUILD mysqlclient-2.2.0.ebuild 1890 BLAKE2B 618a79a247a3c2f3d43c6ceea0223a9ab3733169df42a7de7f95cc833087572a41baa849200a8454d12fc9c226bb42baf3cf4a6d3425469f5cca9eeaf1bd2d4c SHA512 fe0d0ed254012764e7f3eb5320104a98967983d0b05dc41fc9b181d990832136740c80ece82e89f519cdcceb5b947417024c33f332d8c479bc528c6753b986a4 MISC metadata.xml 507 BLAKE2B 3c274117dde5aed93bb78488b1c106ea9b18243725d88867e6b568a09229d97bc35a1116d8a529c5c72cabcb9feb33de8157448cf3d339dbf1861d8a9ff2c1d6 SHA512 4304ae4addf93365b2acfd493a27a0144bfe0dd2d559a3fce73f52d0d1683c84b1597c9d11f36b332b6428523fd8082297ab39ce000d961ccdf39d92833828ac diff --git a/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild b/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild new file mode 100644 index 000000000000..b474537386c1 --- /dev/null +++ b/dev-python/mysqlclient/mysqlclient-2.2.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interface to MySQL" +HOMEPAGE=" + https://pypi.org/project/mysqlclient/ + https://github.com/PyMySQL/mysqlclient/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-db/mysql-connector-c:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-db/mariadb[server] + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +src_test() { + local datadir="${T}/mysql" \ + install_log="${T}/mysqld_install.log" \ + pidfile="${T}/mysqld.pid" \ + socket="${T}/mysqld.sock" \ + log="${T}/mysqld.log" + einfo "Creating test MySQL instance ..." + if ! mysql_install_db \ + --no-defaults \ + --auth-root-authentication-method=normal \ + --basedir="${EPREFIX}/usr" \ + --datadir="${datadir}" >& "${install_log}" + then + cat "${install_log}" + die "Failed to create database" + fi + + einfo "Starting test MySQL instance ..." + mysqld \ + --no-defaults \ + --character-set-server=utf8 \ + --pid-file="${pidfile}" \ + --socket="${socket}" \ + --skip-networking \ + --datadir="${datadir}" >& "${log}" & + + local i timeout=10 + einfo "Waiting for MySQL to start for up to ${timeout} seconds ..." + for i in seq 1 ${timeout}; do + [[ -S "${socket}" ]] && break + sleep 1 + done + if [[ ! -S "${socket}" ]]; then + cat "${log}" + die "MySQL failed to start in ${timeout} seconds" + fi + + cat > "${T}/mysql.cnf" <<- EOF + [MySQLdb-tests] + socket = ${socket} + user = root + database = test + EOF + + distutils-r1_src_test + + einfo "Stopping test MySQL instance ..." + pkill -F "${pidfile}" &>/dev/null +} + +python_test() { + local -x TESTDB="${T}/mysql.cnf" + rm -rf MySQLdb || die + epytest +} diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index 86d985afdf87..cd09b42c8335 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,3 +1,5 @@ DIST openstacksdk-1.2.0.tar.gz 1160015 BLAKE2B d3ed5b9415715faf6d9cae225e2a8e7c3bd69907599fd2683f53e2070513a1f27aaae2d2f4aa40ada26ff819b5f8238c09e208243197165aa52f19776e53fc7c SHA512 4ce118b8b19b495f333f76cb416d2b4cc2c9ea835979cf67e83f6f7f40df13d29e19ed054a2f3ee469e6c5496da4a7a11193e4815b20195b28ba4c48263b6c1c +DIST openstacksdk-1.3.0.tar.gz 1158244 BLAKE2B c318be32242ff6a5dce3fb94122c08603f3f132d0e9781a13f6bad9bf8fb516741e62b255e1d0d9b12c2967bbd6cea54cfcc248ba9de6279edfac85399b4a0bd SHA512 ceeb68fea5ce9e5271a86b783986bc3a26f03654cc3e2be0b704484976e273049c0499377d08c59466fa02d45d6ec39fdc4fcc42d8b4ee4b5723bfe3853737b3 EBUILD openstacksdk-1.2.0.ebuild 2636 BLAKE2B edc801b7ad004d2ac164850b9cae4074c24d0c9617b0ed56ef447ca76b26e27f8c5aa857d3c2dd1de57707e545fff96ce2ae46d9d21b7c6cfdf9265ef0b61032 SHA512 46754f9e5e1ac4080ec27cfda788c55e4a0dbd41fd0677d9d544f5231f6083c214dd79a77322c870025aadb49c5c49f4caf4abe511359d0d7e9b9bbbaca1722f +EBUILD openstacksdk-1.3.0.ebuild 2639 BLAKE2B 3595fb952e7feb35c7f0c17ca7938d0efe485f8c7bf258c808f9cd3be1d77c730537888cbd0bbbcaa1ce0463c9edf493fba211f753314aaa4750a09f49779ab5 SHA512 be2a6a910e8dd0272d5c4d383ff7c6ab44b08c20152f600fc0e8cd49a37f8966a23bf69d1a973dd2f27e838024c4b5d9138a85c78e49c113f0bc304ffa946600 MISC metadata.xml 517 BLAKE2B 661ad1e9eae06e7b36a5ff753e73bd4434042966cff3fd6fbc11bf70a1acc3eb8de29ad2a033d6d715e1152a5454d84077e99db3b588199b317f925864dc1403 SHA512 e6dbfbb3546c2a62b204b33ebb3bb33611079698212f098bd4da072200fe43e3bb350cc998b255ec4a15aa2ff3a04c89a9553dd7930db48e658dbcaff78526d6 diff --git a/dev-python/openstacksdk/openstacksdk-1.3.0.ebuild b/dev-python/openstacksdk/openstacksdk-1.3.0.ebuild new file mode 100644 index 000000000000..e7d4c515009f --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-1.3.0.ebuild @@ -0,0 +1,84 @@ +# 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..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A collection of libraries for building applications to work with OpenStack" +HOMEPAGE=" + https://opendev.org/openstack/openstacksdk/ + https://github.com/openstack/openstacksdk/ + https://pypi.org/project/openstacksdk/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] + >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Internet? + sed -e 's:test_create_dynamic_large_object:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # TODO + sed -e 's:test_generate_form:_&:' \ + -e 's:test_create_static_large_object:_&:' \ + -e 's:test_object_segment_retries:_&:' \ + -e 's:test_object_segment_retry_failure:_&:' \ + -e 's:test_slo_manifest_retry:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # unhappy about paths due to test runner + sed -e 's:test_method_not_supported:_&:' \ + -i openstack/tests/unit/test_exceptions.py || die + sed -e 's:test_repr:_&:' \ + -i openstack/tests/unit/test_resource.py || die + + # requires hacking + rm openstack/tests/unit/test_hacking.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstack/tests/unit +} diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index ce8fca982cba..79b22caa3a44 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,5 +1,3 @@ -DIST pdm-backend-2.0.7.gh.tar.gz 131573 BLAKE2B 69750ccada51e09886d39b37fe00f842ccc70d1b7fd301ce2a72601f72e6d8d01ed0eef43ce7d9a6d9094e2c547965e91013dec7e7692479a5c9e2d0b7025c83 SHA512 7bfbdd52af739d6b6c85468888b44144fbc4fe542e758b62a09a85d7a503a980a82ef3450ac5c234005bbd7dd399ab7ddbe9b7948820b7ba7e8558c5b0fd9581 DIST pdm-backend-2.1.0.gh.tar.gz 134050 BLAKE2B 941795a8e108442d8ab651cee2c87f72d01c55e16634d9028f6e6300576ae7c67eaff90cbd6bcd4e24131ddabe92626583cbaf3af1807fd03490650d85653376 SHA512 999940464a467e5a8a6cb232cb8602846461cf7e146256be5f745743e47bfeab7b2b8157dc49ba7b03cff46051d080efe2097c450cfab037e0594ffa5fc3802b -EBUILD pdm-backend-2.0.7.ebuild 1553 BLAKE2B 19cbc43bbd4e88e5f62eca29e7a735ad7bdebc820e88525ec834e302e3baedf39f938cfed0b15f16eec85fb546b737bfd677248842999e9c22f27beb74933387 SHA512 723d7917982088570fd878df262a421bdacb250e0457c1d3158c560af28d840ce5952abf3d03b8c74fcbc7757a268dddbd3c52cd90f61a4bb5c74b9e2d93c754 EBUILD pdm-backend-2.1.0.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c MISC metadata.xml 402 BLAKE2B ac579efc6fd41e67d00ccbba4831c85eed6f5e4341b17533f60c95b666d8a457a5ed683440028c876b8d638fff59af97c5087612b7817dd1a9bd8b9f74cdda0a SHA512 77766986547445c26c7de4bd1d4fb495f8c22e1844fd5b4835b1cabc4aa503a36eae84460e4fceca2f71a87d5f4fc83593b33fda9ae8cafd75f74618d60476cd diff --git a/dev-python/pdm-backend/pdm-backend-2.0.7.ebuild b/dev-python/pdm-backend/pdm-backend-2.0.7.ebuild deleted file mode 100644 index 403a89a30845..000000000000 --- a/dev-python/pdm-backend/pdm-backend-2.0.7.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" -HOMEPAGE=" - https://pypi.org/project/pdm-backend/ - https://github.com/pdm-project/pdm-backend/ -" -SRC_URI=" - https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.{9..10}) - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}] - ' 3.9) -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/setuptools[${PYTHON_USEDEP}] - dev-vcs/git - ) -" -# setuptools are used to build C extensions -RDEPEND+=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - rm -r src/pdm/backend/_vendor || die - find -name '*.py' -exec sed \ - -e 's:from pdm\.backend\._vendor\.:from :' \ - -e 's:from pdm\.backend\._vendor ::' \ - -e 's:import pdm\.backend\._vendor\.:import :' \ - -i {} + || die - distutils-r1_src_prepare -} - -src_test() { - git config --global user.email "test@example.com" || die - git config --global user.name "Test User" || die - distutils-r1_src_test -} diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index fd63bbdbe1af..a8941e23450c 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,3 +1,5 @@ DIST pyglet-2.0.7.gh.tar.gz 6187601 BLAKE2B 00bebe51d6e4f2971aaaead69d483234528ed676b3a2b273fe6ee3c0b997d61490b9be3218c5caf092c83fdb58fb39051fde843845e63965e8e6c3510f873a90 SHA512 e51c63e12cfb450ef5b0ef8f113b50fd9a7ccd20f9afe61ef487c47a42248d674ca3bd300d3300bf3bfd5f45a9a029017a9fbf8dd7231f8b58c4b7354a4715cb +DIST pyglet-2.0.8.gh.tar.gz 6197927 BLAKE2B 7b6f26b0c22fea5da3372ab0a3c71fdc55960452530ea565c2946b39de978fb67e5b4467097ed477ec8eff3a3b5ee5f30f84a31172879c9068821492b4d21bbc SHA512 f8fe20d8e43dcd852e96523e03d0e10fff9a18dd50131e0ddc46a49c981f33b3ea9055c769b87c421e4465c4a98fd5a991a862b37215e1d9eac44ff4d33f4bdf EBUILD pyglet-2.0.7-r1.ebuild 1932 BLAKE2B ae4f05e2a19dbd84b78ba5f9c251039c12d79bf90a150180bd39dc3d363dc412a3d45881b45486471eed4b5f98f5139e05e5e950d2046483424426bac13b80c4 SHA512 a3e99310d7dbe718fce3e28cb71632a596b3d1cb5db67120d032afa2b9c4f14cdfecbe4acd87bd1181c66d32db16760eba4b47b26bb7bc1c72aadc60b187ab67 +EBUILD pyglet-2.0.8.ebuild 1934 BLAKE2B aecf926abf38398ce2ab0a3f8e907121592ebfff2b37b687a1bab41077a662a965852dbfe70b660a2d96be12a40f59f98f672b0ff0b84b9a0c6d8423741bda53 SHA512 6c727ff72ff53dc552e83ec4765a3a72aa1dd21c228cc3a1895397f7d886206a574d0dd28c5857ec48227e0b0b4c6d97e49bc628144c852224c85c4e2727fe9e MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/pyglet-2.0.8.ebuild b/dev-python/pyglet/pyglet-2.0.8.ebuild new file mode 100644 index 000000000000..bf98a5931071 --- /dev/null +++ b/dev-python/pyglet/pyglet-2.0.8.ebuild @@ -0,0 +1,82 @@ +# 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..11} ) + +inherit distutils-r1 virtualx xdg-utils + +DESCRIPTION="Cross-platform windowing and multimedia library for Python" +HOMEPAGE=" + https://pyglet.org/ + https://github.com/pyglet/pyglet/ + https://pypi.org/project/pyglet/ +" +SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" +RDEPEND=" + virtual/glu + virtual/opengl + image? ( || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) ) + sound? ( || ( + media-libs/libpulse + media-libs/openal + ) ) +" +# ffmpeg? ( media-libs/avbin-bin ) + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + xdg_environment_reset + + local EPYTEST_DESELECT=( + # lacking device/server permissions + tests/unit/media/test_listener.py::test_openal_listener + tests/unit/media/test_listener.py::test_pulse_listener + # fragile to system load + tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume + tests/unit/test_clock_freq.py::test_elapsed_time_between_tick + ) + if [[ ${EPYTHON} == python3.11 ]]; then + EPYTEST_DESELECT+=( + # broken test + # https://github.com/pyglet/pyglet/issues/606 + tests/unit/test_events.py::test_push_handlers_instance + ) + fi + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pytest-subprocess/Manifest b/dev-python/pytest-subprocess/Manifest new file mode 100644 index 000000000000..7ead70355cc7 --- /dev/null +++ b/dev-python/pytest-subprocess/Manifest @@ -0,0 +1,3 @@ +DIST pytest-subprocess-1.5.0.gh.tar.gz 34771 BLAKE2B b76ab9234ff2ec437ef9679c2e8af6cdc545189c7fd9f832f68c5cad094c80250c5fe1fd6e0da54d7a8c09da30a66f7f097da66f03d169e149186b49e2b72b56 SHA512 8489993cc396d41d127927ab46a43120528dbcb9641e7be03777689af127df29fe618eee3a815e96a0353cc02117dc1af22800d748476c4fe2b76c2246229f08 +EBUILD pytest-subprocess-1.5.0.ebuild 897 BLAKE2B 90b0857855327a1e43c27530641ca93c75b44a21500b89559ce8ab6b4c3cb1f78c346f9dee561b4c51a70f2f56c6a456f9eea2b5638c40b50c405840d59bb142 SHA512 85121699db7cafc93a1dcc50272723e37744d4dff717fee3108b0005e5adc235967222512ffbf66314a8c7d921ec3f7dd8cc468059930bd8e8b7a684751cdeac +MISC metadata.xml 390 BLAKE2B a3bc770c204c31105ed2d53ab7ff74679fa2738e4cb422a17157e88c7f1bdc061af21e238fb63fcf32982ba3b60fd7ea51678dd594ec03befc1d41db48663004 SHA512 664188e01242f89a25192355de77622ddf6d1448a65f665515a7294754f0bae30dfa63baa03104759d93e9c1800471fa579ee11b8fe4ce1229cce400fffe9f89 diff --git a/dev-python/pytest-subprocess/metadata.xml b/dev-python/pytest-subprocess/metadata.xml new file mode 100644 index 000000000000..fff3884af1d5 --- /dev/null +++ b/dev-python/pytest-subprocess/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">aklajnert/pytest-subprocess</remote-id> + <remote-id type="pypi">pytest-subprocess</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild new file mode 100644 index 000000000000..bb2a21146b87 --- /dev/null +++ b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A plugin to fake subprocess for pytest" +HOMEPAGE=" + https://github.com/aklajnert/pytest-subprocess/ + https://pypi.org/project/pytest-subprocess/ +" +SRC_URI=" + https://github.com/aklajnert/pytest-subprocess/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/anyio[${PYTHON_USEDEP}] + >=dev-python/docutils-0.12[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.15.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -p no:flaky +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest new file mode 100644 index 000000000000..c32fb950f645 --- /dev/null +++ b/dev-python/scikit-build-core/Manifest @@ -0,0 +1,3 @@ +DIST scikit_build_core-0.4.6.tar.gz 160670 BLAKE2B 8efa818ed17d898818c7fd1f56ed36369b25fcba62fdc4172e147db9a70a9a468e8472b8cca599c7afd32fe5ef3fdfce30d173359ddc4ff7ea7db6c257f63f9a SHA512 24f5ebfd855677c6f7af8f5098c257326cffc5de5cd0d04b4dc51f40c78784c7dc49ccbc97d43460f5091478b0b9bb09c4d3c93178699ec1938521688fc48bd8 +EBUILD scikit-build-core-0.4.6.ebuild 1196 BLAKE2B cc7aa554ac04d64b84c59c81f11aa07c503a740e57955adb142b79efca1797ccecab104af2a9664f368cea60512e9c26815637b7fe16a4367453c15b457fd3e4 SHA512 3f2a3d7ff1df60b2214a88e54820f7da0a7fcfef4f75514d9c14e206c2fa3fce6100ba17e06aae1aa5449f2b9884ce98bd69ef9db13f2896cc75014081c479d3 +MISC metadata.xml 393 BLAKE2B 25bdc0bc295ed4bd7cd76a5a6952cb7fa5d5a404d3260562f2ed322d80f2466add0373a2a6b10a41c4dc2211e82e0a680735301d8844e70a54760301b4ab190f SHA512 176537f2027aedb3bc8bd16bbbcde8bfed246d621763e22a979f2942c016e1bafa5ef2d11d8d078e5d59970ea115864a8501185343bc3d4b9fd8493adbd16aab diff --git a/dev-python/scikit-build-core/metadata.xml b/dev-python/scikit-build-core/metadata.xml new file mode 100644 index 000000000000..4636b4452315 --- /dev/null +++ b/dev-python/scikit-build-core/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">scikit-build/scikit-build-core</remote-id> + <remote-id type="pypi">scikit-build-core</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/scikit-build-core/scikit-build-core-0.4.6.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.4.6.ebuild new file mode 100644 index 000000000000..9cf9fc3a704b --- /dev/null +++ b/dev-python/scikit-build-core/scikit-build-core-0.4.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +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="~amd64" + +# 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() { + epytest -m "not isolated and not network" +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 3a51c762e460..a531627429bd 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,6 +1,8 @@ AUX sentry-sdk-1.21.0-ignore-warnings.patch 329 BLAKE2B cdb4295e600d868feb11b4a0af534bca90a1fa777344d56c945ddcfe71b3db10848df4032df06b9acf84cf574bec04dce4dc8935dd7421a6d0a2a011db337d6f SHA512 d1b5c50c78d1bb299280c4937fc8a8fdfc7d174d41061a32b57178c4dee58ab4b4b7afe8566a6b79244e53be8714b3ee7fdc9bf3401835d6d743e9fdc5a0aa05 DIST sentry-python-1.24.0.gh.tar.gz 360564 BLAKE2B 032c929b75e29ebb0e95f8dddcc567d7367399b0945f918821c5331898b0aa90eac4af531f4f49c52949d00b655508cd57a88915ab054f2a44f72e3dc81cc9a9 SHA512 9dee3f14082331232f743c7bd38a7a46273d4c467bdd4f8672f7597fa0d3baaecd34423d07669f14f0265be2c947bdbddc983aaa8cab66a139aeb036fde1b708 DIST sentry-python-1.25.1.gh.tar.gz 362026 BLAKE2B f392d766305a119d8d24472d21efade8a0f058d18e8d0e7b15fbcc2c368171e89a79394534aa85a7f9c4013fc1ba2566ee3de6d4708e1c5d7f3e3dd2aae56d4d SHA512 eb22213d99989711fc1449f3910dbd81eafe6d8903181955cb307066ba90a6e0cf587e875c806a013ca2b9465dc070e622c4ec6a656bdec51668455d353ad91a +DIST sentry-python-1.26.0.gh.tar.gz 371531 BLAKE2B cdc44a8c4067405242b7aaec28999902df8ac7938d933ec8f5c050b6659bf5f920d7422dbe712813de995308fd49ce6173ca59e346d5a8912f6c3452f6063fb2 SHA512 de1d1c4af1d629c7689691d99ebd0acd3c023fc07fcfc6e706e7738b536601186ce33672b85ba08123f430923bb0c67cdbe0e56c9642d2219df55c8f1d14f07d EBUILD sentry-sdk-1.24.0.ebuild 4021 BLAKE2B 07d4ea094f752fcdd6994e23fed20af1f92305b1202071ffc5a4783364f1683dc92c0a58f9f08244da6023f698f8d31ec646f6b8ad779aa04a5e6d9ca4b0127a SHA512 e5cdf622d6108146f7b087c0c15dd0e1d37f648becd16761ac05e714b2625f457e2ffd974057b63e55107ce53a300eff2deb88b693fe8e4d99c1b179d623d3f8 EBUILD sentry-sdk-1.25.1.ebuild 4126 BLAKE2B ae20509f123b6ee17fb14a3b6b14b5b5ef93ee717e99e0b333a51ff0643a827a66f1a93175ea9c6d952114155558d5b6b6c37d0f3acd0ca34d4a6ae8555410f9 SHA512 c91d44d84e777eb6968890e216693c41d83bde3f12d56b924d05c9568f7bab21fbd3566b28318d914d1ccd9708819de80f27a3467564a2ce0e78d36d61ede5f5 +EBUILD sentry-sdk-1.26.0.ebuild 4170 BLAKE2B b9ab88af5992582b939280c483bfdc2ac2c2a72f14fa398023ba94700d2be4e6c23734850430fdd5ba77ffeeeb913bd492d84b0ff0a1ecd6bb5ce3b72a76b93c SHA512 314e5bb7acdd79b8ad8d119aa7e96aeb14e06d2d95073efc97a1dc471123632300479d79d261f8f34a13cffa3266f34cabaca7e0d31b6915e4f0b6f74c5e4f00 MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-1.26.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.26.0.ebuild new file mode 100644 index 000000000000..1335788113ac --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.26.0.ebuild @@ -0,0 +1,118 @@ +# 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_11 ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string + tests/test_scrubber.py::test_breadcrumb_extra_scrubbing + tests/test_scrubber.py::test_span_data_scrubbing + # this is not even funny + tests/integrations/modules/test_modules.py::test_installed_modules +) diff --git a/dev-python/tblib/Manifest b/dev-python/tblib/Manifest index 2603fbbcc17a..4c3dcc400469 100644 --- a/dev-python/tblib/Manifest +++ b/dev-python/tblib/Manifest @@ -1,3 +1,5 @@ DIST tblib-1.7.0.tar.gz 33074 BLAKE2B e05b94b9a36efde4d3fe76e9b72502674554e84e49916ea585de4f6cf9e898d1544535b1a8935fe15ffc100fcbf2b5d4f9edfdcf0ce5c86d479f2f412d3ea83f SHA512 10dcff18a1da386d9dd6bae35608f4a2d3bc8f87c15fcf49d886f98d95a6defd348ef0dc5637e03f4c553a933a0ecb4c215cf15b1e78fca58fea10052f9fb4e9 +DIST tblib-2.0.0.tar.gz 28695 BLAKE2B 7c7cb584e5a5f03d403253d94c051d7ffd988b2320b095376184b479f30674989cecd39ca43fd269884e73ad97e6f9424a29dec9f1338e002ebe1adfc31a52d4 SHA512 740e7b02c4ae61b12ed1c0c3623c5c2dd142aaa24989e57d67ceed4894212bc18d51f0ab0a97953f1a0e16b30ef992ecee3730038e8b8fd4a3bc437d4a1a92b0 EBUILD tblib-1.7.0-r1.ebuild 678 BLAKE2B 9c3a52f849680f7a8e0541c9d3cf2e7d2dbf40bee2d92f1116673e544fd40e18bc77b292bba434b4c18efab5ee2c261cd99dda0799c77ab4f9764f75c66974d7 SHA512 323247e0e97eff468fbbd692bebc0983df4663a478f7aafbe0c1fbe07c6efb839b93062420f6e1660499604956f22941cdce6112195b9026703c2dc8804ade69 +EBUILD tblib-2.0.0.ebuild 682 BLAKE2B 277da70b80a53f92b94406895e8eb6f054a0f19dc584910e0cf052a92cc1f032dc1e74a5fe8a314d4e106e58a15618f373dd0e06b44455769b2f671e804536d2 SHA512 5106ab32f3cd96065d7087ad0a784d28c5edd745eccedab93ffeaf5164927c2dce0e28599d0d685e760e634e719f42a1cb346ea09ad10382a780263578033d0b MISC metadata.xml 406 BLAKE2B 196dcfaca9d242ddf68db2f831720a877f9aa1ec0f1d8aefb4d20f03a8399370ac62e5c009b1538c7f20512bc17ca23c5286544081a8f15512a95e1b4c754e9e SHA512 0e82fd782c7532e0f1877aea67c3171847469f7c0669664b8d9b1a22bdeca9daf6f6159f202041d3f1d83c3bd9871ee084564df0e7b64c8c2230d8b5aba2a91f diff --git a/dev-python/tblib/tblib-2.0.0.ebuild b/dev-python/tblib/tblib-2.0.0.ebuild new file mode 100644 index 000000000000..9a3df624eeef --- /dev/null +++ b/dev-python/tblib/tblib-2.0.0.ebuild @@ -0,0 +1,35 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Traceback fiddling library for Python" +HOMEPAGE=" + https://github.com/ionelmc/python-tblib/ + https://pypi.org/project/tblib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |