diff options
Diffstat (limited to 'dev-python')
25 files changed, 479 insertions, 1 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex ee09259329d5..49013d9284b7 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/OutputCheck/Manifest b/dev-python/OutputCheck/Manifest new file mode 100644 index 000000000000..7c34a5090540 --- /dev/null +++ b/dev-python/OutputCheck/Manifest @@ -0,0 +1,3 @@ +DIST OutputCheck-0.4.2.gh.tar.gz 16436 BLAKE2B 8c1678746b9fc11cf7b554da83a2e5a51c7095931894a543340e905ccff1e7240f1bb8ec12d348af9662ce7e515d70d6e8a93d1e6ab15629545aa5019a7fe648 SHA512 0abd1ca69c4ef683cc455c222979b313ed8b4906725cc534b80906cc4fb9a0acad855d4a6c39aa4777bbdc35309857082197a0cacdc191e4afb8a8a9a4bb2bed +EBUILD OutputCheck-0.4.2.ebuild 904 BLAKE2B 7bbfc363a39c343abb7a06582668aa2ff7474bc67713f9aeeed195d87e5e5b321a8f96ab32c364f066a58f882891b0217c9ee4e84286f116c5c4fb65894de4a9 SHA512 2b2c5e8dc63eb17a0da8d803bd1186dea4cbdce9f903bfedbd245c70add408d7c67843ae97935fd9309d75299365d4eeb97ec9d206dca6d892d32d524fc04609 +MISC metadata.xml 792 BLAKE2B 0359b2057a0d04dfc5e6ac79036ed5456d6c54f94d040a67bdc6cea4d644a70e53c99e40d3030e65c64441ff4c2841a3cc7a5291352bcebba36b52b70e76ca74 SHA512 77ecfb6ca26cbaffaad7a36b321d2983c67b9d2b7ec83a90e9cf926d6819f8b4e256f65af5ebc166db0f91e7e9a05ca135bfdef7274706faa665f14505308cd4 diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild new file mode 100644 index 000000000000..d1ec3ff584ba --- /dev/null +++ b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A tool for checking the output of console programs inspired by LLVM's FileCheck" +HOMEPAGE="https://github.com/stp/OutputCheck/" +SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-python/lit[${PYTHON_USEDEP}] )" + +src_prepare() { + distutils-r1_src_prepare + + # Remove bad tests. + rm "${S}"/tests/invalid-regex-syntax.smt2 || + die "failed to remove bad tests" + + # Create RELEASE-VERSION file. + echo ${PV} > "${S}"/RELEASE-VERSION || + die "failed to write RELEASE-VERSION" +} + +python_test() { + lit "${S}"/tests || die "running test with ${EPYTHON} failed" +} diff --git a/dev-python/OutputCheck/metadata.xml b/dev-python/OutputCheck/metadata.xml new file mode 100644 index 000000000000..536c2285d052 --- /dev/null +++ b/dev-python/OutputCheck/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <longdescription> + OutputCheck is a tool for checking the output of console programs that is + inspired by the FileCheck tool used by LLVM. It has its own small language + (Check Directives) for describing the expected output of a tool that is + considerably more convenient and more powerful than GNU grep. + </longdescription> + <upstream> + <bugs-to>https://github.com/stp/OutputCheck/issues/</bugs-to> + <remote-id type="github">stp/OutputCheck</remote-id> + <remote-id type="pypi">OutputCheck</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/backoff/Manifest b/dev-python/backoff/Manifest index 3631c6717173..ac3fe684c00c 100644 --- a/dev-python/backoff/Manifest +++ b/dev-python/backoff/Manifest @@ -1,3 +1,5 @@ DIST backoff-2.1.2.gh.tar.gz 19622 BLAKE2B 937dbdcf1bad5d3c68703aa08bfec46176a6021afb70d52b71bb52e744881832d9010e3db70112ec40beaf26155a9140fafb5b726b80f8fe1078d69ca011378e SHA512 e0a81def797007a342ca37af6657e6b8a0861a41cb4c78b325e8cbf58e93df3ff900763833c5d5ff97fb9d2e83521ef4f8652ac49bcc6cfb6c0fd92e44356996 +DIST backoff-2.2.1.gh.tar.gz 20194 BLAKE2B a137ad67574b20535d5c29fad5781d0f7baaeeead23a5c8ccc3f1c48a952bf4436e75753e329861fb20bdc6fbe2b5e6d75b30d0fdca9908edfa540a593b3b353 SHA512 ed98c50d544d4ac3214b03005e5d183b0aeefd568c89769b59115ecc67ba7f7ea29a58e6ebf8488026a95ff2a1155e798782b04bebc9315c6a3682540bb38dff EBUILD backoff-2.1.2.ebuild 673 BLAKE2B f610104a4dbc494b7802b22dedc03a16047b9d6a8b7e835eb242c61bbd87cf8815df472769d801509e77491f430592c29e5e82337d90a8439f08b0868b2b52b3 SHA512 8c6bb90b06b73dbf4907ec59d4a2f3dc82f129b34c59e76223234bcf60d0f57ac142d58568a1df758415d4a271cd68d7b67be8b34189560a7b0052efa4c3921c +EBUILD backoff-2.2.1.ebuild 674 BLAKE2B b869a7444b141e414524d6502d44de6038551ec110706c7b63c3c8f0338621e5f770a93c83f1bede0c837c1b0fea713f95cfb683886dad8faf9552e6e6a0de3f SHA512 cdc7f725187e73dc65fdb06dd781db37fce51319390396bf61d418a8e363d93c19c9ebe07c3d5f7886f478d6f86323cfa7b56aad44d83e341ab7d67659e048db MISC metadata.xml 387 BLAKE2B 4f92bcc32f0e26aa86b9f1968002d6c43a454ca27996158ca2a4b98b467c80d7ed6cd4a23e0807e813ae73ba2cb5ccae5fc8612c4d7292f2d4981374e9ab4f10 SHA512 52f3668afe9b067c240ad5db519b08a3e054e2864233eb6f079d339f704acd73cc66e239308c90eaadff09c630a6788886c978fb622f2e29b081a27c23525489 diff --git a/dev-python/backoff/backoff-2.2.1.ebuild b/dev-python/backoff/backoff-2.2.1.ebuild new file mode 100644 index 000000000000..dd3c03188281 --- /dev/null +++ b/dev-python/backoff/backoff-2.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Function decoration for backoff and retry" +HOMEPAGE=" + https://github.com/litl/backoff/ + https://pypi.org/project/backoff/ +" +SRC_URI=" + https://github.com/litl/backoff/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( README.rst ) + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/bashate/Manifest b/dev-python/bashate/Manifest index 402947f09a3e..0cc653c15451 100644 --- a/dev-python/bashate/Manifest +++ b/dev-python/bashate/Manifest @@ -1,3 +1,5 @@ DIST bashate-2.1.0.tar.gz 34717 BLAKE2B 6d25c9fe35f976f5ef24d580cb7ee5a30eb79f68f05de2b6784b79ec93ae090ecbc2a2a09b0cabd4a6a997adef6ccb73f8f258044b0443fa231a403115591202 SHA512 6ef17da86113195d8dae093fddb7c17a365b4cd7816ef0ebb98ac6cda61f52526092f7da6c39c11fba9d709a124970e18e93e267f7d0fb38190e313208f66e98 +DIST bashate-2.1.1.tar.gz 34875 BLAKE2B 9af27813697be12132f58fa13b4f415ce4991795d3e831e651f24a884438775ecaf938f27120ea0fc990f72d8edc5def8ed4bfbc163ca47fabf10a8e350b0b41 SHA512 093ad491b41b73402d316baba894b5f327f07702641f13ece4beb1578d5dfaccbff1e3e0773a799f1acd84443d5a8606288b7c586d5120bb10adcf4427d6f96c EBUILD bashate-2.1.0-r1.ebuild 579 BLAKE2B 5fd9a07b53cd6940b8a1aa8516b37212d16ad60b6eb80af15ff06d459e93fa97a0d9fbad1224352a3a2bf20289ab10d4f61196cd5eab5343f3c05b03a566b6c1 SHA512 b9f9b3b03ecb06fb08c0b90684d2da1d80b9565cac5071699b2d4a715c0c0a997ec82b432afe9ed17df6355b5b4566e219b3be4e9d4e0cc4ca518e4d8c9049b0 -MISC metadata.xml 557 BLAKE2B fcbe8cb654adf3d748269b79f868dda3f6662fe0d2579ec2450e29e95d6a35ba2df0a470a387cc257c4df6af54420e7145562c739a0122fdf2f3963b300b1ed5 SHA512 204325d2ab7037d0425f2054b60f065fb998ca2757814966755ce106bd6e69f7e4844bd148ff619d6afb138359bb0567317c348debd391cf093bb52e29559a9c +EBUILD bashate-2.1.1.ebuild 581 BLAKE2B 738fe250001241cc064556db88b882d285cc83f7a7de9516b036ae4f296be6801570644fd05ded18be6e768af99490f24120f98cad1a0c82208b3cb8795b431c SHA512 b2a23c548d8337142e4846c107f62b1082a175e84b0508ead5dfd45943bbbe4038ce2f1a72d6d1e762473c5b8bce4f3759c82dfb4169cd5994481fae3a1720ff +MISC metadata.xml 614 BLAKE2B d48b05b8c07bd3cc56d7121723ff87bd397f2a21816c0348e8e0a7789f893dd9f1c3137c7f296f641e3ec2db57d2929a218be93f2d7073fe65c89f9e2ffe1573 SHA512 622dc67c54dc352a5d3e0f193073eea0bded5c62ced58b3f349fc45fd7ca2c592e634035650ba7b3b01fb647518e2f3bb9cf57622c4796210b9d4d81bbd47e85 diff --git a/dev-python/bashate/bashate-2.1.1.ebuild b/dev-python/bashate/bashate-2.1.1.ebuild new file mode 100644 index 000000000000..cd0df55538ec --- /dev/null +++ b/dev-python/bashate/bashate-2.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="A pep8 equivalent for bash scripts" +HOMEPAGE="https://pypi.org/project/bashate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/bashate/metadata.xml b/dev-python/bashate/metadata.xml index cc4ba3e8c117..7c91ab840b47 100644 --- a/dev-python/bashate/metadata.xml +++ b/dev-python/bashate/metadata.xml @@ -16,5 +16,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">bashate</remote-id> + <remote-id type="github">openstack/bashate</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest index 85740f46144e..71f935e1b49e 100644 --- a/dev-python/caldav/Manifest +++ b/dev-python/caldav/Manifest @@ -1,3 +1,5 @@ DIST caldav-0.9.1.gh.tar.gz 105578 BLAKE2B 3581bb0f40daf312b32ff2ef88a31502449e0727f8e6178574c5350fb0312726d62cc9e4be3b9e73b4ee55282a32fcc503da48d49c3e7f0639a96de8197e6f8b SHA512 9171a09aa81bd6ad885aaaa3dac4cb53cb05235b37aa5be72d641b1cd2ee27928213eb95358654e99adfdbf70bea4567977509f972f54b8747162e91c95e1397 +DIST caldav-0.9.2.gh.tar.gz 109877 BLAKE2B a5a4a2b4a75bafbed11e91bab6e8de14863a9a9acea2ac87ac9bb3bb2b4f2bb509bb3e898b6d276af50e2863c97b1686b9dc51a3a641345501a1295b77464791 SHA512 6e325d49d8560220bf6e7c001c7ea11b0a24c0059954be6780db0a3938c48a4931b7615f576f09a8817c618c3881ada9f4a21bf2bd441326010a98066de520d6 EBUILD caldav-0.9.1.ebuild 971 BLAKE2B cbcd88c1a2609b66e603b542e5258dcbc22bad66c627e2f31e5af7b63ab1b71f80cb40a95aeb5ff6575635be26e79af2bf96d022cec73e5374c85a519baa041f SHA512 eb64361b29d83e13f1ac265103027b1e3a54bec67d8ab5b086036704fbb7e008a3333c6f1fb64a2c5fe40ec268e6dafe50692298d3f59213933d778b4e354c90 +EBUILD caldav-0.9.2.ebuild 971 BLAKE2B cbcd88c1a2609b66e603b542e5258dcbc22bad66c627e2f31e5af7b63ab1b71f80cb40a95aeb5ff6575635be26e79af2bf96d022cec73e5374c85a519baa041f SHA512 eb64361b29d83e13f1ac265103027b1e3a54bec67d8ab5b086036704fbb7e008a3333c6f1fb64a2c5fe40ec268e6dafe50692298d3f59213933d778b4e354c90 MISC metadata.xml 394 BLAKE2B f0b9c600418cbbc4c935d53b63f4e6c1235500984ed388ceb26c6e02fdb7200eec1464d8c4af17e6afdf3688479f0a0763e6e710f916c1c71dab2ca84df9509f SHA512 4f94039805c6cbfb97a667d555af39bcce7f10db8a7c61f3b8b48a903fcd52d3e30467c91c9ec13195be6dc3c4ccbfa088aeac390d5e1c64e9267527a8b77b6b diff --git a/dev-python/caldav/caldav-0.9.2.ebuild b/dev-python/caldav/caldav-0.9.2.ebuild new file mode 100644 index 000000000000..a8da6ea96540 --- /dev/null +++ b/dev-python/caldav/caldav-0.9.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="CalDAV (RFC4791) client library for Python" +HOMEPAGE=" + https://github.com/python-caldav/caldav + https://pypi.org/project/caldav/ +" +SRC_URI=" + https://github.com/python-caldav/caldav/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( GPL-3 Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] +" +# For now, really does use nose imports: bug #857738 +BDEPEND=" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + www-apps/radicale[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/curtsies/Manifest b/dev-python/curtsies/Manifest index 7145d901de42..18098ad4d86a 100644 --- a/dev-python/curtsies/Manifest +++ b/dev-python/curtsies/Manifest @@ -1,3 +1,5 @@ DIST curtsies-0.4.0.tar.gz 53652 BLAKE2B da6b982b8c4bf5430fc31ca2b6eab996a4660403538e73eba253b1e4476f8f4355a0acb9b4ad89c0c3ef3d379b89f1532d8946cc2c716ff5a2f7a4d4ce60a6af SHA512 fea577e356ddee7f2f3c55e405405af835b84a5f00d998a702396f8f40827b18ee88a46cd98607a1c8e33068f040a092c8d9f17463366fb88fcb3cb8cd6f2158 +DIST curtsies-0.4.1.tar.gz 53583 BLAKE2B 311c538dfc782566fefeac5bc085fda57200f1d42118393aee1de89486100d9777d6b5c9de8d7dda9a8d3e8564b56cfeb2cde8d1ed638d5f791e24f37eff7a02 SHA512 f49c5874b0e0e4cf92b05ca979bed8608e5e4e4bebfc78f8558e8b32b06876e680fe4d6bb8723bb2050ab3eed0b5379d065c69a3007e6c399b4f60bd410fc947 EBUILD curtsies-0.4.0.ebuild 596 BLAKE2B deef0197b6cabe00c10416c445c6faded9e1395a8614f68571f2b00b7fcb0c121484b646491427523ba3253c5204d487197f020dc04e061c9a5c742ac4e467fd SHA512 f9d687d75cb582ed56536daf8ec61b8c3a112e827f3a51e583d3a0c7c7eb9e6e64c26482e3aae011c441930cda24b50905bb79d1a4a462bcdf0a6c4ba317f10b +EBUILD curtsies-0.4.1.ebuild 598 BLAKE2B 17eb0a033f72a9f710991591adf2fae78059be49e7acc7d273a1b28763dd8a11750fb269c949b26f8c658dba9b6a99f7f83ca84737f9b598d967278f9abe3db1 SHA512 277c64ddac0b7bb675a1f12b4dec511f58a3f9b75dc7f72bbe328dd0bc64078a441ac18dde2b0e5fd339a072682ba21865ce2ec9af247bee8b63fa835ba9be51 MISC metadata.xml 405 BLAKE2B 7c57f4c632fddcb41ee10c615862a68010cc66fce074a430f5cf2e0aa82e008d47b10da7fe6c30f39b86bae57019f2db6f7a65c3c1731643b465aad17047073e SHA512 32a4bcd62ffc656cacd01c3f86a06206f643a23e1d44bb760b1ac0b36e01363a491722084f1f7836f218b0637087d7067f33c86dd4cd636c8b258cb0e1731c38 diff --git a/dev-python/curtsies/curtsies-0.4.1.ebuild b/dev-python/curtsies/curtsies-0.4.1.ebuild new file mode 100644 index 000000000000..01773e0b0d15 --- /dev/null +++ b/dev-python/curtsies/curtsies-0.4.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="Curses-like terminal wrapper, with colored strings" +HOMEPAGE="https://github.com/bpython/curtsies" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/blessed-1.5[${PYTHON_USEDEP}] + dev-python/cwcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyte[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest index 9ca78ed86be8..d40d66cea66b 100644 --- a/dev-python/leechcorepyc/Manifest +++ b/dev-python/leechcorepyc/Manifest @@ -1,6 +1,8 @@ AUX leechcorepyc-2.12.0-respect-CC.patch 1649 BLAKE2B 8a29af78a677fd3fef24192620c01057c72de7950897b51ee9735f3f078df60fee1bb51dbf96a9e131437bb0d2552f429118ac188caa9a9580399300e1fcf7ef SHA512 29e792fdb87f05f7e625f7214b9fa50745acf66dd4c210e517c21f40b3824fce5b322ba8b5acb106fc1355a562cf613e5e3d94bc3042c32982b3cf6d7b1985ec DIST leechcorepyc-2.12.0.tar.gz 120774 BLAKE2B 7e7de1388acb73bb391ae5451c5b4f3f4b6c4891a1c420f2d662c930a37d4db702731c70861d8467b82b4e29dc1c22560215b1f8fe9ec8f7675fe69b63844ae3 SHA512 bb8c4c76ab8ec610f8c879c75dbed36006b16a165c20ac17ccd8a8978e1e0b4f5543c8aa8b054ea4cf58d38e908e8b92ba13898697c2465776add1bc964762b1 DIST leechcorepyc-2.12.1.tar.gz 120816 BLAKE2B b9af01e7544c0c77105435bd49d633c182e91788035a56747fef7ed860cc3570e766b038d5445df8e9d2df6e81a47a133af290b7c45db729eec7a0e46d8a0f38 SHA512 b2c3eb32bd5727839fe3ead1d5d123be4abc7b96deb71897461c3a559994ff7d6d26e3b1b857f119b8003023efa619c01073082046eb9fb105f8a8627b49d6db +DIST leechcorepyc-2.13.0.tar.gz 123152 BLAKE2B 8a3ae5b0f0d52296ef71bbbea5140f9dec6abd379ae2a1b0e3a418090a11e5196731b1c4cba5320d4058c562911366cc9dd84f3a30f58ddc7c66362a9b39af8f SHA512 1420f635bebafe1e07cb5f0ade3e6b141433d4a72ec165713f959dc19e05f42a86440c5c99dd5d759aee221ee478e91e7161541cebe11be6dfa286fad79843ae EBUILD leechcorepyc-2.12.0.ebuild 819 BLAKE2B 9bd64a3cedddb20c65fc42d1ecc5279b05dc06078c3c49c603ada8f440bd5b4d2d5c2693ac87cde2104c41e0f56e54acc4bc8b3cc4e1f359d5ad7e2bce1c5ee4 SHA512 50d48d7267c49ce2293d76c1f96a485a5beb94ef642e5e4ff749b116defb547ef74db97029f191309bea76c59884c38eb2969d953bc31accb056412c8124344b EBUILD leechcorepyc-2.12.1.ebuild 821 BLAKE2B ad07f3c0d7bf25c0ec44eafa994bbe08054b6024572e22f518917b31be6486dab75a93e786efc8a6ee34c067549468465e15380b1bf5a495b3fdd275020f8a43 SHA512 411ddfbd385087efcb0c75a9816018101bd54fcd6f601bfb62a3fb0148501d31630f6316df37770c0fe2fefe9b3e2496f2fba10b7390fb01c507b97e6524c288 +EBUILD leechcorepyc-2.13.0.ebuild 821 BLAKE2B ad07f3c0d7bf25c0ec44eafa994bbe08054b6024572e22f518917b31be6486dab75a93e786efc8a6ee34c067549468465e15380b1bf5a495b3fdd275020f8a43 SHA512 411ddfbd385087efcb0c75a9816018101bd54fcd6f601bfb62a3fb0148501d31630f6316df37770c0fe2fefe9b3e2496f2fba10b7390fb01c507b97e6524c288 MISC metadata.xml 683 BLAKE2B e85f13b83acf28fc6d59876fad2576afe741065c754680650adcb7acd1068410469de969ab4ee28ef5d9e7ff448c615293cf3f4713b4211c22dbb1b13d7f5947 SHA512 cff010f9f6dafcb3379a0de5ae0c98b974e605cf4e3a0131657832da2f0609e62cf07d3da84327b8c1272eb4cad64218e6c3f0231ec2402b3801e2453a10e76c diff --git a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild new file mode 100644 index 000000000000..25fcfee44ade --- /dev/null +++ b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library" +HOMEPAGE="https://github.com/ufrisk/LeechCore" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# leechcorepyc ships with a bundled version of the LeechCore library. So we +# don't depend on the library here. But we must be aware this module doesn't +# use the system library. +DEPEND="virtual/libusb:=" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-2.12.0-respect-CC.patch +) + +src_configure() { + tc-export CC + + distutils-r1_src_configure +} diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index a010f1eaf7b7..42f7e5bea5a2 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,4 +1,6 @@ AUX meson-python-0.7.0-defaults.patch 506 BLAKE2B 404c8d4803f4e6ca5244dc27c84f2c0440999e3fff87febeb12d1d304c7ed9f9358f6b958b5975d171995960bbf7681003180765d2bdb88e694e52c518a8381d SHA512 43b9825b9facdcf72f0b4b80a72aac8544ec1cedb14a79c53dbe37b190af170584acbb0d281d89ddeb199ea5ba720eb0de04c5294a3e7197019c58d7ee14d786 +DIST meson-python-0.10.0.gh.tar.gz 37739 BLAKE2B 028cbb191076b49946576b02d26a84079f412a178d9829bf85d579b8d3624e192e9394ade31524faf972ef4d105b7bf703e750529a7fafcbadf9a52d3c4876c6 SHA512 50d4d0bbf810948b4f218f25815058778b2a3ac8ff811d4d7cc699d1cfbcb75612d28789080b4e5ec3a47be03636389b7bf313366273abb733f77644758747cb DIST meson-python-0.9.0.gh.tar.gz 37253 BLAKE2B 29aa875dfc1c275ee4edab48bd2d46c783969fc0ab58f108be1a6443d5519028a2d36f666dc57c45d68ba77334cca2d11a0d4bfb8abb3822b537252c71b77286 SHA512 ae0927876533af65c5b1d8278ff6db3726f0551c160bfedcc602189fcad44c9412faa589738718aac2f10cf9497db8c632d89ccf1fb8519e6e7f4add78d8e52d +EBUILD meson-python-0.10.0.ebuild 988 BLAKE2B 6e2465b93b4de894ced85af09ff9e227c0a466a99551f51ef5c8f8f72475c6c9fe28c4a707c2f3ce8a3a393de2ec3ac80d26d477bab9584a91b533dd13206953 SHA512 9b5affd60de454a84150808d87c13b85ceb778558f5dd4c1a6fe74d37868aaccca355e4d6a4991420bf6444a1afed476791012745a85a4fa2fe5f657c7670b58 EBUILD meson-python-0.9.0.ebuild 988 BLAKE2B 6e2465b93b4de894ced85af09ff9e227c0a466a99551f51ef5c8f8f72475c6c9fe28c4a707c2f3ce8a3a393de2ec3ac80d26d477bab9584a91b533dd13206953 SHA512 9b5affd60de454a84150808d87c13b85ceb778558f5dd4c1a6fe74d37868aaccca355e4d6a4991420bf6444a1afed476791012745a85a4fa2fe5f657c7670b58 MISC metadata.xml 352 BLAKE2B 581fd656bf2da3af0cb7a9f50ef99effc9c2fc54c5012a363a3aaf4cb5cb1715c8626aed86ea176ebbbc22ece33e8b0f76d5c818b4533f99b3bac5b92f75fff1 SHA512 7e57debaea115565ade7e8ab87af065c4580506225df1a203c92fea877a9b918ebfce6fd172412bf318be07a8a4548be492318e5626b31688ed2714f00594d54 diff --git a/dev-python/meson-python/meson-python-0.10.0.ebuild b/dev-python/meson-python/meson-python-0.10.0.ebuild new file mode 100644 index 000000000000..5ca1c9027a37 --- /dev/null +++ b/dev-python/meson-python/meson-python-0.10.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Meson PEP 517 Python build backend" +HOMEPAGE=" + https://pypi.org/project/meson-python/ + https://github.com/FFY00/meson-python/ +" +SRC_URI=" + https://github.com/FFY00/meson-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + +RDEPEND=" + >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}] + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] + dev-util/patchelf +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/GitPython[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.7.0-defaults.patch +) + +distutils_enable_sphinx docs \ + dev-python/furo \ + dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest diff --git a/dev-python/pebble/Manifest b/dev-python/pebble/Manifest index 418ece88e49e..056bb2bfeb7f 100644 --- a/dev-python/pebble/Manifest +++ b/dev-python/pebble/Manifest @@ -1,5 +1,7 @@ DIST Pebble-4.6.3.tar.gz 25888 BLAKE2B 71f9e4c77d7dcc841f8c3a5e9d3df764727c27fc1ee5bb8250e33d49ce006ee94c11309f469f2ebb79aa720fd58ac2741b240aaad8f6d3c18be68189f180b639 SHA512 92cbb5ac01cc6fe57055facb6bcb6a64e19eb5eb3a3ae5fead32d4dd1001a3c70fbf85ef832dffc6b6bb81af6b1c275e12a61eda421176548a7bd5a928056313 DIST Pebble-5.0.0.tar.gz 28958 BLAKE2B ef7c221850dcaf50c1767c92ef1f59ee8fd8cd754f6a12e0bf3f9682c8e5fc4291e42ea4fad0f00cdced577f83b4501bdf1d4a3a90966b3751e8eac87b01a3bd SHA512 cf0dd7ea4d28c3574d069eb3ec3c3caa470d457fa5c446ad449761994ab138864415a88b7b25f83ddfa1c667ce9980b83bbde2da04345f4e0d226e59806ce38b +DIST Pebble-5.0.1.tar.gz 28996 BLAKE2B 6015a96392079d45d039447ad513c3be8f0d41b85aa55ae2af83b7e2af77cd45411c1e3a21bcccfb20d53ca4091071f85929ae78297bb7ec4d60fb59110bacf4 SHA512 c1ca05014c826a0ce0a90e945101f408e7a91c2ef129b8513e9989c3d5331284e0b908b57afd16be60b4031a8e4a490e48c309e176b97c8216537ab90a756594 EBUILD pebble-4.6.3.ebuild 567 BLAKE2B d1a945738553407ac0966a10c6d6096495c3e2e8aa781c77140d40822ce6ef830aecde2ed2d71c4120faee48df02e6014db01b8cffe73dea96910e825266df9d SHA512 a7045825f43f73c5e564d20c14fcef48079c4d5727cc149ef47afb47b19735ed171aeb9de0b22f056d868062f213ddf23bb4c0c5e2b91cc0d64c9136213b590a EBUILD pebble-5.0.0.ebuild 610 BLAKE2B df664b1f64cc8150f545403de6c4b1a51a29a7d0d565e6ad53258dc3f2ca9a703f6811eed8828e7d34796cecbdf79576ac13f90fe4e65b973ab7c7a6ce259f50 SHA512 a91457611426e6494a8d6ec379cfe7b0ee7d0dbb2865ee4ba79aed426d233698c8cfe14e2096c89036850e3d42f3fd156d01913a17041b8198b9b6ccdc1bf5b1 +EBUILD pebble-5.0.1.ebuild 610 BLAKE2B df664b1f64cc8150f545403de6c4b1a51a29a7d0d565e6ad53258dc3f2ca9a703f6811eed8828e7d34796cecbdf79576ac13f90fe4e65b973ab7c7a6ce259f50 SHA512 a91457611426e6494a8d6ec379cfe7b0ee7d0dbb2865ee4ba79aed426d233698c8cfe14e2096c89036850e3d42f3fd156d01913a17041b8198b9b6ccdc1bf5b1 MISC metadata.xml 367 BLAKE2B 587e93606cf39400151b413a1d1ee5446e6c6dfbde19bf2b9cd8e9a7226c1d4df53c8849625fba7c61a84ebc8939803cda5c1250c3068cb8cd61ef9db901ab6f SHA512 8f50888f29afc88c791f54078d4120eb26a0217ad76fd72f311bea4bfb769cd37adcf657bff4949fc9360b701b44d0736cd294101ce9838db538b6a34e103dd3 diff --git a/dev-python/pebble/pebble-5.0.1.ebuild b/dev-python/pebble/pebble-5.0.1.ebuild new file mode 100644 index 000000000000..b1830f4e238c --- /dev/null +++ b/dev-python/pebble/pebble-5.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +MY_P=${P^} +DESCRIPTION="Threading and multiprocessing eye-candy" +HOMEPAGE=" + https://pebble.readthedocs.io/ + https://github.com/noxdafox/pebble/ + https://pypi.org/project/Pebble/ +" +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${P^} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest index 2c2bcb90cbc3..d4d5b2bdc088 100644 --- a/dev-python/plumbum/Manifest +++ b/dev-python/plumbum/Manifest @@ -1,3 +1,5 @@ DIST plumbum-1.7.2.tar.gz 323051 BLAKE2B a16d9210606ac67abd425fcff109d40836dc969729cc5bf78a5d224c0beabf09d56d35f17809994d758153c6e18e4af91403f7ae0111912447367be68f6592c1 SHA512 77e75988255ca78fa5c253c6d076d63f8f9250a2b153ef23e40f35315e255ea09403d854a19bb265fd658bb9e5f0f705dc7530ecacc40b4b48e33acdf50dddf9 +DIST plumbum-1.8.0.tar.gz 325060 BLAKE2B 30006fa3826bbdd9482592d825931fd7dcb05b2aca6d762093c4f722f0426aaa6f07fde55754f115e4fba4a45997d2995a657c5a1cfa34c417bb4f5fb2e5834d SHA512 47874c42081d385fad85b9073fbeb711112b8fa847fc79035be1277a1fdabcfb06e7822a4dbba271d86502b9b297a70742f30b1158c363b668a47e783c9990cd EBUILD plumbum-1.7.2-r1.ebuild 1349 BLAKE2B 0bd3562a8e693869d886507384e3797cf3c8b4032c6ec2b403b2f1b466569f52d82d65caab4bda619538d9a5752024b44692a3ac995ea93a1af7ed431f96ef93 SHA512 29bee99a54ed7441b6e107ba63fceb7114db50110e68f370cd27f7a4baddbd173634ee702a626b7f9663ea6471c038e36609ea58a2e68292eed218cf3d688f7f +EBUILD plumbum-1.8.0.ebuild 1356 BLAKE2B c37e360994efd9644aac7eabf3542fd9bb0da7c0a555b34280a310763bb0938aa44a1f01e2daa305d098f14de7e5be0e3b01b9cc3e6799831166aaa198895450 SHA512 c3817bc54421c14787d2ff2dacd62a6c309c1fef331547502ef677247a1b9887747616e71d11523321374de3c7953247583b5f8f6aae5cb2cf120def8706c876 MISC metadata.xml 754 BLAKE2B b6d00fe0747da15445953a29abdd6f14112d02f2162746992f2fca80a321cd10f3cad40294e4bdbcf3f04d432b4d81902667296a0a5b8f99da2df2a5c58b18c1 SHA512 fbadbb7e5edd1573994cfc843e4a254ae5d12be5a3372f4fb061647983e360c2b0ea4a9e41ea8c9ff26028db75ad9cd5de881b8fdd9bf35864442e215aa42175 diff --git a/dev-python/plumbum/plumbum-1.8.0.ebuild b/dev-python/plumbum/plumbum-1.8.0.ebuild new file mode 100644 index 000000000000..ca00b632a0ed --- /dev/null +++ b/dev-python/plumbum/plumbum-1.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A library for shell script-like programs in python" +HOMEPAGE="https://plumbum.readthedocs.io/en/latest/ https://github.com/tomerfiliba/plumbum" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Need sshd running + tests/test_remote.py + tests/test_utils.py + # Windows specific + tests/test_putty.py + # Needs sudo without password + tests/test_sudo.py + # Wrong assumptions about env handling + tests/test_env.py::TestEnv::test_change_env + tests/test_env.py::TestEnv::test_dictlike + tests/test_local.py::TestLocalPath::test_iterdir +) + +src_prepare() { + sed -e '/addopts/d' -i pyproject.toml || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "remote commands via ssh" dev-python/paramiko + optfeature "progress bars in jupyter" dev-python/ipywidgets + optfeature "colored output in jupyter" dev-python/ipython + optfeature "images on the command line" dev-python/pillow +} diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index 9ca8789fe10a..80e04abad4be 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1,3 +1,5 @@ DIST poetry-core-1.2.0.gh.tar.gz 536297 BLAKE2B 0ba82bfa320d65ce794a4f2346198d252139c03960298ede02f55d8b23367e05e9336b3d5030032b1feab4ffa327974af26ce2918d4d40889f68fbec79ccb490 SHA512 f6d79d7d66a25aa127b5decf46df861ecc101af0438b892196505b4ece5cc55f6ff8796eb603789b3259d213162236b7698305523b2eda414ad1f3a5b659eab9 +DIST poetry-core-1.3.1.gh.tar.gz 539214 BLAKE2B 12db16f06e5b7f94e0aa6edf6d5cc6c8c15c6389e3e1f517884c5532b211982d34682c035b69e53dfef60506c8be16ed36b0c8cc66651c88d83436d6cfc5182f SHA512 c61b7edeb0c821c0a1cd983965a3140cb8183147740e3b242d0cb0bfa375d6ee352314dd81e243d03c31e403c4a01353657cf771b84130ef058815068ecfdd5e EBUILD poetry-core-1.2.0.ebuild 1620 BLAKE2B 41931afbcf5767a54fb5df962676cfbd0fda0274de861431ab0f343717f1d725ff42be41b5268f5aa760013163164a07bf5b417065607a2ceb3d230b5cd84534 SHA512 541c765d3e42be2192d490a2cc86d668ffc5940909d47197de21d95e0863bd37fdf2eb41c625f44d9611c2fe81bbf9f7008756dad00951cd49c0e9988fee6df0 +EBUILD poetry-core-1.3.1.ebuild 1628 BLAKE2B d21b2534abea4c369eeadde7fd2d2ff6a1b1baf557a44454fbbc5dbd8ba506656aae294a35b64efa5f33127a76ad9ec32b71c0105bd3a90e2e58bd9253e724e9 SHA512 fe519e3c99aa9daf15bc60f3074b492381cd54a86bf915399ee45f54b6765412a653a537ace5fe817f01bb3dcb6143618ee80f7a3714f8837b6ccb6440a44c0e MISC metadata.xml 382 BLAKE2B 82dfc3f146cf3b669fed67ab2e21694b00d5473fdf855cae9fb3a0481785b32c4cf1ed9743a5d64cd055c1cb544377f936a9ec26c9d1dec2cf5fbef6749f5587 SHA512 032fd4dca8f8138c2b527e517f041889e15600ccca876fc3c9e53050196186ad2a9346168bce9c4bae7ffd8a77ff4dd19cc2559fd1da1fd4c7c181056fd49a13 diff --git a/dev-python/poetry-core/poetry-core-1.3.1.ebuild b/dev-python/poetry-core/poetry-core-1.3.1.ebuild new file mode 100644 index 000000000000..c76206f1717a --- /dev/null +++ b/dev-python/poetry-core/poetry-core-1.3.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE=" + https://github.com/python-poetry/poetry-core/ + https://pypi.org/project/poetry-core/ +" +SRC_URI=" + https://github.com/python-poetry/poetry-core/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# check inside src/poetry/core/_vendor/vendor.txt +# (note that some are indirect deps) +RDEPEND=" + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lark[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pep517[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # These "fail" bacause of glob file path resulting from newer versions + # in our tree than vendored. But those don't affect anything. + tests/masonry/builders/test_sdist.py::test_default_with_excluded_data + tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data +) + +src_prepare() { + # remove vendoring of dependencies + rm -r src/poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die + + distutils-r1_src_prepare +} + +python_test() { + # needed for migration from <1.1 + distutils_write_namespace poetry + epytest +} diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest index 03bf39be543b..5686bcf90a2d 100644 --- a/dev-python/pytest-mock/Manifest +++ b/dev-python/pytest-mock/Manifest @@ -1,5 +1,7 @@ +DIST pytest-mock-3.10.0.tar.gz 28384 BLAKE2B 2f51f8be34094054b8f7864eb083dde00800adb73af668444d21c95d8f159594bed0f68694e7ffb0e24da402a4865f37c07d85622ad00f130ccdb4e3d189bf9a SHA512 2ad6866d581a2999899e399ef5516d478a6172f52923f03703e3e3708229fb3b1178c91225b5cc90734c96abcb48fea517b11e0fc193da6fb592295395c14cd3 DIST pytest-mock-3.8.2.tar.gz 27734 BLAKE2B feaa92ba63626d7510008c41491bd0ab649b2a0cb55c888a472a5f6100a18d8b4a232532b6b3a860483bfd1676fc1216ca368e215b8f11fc6211eeef62f5743f SHA512 039342de6a22921ebac3f54a1f217a7a5d4cf9833ce4b4bee0a18ba5409d46211cd2d9ff9620a1576560d32f5e5799483e6686e3b58d32123f41dcd7a862154b DIST pytest-mock-3.9.0.tar.gz 27883 BLAKE2B d1cf4599bdc3fa21df83874c26751791f9ec891184baa2a304a8d4e48e5a03194718afb80e9019f914150ef22c1b3a787ac17cfadf10deae5584b8e39e32e376 SHA512 ed918574852ac70d863589d976fd65ac57c61ee1fa072651b93ee58f2d1154cef6c0ae1c2cba822bb1c6a2bddd6442b49e256652e2bd55fd3b1bed73017ff7b6 +EBUILD pytest-mock-3.10.0.ebuild 1067 BLAKE2B 2054d7347b138717e9c83954c1c813a52b09081e375fe73de0bfa6dba9881656f54921a7a0c63d030e62abeb74c4ba4295cb58196af46801abc3e511c6dc33dc SHA512 427607c7a44bed7a2f47593ca67db71ec97f809dd91ceba04cd4fac564f041a22aa1d7d4ba0dd544bbbe465a4db21c6c4487bf4d857b1ac9b4777f91d495fdb4 EBUILD pytest-mock-3.8.2.ebuild 1059 BLAKE2B a16270f47039f3c785b0ab4887a8d254ef0c2ddbd9f3f47eee3c836aa306bd6c753527b46000a27cd52828ab721314b334e27b5058cb807316f6148cf7768248 SHA512 3c944b84e9242582e3e773d491d732bb16952e53e1948a73eb475d11420dc040042552b23048124dc43a709d8fbf3982bf645ed2e95ae2642596be1b1d3fa09b EBUILD pytest-mock-3.9.0.ebuild 1067 BLAKE2B 2054d7347b138717e9c83954c1c813a52b09081e375fe73de0bfa6dba9881656f54921a7a0c63d030e62abeb74c4ba4295cb58196af46801abc3e511c6dc33dc SHA512 427607c7a44bed7a2f47593ca67db71ec97f809dd91ceba04cd4fac564f041a22aa1d7d4ba0dd544bbbe465a4db21c6c4487bf4d857b1ac9b4777f91d495fdb4 MISC metadata.xml 379 BLAKE2B 47a45606cecad3ecc9b902d9ec690c33a89728ce93038433f11ab8c3369089ef12e86c793ab06dedeef7a816dc973ae8ea2a6b717b13085c7912d69bcd68db65 SHA512 b5e43e5e0a1cfba50868ca542b00d40084aeb38f764f203ed112a9359e966e94d34a99bbb072b98f9401a0383d3fbf834b8b87572e073592263f18d73f09db2e diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild new file mode 100644 index 000000000000..ce9187b4e2e5 --- /dev/null +++ b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-mock/ + https://pypi.org/project/pytest-mock/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-6[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin + local EPYTEST_DESELECT=() + + if has_version dev-python/mock; then + EPYTEST_DESELECT+=( + tests/test_pytest_mock.py::test_standalone_mock + ) + fi + + epytest --assert=plain +} |