diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-08 13:05:59 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-08 13:05:59 +0000 |
| commit | ce5b21218f78457cc215a473d9214edbce1c81f2 (patch) | |
| tree | 2425be9beab78d1243410371318fc5d57b5da2b5 /dev-python | |
| parent | 1a6c5a19127dec5c3dd740663aabbf98babf6992 (diff) | |
| download | baldeagleos-repo-ce5b21218f78457cc215a473d9214edbce1c81f2.tar.gz baldeagleos-repo-ce5b21218f78457cc215a473d9214edbce1c81f2.tar.xz baldeagleos-repo-ce5b21218f78457cc215a473d9214edbce1c81f2.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/fakeredis/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fakeredis/fakeredis-2.12.0.ebuild | 77 | ||||
| -rw-r--r-- | dev-python/fsspec/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fsspec/fsspec-2023.5.0.ebuild | 64 | ||||
| -rw-r--r-- | dev-python/langdetect/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/langdetect/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/orjson/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/orjson/orjson-3.8.12.ebuild | 77 | ||||
| -rw-r--r-- | dev-python/pyarrow/files/pyarrow-12.0.0-tests.patch | 144 | ||||
| -rw-r--r-- | dev-python/pyarrow/pyarrow-12.0.0.ebuild | 13 | ||||
| -rw-r--r-- | dev-python/pygit2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pygit2/pygit2-1.12.1.ebuild | 45 | ||||
| -rw-r--r-- | dev-python/sphinx_ansible_theme/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.2.ebuild | 32 | ||||
| -rw-r--r-- | dev-python/trimesh/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/trimesh/trimesh-3.21.6.ebuild | 65 | ||||
| -rw-r--r-- | dev-python/websockets/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/websockets/websockets-11.0.3.ebuild | 42 |
18 files changed, 571 insertions, 9 deletions
diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index b73a7f194058..17d8846e14c6 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -2,4 +2,5 @@ DIST fakeredis-2.10.3.tar.gz 94025 BLAKE2B faf178d53e783c4475513bf9f485b6eaefc63 DIST fakeredis-2.11.0.tar.gz 94957 BLAKE2B 0f1e5e226793fbeb86c9d7b894832652dca65c2ed21b0f0c86c228df3124f97aebc1540619fdb484dda93a78f7c7d6e1fbbcd07a24ba0e919ba9fb718074c757 SHA512 7669fa06737f47440b85a369ae00429da7ee479dcc0fed3c5a33f700b3ddbe3660bfd1098dcefa4b29896dc552cca950fa8305f1e53b44fd82f8375e15d25031 DIST fakeredis-2.11.1.tar.gz 94897 BLAKE2B 18798d30eccfbedd70d13fc4a9883d2ab4b06eb2b4de900ced78202a3ba0680380dbd6989e7c51ce524eff73b4b5177379c941d9bb00015afe32d12b716b4ba0 SHA512 1ee9ed1eb2563de702bb76f01546338ccbb477b9546c8e9ff65644efbdb00c2c14cb5f2488d800071c083e0eaa638b41ec492ca618d3a5a0e190212e6e8313a8 DIST fakeredis-2.11.2.tar.gz 95532 BLAKE2B 5edda6d3573bd589c8144664dbf115f257b68f59f002d92766b4c9ce1a9adcefe727812835d01d4efa42676056e9c050175c423cca166f1063e4ee1a6784ee94 SHA512 a5f0428949f3527fc189ecf4744f2f2310fcb114fdeb718299608defe7dfaeee9720d84debaa1e0e0eeeff11f6426e72452b3e7e772690aa48336996ae5a8716 +DIST fakeredis-2.12.0.tar.gz 95952 BLAKE2B 87e27851e2c68c07871990e3b1e73c2c614a902a4e086753308f2abcf01cfe08532c1c04136ebb1fa5aa36ff8b36616fefe70ab3b59860d15e89be5af83d1a9d SHA512 a4c1eb27cb846a769ed5fd10966df77064d0598f7b556c36c0ea48cd298c261f222601a0071652ec279b03e04537aac211710edf1597f6d57a48ca3a53e9a7aa DIST fakeredis-py-2.10.2.gh.tar.gz 159702 BLAKE2B ec385c01af9e32705435148c1c61d74c14d7b22a60b6a3466f1831f557bfe997af6ee96429cfdba00a1328db3cabe1579d65411e7c2b9972e5421963cd66815b SHA512 2a3a87dcbe136465ff0465585562a5b8b0bc73504f491d3ec9c6e959b6cffaa3edbaa1c2e5199138f7a49dfdec3c3da6a2ae338228a8fe21c670a82c062c544a diff --git a/dev-python/fakeredis/fakeredis-2.12.0.ebuild b/dev-python/fakeredis/fakeredis-2.12.0.ebuild new file mode 100644 index 000000000000..c5a052a0d4a2 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.12.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-4.2[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 45db6c4d2cd8..8a9e982fcbfb 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,2 +1,3 @@ DIST filesystem_spec-2023.3.0.gh.tar.gz 352352 BLAKE2B e4a4edb882aa0aa15f654d3ae63d278b03a0b1fdc99fb1e7f48baefa750134aa2c9ddc89cc53aa829155b103107cbfb0c99d6c6fdeb5bf85068af5f1fc467ae4 SHA512 7c21eb60932267fe73dea3672d2e9b2d71fb3df26aedec9d109109168b91605602903518337563c00ae8b7d82212211ca569d3a91adb840eefd41eecab33c3ec DIST filesystem_spec-2023.4.0.gh.tar.gz 356769 BLAKE2B 72425ae67b57e0e44589903b3858fcca73bd20894586782599e669eb56d48268677bdf6f6047b40317b2e5f10641bea77a4ffa4968666b4ee159536bdb82fd88 SHA512 3b8702de33519ea6e88b61c83b61399bfe1df1717aa1332488f427b0c875a74dfae9c81d8b1407a5c008fb26838e5c798ccddf7eff45bfca1476b5883cf3f0c0 +DIST filesystem_spec-2023.5.0.gh.tar.gz 362014 BLAKE2B 9a037ebba1d02c3b3fcb2ba37b2074bef3575bdafbfb3aa1d4ec5ffe5dd109e1f7bb05de22430f077ee9d05216762b973687ae7175669600d063ab553bcd7f0b SHA512 6f8e574ab234ea6184ab908d4bd475b4e734ce56e49d0efc4d0b2403e67e84448545e82fe33be408d51dffb56f100844e03c283760d921287d530176159ecf9d diff --git a/dev-python/fsspec/fsspec-2023.5.0.ebuild b/dev-python/fsspec/fsspec-2023.5.0.ebuild new file mode 100644 index 000000000000..d066e7ecc1e1 --- /dev/null +++ b/dev-python/fsspec/fsspec-2023.5.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +EPYTEST_DESELECT=( + fsspec/tests/test_spec.py::test_find + # requires s3fs + fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors + fsspec/tests/test_core.py::test_mismatch + # requires pyarrow, fastparquet + fsspec/implementations/tests/test_reference.py::test_df_single + fsspec/implementations/tests/test_reference.py::test_df_multi +) + +EPYTEST_IGNORE=( + # sftp and smb require server started via docker + fsspec/implementations/tests/test_dbfs.py + fsspec/implementations/tests/test_sftp.py + fsspec/implementations/tests/test_smb.py + # unhappy about dev-python/fuse-python (?) + fsspec/tests/test_fuse.py +) diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index bbc6d681340c..f5ef3fdc4886 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -15,12 +15,14 @@ DIST itoap-1.0.1.crate 83316 BLAKE2B db0d9f712155bfe4285c3d3debf314da2d64ffd127d DIST libc-0.2.140.crate 669153 BLAKE2B f4269549f6b450a3da3196ecaae52afe178d5b6905666fae04e2879f975f0129788898ca2ccd214d721af42a8b2fa86b26355d6baa0a81c223b56c658ee66dd5 SHA512 f450fe619ea2f45e4ada2567981987f19d35a9f13f88a0ce3a53e1751c6fbff708ca69fa6a64d807cce5dfe18b08751f0695d8a01e68e269da1aafc831528b7b DIST libc-0.2.141.crate 671145 BLAKE2B c0e37825ac3fba376e942a0e2c2aeefcab384b24c50a453d1948376cecb3f953d59735e37aef8a9ca7ae707fc6b4818823fae7330f213bf084e5460a82dd3ed5 SHA512 29d81f440d62fa1c9f7983c38138994e61f4897761a50a4f14abce1ced85a8994c6f0cc0ce86f77113b74495e36ddbebae6627f0b94c44621620a395a6723cdd DIST libc-0.2.142.crate 679343 BLAKE2B 4168a8c3766bbc4f5adbd4babd84757cb81bb3c8cc806b8b5c1381a88ddccbb8bf55ae84f2879ab26adda09a3d44d21e2708dc9bce5d4868663fad8dd0f0e086 SHA512 8eb465fea8bfa865aa592185ea2dd89a6d89252b0e44fb7398ae82c9fa031d501fc3a1c37e50d1971be528c6e1a4ca416da224ba82e5a8766ec598464593afdd +DIST libc-0.2.143.crate 681601 BLAKE2B edce6a36697c4c0f9b31e6c380235c0f36c39b98316cc35ed341ed2d4d95aa2a50dad3e9d0d44330e6a5cea77191f97e79703f298f3e1cbebed1a0eaba71014b SHA512 245590127b37b5c3f66392f8f143f872f769f283c77b68b88e23d5e14aa1b9770347021f4d81e81225ca4ed09db6e925d47602131edd83c6d995875766824b6e DIST libm-0.1.4.crate 110593 BLAKE2B 5018f4efbc8fd45ff88a28e92c273bb3b48724009e17eadd0d4abb8e34b0fc8784607f71eebaa2f308dedb3185969f092d4305cd1d2cef7a53f7d8774390e38f SHA512 6bc647425ec8be5995ad4798427a86e28282b06532b8e6a53745e2a2ac16652d087b84c0946a4858a49d98995b9e543e1764765d270bf5569cd2ad92d52b81f2 DIST num-integer-0.1.45.crate 22529 BLAKE2B 4da3e801f71ba8f92c692497e200bfc8d32183c94eaad91260683b09f4697c03175fec7cff5a9ff3782d5db5d514d74f22f7a61a102c0f0d2e67a7a4b4f29222 SHA512 731bdc09c3af7f9d8b171041f2957aa60facef93b06886000d8ba60d410aabbbee358d700bf31b2588b2e077464f290f24a0b712df7bb7f12972675b6c9bd735 DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 DIST once_cell-1.17.1.crate 32856 BLAKE2B 8bde2aaaf9ef45d1f6b8458686179f1fe9295ee8faea269e9b49779583ce26ab9dafe988c3584e841a9e5d05e28430ca967ef3b25e755f48f0120d9c99cdb7bc SHA512 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904 DIST orjson-3.8.10.tar.gz 836541 BLAKE2B 90c7e1a298ffd4af93f26312f501c558a642116c482ee21e9304aa363d1ea95aa817021dc7e5d150c94b5fa8b174c489546e364dba434add77eccfaebe969572 SHA512 68828e9b4dc2c8e2c8675ece61e366e38f027a7eb3058d0ed1f3a65916964ae67bbb11fcea3414c330841b79208fe52b2c18263493f09092c50d73ac0b549720 DIST orjson-3.8.11.tar.gz 659654 BLAKE2B 3e55bdc18447cf181e580797c96c132070a35790acc25a9d46228e072d3f259622c45bf0310f3d69692520d009dbd7f27a0a40dc53e933ce49eceb591f148b7e SHA512 a6e898ab83abe45f1f285343985c7e638579cfefd5c453ac184a54d02b44f1ea7ab13ca5a3a20ac149e3b93da6a194e963dd816006c49c21abcf8aad9cfb13cf +DIST orjson-3.8.12.tar.gz 669172 BLAKE2B 7b3b57a5a81c9d77f39f07d5c3349aff65f0628b7bf0ad8aeba74c9b0c18d3a173aed4539db81f4d00c666eca933bc0bad511ecf6e82c9001f520c076653f4d3 SHA512 c2a6a106721e5c84d52ccc255b60fb3da67d442604c5dd5e2dea63a6d52eece87fd3d1d81a2691c1f93b4c21a0f608a8c1ea6b19d8ba4995584a562780ff39e9 DIST orjson-3.8.9.tar.gz 657071 BLAKE2B 7486ecedd2c80e9fd7a7de907f18b3ebea2f7aa992d81f3ac21caa0e515167ad94c516081a0e2a0059dc9ac734f3d98b0da2381db10574f6e35475e9ef824be1 SHA512 a1409de1b099011ac8566110c08502708b42339ab7ff3b1e6600840aa32d655ddf4960128e50fe174278ded119e3996f662fe2faa3d3284ca42c56f2f8bb5d7d DIST packed_simd_2-0.3.8.crate 97388 BLAKE2B 89d2a1401efef8e0a665d883b41a587601cd4704a6acf80c542f3e6e274a6fa9c975a03799857c409c8764bf6698784cf85f1fb73b4fab2c4f98b368326760c4 SHA512 de1ff7cc43f6d0f6e2a94073ab80bd178864d375d334c4d8aaf30f8ae3320b6aa470f14b25babc264d9032af0c4fa7663e442321fc91acbd7adc7550b5177984 DIST pyo3-build-config-0.18.2.crate 29138 BLAKE2B ad37bacda5f0e5c8eaf382b3371de251b83c721dc2378a0bd3700462bb65273bcd4277589084f6af0a2959f17b370fe5e6a5699c8689107220333c57387bf0ae SHA512 01f544938d83a8283f5101f69673f8a39d2052186e7c712709be25c5ae17a11e7d68c2fd9b4bc7661fff9343ebf3ccc196c1259321061f048c59696692601ae1 @@ -31,6 +33,7 @@ DIST rustversion-1.0.12.crate 17278 BLAKE2B ceefd32afcabec344a1bb87d818fa22b84c9 DIST ryu-1.0.13.crate 46823 BLAKE2B c6d661cbff5e7b273da5a6bb704bb1910b897c55d854b05bd417f53853a832791afc351e5a5aeaa94ba99a8fe64c8a930221c52a8784519728da748371a4ae04 SHA512 25f60216d91e68cb47695ce4e966fae674d5b3e4b0cf33e740248c1605fdcf0c963acd278a485c5b4bb0a1c1144002e73173592222af4989df7a4ba402508c13 DIST serde-1.0.159.crate 77014 BLAKE2B a377be7b7a0624ca9449d962693100d4ee892a252b4fe1326dee2057a214029ecacde05aedb7f0adcebc9815e6b4ea7ec2096ef4db4c55526defdef88a20cc25 SHA512 4e5373b940b5328fabca35759e8a02816c89692b83996c6224be39365b6409688ef2db0eef24219381003133a31da93a41b500a76aeb1b84c05df9a91ff4844d DIST serde-1.0.160.crate 77010 BLAKE2B 45d2585bd7e5dcd368b72c29046bd595c577826da4aea6d019adaf07d23adc096db7aba952037dfdac9dbf08a1e92ababd44cc784ace557fe2cfe83beca446cf SHA512 b03eb453ac01a483843829952462de4e8f6d0fa4a244d38a6f476a911e2e991a508121265befd108134ae7cce8a7a40c4d217f80f3e025f9a612a0bf80862306 +DIST serde-1.0.162.crate 77030 BLAKE2B 27e6a9bfabcd66a2250be36ac9987ec12a864c15eabea4bb793f796a19d85db097bf46426462fbdd22ccde24af3581638c2e14634701a0b14a3bfcc624c40a8d SHA512 e9b112999b69a14f1d05cce985448378c889a497dfa00f86e0c611b17d98fe7d942e9142fdf8c95c6d0a32e2016b3f384b52efae3bd75012c12299b02d055578 DIST serde_json-1.0.95.crate 144618 BLAKE2B beb05d7c37fcbacf4cc7dc04380e818a144a81e20e09ac9aecf6488bc18b142713bd1e9c7bc2ff4d10dd2385ccd280207cd992380bde4616db54f0852141eb0f SHA512 ff9f3f9e9a0e07956923bbac02288915c31f5ee24fc618808bfd4aa4b36ec40ec8d0e4426d926bdbcd019c9a4a6608dff5a651bf92dc5663eaf69c7c060223ba DIST serde_json-1.0.96.crate 144652 BLAKE2B 2754e63479aa07507015dcb0f989d6447f5b2c01e5f02cf8a843d90c90c6fd0acd3ecb68d80d76c249efdabe0bd0670649a9e576269928d2276ba00a3153131d SHA512 39779419900e1d395d81e70cff0e7a688564a66124b08e74da54ac30f389c912707f4bf5e29afab6fa106faf4bf4e0b841f42fef125cf7bec185482ff6bbba0e DIST simdutf8-0.1.4.crate 28621 BLAKE2B 94ab48bc899e603acf3805dd45ae8489d565aa39ff79606e80a1731b59d11f429d71bb6c65becf3ceab123767f2d20612cb9f86410fd1aad00d0a796091ad045 SHA512 9f821035e147c035707910227b51e01d3f761ab8b578d95a86a776b2a4da01bc4d8ef28df7ea2c16ca125a2699d8903b826ad07a5937728e33dd58753ebd704c diff --git a/dev-python/orjson/orjson-3.8.12.ebuild b/dev-python/orjson/orjson-3.8.12.ebuild new file mode 100644 index 000000000000..71f800da873c --- /dev/null +++ b/dev-python/orjson/orjson-3.8.12.ebuild @@ -0,0 +1,77 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.6.1 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +CRATES=" + ahash-0.8.3 + arrayvec-0.7.2 + associative-cache-1.0.1 + autocfg-1.1.0 + beef-0.5.2 + bytecount-0.6.3 + castaway-0.2.2 + cc-1.0.79 + cfg-if-1.0.0 + chrono-0.4.24 + compact_str-0.7.0 + encoding_rs-0.8.32 + itoa-1.0.6 + itoap-1.0.1 + libc-0.2.143 + libm-0.1.4 + num-integer-0.1.45 + num-traits-0.2.15 + once_cell-1.17.1 + packed_simd_2-0.3.8 + pyo3-build-config-0.18.3 + pyo3-ffi-0.18.3 + rustversion-1.0.12 + ryu-1.0.13 + serde-1.0.162 + serde_json-1.0.96 + simdutf8-0.1.4 + smallvec-1.10.0 + static_assertions-1.1.0 + target-lexicon-0.12.7 + version_check-0.9.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + $(cargo_crate_uris) +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/pendulum[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest diff --git a/dev-python/pyarrow/files/pyarrow-12.0.0-tests.patch b/dev-python/pyarrow/files/pyarrow-12.0.0-tests.patch new file mode 100644 index 000000000000..56a307592593 --- /dev/null +++ b/dev-python/pyarrow/files/pyarrow-12.0.0-tests.patch @@ -0,0 +1,144 @@ +--- a/pyarrow/tests/test_compute.py 2023-05-08 09:06:34.571387618 +0200 ++++ b/pyarrow/tests/test_compute.py 2023-05-08 09:11:52.759753459 +0200 +@@ -414,6 +414,7 @@ + assert pc.variance(data, ddof=1).as_py() == 6.0 + + ++@pytest.mark.skip(reason="not working") + def test_count_substring(): + for (ty, offset) in [(pa.string(), pa.int32()), + (pa.large_string(), pa.int64())]: +@@ -428,6 +429,7 @@ + assert expected == result + + ++@pytest.mark.skip(reason="not working") + def test_count_substring_regex(): + for (ty, offset) in [(pa.string(), pa.int32()), + (pa.large_string(), pa.int64())]: +@@ -442,6 +444,7 @@ + assert expected.equals(result) + + ++@pytest.mark.skip(reason="not working") + def test_find_substring(): + for ty in [pa.string(), pa.binary(), pa.large_string(), pa.large_binary()]: + arr = pa.array(["ab", "cab", "ba", None], type=ty) +@@ -459,6 +462,7 @@ + assert result.to_pylist() == [0, 1, 0, 0] + + ++@pytest.mark.skip(reason="not working") + def test_match_like(): + arr = pa.array(["ab", "ba%", "ba", "ca%d", None]) + result = pc.match_like(arr, r"_a\%%") +@@ -474,6 +478,7 @@ + assert expected.equals(result) + + ++@pytest.mark.skip(reason="not working") + def test_match_substring(): + arr = pa.array(["ab", "abc", "ba", None]) + result = pc.match_substring(arr, "ab") +@@ -489,6 +494,7 @@ + assert expected.equals(result) + + ++@pytest.mark.skip(reason="not working") + def test_match_substring_regex(): + arr = pa.array(["ab", "abc", "ba", "c", None]) + result = pc.match_substring_regex(arr, "^a?b") +@@ -602,6 +608,7 @@ + assert expected.equals(result) + + ++@pytest.mark.skip(reason="not working") + def test_split_pattern_regex(): + arr = pa.array(["-foo---bar--", "---foo---b"]) + result = pc.split_pattern_regex(arr, pattern="-+") +@@ -1022,6 +1029,7 @@ + assert ar.tolist() == ['barzfoo', 'bard', None] + + ++@pytest.mark.skip(reason="not working") + def test_replace_regex(): + data = pa.array(['foo', 'mood', None]) + expected = ['f00', 'm00d', None] +@@ -1033,6 +1041,7 @@ + assert ar.tolist() == expected + + ++@pytest.mark.skip(reason="not working") + def test_extract_regex(): + ar = pa.array(['a1', 'zb2z']) + expected = [{'letter': 'a', 'digit': '1'}, {'letter': 'b', 'digit': '2'}] +--- a/pyarrow/tests/test_fs.py 2023-05-08 09:13:26.796384297 +0200 ++++ b/pyarrow/tests/test_fs.py 2023-05-08 09:14:20.567601499 +0200 +@@ -1012,6 +1012,7 @@ + LocalFileSystem(xxx=False) + + ++@pytest.mark.skip(reason="not working") + def test_localfs_errors(localfs): + # Local filesystem errors should raise the right Python exceptions + # (e.g. FileNotFoundError) +--- a/pyarrow/tests/test_memory.py 2023-05-08 09:15:35.366512597 +0200 ++++ b/pyarrow/tests/test_memory.py 2023-05-08 09:16:44.969501524 +0200 +@@ -140,6 +140,7 @@ + assert len(errlines) == 0 + + ++@pytest.mark.skip(reason="not working") + def test_env_var(): + check_env_var("system", ["system"]) + if should_have_jemalloc: +@@ -149,6 +150,7 @@ + check_env_var("nonexistent", possible_backends, expect_warning=True) + + ++@pytest.mark.skip(reason="not working") + def test_specific_memory_pools(): + specific_pools = set() + +@@ -170,6 +172,7 @@ + can_fail=not should_have_mimalloc) + + ++@pytest.mark.skip(reason="not working") + def test_supported_memory_backends(): + backends = pa.supported_memory_backends() + +--- a/pyarrow/tests/parquet/test_basic.py 2023-05-08 09:18:05.307333210 +0200 ++++ b/pyarrow/tests/parquet/test_basic.py 2023-05-08 09:20:16.135429950 +0200 +@@ -349,6 +349,7 @@ + assert result.equals(table) + + ++@pytest.mark.skip(reason="not working") + @parametrize_legacy_dataset + def test_byte_stream_split(use_legacy_dataset): + # This is only a smoke test. +@@ -510,6 +511,7 @@ + use_legacy_dataset=use_legacy_dataset) + + ++@pytest.mark.skip(reason="not working") + @parametrize_legacy_dataset + def test_compression_level(use_legacy_dataset): + arr = pa.array(list(map(int, range(1000)))) +@@ -660,6 +662,7 @@ + use_legacy_dataset=use_legacy_dataset) + + ++@pytest.mark.skip(reason="not working") + @pytest.mark.pandas + @parametrize_legacy_dataset + def test_zlib_compression_bug(use_legacy_dataset): +@@ -760,6 +763,7 @@ + assert buf.to_pybytes() == buf.size * b"\0" + + ++@pytest.mark.skip(reason="not working") + def test_parquet_compression_roundtrip(tempdir): + # ARROW-10480: ensure even with nonstandard Parquet file naming + # conventions, writing and then reading a file works. In diff --git a/dev-python/pyarrow/pyarrow-12.0.0.ebuild b/dev-python/pyarrow/pyarrow-12.0.0.ebuild index 844fac334dd7..01dd141b6355 100644 --- a/dev-python/pyarrow/pyarrow-12.0.0.ebuild +++ b/dev-python/pyarrow/pyarrow-12.0.0.ebuild @@ -19,12 +19,18 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" IUSE="parquet snappy ssl" -RESTRICT="test" #Tests not working 'import pyarrow.lib' error out RDEPEND=" ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,snappy?,ssl?] dev-python/numpy[${PYTHON_USEDEP}] " +BDEPEND="test? ( + dev-python/hypothesis + dev-python/pandas + dev-python/pytest-lazy-fixture +)" + +PATCHES=( "${FILESDIR}"/${P}-tests.patch ) distutils_enable_tests pytest @@ -48,3 +54,8 @@ src_compile() { distutils-r1_src_compile } + +python_test() { + cd "${T}" || die + epytest --pyargs pyarrow +} diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index d1612c806aab..9ace7df0ec90 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1 +1,2 @@ DIST pygit2-1.12.0.tar.gz 737533 BLAKE2B 4989587e2f7cc7041e65e1080ec4eea4d749c7dcc8b8cac45e3753902d477dd2fb30f3bdb5ff73860baf587ed808bbb2c08afb3b6054bbd094fee2f7c573aab7 SHA512 885984d8bb990ca3f60024c3db10d5f0bc77939382e93ab469f77b676bd95e6f44238d7e5d08dd9d17094a45cb0880dda94b860b014607f64a23a85db60b0422 +DIST pygit2-1.12.1.tar.gz 738390 BLAKE2B 0d22cfb84cf62af32a1da76feb76da0c42ff30ae17bc9881c32553c662ac67a27bad57f545034dc1f42ef9844846b556f92b5b0e0faee63bb524dc57e73d4f9c SHA512 97f7cef7eeac3f165df8d82933854f53f842565efd764c351812ab27f35d574da9eb37628740f878540ad0be0447ad83a2ae0ed1544c615ba29485f08dd345c5 diff --git a/dev-python/pygit2/pygit2-1.12.1.ebuild b/dev-python/pygit2/pygit2-1.12.1.ebuild new file mode 100644 index 000000000000..ea1e9269fd00 --- /dev/null +++ b/dev-python/pygit2/pygit2-1.12.1.ebuild @@ -0,0 +1,45 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for libgit2" +HOMEPAGE=" + https://github.com/libgit2/pygit2/ + https://pypi.org/project/pygit2/ +" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +DEPEND=" + =dev-libs/libgit2-1.6*:= +" +BDEPEND=" + >=dev-python/cffi-1.9.1:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${BDEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unconditionally prevent it from using network + sed -i -e '/has_network/s:True:False:' test/utils.py || die +} + +src_test() { + rm -r pygit2 || die + distutils-r1_src_test +} diff --git a/dev-python/sphinx_ansible_theme/Manifest b/dev-python/sphinx_ansible_theme/Manifest index 7236995bd6fe..84a8659b4801 100644 --- a/dev-python/sphinx_ansible_theme/Manifest +++ b/dev-python/sphinx_ansible_theme/Manifest @@ -1,2 +1,3 @@ DIST sphinx-ansible-theme-0.10.1.tar.gz 49575 BLAKE2B 605e153739605e85da19022ececaee8884df8d200ee5ce65a0e695e4bd4a305b5997624e18b593a3566b17c2cd9336b961280c7da6758d370a42555321a2de69 SHA512 8e5eada24f536320e3d7bb83138ebc38c1353db6b4cc0c7eaca95078ccb4d645c5e62ce83fe1ba88aa25c13999914d7d93b817eb893d47802eee9cd40cba483d +DIST sphinx-ansible-theme-0.10.2.tar.gz 49652 BLAKE2B 76f91af09976c16550e8257698f2ffdd1d6e477eea7ed1bad2413693a006e7aa2d83c83bffaa2a0a5a6d2a62bb401828211faf1295980ffd8f00cf836fe5c8bb SHA512 ea991533cac674869a838c89f16d287910dfa528e63fbe1c4803a1797bf8fc11836299af4da1952da2be0fcc5da8d69abb7412157a9bdcada7295a1688b45614 DIST sphinx-ansible-theme-0.9.1.tar.gz 34505 BLAKE2B 533e665b30f5aa450e4a2240c55c4992340b9f6ee03d27758bf119dfe2eef987fbd4b98136349af376557d8e9a78e5391a648b9886136995d05410b0c26561f2 SHA512 f78602af8affe7be59988f466cf6a2aa67e174086f338cad855369a7bbee5a76d07bcffa8406dea5a819127b26d69e29b0d90dab38b82524b3e317f9082d0379 diff --git a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.2.ebuild b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.2.ebuild new file mode 100644 index 000000000000..21b403c51cb6 --- /dev/null +++ b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.2.ebuild @@ -0,0 +1,32 @@ +# 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 +PYPI_PN="sphinx-ansible-theme" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A reusable Ansible Sphinx theme" +HOMEPAGE=" + https://github.com/ansible-community/sphinx_ansible_theme/ + https://pypi.org/project/sphinx-ansible-theme/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + 'dev-python/ansible-pygments' \ + 'dev-python/sphinx-notfound-page' diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 9f9857b3969e..5970856df683 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1,3 @@ DIST trimesh-3.21.4.gh.tar.gz 12692752 BLAKE2B 47f83c594318270c1594bad9c877de2cba71d44eccae7f755418aba785ce21c36946e482b38020a79417c4e346cd60cf3b31ee96bd489501a9dd88c2d433c68c SHA512 749f208b91f55b2a9581fa953bd984fc71a7c54bcc3d00ad1df8af2489911e966d2821dcff3d673e8ba55a83c9cce75625aaaeeddff817a16bb09b82b2bca549 DIST trimesh-3.21.5.gh.tar.gz 12692813 BLAKE2B 31f3933b4b76f55783dceb32b8079383d84439cc0705ae47b5e0062a8192a88123264ce0a803cf4bba6f3c0fad12b77cf524bf03b2ce5c1b2b4f6146eebcddd5 SHA512 4bf6879294042aea9bce65a79c1717de1bec92a0a9f6f420ed98dbc4cb5260dba4656ee0074f77d46d37c910838c7a4b7c7dff0249aa38109bb677993f886291 +DIST trimesh-3.21.6.gh.tar.gz 12691963 BLAKE2B 518d8d73268ed40f03fba48fb1e07f5ccf8801bc779dbe99261670e61f291de5f549a078de5de392da2754b08735eb7bcfe9716f541bde94296e6f48edf2e44e SHA512 65b348d334f7770f74e48bbed15f613b71fc0ba101c51a868bcd6becd315aa4a13f76722b2de84f6624b37b4d617dcc418f92ab19acb5e7f1992834bc0a5b96c diff --git a/dev-python/trimesh/trimesh-3.21.6.ebuild b/dev-python/trimesh/trimesh-3.21.6.ebuild new file mode 100644 index 000000000000..50458139f318 --- /dev/null +++ b/dev-python/trimesh/trimesh-3.21.6.ebuild @@ -0,0 +1,65 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimsh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + sci-libs/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/mapbox_earcut[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -n "$(makeopts_jobs)" +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" sci-libs/scikit-image +} diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index 56e0be59a9a8..e1ab4763d0f3 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,4 +1,5 @@ DIST websockets-10.4.gh.tar.gz 309611 BLAKE2B f3a739368ff9d78fef79324af59d1e77b3fb654b8b1a847373a29f19b11ae9266b9a938d235ee27d12b59d9b4cf29825fc7298ff2f35e5b260df2c7a41a1bd78 SHA512 087b1920ff26e21b8d3b80b53249d44b841fc45a4992df1ad725112404f724a41aaa2d759a2bd521dfe337459f8bf0d2ae048c423489f527c68f6825f928b582 DIST websockets-11.0.1.gh.tar.gz 347321 BLAKE2B 21ebcf13c41f5e7ea5247174684e8e37ac383fe94da7f6a1ebfeaf6024669fd2b362847055775a81cb4a36722526a42b91c9e28e1a8d016918ffe16481375f7b SHA512 a9c3bf215c5c5cf1032cf8f2cd85cc8d78e3486f4e40e301be246181dc64a5543377bc7205695f89f7141b2c48115cbcd1cca6a353ad9d36ac9cb294d48b2e2e DIST websockets-11.0.2.gh.tar.gz 347575 BLAKE2B 1d609298d072dbd986fa2adcac1c8f80720622fdcd44cb8ab079ba812fa7a750cdd4a5b432a74d422ca3ac8e7baef8e38e227569b8681e033f599fa29b19383c SHA512 e397d7b51c3edcc68fd32dbf8fcd46f5c9230c270be46c45a503108690d5513e2626fc4f4f5d271c831570abeeff51bf27c09ea69459b970a41fb64eb84fc87e +DIST websockets-11.0.3.gh.tar.gz 347652 BLAKE2B b7d796744cb4c7b944e98644dfb9c0e44ba465a6dba71b9e891604f3012b025557dbcd5b7eeae02e71c84350e05b334f99404ddfda814a8984b7a893d3f092f7 SHA512 37a84d7c57da7a3e48870abf992ba96ee454b342610d51c06f7dfc7ee082b7fb51304518c208379c3dbd039eafb1a85444c257fed20b4605a52dc8fc938a4cca DIST websockets-11.0.gh.tar.gz 347307 BLAKE2B b40b8e88375a1e5e0f6ae1c73169703d206800dcec15d858a0360374701b681ec17c457b014a29dc34962ca1f62261a8b8298e34092429864d790dd4a060e8d8 SHA512 367347464d5d721ad65055743df92311e7d98d0391ff437ab8c3224f1c1e4193b5abbdbf1498cd040d9b30251e6bc051e9c1ec54122b87e4c937026e0f6f3b8e diff --git a/dev-python/websockets/websockets-11.0.3.ebuild b/dev-python/websockets/websockets-11.0.3.ebuild new file mode 100644 index 000000000000..2713f2831917 --- /dev/null +++ b/dev-python/websockets/websockets-11.0.3.ebuild @@ -0,0 +1,42 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE=" + https://websockets.readthedocs.io/ + https://github.com/python-websockets/websockets/ + https://pypi.org/project/websockets/ +" +# tests are missing pypi sdist, as of 11.0 +SRC_URI=" + https://github.com/python-websockets/websockets/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +distutils_enable_tests pytest + +src_configure() { + export BUILD_EXTENSION=$(usex native-extensions) +} + +python_test() { + local EPYTEST_DESELECT=( + # very fragile to speed + tests/legacy/test_protocol.py::ServerTests::test_local_close_receive_close_frame_timeout + ) + + epytest tests +} |
