diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-24 09:47:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-24 09:47:15 +0000 |
commit | 4003c614d3c4b320c45ab1f4b817459d4709443b (patch) | |
tree | fcc0c42e92c56abe0ea39b717b2c3b019c335e41 /dev-python | |
parent | 58177544118b9a8393d7501ee5e0e35cd32f2ad4 (diff) |
gentoo auto-resync : 24:02:2023 - 09:47:15
Diffstat (limited to 'dev-python')
29 files changed, 581 insertions, 116 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 6a0e2650f37b..899dbfa04d9c 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 24dd2750240d..14fc0906a3ef 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,10 +3,12 @@ DIST boto3-1.26.74.gh.tar.gz 602525 BLAKE2B 6d9b397864649ecd9b3f46bcee832c57cdce DIST boto3-1.26.75.gh.tar.gz 602878 BLAKE2B 8bce90fd5b6474316922a6da571dfe27a0d5c15743f05c184314d74ae2323635a71d0b7adf02ff7c8ebdea1cfbcb8e730c1d97de96b29fcaa4d178645c760748 SHA512 5d5cbb5e9606aae1a90c5766315c120f799a1cae528b1cc5d052c18b70c276524d9ffb077a662273d30ffa3fff86405c00ec35718bc510505c3fa6f7edc01ad0 DIST boto3-1.26.76.gh.tar.gz 603285 BLAKE2B 1235c9fd21073b9291e581aaf4c298dc498deb1ea51cb66f58a631964c26eb064a4e8ec7b3b0c47f3be166d478101e8edec1f6e77cd162dcc0762bdda19da7b8 SHA512 2fcd0dfca17d86bddde0c752fef1135b8451d1949d4303ffa30f922b389274ca8adf0033dc5459a4964498bf48f15df6b0f58bb90be3351764fd549dbfad9a6d DIST boto3-1.26.77.gh.tar.gz 603958 BLAKE2B 70944ec50e026e0b78dea8294264034882166293d04e78c18d4429429ea2391b61c791776aa0dbadfb181757afffc33c8db11dc07163d201fe7b95ee02bfda85 SHA512 c33bd44a74da211e6019b6bf64bacb00f979e2470366ede0e283146b1be713519f80d3cce4ad80ba1fc74a3dc3fe568a7237ea2ed897a85b45dc2a21e371ef16 +DIST boto3-1.26.78.gh.tar.gz 604792 BLAKE2B d8abfe3d06c30ce9cc26575aeaabfe4f693477ca40a5ee89faf336ef76e4948cec04f4b9aff15ee33f0e75e156483f80a0d437347317350002293ee8f176f56c SHA512 9a11b7c50ec38b36726ee8f286885cb5b8b8239fa2503255bb1ade8dc76b7b7ce5db731ed99db3dcf6e0062adb7903d48fc2aeee02978e5a60b5279a57a29a43 EBUILD boto3-1.26.69.ebuild 1580 BLAKE2B 6c2b0aa540898e7461c165b8cb755ceec1cf0b94ba8cf4e2183bcd3a7a242b1e78f4c9a61bcb0c01230f625735a59ce3cd437098b19620d87c76fa022327af45 SHA512 f792df64912dbb7af89eac9c95518624a26c37387e16b96f46db928912c01ce20503cf8f9685de1b314ca7120e353c5fb26c900962f8c05e2c275b3bcd297555 EBUILD boto3-1.26.74.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 EBUILD boto3-1.26.75.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 EBUILD boto3-1.26.76.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 EBUILD boto3-1.26.77.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 +EBUILD boto3-1.26.78.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 EBUILD boto3-9999.ebuild 1586 BLAKE2B 44b7d2804e4a484ed5fb864ca2c60348f4e4eb2265c1ba946adf27b31052dd9041f148c1ec935af0bdcabc66109ad3b479dac167613c679a2d9e42f689182734 SHA512 bf11d1114aaff8762b6162a7ba94223e2eb180868e8395aafd1f466c48683514a3ae755baac40d7e0e1afb26ab49e14d30f39266382661b01e8f7ec53d71f145 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.26.78.ebuild b/dev-python/boto3/boto3-1.26.78.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.78.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_{10..11} ) + +inherit distutils-r1 multiprocessing + +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" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 9964761ce0c3..3e46179d9b5c 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,10 +3,12 @@ DIST botocore-1.29.74.gh.tar.gz 11153254 BLAKE2B b3d3b75643cd5e3fac54a09e971daa2 DIST botocore-1.29.75.gh.tar.gz 11152953 BLAKE2B 69c9c520f1caa97d931bc535261e14fb07ca1cd8ae5ba8edcb25eceb97c2dc367bf93de7aa19f87c042c69ece36a87efddb5b7495790ab5d6c6ca48bc99f7d2d SHA512 9778771373b675f6d6f0df04311b3b9bc53268a4628e0cb88737e70346a3a18efdca3a6d3325e2b99bcf0054d5486000fb28d3ed64cad181f8df80d2a692f24b DIST botocore-1.29.76.gh.tar.gz 11172494 BLAKE2B 7ed171f64b17920fe6492faa1422a5d82852697e4480c4e1c5536450c2671e57ee763f9b507e9ff5edff85a02553ccd94687095bbf7a4635553a3770f9c26b06 SHA512 0a22fb2629f604ef4bb4c02e6ac5f87986724d484e6d13966dae2800f989f598d82f0904473f4ac6fa2bb9e9a9572c15fb309f9ababdbea334ae8d5d4bd73287 DIST botocore-1.29.77.gh.tar.gz 11175009 BLAKE2B c67571941ee06c6dd25dfad203c86ae9de12ba8ff5948260c58ec1fa934714ce03c22833354acd116e32958d324fe2cbfbd53bb79dc378d0ec8a30a775036403 SHA512 86f377438d652380aea6028162ad2f64ccfc128a2239c99133a0a2818f0d7bb8bdb5e5772a5835e92e4b895a07cb67466124f713aea61f6ab2b4e4ac080a9c65 +DIST botocore-1.29.78.gh.tar.gz 11181688 BLAKE2B 925a286e17a8def701edcfc736203981463b6060ce8a4b8af55167080d3a6ec0ef10d198fa07c0b343ef42946b01c6d3b727f02a51aab667a4f8d7373656bfbe SHA512 a8c80cbc6a2db0de9fc0e1832363025cbcc7a770ac358ae2d1396164836b49f1b985dd5cf10e8c941284c9afb8318d63e3d5fbeec9ef171b147b58ed34a26d2d EBUILD botocore-1.29.69.ebuild 1899 BLAKE2B 94938a1edb8da9279816e2302442deef5adc1edef43deb21369c8dfc62c569eb34d4198cf55dc6acdad0c718eba5ddce0040b6f269e866e6eff95bc36fd41be3 SHA512 a0d875a4dec85116eaae0a20182832dedeb84e6a8946093473b99a1746ed5ff8b49ef7e7a4ad5b70afdfbb1098fabc5ddbbc40b895c2b7e0559e3d10cd02e0bd EBUILD botocore-1.29.74.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a EBUILD botocore-1.29.75.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a EBUILD botocore-1.29.76.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a EBUILD botocore-1.29.77.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a +EBUILD botocore-1.29.78.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a EBUILD botocore-9999.ebuild 1808 BLAKE2B c88307d04e9daf86db23c54e39fb14931a6e60ab83593db191859652e67c90cfac45263f60c0211f81bfa10fe755b9023924713f2855324c929322d557b4ec17 SHA512 16e3144cef752302fa7ad350f5bb86301d41c0223f9ea41ed784083f2475d48efae095d82da95f93f77fadc86dea96b6aad1f1bce96bd926be01ef2d519fe230 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.29.78.ebuild b/dev-python/botocore/botocore-1.29.78.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.78.ebuild @@ -0,0 +1,74 @@ +# 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 multiprocessing + +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}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 75fbd7d8885a..fdca2678a75c 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,6 +1,3 @@ -AUX h5py-3.7.0-types.patch 1285 BLAKE2B 13433f524dadbff797fc1668d0ac2954867d3c9c7e56e7f09137b5f180545981620498ad2504c2523005c73dbd61510475eb0874f2d880926b31632f2d978c27 SHA512 d7abc39ee2b1399b0f656e91944ee471f89d0030eb0378dce68232e70209b609c2cf9e62124e4124cf0c089584865357321dc5a641ccb33dbb27f97ad885ccde -DIST h5py-3.7.0.tar.gz 392355 BLAKE2B efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15 SHA512 c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2 DIST h5py-3.8.0.tar.gz 400774 BLAKE2B 2e48991225170fbb728fa55a68aea795db42c7eae605d123a24a59a8730220ddc98e88dfbff60220ce8c6952ca7fc0c3e33d472acae09864a29bfe11d90fcca1 SHA512 13397f66a9fc735e1143eb9e3dd584280e955adf49de467bf56c1a98952903720480ab8d505921b7e22c16453498625ad93421a64e520f15ea3566472849a8fd -EBUILD h5py-3.7.0.ebuild 1530 BLAKE2B 9ebe99b9f990f8d4771ad6afffe78993c0a8a483c927d35a2b097be870fd4803143f2720df44a5ed1d677922f924a4542e3b64d500314b8947b48a0a46389938 SHA512 8c97aabb14491a3d8d60c19f94634508427878508f2971887db3c62cd42a6d0d96ece36e3f58cc27d53fe8655ef3b895bcc9c9b267950cf537839000ba4d9a15 -EBUILD h5py-3.8.0.ebuild 1476 BLAKE2B 7e4efbc225560fd38bbec95c6fd3ba7ba1d015b23e22006d99e5d425cc7bc5a5968fc5f94b45336888bb7003461db5548f21c4d72cc082c7060a65e2f1c04709 SHA512 8a6b209793140d7b7ecaa44bf772827d23490b9e4f1a0f18831ed3c450a2a73e177cc9dc6949817ac2e2a823ca6bc031b4c5a488ce3314845097e20470060ae2 +EBUILD h5py-3.8.0.ebuild 1429 BLAKE2B e2d971d3271e1ead1d627a093587b7889210c31ab78285c03a3187f06dd55842d36fb04841845f8b3a9d38ed4cca4304be2f9a9ab282eb34a6df6ee31d30ccf5 SHA512 9f01e17a578119d84776f104dadf11ad2eb36b0aa2a750dd8c113f586c2ed632dc1bf0a06131464f3b76f158172c39aca2e73d829a97afdac3f843152c5e736e MISC metadata.xml 1069 BLAKE2B 0f3ef8e7af7f4bb493824427a238588c019c04c28fe8a4b9c0b9af1c986158eb3dae3b7d7937713cc4c87374ef80686603ccdbae2baff5b1150d814ab108d973 SHA512 47a6074e383cc922234ebb9f67aaa5863421eaeb2003444587bb8499b3bf845da93ac8d8d267717bea01300691df10f67c9389248fbe228afe07c17fba3a64f3 diff --git a/dev-python/h5py/files/h5py-3.7.0-types.patch b/dev-python/h5py/files/h5py-3.7.0-types.patch deleted file mode 100644 index 47058879445f..000000000000 --- a/dev-python/h5py/files/h5py-3.7.0-types.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 873077a5b132c4294f0ea6af2eb29d61352c6688 Mon Sep 17 00:00:00 2001 -From: Gyeongjae Choi <def6488@gmail.com> -Date: Fri, 2 Sep 2022 07:54:44 +0000 -Subject: [PATCH] Fix incompatible pointer type - ---- - h5py/_errors.pxd | 2 +- - h5py/_errors.pyx | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/h5py/_errors.pxd b/h5py/_errors.pxd -index 13b299e27..e7791a6bd 100644 ---- a/h5py/_errors.pxd -+++ b/h5py/_errors.pxd -@@ -412,7 +412,7 @@ cdef extern from "hdf5.h": - - herr_t H5Eprint(hid_t estack_id, void *stream) - -- ctypedef herr_t (*H5E_walk_t)(int n, H5E_error_t *err_desc, void* client_data) -+ ctypedef herr_t (*H5E_walk_t)(unsigned int n, const H5E_error_t *err_desc, void* client_data) - herr_t H5Ewalk(hid_t estack_id, H5E_direction_t direction, H5E_walk_t func, void* client_data) - - # --- Functions for managing the HDF5 error callback mechanism --- -diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx -index 612052fb2..ca7b1c48c 100644 ---- a/h5py/_errors.pyx -+++ b/h5py/_errors.pyx -@@ -94,7 +94,7 @@ cdef struct err_data_t: - H5E_error_t err - int n - --cdef herr_t walk_cb(int n, H5E_error_t *desc, void *e) nogil: -+cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil: - - cdef err_data_t *ee = <err_data_t*>e - diff --git a/dev-python/h5py/h5py-3.7.0.ebuild b/dev-python/h5py/h5py-3.7.0.ebuild deleted file mode 100644 index 4bde6fa3be73..000000000000 --- a/dev-python/h5py/h5py-3.7.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Simple Python interface to HDF5 files" -HOMEPAGE=" - https://www.h5py.org/ - https://github.com/h5py/h5py/ - https://pypi.org/project/h5py/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~riscv x86 ~amd64-linux ~x86-linux" -# disable mpi until mpi4py gets python3_8 -#IUSE="examples mpi" -IUSE="examples" - -#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)] -DEPEND=" - sci-libs/hdf5:=[hl(+)] -" -RDEPEND=" - ${DEPEND} - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - test? ( - dev-python/QtPy[testlib,${PYTHON_USEDEP}] - ) -" -# mpi? ( virtual/mpi ) -# mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -#pkg_setup() { -# use mpi && export CC=mpicc -#} - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}"/${P}-types.patch - ) - - # avoid pytest-mpi dep, we do not use mpi anyway - sed -i -e 's:pytest-mpi::' pytest.ini || die - distutils-r1_python_prepare_all - - export H5PY_SETUP_REQUIRES=0 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -m "not mpi" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/h5py/h5py-3.8.0.ebuild b/dev-python/h5py/h5py-3.8.0.ebuild index ba2b73c2383a..c18f019a61ca 100644 --- a/dev-python/h5py/h5py-3.8.0.ebuild +++ b/dev-python/h5py/h5py-3.8.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Simple Python interface to HDF5 files" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/h5py/h5py/ https://pypi.org/project/h5py/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" diff --git a/dev-python/jupyter-server-fileid/Manifest b/dev-python/jupyter-server-fileid/Manifest index cb7990e9804f..dcba50c4b501 100644 --- a/dev-python/jupyter-server-fileid/Manifest +++ b/dev-python/jupyter-server-fileid/Manifest @@ -1,5 +1,7 @@ DIST jupyter_server_fileid-0.6.0.tar.gz 50006 BLAKE2B d7fb42e6640354b58c488cdcc0310051fec3bb7d9318a230c6fc1f75ce4ab4c1d545b3d685e76529156861915457f3025d30aedc575d811f7850db1ed8a978d3 SHA512 96bfc5b7c3d60ca32d7956363aaef5905ae8ac5f8c5a2a520aa86bf5a9b0e89817e89f7587cedfc00ba4a1b97cb63191ed9f62fe9a91a2f3c989f0f3f6dd9f9a DIST jupyter_server_fileid-0.7.0.tar.gz 50918 BLAKE2B 82e8dc6a52047bbd039f571441397a1a5e8b455dadfda108ee06d1c44e4b8e23d851c4ffcec353bbbb226b61184a7f6d238438e26df51c058a3ab3360c2b6dd5 SHA512 2f9dff16599e60e73e890705427953748587375eba46bba416ee9caba38065c058d08fb9aee27a737022a37b2c241fcc205ce185fe0d9e14d7aa0f813f44c73e +DIST jupyter_server_fileid-0.8.0.tar.gz 51420 BLAKE2B 0f927734c45d36f67f61b0f7f32f3e5b42b0d9b9107cc8dc762f6d7e34014c976a5036058170bfb2d95188f0d3994524e3198a721f3cec75eff3b1e031c2a133 SHA512 780c4aaedbf979630792c04fdae1d79f6aab6b11e9cacf06003d4801c64701d64e0417d90a64c544f0dd05461032605812ffabb183396a2bdb8fc6563efff796 EBUILD jupyter-server-fileid-0.6.0-r1.ebuild 793 BLAKE2B e57d86c5452cfefc0cee7a5a49cc2fe7784a44b75a37e828ae077332a7a5ef2d915e04f8edb8af61e257be8d325341e8ba93b4c1deba8fcb25d96f17c77bcbf0 SHA512 ebd102fb7e0152f86bb876a2d50ccb41c8cf36ff69b145c05c04c10f549026e521548a8ee1b406426daaa36aa074fe044983ca314362ffcdbe1b5ea889e05789 EBUILD jupyter-server-fileid-0.7.0.ebuild 793 BLAKE2B e57d86c5452cfefc0cee7a5a49cc2fe7784a44b75a37e828ae077332a7a5ef2d915e04f8edb8af61e257be8d325341e8ba93b4c1deba8fcb25d96f17c77bcbf0 SHA512 ebd102fb7e0152f86bb876a2d50ccb41c8cf36ff69b145c05c04c10f549026e521548a8ee1b406426daaa36aa074fe044983ca314362ffcdbe1b5ea889e05789 +EBUILD jupyter-server-fileid-0.8.0.ebuild 793 BLAKE2B e57d86c5452cfefc0cee7a5a49cc2fe7784a44b75a37e828ae077332a7a5ef2d915e04f8edb8af61e257be8d325341e8ba93b4c1deba8fcb25d96f17c77bcbf0 SHA512 ebd102fb7e0152f86bb876a2d50ccb41c8cf36ff69b145c05c04c10f549026e521548a8ee1b406426daaa36aa074fe044983ca314362ffcdbe1b5ea889e05789 MISC metadata.xml 451 BLAKE2B 501da442ec086270995b029cd90bb3bcdecfe6a0dc7ba0f60d6cf505930d34a56da918e593702bd8597b8ea14f91fb5c23f18a2cf0a6987d8320bfd1391be763 SHA512 379e0af3faff9baa29d49cb8069d87b7024695aa3c6bb4c8f7f063b8046ad806ff775a3deb0d31ba910f57240403f6881f703f2935bb2c63c23d2275d7179208 diff --git a/dev-python/jupyter-server-fileid/jupyter-server-fileid-0.8.0.ebuild b/dev-python/jupyter-server-fileid/jupyter-server-fileid-0.8.0.ebuild new file mode 100644 index 000000000000..158c58539de2 --- /dev/null +++ b/dev-python/jupyter-server-fileid/jupyter-server-fileid-0.8.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An extension that maintains file IDs for documents in a running Jupyter Server" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server_fileid/ + https://pypi.org/project/jupyter-server-fileid/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jupyter_server[${PYTHON_USEDEP}] + ~dev-python/jupyter_events-0.5.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest index 6515a6732ead..90accd2d9adc 100644 --- a/dev-python/makefun/Manifest +++ b/dev-python/makefun/Manifest @@ -1,3 +1,5 @@ DIST makefun-1.15.0.tar.gz 74404 BLAKE2B b35ff14d46d50031ed42a13154c82f3fbe4105179c587dacebc0773a0d0be613e9858d57f497b8d710d7571f55230fc644592e6df67799736b37867feeb09b2e SHA512 067bd6a4176196a3aa4e96b7d460e45479cbd86d1cc611f1716fb8d1cdc17491e56f5676d7a287006ed8b80471dd28f5f48cb2eb8c1893883e3308ed9347fbae +DIST makefun-1.15.1.tar.gz 74521 BLAKE2B e5ea20d64cebadedc63af851fd988f4b5102ea802215e87e23b5f9452bef5356f027f71853658b95caf85b6ff2c5497a8769c8e52b1d2d0c141029e1ee08bcaa SHA512 d5a43283eba61576546dbce7791825607a813658a4ef68ed6d173f8438e08f6a84027a7ce75a748e245f8dd532ca6a9eb1afa0ce795517e77b08f03c29fea034 EBUILD makefun-1.15.0.ebuild 659 BLAKE2B 4d4cf5cb1e6c10211ac2ce8db0eea0360abba5d1aef6c96b876b4f46f2e83c82e673d48a02f00b7f0b02b050b02aa1ec7ad601135cab12f03ff7146bf9b42562 SHA512 ba2a2e1dc65ae139980213ac40abbfeb4327698d67250b3d58767f3e41eb1eaea9aaaf4fc2a3bd980b56ea4a287e0c0d3771f37d46722f8df0ce744d446b4a30 +EBUILD makefun-1.15.1.ebuild 614 BLAKE2B 08106b2f43a2150eeaac1d7b2058c1c712f3a62ccc48bce6ac99d2680ed1b7554caa21b2e115c6da860216d2b14c4c723a6afa4dd4b6c4e39d71a5f9cea1c26d SHA512 b527baffc02b8310167d106338a79e9a6596f4902def3cb94ee32398623cb82ceec00a0a7eb8c0425df3974afedb6e85c9b801cc3b74540c97b324b1d075b412 MISC metadata.xml 401 BLAKE2B 0657deb821edfdf648e5bb0a95255b87df0c090c6e719a5ad94a6d3f6e2e64f36d4093a2bfddb5e8592d3d38741e8d0251c8331133113766ef2fc4caa48e88ad SHA512 cda21fbaa9b62896ba3389cf281ae35bd9a59fb0d0604e61fb3b046061de47a2535d7a98d335b66f44483ae43deadf05abde0a2285902c1c3fab2762b080dbad diff --git a/dev-python/makefun/makefun-1.15.1.ebuild b/dev-python/makefun/makefun-1.15.1.ebuild new file mode 100644 index 000000000000..a509714c5540 --- /dev/null +++ b/dev-python/makefun/makefun-1.15.1.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_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Small library to dynamically create Python functions" +HOMEPAGE=" + https://pypi.org/project/makefun/ + https://github.com/smarie/python-makefun/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/pytest-runner/d' -i setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 79281fbc9144..d28b0ebc49af 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -2,7 +2,9 @@ AUX mkdocs-material-8.5.7-simplify-build.patch 529 BLAKE2B 60a246940983ca713b370 DIST mkdocs-material-9.0.10.gh.tar.gz 10933071 BLAKE2B 702db94a8c91a856ffcf30402fe9a913ebb9f76ab1cf92afd83ee75733a233366e039ab08d376b543112b892dd7641c164f87b641938c6974a9205e80d249b7b SHA512 33c11dec5e90055ce773686b3301313f2744bb190078019973bde84a7530aeb3dd8de08946f0aa1a64aa7b100055a99aaa716f96d4a862638a7134ffa120d56e DIST mkdocs-material-9.0.12.gh.tar.gz 10929135 BLAKE2B 2b8468790c38e40a35b7fd4ff324cde485c1a7f7bc5c748b52b21b34deaca62f397ec056717107dc50024315b9740dc0b9dcce9921fd84c0cda5f9de55068553 SHA512 fd52632e2eb2225d32ac13a48eb0bab8f694644e8369a90ee85902549405b13b2308102ffe6bcb631d4847c7f1b345637d5b86470454eea52487a7b92dd14ab1 DIST mkdocs-material-9.0.13.gh.tar.gz 10930459 BLAKE2B d3d4b25e2e2b524caa70a47c2cd51cd2c06921beccecb8f76c67f177a72568698056151fb20ee5141df0d6cdeee75192d7a7fc4dc85511501f4d2c8dfe5a3e1c SHA512 cc2abaab0727376ff3b3f3d3099c57f601243520c644dcc48b0c6d671ae543a8b65e8161fa8e4d1199671652a54e14969a7c2470985b0570e63763cf88d63704 +DIST mkdocs-material-9.0.14.gh.tar.gz 10932657 BLAKE2B a43fe024bd4c285801c10a3a45b0e601bc5c338fde51408db8c23cdf84455b606461fffda86d8bcb53374102a32a5efe315467305842a5e9fc5859db26b06b0e SHA512 9821fc1ce6e1b74b920b7c928c9ceb00d8f7489939c58d12c9a7c238ca75b619a23bffe0eccb7653d5303eaf6281e2fbd81392b19ff8f4c1431754544a432297 EBUILD mkdocs-material-9.0.10.ebuild 1271 BLAKE2B c8860ec31923f275d1ddeeba10aed7d651ebdb4a6131d701dbf43aea3dc99064e48e0c0ddbd38b75eedd5257964da0428b5736e919c70d44ee8228791810876e SHA512 74efdd9f73927fc38bb2ba3181fd8bbd595129292a03c3fc4e8b75694c92d7c46e8ca99f715d8a9a9445cf0815bcf1e2fdf88f317480acf27b3eb61f617089a8 EBUILD mkdocs-material-9.0.12.ebuild 1273 BLAKE2B 00962df71a81ba3e3d705e3757e7789e782f78dbbd1b9d7f8ca0a365926970106672cfdb98c8e56d96fc9cb9beca599b5ed80685a76b738540f7e7661cc9c206 SHA512 90faf451432bf546477e0d0a25e2c31f47d78a5bf3e76e8b954fa4169f5bd3097448b086222ba5086204dd6177e091b402837f953f7c989f868a733fe07a0e04 EBUILD mkdocs-material-9.0.13.ebuild 1273 BLAKE2B 00962df71a81ba3e3d705e3757e7789e782f78dbbd1b9d7f8ca0a365926970106672cfdb98c8e56d96fc9cb9beca599b5ed80685a76b738540f7e7661cc9c206 SHA512 90faf451432bf546477e0d0a25e2c31f47d78a5bf3e76e8b954fa4169f5bd3097448b086222ba5086204dd6177e091b402837f953f7c989f868a733fe07a0e04 +EBUILD mkdocs-material-9.0.14.ebuild 1273 BLAKE2B 00962df71a81ba3e3d705e3757e7789e782f78dbbd1b9d7f8ca0a365926970106672cfdb98c8e56d96fc9cb9beca599b5ed80685a76b738540f7e7661cc9c206 SHA512 90faf451432bf546477e0d0a25e2c31f47d78a5bf3e76e8b954fa4169f5bd3097448b086222ba5086204dd6177e091b402837f953f7c989f868a733fe07a0e04 MISC metadata.xml 1037 BLAKE2B 6997d0f85e31152c58092081b697d8934c54f933e188082eb55e5e9f252f57274f673e1d8e5b657907da2d1658f969cd67bdb32bdc05324746f211b718f3a4b2 SHA512 ccd4f4aa6e6e780d0aff5894b260eedb602d29cc25427c202561525d27de4a31d1e13f59267d8d732d0e12f3ca0485996bca6ef2a114e96b030259899e8ad47c diff --git a/dev-python/mkdocs-material/mkdocs-material-9.0.14.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.0.14.ebuild new file mode 100644 index 000000000000..ae30183c31b4 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.0.14.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" + +RDEPEND=" + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-9.9.1[${PYTHON_USEDEP}] +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.1.0[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest index abcaa5e7fc28..d0d8dcc3c69f 100644 --- a/dev-python/node-semver/Manifest +++ b/dev-python/node-semver/Manifest @@ -1,3 +1,5 @@ DIST python-node-semver-0.8.1.gh.tar.gz 18550 BLAKE2B fd033b22595c4173ab33ea456f561f158dc7db4ef03a83948d5c4eacf33f2530d03f881d28073eb3d84790f306574ceba7fd5eec8ea5c50f9dafc74a0cc11003 SHA512 5a988755ed97aa1ba9b97595738200821787c2cc71f40198cffdc22c4b823fe132668946ecc3f0fb66d6c33fe0ec7bdcfa9c9794e3d382b38f8551d15d4af5e6 +DIST python-node-semver-0.9.0.gh.tar.gz 19547 BLAKE2B 6558468a38aa11943429919c29d00e5512fd74587a5e9b53a9f7704acb60877919331329cb42b53812918eb3264f2bcd08838d566cbf9476b8aa9a47f745cd74 SHA512 1ac32e271cf2b574ffbdf3c37aa5a13493ab03dbaa539b50614e9f91adea1078e0bee0451ae400b456e83de0493942ea209d7dd9aec4ab90a3e9753ba1c80082 EBUILD node-semver-0.8.1.ebuild 730 BLAKE2B a2086f6a79429b4a05fdebaa825ded61e634d9ee4f17cb2f2dc625ffce52d53553eee83f417b975073b5c52918f64feab5b7e7d6181729c1dd7440da94764ef3 SHA512 19ce900d4e4e14d730502eeef108c3c2f0cbc36984c345d6fb872de671c4b15203ed36ed9353492c756aebb17e63c881f5fdfdee152eaf2b3563c0bbfafaeee8 +EBUILD node-semver-0.9.0.ebuild 730 BLAKE2B a2086f6a79429b4a05fdebaa825ded61e634d9ee4f17cb2f2dc625ffce52d53553eee83f417b975073b5c52918f64feab5b7e7d6181729c1dd7440da94764ef3 SHA512 19ce900d4e4e14d730502eeef108c3c2f0cbc36984c345d6fb872de671c4b15203ed36ed9353492c756aebb17e63c881f5fdfdee152eaf2b3563c0bbfafaeee8 MISC metadata.xml 643 BLAKE2B efe8878eb7a0603425c025505175af4559d00025b5cba44eef12b04eb27abf2dc7222056e886866c138f4993f7e9ae4913d70d0b49a4a605351e1a6a25c8c92c SHA512 2b34dc85f8a453bd6c15fcb72c3a1ca124cdb38c64fb5999cf57669a73d8ef64df3dc8eecde3d6532b38f1e0ebf4b35b8866ef8a842cfdd6db4738586bd1e3ec diff --git a/dev-python/node-semver/node-semver-0.9.0.ebuild b/dev-python/node-semver/node-semver-0.9.0.ebuild new file mode 100644 index 000000000000..eae865fa5850 --- /dev/null +++ b/dev-python/node-semver/node-semver-0.9.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Python version of node-semver, the semantic versioner for npm" +HOMEPAGE=" + https://pypi.org/project/node-semver/ + https://github.com/podhmo/python-node-semver/ + https://github.com/npm/node-semver/ +" +SRC_URI=" + https://github.com/podhmo/python-node-semver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest index 1dfe50ff5bc5..53239c853670 100644 --- a/dev-python/polib/Manifest +++ b/dev-python/polib/Manifest @@ -1,4 +1,6 @@ AUX polib-1.0.7-BE-test.patch 545 BLAKE2B 800372796d19d98f47dff73ed593dcbe8a60d55b654258ea5063b702fc3761906754096bc2f4703621378a56ef9589ff5a4c1d7aa6bcef368e293bad9e8b869f SHA512 0b62dadaa7983657901463770a5e7abc41361094c7dba41618881d7328378b989c10b3458c667f15134ad92d0bfebd785f475e1ba040ea11da70352bd8a2cc2c DIST polib-1.1.1.tar.gz 154644 BLAKE2B 3dfbaf2fa73d286a60a1fff3e50d8703cf62917b7da0c8b783aaec49b8dcfb927b03b0fe0b411b5f90c2ac89298ea027beb2f0d00ad582a65628d8351397ddab SHA512 38de5fbdbc9ef879a4d55b9fe4f86a3aca3fb90dbb671745bd2b126be443598b8b18fe53afd116c3a4d3efc7a42b5ed05d75569bb5b2ef0bd2ced6e13eda95ad +DIST polib-1.2.0.tar.gz 161658 BLAKE2B 8f53d829ac7a2e59676fa7b548645eed26fbd5a2c6e966093145b43bc492ba05ef715e4ddb95f35f8c965890e24c80b7e19d58c6d75d26c4cef141fb15a7d79e SHA512 b325730cd4df6c881ffcab72da1796eb2949243f6060c650209e1c6584e5344ecaede870f22ece00f5c74bcd289fa5d2aa5223b88cb78de0dff5f9e41759096e EBUILD polib-1.1.1.ebuild 657 BLAKE2B 99a922af39f6f3f5a8cb88d8d5e6b7d9cc73cec427576414904ac5a0b2762aa49fd649042d98d70bb45dfc98840a190ca6cbc259514013e712559b2aa2b3edb3 SHA512 3595ddf722df58ef98d49a485665f7c83d9011212d568c33539edd0adad068280fa76cb31e499709668a2b3caad65ffc951a5fd8fd05a8e486abd8a3646945d5 +EBUILD polib-1.2.0.ebuild 687 BLAKE2B 5aa388828f0769ff48aebf92d5ac21efc98572bfd91fb61bd6df8896ef8ff4e0aba7bd314daf7e8a7df3225ca0fba164cb50a831ee56425508957cd0227c4863 SHA512 c1823b019bb9cd692868c68e574b076370b8af78b8f9ff939c2e5af90216185465861480ee1c879ee182950da7345bec773d1be6a54bbafc38649ca88ebb6fff MISC metadata.xml 387 BLAKE2B 52efaa4e504721043d48bbec1b86dcefd99b96351222a90c8f91288c177980e0ce451cc7e4b48345bce69f92c34edf2487a3324f307263d9da1603ccf49da846 SHA512 e19b1b268bea67dc6882b698ce03a3a3c9795e361ab94a77d774bb026793df6cb2868a465de79ab3491c2aa7b7b162b169d695ec9859f19d1fea58a8a5e5f478 diff --git a/dev-python/polib/polib-1.2.0.ebuild b/dev-python/polib/polib-1.2.0.ebuild new file mode 100644 index 000000000000..1bc25e6957ea --- /dev/null +++ b/dev-python/polib/polib-1.2.0.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_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A library to manipulate gettext files (.po and .mo files)" +HOMEPAGE=" + https://github.com/izimobil/polib/ + https://pypi.org/project/polib/ + https://polib.readthedocs.io/en/latest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +distutils_enable_sphinx docs + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.7-BE-test.patch +) + +python_test() { + "${EPYTHON}" tests/tests.py -v || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/pylint-venv/Manifest b/dev-python/pylint-venv/Manifest index 3a3f3f632d0f..571df0b22360 100644 --- a/dev-python/pylint-venv/Manifest +++ b/dev-python/pylint-venv/Manifest @@ -1,5 +1,7 @@ DIST pylint-venv-2.3.0.gh.tar.gz 4967 BLAKE2B 7095848b28f1128d44164fecbd1fd1c3694140d8b3818fefcab92aa5a4083608dfc36c96a6c30b117a8592bea0de9b92a537c33f8db4ce8c1285a575d1aa2131 SHA512 c3f9294a137cc6369984cf714196ee0a248471990f2c6e691da86f3048126b99775cc8e9c516c72bd8746d0d814a52387eca165c5f1960aa418ec5abb13a3bed DIST pylint-venv-3.0.0.gh.tar.gz 14757 BLAKE2B 807b0e6eb7fee32d592fc215a6c4018003078f66c3500ffb9e9769e98e2226554433f2ae33f6480ae4240e8e96b932df23f8ddc3b3dab5bdd54cff3509f9ba48 SHA512 d239919a42f5107de255cc8de0737bbf57798f949f6845cad13da2fa30ded05ad07319b6294d19fe866ea0d533b3a30ba0f064a9c1091ac39ace6d9998f0f5df +DIST pylint-venv-3.0.1.gh.tar.gz 14901 BLAKE2B e41a0782fe1bdf83b0019c035cb80416838b71924a1574189aa8936a22fce689523984a277305beba49559d0bcdbde9c8b4ac6a9cb12e1a3853a9a3f287a7a57 SHA512 7b6e7be85dd5552c99d620550e602eb908fccb1ef0982e1734276e14f882261ad7c13309ac796e657865544484a275016981e9b75ef31d17d4c01454b7e091a8 EBUILD pylint-venv-2.3.0.ebuild 567 BLAKE2B 4eb68ff151974107b70067b2e1cf25bdf9955c75eef278ac7a6ed2661e9ed3a501899570fe9aa6d42d9a563049270af09d47ab2cc29599b5a63b15ed516641c5 SHA512 dde267ef4ffa3365c148b7b5fc5b9e348c7f832db5699ed31ec2b0895014ccb6d5a1cd6bccd6ded12a46598ee89b7d331cee02011e675c2c26a9534af50b70ad EBUILD pylint-venv-3.0.0.ebuild 1009 BLAKE2B 9c4bc6d0ed40027369b0abe689b06d463cd4164cf27c063e7f36e358314837ad0fe1751a306c96d5df7c7716fae45fbc68ee683be4fd5bd493a76830b924ff11 SHA512 1f062f83663546cebfe5faca1d2c573e2b57ffdccd83dd69927dfd37ee71f51fd288c6df4e5db79cb661819b2cce5b1ee3c20b2f8d0c278191731b77268e34b7 +EBUILD pylint-venv-3.0.1.ebuild 917 BLAKE2B f443a4e7e6841de84b0d5332f1c840efbf81654ffa46374eb7ff3a2384b1add349187e610fcbbf9fa12c0af7b5e58b8300e1f35343d4dec84116149e35b7de80 SHA512 992bc66055bd4f1ee4e959ed48f54073b3d180c80553a784353e517fc17692722780591fb747e832a7782dc6b343d24fc7683c30223f28ab9dbec8d391f6ed8c MISC metadata.xml 412 BLAKE2B 8dc1e28ad5e2b21a9483906e776a96d598e294fbc4dbf669ecea9357055b1a7439e0046353ab39b3c2bfaab7924f43a89c309db735e44a00838dd1bed2f5c088 SHA512 4e7963aa4cdcc168bd4755f21cb58cb084c185e1c71ef9fdfe168feb1ec65fc4848c99801e449f253e420b9e34d49aab396d2e02bb60a7cbd3733dd2a899c6cd diff --git a/dev-python/pylint-venv/pylint-venv-3.0.1.ebuild b/dev-python/pylint-venv/pylint-venv-3.0.1.ebuild new file mode 100644 index 000000000000..b1d01e98259b --- /dev/null +++ b/dev-python/pylint-venv/pylint-venv-3.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Init-hook to use the same Pylint with different virtual environments" +HOMEPAGE=" + https://pypi.org/project/pylint-venv/ + https://github.com/jgosmann/pylint-venv/ +" +SRC_URI=" + https://github.com/jgosmann/pylint-venv/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/pylint-2.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pylint-2.14.0[${PYTHON_USEDEP}] + ) +" + +python_test() { + # we need to set PYTHONPATH explicitly since the test runs installed + # pylint (i.e. starts outside the test venv) + local -x PYTHONPATH=${S}:${PYTHONPATH} + bash test/test.sh || die "Test failed with ${EPYTHON}" +} diff --git a/dev-python/pytest-param-files/Manifest b/dev-python/pytest-param-files/Manifest index a3b1126f14c1..d71d02d8658e 100644 --- a/dev-python/pytest-param-files/Manifest +++ b/dev-python/pytest-param-files/Manifest @@ -1,3 +1,5 @@ DIST pytest-param-files-0.3.4.gh.tar.gz 6882 BLAKE2B e2e96bd2cf7b8676f92eeb7821ef76f1f82bb066210170ed4d04a16a7fb3ce346bcd63688ef9d46118c03fd74812fd821fff0414565befb8c558d03d15af2945 SHA512 2df6fe798aab743fdbf892b88ee1d09c554119429167e85bccb87e4ae9d487f8ab5a66c4157827500e8a5d2930277c7490348f6c38f23243e421d5449bde2df5 +DIST pytest-param-files-0.3.5.gh.tar.gz 7245 BLAKE2B 2a67c5ee30d6efb6b7ca7e3272c19c05dda460167cb1709693560ffe06b0ae39ae1b93fc5d6375f4e9cda21e3e02051424789afee55d201cfe070be8a05642ec SHA512 e80eddba2934fe5a6b68645cae243afa936ea3362a29d0b8a8ae4e11229ffb877f1ace9f41ac96d182d5787740fa76af8b106069feb95a7cab1ecc6f8d1088f9 EBUILD pytest-param-files-0.3.4.ebuild 674 BLAKE2B 6c10eac3ffef597a424c9d16346ddc8c5a4861715176f8683441e805e2b3ee23eab7677a7688a1fca2b07200b25bb5217baa41e1956c45ddd0fdb11f5f8fbe56 SHA512 e2fa76b6c6b70d9d57ed8a4d30db91f4a5bb5711093526e38872dbe73f8bbe670dbc394de43a867d41c0fec94a3f4691569465fc04647bdeb75f80549079a8b0 +EBUILD pytest-param-files-0.3.5.ebuild 682 BLAKE2B daeb40e38dbdeeeeee2c2e7a15983e622f5e8211294b6273e58f116d8358f6dc642cd30e5aee4326f2c23dd98319df9a66812b3c605c4f0f5bb8cc9532850439 SHA512 0988bf43642fc1a854beec3b3dd07773d78d7190182addcb4af1a3c60d740d537e7ef1c1fbd12a8e2221dc0211cb7f1ec71e3268bbdd0658bbeafc7f5130672d MISC metadata.xml 417 BLAKE2B 94bde89ae7cf0181aba1215f8a406889a4473736c37cc325c57635f590f72369402e54f8e54f0b528c9757229b4fdf8608b292a15cc6fa83a997aeb53a64b4ea SHA512 f5b341a0619f750edc6e3f22fc3cfb0c5204d2ce19a756df0f5b282f97fe133f8891105c48b532711bba826ef4cca935eeed4fbb0703da5213cbc3074b7229c2 diff --git a/dev-python/pytest-param-files/pytest-param-files-0.3.5.ebuild b/dev-python/pytest-param-files/pytest-param-files-0.3.5.ebuild new file mode 100644 index 000000000000..06df570c3e27 --- /dev/null +++ b/dev-python/pytest-param-files/pytest-param-files-0.3.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pytest parametrize decorators from external files." +HOMEPAGE=" + https://github.com/chrisjsewell/pytest-param-files/ + https://pypi.org/project/pytest_param_files/ +" +SRC_URI=" + https://github.com/chrisjsewell/pytest-param-files/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 6fdd2500502c..329eabfac080 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,7 +1,9 @@ DIST trimesh-3.18.1.gh.tar.gz 12657109 BLAKE2B 8e5370193e7d47f1dc2d7d43c356df1a56c2b4b8af6f47ac6aa889b04a3b950ec507b5cc0fe6f99f874cf66111aa72773025ba3821013466bb34baced3a361ca SHA512 72936c0fc6f89ffa35b80928dc5abac8ca4fac023f5be1d4adec6d020f3da6ee2c7a97efb0cecf58faad94ef6f33949533ac789affcecee07696ca0188fd47f0 DIST trimesh-3.19.4.gh.tar.gz 12673418 BLAKE2B c54e0e1a946b858371d5de2f028bbc64a353a06859f428d6e221058a46e853bb7f245d7348b1cc7fbbdb930ba9600e24a39c2884a9acfa00b9d31d6576b87959 SHA512 b490e6d021a41c0a094c5e3596033a189d08310c04a2ce70c9b72d492e1cad1b5c9f110487c66d0a37eed97754e979c7b449d10a6a6abdbd81241099c248d5cf DIST trimesh-3.20.0.gh.tar.gz 12678960 BLAKE2B f99ff3d7fd1a84e1ce9b6d1d67b38216aa8b3e3250096f2ac7c4585fffe0a4e565c093bf30bd98bf46daa910c80266edd12dbd43c5a2aef8a7d66c75b08972cb SHA512 82eb81d8b43880d1205c31ddcc085735cfc0bf64eb4918fd539fe5b476c107f484ff1b969d6f8bdb0ac2486d201ba1ff4316b84311afc38853ffbe8f13d0fb9b +DIST trimesh-3.20.1.gh.tar.gz 12681880 BLAKE2B 138c10b4e57971e155770f4d398e364a6c4e827d564bb6be608e93c4ba17bd3a06c313e73308069635143d974c945a9231785102bc14c024382675f66675b9eb SHA512 09c048e3a22abecafb8f163ab8273565f244ba232cc988673bce09efbc8696ba92aa53ec57bff41fe90605b032ef147889331de38580948ee04333dbfc608635 EBUILD trimesh-3.18.1.ebuild 2217 BLAKE2B c230c692f86f17a22476b07c9f53932898002623f262883eaea2bb0fc6eadbf8a13df593aff9fb10081aaed92c6140c70608d92688cd4848b868611d69c6f936 SHA512 720f8b517b3ee4339d66f1e47c787b34fa52036673a458de0ca71ceb5a02dae0f3fe46c3e859d3864891becd88fc7dec69b7e8bd58044737bdef5646ed5832b2 EBUILD trimesh-3.19.4.ebuild 1909 BLAKE2B 41a362d9e7b0b9b69c90846fb7fdaafb8dc2486d74756fdfb96bc144072b46c12fb8fa60793b8bd2260532ea3f180e204ec4e24f84e566e58aaa4df62423f81d SHA512 8baf31739ecdf2a8f173bf001ad2ae40092995f0f5e0c5cc3ccf1b7aca724dc8b16b3a71308edf6121a66a7f6b1fe88ee47278446aa9b94c847a20167b0c0140 EBUILD trimesh-3.20.0.ebuild 1909 BLAKE2B 34fe461b88e583ac9981b590db715562151e7faa2a31bd6596c0455f329f3e7f81c06ca9e994c6a20d1ca75c88003901beca7c77578aa60ef3880a35bb20183e SHA512 253b8d5652d031951198bd51f657984d7c65c8f0e7f9a2a7628905d8c88a761411f04824cd6f09014b3cdc7ba40581f2f100aec3e5dad6fc1fdcabc8c907c7cd +EBUILD trimesh-3.20.1.ebuild 1909 BLAKE2B 34fe461b88e583ac9981b590db715562151e7faa2a31bd6596c0455f329f3e7f81c06ca9e994c6a20d1ca75c88003901beca7c77578aa60ef3880a35bb20183e SHA512 253b8d5652d031951198bd51f657984d7c65c8f0e7f9a2a7628905d8c88a761411f04824cd6f09014b3cdc7ba40581f2f100aec3e5dad6fc1fdcabc8c907c7cd MISC metadata.xml 495 BLAKE2B b8b403f7bfbac53ed234c2ba50324041502a28465d70e9406867f05741e0313845307491fcfd85f05e2993b21daf14117a4b6863b45422fd4c62c6e28902e3ff SHA512 3deec8ab4b513536a7fe182be8f1b96e06fd06b2480d3e516c2b3462cc26fcbdeb1d165b4d0297465e93c0cce584ab40a8f905b81a59dcb4040a39655028783d diff --git a/dev-python/trimesh/trimesh-3.20.1.ebuild b/dev-python/trimesh/trimesh-3.20.1.ebuild new file mode 100644 index 000000000000..842ffb868e16 --- /dev/null +++ b/dev-python/trimesh/trimesh-3.20.1.ebuild @@ -0,0 +1,66 @@ +# 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_{9..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/msgpack[${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/watchdog/Manifest b/dev-python/watchdog/Manifest index c0a1eac01890..9d8422495ab6 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,3 +1,5 @@ DIST watchdog-2.2.1.gh.tar.gz 101485 BLAKE2B 4ec0a2c14d0dcb8d39ed4dea48c1318474768298b4eade4f7c08f811282ffdbf5871c7d55d71681863c38d1f0603c46aaadda73bf38a20ef263fa3b4cf76c354 SHA512 bbd6e3e3fdc7ee5df21b78241922c0050aeb0c01e394fa7d025465f04f3307d190af4cf6e822826975a3b095fb479dfd103be0675f12782e8899f556797baed4 +DIST watchdog-2.3.0.gh.tar.gz 103265 BLAKE2B 0817b64e6fc4b31b922f2f73091cc39f702605fa31041a75312635e5500dfeeeab749f0bfd95f3e27900be8f017c4a1b0c07aab40989a9000d1970a2b1e06c1f SHA512 733d408e74a81ce834075472d7488e8d767f80ef92a2a13cc986c1f5d879b0353f0cb85c1996168ae6b8b82d135bcb26c6c18b51a01a8d75915bdec94acd607d EBUILD watchdog-2.2.1.ebuild 1094 BLAKE2B c6b0299e9f82284b5baf1319046a21f8887683b97a234897a90424e1c7d5d69676a00b5781d1bc0fb5dd744e223819e8ae5f873b9a92fe6345244e83750ec1cc SHA512 fcd84240f27468fd63fa6f187cf6d45eb5fbd1515b94942073540cc412c25c8382dacfeec8046915ba1fa9ccfd2073ffae809c87e5da07087671812c5655b70c +EBUILD watchdog-2.3.0.ebuild 1102 BLAKE2B a0736eca26c3af4949387b94d9d03206c4bdef58865343ecd94cc90236590d109eec2671098148a6d638b2175565229d3db1e4daf5defa5ec7e0b4b8169a71bb SHA512 a8281d35542ed64b1141597213e117f6a564a48552d56015295fcb7016a2fa359c8bbd99100a04a190530f8d3719eb81d8139a2dd401dc66df26806e9b83c2e7 MISC metadata.xml 463 BLAKE2B d4f4a77cbba45384d34ac533c223e6640f75460ebfa46ae029a57297ab1a8711f8c10bcd0c11926651bd61d5a2ae98e316ebe40c6011de06f8ee46ad5fcab5b2 SHA512 5eaf8c60e47afa3933115e23cec07340d8cb708c9c9568cf943030db2ed7e05771f51369d6d7d8e21ab598dc872af275784939a243a37abb1e3661b41f479721 diff --git a/dev-python/watchdog/watchdog-2.3.0.ebuild b/dev-python/watchdog/watchdog-2.3.0.ebuild new file mode 100644 index 000000000000..10eca6827871 --- /dev/null +++ b/dev-python/watchdog/watchdog-2.3.0.ebuild @@ -0,0 +1,52 @@ +# 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_{9..11} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python API and shell utilities to monitor file system events" +HOMEPAGE=" + https://github.com/gorakhargosh/watchdog/ + https://pypi.org/project/watchdog/ +" +SRC_URI=" + https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/--cov/d' setup.cfg || die + default +} + +python_test() { + local EPYTEST_DESELECT=( + # requires root powers via sudo (yes, seriously) + tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem + ) + + epytest -p no:django +} + +pkg_postinst() { + optfeature "Bash completion" dev-python/argcomplete +} diff --git a/dev-python/zc-lockfile/Manifest b/dev-python/zc-lockfile/Manifest index 64a6a27cd45c..dc7f7f847cac 100644 --- a/dev-python/zc-lockfile/Manifest +++ b/dev-python/zc-lockfile/Manifest @@ -1,3 +1,5 @@ DIST zc.lockfile-2.0.tar.gz 11923 BLAKE2B 7609f64eef4521f0aa95dc899b253570a317bd997cced00665a2dbe22cf7f834ce75daaf4fdf79520157dee31742758aad1844d49c5eccb780e7d5fd2e8e5ac5 SHA512 2586bafacb12540383695a24cb01fd284e61bfa3fcb16431ed0e91278e547c68983363fb69c1ffbd54f7c22db43300ba018ccd2fb3e21666c98860415b7a3c3b +DIST zc.lockfile-3.0.tar.gz 10043 BLAKE2B 9435f9999f976e6bfd6302b3d24960e21992f54755c6dadd9f0392254ff89b474039d7502c81c9667b4bb741300ced33bca35634f8990840809692cb025cb7f5 SHA512 65662d03933b0e295d69971a74a1d1ddf67086287bd98752d6d23d793130b0c612413c0dba365f7fa2213a5ef0981fc20bccbde304dc36a4092ad1f702ee9429 EBUILD zc-lockfile-2.0-r1.ebuild 1098 BLAKE2B ecb9cb1eb75e0241c6a7b441c58757d01e25072943a12e66174d75879bda410b4190d287e5b44d55cbfcc9f94f989e6cb4b77a4657707e506f4fa4b9129dae90 SHA512 37a3eab995ae4cbb5061ca3d5decbf152815bf878c4e54c515a4b2d94d07a6f425c4ec2660b77c387a2fd7a07433d98a2d1bf500cce83c32cea7bdeb3ab46f91 +EBUILD zc-lockfile-3.0.ebuild 1086 BLAKE2B b71b61031d645a05490b81aaee609fb70504cfeb7acb9b8ce6f863e00b3cbb4f1b29fc60ea2b2dbd66382e6c74226753836bf46d54add5c94a170b22d3bbaf65 SHA512 d070f29fe9cb87feb50bcc850969805733da16cc8e788f9d0b912a356f062032fc7d5ab9893c93caafadbf59009d4a70a5693312cd45c41f77df0a81649c6071 MISC metadata.xml 424 BLAKE2B 91d244951c549a683899bf54f792936273ff3e444def80249e6baeb9e3dfb810cd35fd822cec023574994dc06ce3168061832b31f489df3e0ee7c8303e80d4c8 SHA512 cb88901bf9146f663211ad373b2cd83ffe35ef7c30b87a13336143e0543f5f2aa38651079f92be17b05edf5f156bf4823cb58b1b69df6282c35a0007356098ea diff --git a/dev-python/zc-lockfile/zc-lockfile-3.0.ebuild b/dev-python/zc-lockfile/zc-lockfile-3.0.ebuild new file mode 100644 index 000000000000..64fb974fd65c --- /dev/null +++ b/dev-python/zc-lockfile/zc-lockfile-3.0.ebuild @@ -0,0 +1,46 @@ +# 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_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Basic inter-process locks" +HOMEPAGE=" + https://github.com/zopefoundation/zc.lockfile/ + https://pypi.org/project/zc.lockfile/ +" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.rst ) + +distutils_enable_tests unittest + +python_prepare_all() { + # rdep is only needed for namespace + sed -i -e '/install_requires.*setuptools/d' setup.py || die + # use implicit namespace + sed -i -e '/namespace_packages/d' setup.py || die + # do not install README into site-packages + sed -e '/^ include_package_data/d' -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" -m unittest zc.lockfile.tests -v || die +} |