diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 22:23:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 22:23:22 +0100 |
commit | 99b2c44c1425c7b2925846d4c44b2bf2f78dc786 (patch) | |
tree | 9bf7a2d385aace0ea5f3f8d3e3657168b758fdaa /dev-python | |
parent | 39bccce90513402ec93bb0fde30678f16b07a9cc (diff) |
gentoo auto-resync : 08:07:2023 - 22:23:22
Diffstat (limited to 'dev-python')
28 files changed, 407 insertions, 97 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex ad09e9a2e3f6..fe4615e32a19 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/csscompressor/Manifest b/dev-python/csscompressor/Manifest index 6549554a4402..3d65f9f8d188 100644 --- a/dev-python/csscompressor/Manifest +++ b/dev-python/csscompressor/Manifest @@ -1,3 +1,4 @@ DIST csscompressor-0.9.5.tar.gz 237808 BLAKE2B 26d9e433513577a2b76660eef2ee0fc0fd3b95d28bcfb06ccc38dfd6f524d63414ba9bda297c8e4622cbd663e4752051717af506064509bdee14f0360ffdc481 SHA512 aee16b5af8b1b780a0fef10d359864a5a21a90b7196740c8b7efef25d1ba4d8197e9fce03483d0e2331abc736290cc6b862e43ee65d1b76260310aea65fc6eb6 EBUILD csscompressor-0.9.5-r1.ebuild 428 BLAKE2B f4ef3d026628c2682ac27320e07dfd6f0e6eaabc77f782ddfdb0b82b9b3aa8a5bd15ede187489444f1068554843c5460430ec22cd891266b76ce22b0c0d1e74f SHA512 c98523a52003362635492db0fff2fda9426be37ba01cab86011b4fb26ddc5ccb34881708bc7b718a467cfd3e5efa7347911a928a49e1f3c321569799b18ce09c +EBUILD csscompressor-0.9.5-r2.ebuild 463 BLAKE2B 8a72a31335aaeb4f3b5cbacabe20dc7d5eed9373e24360988e64f117bc7b56ab63fb2e1063328ad72258d2d466a654e385c4d556ee60834a91b133e40d63ea9e SHA512 c308175024552934342353f3f570eadba80184575243ff024700c6e0c75e5e609d095c6eabbdbd48a78f63091e7d4cf35313abfac71ca819a360a4967bd68a38 MISC metadata.xml 402 BLAKE2B f1cc451a52cade36de3a7311417e31831d67ff14d9ab770dee735fbe12ac58d7431446a1c19ad93866732992257acc4737eb0a633f13b511b3595a7c6a3baa1e SHA512 04ecdec5f3d281f51faf5c4d399c21929947fb6eda5f0ba568f23c1690b6e146c5000ef9bdabbb06c2c7c0b464d3cb17164c768e18dab3ad68eb59ac0a3514a4 diff --git a/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild b/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild new file mode 100644 index 000000000000..30fd52e7b27d --- /dev/null +++ b/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A python port of YUI CSS Compressor" +HOMEPAGE=" + https://github.com/sprymix/csscompressor + https://pypi.org/project/csscompressor/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/django-sortedm2m/Manifest b/dev-python/django-sortedm2m/Manifest index d0af025616a3..2b392f983a9a 100644 --- a/dev-python/django-sortedm2m/Manifest +++ b/dev-python/django-sortedm2m/Manifest @@ -1,3 +1,4 @@ DIST django-sortedm2m-3.1.1.gh.tar.gz 45888 BLAKE2B 878a23d5f5dad114b0b6ef9bd687d4e23620c823a8ad33a66b7c6c1e598db15e5328a46373dd6d7fd9449b4ba533e21664db716cde40150af2451a74f2f28fda SHA512 440c049a1fbe54c0db8edb0a5a737b5d84553afb7305d21a64c2dbac02f143e6f17e7e0499a4d3e687b13f292558d7818c030d78d8cc9443048a95ae6b50204f +EBUILD django-sortedm2m-3.1.1-r1.ebuild 931 BLAKE2B cf54cb3161bcba6606d37aa2825aa7d3cf1810533bb20e40746b687b0b2a46ffb5d5e52089ce442968434f9868e2afe6abf0b935089e630fc94c72c283f40df8 SHA512 3dc85023298503d37f8924b676666e1abc810c1123f11ef44e356d942476cda6169005e55cb6cb630e3ea00678a3bd3910068e90c4629e7bc087125462ff2317 EBUILD django-sortedm2m-3.1.1.ebuild 888 BLAKE2B 3307a3a3606d2c8b0e9b6350f29126a0bde2276877cdef39fab79b93d0d932ae475a49e41750b7d21259f853fea46d642cd822f737fe08c489d9718170db9296 SHA512 ecd0370f51017fc5fffcf9644f7d04c4732dcb335882f9ba0edb5181800ed84a416aae32c9ab28c76b10040a4e6ea58e12a2dc2409594958e31463955e6ad2b3 MISC metadata.xml 385 BLAKE2B be4400699a7c6efbd3ad0a115416e7fa7e7da396e8d5b5c24da131866a747c6b225c753e0a092082a4c0bdf6b067a070a204cbc66f2d573fe075b42013537ef0 SHA512 735bd3eae6c3083743b9ddf5af2a567bbf7a76f5a4c2d44b1bba74017ac9dfd2ed41ad86e448d851533c95cbf49b25d8ca13c7245ff0fd049d949083211d8ace diff --git a/dev-python/django-sortedm2m/django-sortedm2m-3.1.1-r1.ebuild b/dev-python/django-sortedm2m/django-sortedm2m-3.1.1-r1.ebuild new file mode 100644 index 000000000000..13fb9a284421 --- /dev/null +++ b/dev-python/django-sortedm2m/django-sortedm2m-3.1.1-r1.ebuild @@ -0,0 +1,43 @@ +# 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 + +DESCRIPTION="Drop-in replacement for django's many to many field with sorted relations" +HOMEPAGE=" + https://pypi.org/project/django-sortedm2m/ + https://github.com/jazzband/django-sortedm2m/ +" +SRC_URI=" + https://github.com/jazzband/django-sortedm2m/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + ) +" + +python_test() { + local -x PYTHONPATH=test_project:${PYTHONPATH} + local -x DB_ENGINE=sqlite3 + local -x DB_NAME=":memory:" + django-admin test -v 2 --settings=settings --noinput sortedm2m_tests || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/doctest-ignore-unicode/Manifest b/dev-python/doctest-ignore-unicode/Manifest deleted file mode 100644 index f3f30cc4c155..000000000000 --- a/dev-python/doctest-ignore-unicode/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST doctest-ignore-unicode-0.1.2.tar.gz 2270 BLAKE2B a114a1724445ed2c5c41f46098d5930da8b255e82256ef686fa8567dc305608363895655ede36f70b87896f0ed22f1c8e1047632cff5719ef7417159b0a691e6 SHA512 ac88d1cc90b1db21b21b121cddde246314d8a3e399ea0e96f1cd4f7812949cebdd0850566a90d47da01ea159bb8d69c8a73ee05c62cc40d0839d4701f2f330d3 -EBUILD doctest-ignore-unicode-0.1.2-r1.ebuild 549 BLAKE2B e2aac31b2dc38b3bbe296027a0d49b6f32e74e2e0731f6369748fe7e8afc9e877b84aff25bf78c6cb2469c82ab7ca8c2341cd5018a04a56c08f0bcbff4d2e76c SHA512 3ce6f28df13a77b7db1d8a2bbcddd98d9e7f826b61d99217bccceeee6b2592888020f30c8754608396a35cb0ffa7b32572d9a8479a9ac11bf97643aa7ef71099 -MISC metadata.xml 421 BLAKE2B 13ad3ff7af7d867811c5234a7253946e0cdd433548cbac9c8d9d432094501cd55091ecc2ba80a961e509740d460e93ca37519308f4f29f5084f2388ce0de603f SHA512 ce2a074239f45322a6d5deb632bea3024e3dda78173a9969b1eacb5713f36367b3a4be2a27b40d9b0ac4d2b8d1b17dd5fe2076a1cb7a5d94ea95d1676639efeb diff --git a/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2-r1.ebuild b/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2-r1.ebuild deleted file mode 100644 index e47c89f17d71..000000000000 --- a/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Add flag to ignore unicode literal prefixes in doctests" -HOMEPAGE="https://pypi.org/project/doctest-ignore-unicode/ https://github.com/gnublade/doctest-ignore-unicode" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests nose diff --git a/dev-python/doctest-ignore-unicode/metadata.xml b/dev-python/doctest-ignore-unicode/metadata.xml deleted file mode 100644 index f425a33afe20..000000000000 --- a/dev-python/doctest-ignore-unicode/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">doctest-ignore-unicode</remote-id> - <remote-id type="github">gnublade/doctest-ignore-unicode</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/http-parser/Manifest b/dev-python/http-parser/Manifest deleted file mode 100644 index efc5b6fd5dce..000000000000 --- a/dev-python/http-parser/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST http-parser-0.9.0.gh.tar.gz 101174 BLAKE2B 92b74dffd2c35672bc383ccda59f93723c0f83ecb0fbf0470f5daacdd37f68d4d63de7d4ea53f86d2109349a793b7535cc864f014311dee6ac5e67d0ca751931 SHA512 75e51bef43d9d7698aad69f8bfe651e24784b97603cac55f33bf4c12c86792c8c71d6206f31847d052e4d8621a5ea65a7b34eca5bebdb8189f58e6d98d33139d -EBUILD http-parser-0.9.0-r1.ebuild 900 BLAKE2B 84db63b0f4bf4aa0ba2a3aaceec828bed10cff275bf3fb70b6b9d86e83c80dd27f122b0424351921d1b7ed5e2cdbaa80ba835007135e9bc52c3dcb2315ab27dd SHA512 a7e06189bb61a2fb0e759ae275a6c40036909a56f1734a08ddedadfd215ac2613bdc9b38443205abd35ce23d4700af979226cd5430ec43bbe1734767ae50cf5a -MISC metadata.xml 386 BLAKE2B 219fa172d766a86094b7a37a8f5d47f6f503d14fe96ec42a7deb64e2a9865754eafcebe3514595718c54f7ad3224bd4ab227c0ff3eea9190052bf6b75712ed9a SHA512 1d6b4e4529ab169d2773199a10d994f92a638fd962bada0791c95c009ccb706a95089f9ea943e4851daa56a690319bf10cce3c77618fa1461c7c4606db2818f0 diff --git a/dev-python/http-parser/http-parser-0.9.0-r1.ebuild b/dev-python/http-parser/http-parser-0.9.0-r1.ebuild deleted file mode 100644 index 1bfa1afb610d..000000000000 --- a/dev-python/http-parser/http-parser-0.9.0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="HTTP request/response parser for python in C" -HOMEPAGE=" - https://github.com/benoitc/http-parser/ - https://pypi.org/project/http-parser/ -" -SRC_URI=" - https://github.com/benoitc/http-parser/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~s390 ~sparc x86" -IUSE="examples" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_configure_all() { - cython -3 http_parser/parser.pyx || die -} - -python_install_all() { - local DOCS=( README.rst ) - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/http-parser/metadata.xml b/dev-python/http-parser/metadata.xml deleted file mode 100644 index 2a327a6a2f76..000000000000 --- a/dev-python/http-parser/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">http-parser</remote-id> - <remote-id type="github">benoitc/http-parser</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest index 195b84839e74..3ed91cddb263 100644 --- a/dev-python/jaraco-text/Manifest +++ b/dev-python/jaraco-text/Manifest @@ -1,3 +1,4 @@ DIST jaraco.text-3.11.1.tar.gz 16083 BLAKE2B f7268128209fbdc849a745595339f4dc9a097f3f4f8f0cdcb05ca3106ed5a45460126fbb2b7d9c3b01b63aa3f750175e8cd366034183b7d8804a1650fe493e4b SHA512 b4066589e9d4c9a2a82ae2b0825d34b22b93ee179d29c3666e9b978390121520afcb8fc5ffa6457022d2e8477f4cf2b76485d9896438ee46275326577609f201 +EBUILD jaraco-text-3.11.1-r1.ebuild 1728 BLAKE2B c46d5d09daef7b72b11fde203f9907fe8d947fe366f7e4a2a3be4d449ec4cecf3641d5fd5c25140536ddab329b4bead8d733020669210e78c78081313a84ba21 SHA512 427307b7d0e72e82b8c1af21fb082d16de963ac6683bdaef2ea247e119176b2c8f9e3628287aa1306aeed524ed87be63590d0f8e1ebfdb796e874c5f12c1b4cb EBUILD jaraco-text-3.11.1.ebuild 2143 BLAKE2B 4e8c943d028ae83a7c5957b0fa10557548ff2e361b37a27bd6e6aec6ca92ae028d67681dffd6483162c23f887ab8036d84c74c0effb2f61b3e88c9b0ff9b6782 SHA512 da749abc50bdafd88c841149a5ac15859f09390e76dfab36d8d859be002a0f7e5830df5cbdfb076f71103427d8f98a3da6c84ecb8e1f3d632a895bd302eac7ff -MISC metadata.xml 656 BLAKE2B f801288ddad8d0a8ca1ae4683df60e718512bc13b6be2f79b4c67d03632d87d38844c43d08d3f16b16b21f1da02112e164ec72777bf6e31cbcc967fff01ff9da SHA512 62d5f23d2bc836afe3d1a86c541dd0c562849dc481bed6024901595ebd341e2f4d7fc17427a8416a8b6a330928fdd7a44a5c53370d19d6f6781a9ff77531c503 +MISC metadata.xml 569 BLAKE2B 93d693cf06e08ecb9a3647f207ff2942ac9e3908635442281f6ff73ee3ef0329868969820ed8a1d90b3840bb1a85742c6cc09d1a8e4ff4613917ab61d6ce7acf SHA512 9b11125d60fada5d7ccd5308fd31dee3c8f46d484097663c23790edf93eb39cc9a1434b44f2a72ec596d2d3a36fde16311e744534b61170bdac764a791cf685e diff --git a/dev-python/jaraco-text/jaraco-text-3.11.1-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.11.1-r1.ebuild new file mode 100644 index 000000000000..31140137334d --- /dev/null +++ b/dev-python/jaraco-text/jaraco-text-3.11.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Text utilities used by other projects by developer jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.text/ + https://pypi.org/project/jaraco.text/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-3.5.0-r1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/pathlib2[${PYTHON_USEDEP}] + ' 3.9) + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "jaraco.text" + version = "${PV}" + description = "Module for text manipulation" + EOF + + # remove CLI tools, they have annoying deps, no entry points + # and since there are dashes in their names, they can't be imported + # anyway + rm jaraco/text/*-*.py || die +} + +python_install() { + distutils-r1_python_install + # rename to workaround a bug in pkg_resources + # https://bugs.gentoo.org/834522 + mv "${D}$(python_get_sitedir)"/jaraco{_,.}text-${PV}.dist-info || die +} diff --git a/dev-python/jaraco-text/metadata.xml b/dev-python/jaraco-text/metadata.xml index 7d0942d6335b..0cc9650b316b 100644 --- a/dev-python/jaraco-text/metadata.xml +++ b/dev-python/jaraco-text/metadata.xml @@ -10,7 +10,6 @@ <remote-id type="pypi">jaraco.text</remote-id> <remote-id type="github">jaraco/jaraco.text</remote-id> <bugs-to>https://github.com/jaraco/jaraco.text/issues</bugs-to> - <changelog>https://github.com/jaraco/jaraco.text/blob/master/CHANGES.rst</changelog> </upstream> <use> <flag name="cli"> diff --git a/dev-python/keyutils/Manifest b/dev-python/keyutils/Manifest index 0b08502ea495..8e6392798777 100644 --- a/dev-python/keyutils/Manifest +++ b/dev-python/keyutils/Manifest @@ -1,3 +1,4 @@ DIST python-keyutils-0.6.gh.tar.gz 45427 BLAKE2B b62a1194bad87fe42c658c0603ff236e8e5594e8d19dbf8b29bac5b2ef5b3c6a6d19eae3d529c9408e06802c883fad365d41d27c656776a4994b58a43b8bf1fc SHA512 e282d553a644d9b38c6256e027ee553a123bf21e4222491e22699ca5bc5041dedc4e9a9a8c1bafa44985f3b1d5fafd85ded9ed5332b6d94d6c62f3fa6bcb6d0d EBUILD keyutils-0.6-r1.ebuild 846 BLAKE2B 7eea26689a801c8abf71bf2554a8f704bb8a430589d6f82df83cc1a92cb9cba4d79de034fb760a0f7cf5b57115b8e0b5b178205ace935409f0ec47787140e06c SHA512 dbdf39201dfc788e856ed596e1d35d2419e931b9dc81d83f3e9241cd7e3e07f0f84f3fb7cc038afdcb68871c6e2c90057d22ac56e197df74ad6f77936c9915db +EBUILD keyutils-0.6-r2.ebuild 896 BLAKE2B 343bfe894129f6c18280eba18928caf1641f2ab7ac4d7df6449edac91b0d689246548217e5b807df45777136ef6aa05bc3aeedc7009289ff11447ffedda44867 SHA512 705af7f6dbd3df4768fa0496706b337376c2a2169ed7414991f064147b0c20a18192cd60592cdd50818a79346f7b6d84d0a08678ce07a45dc53c09d838676fca MISC metadata.xml 383 BLAKE2B c88a0df9232a36db1f568579905d43c26fbdf5e2bd119e6ae9e7e4ff54f85bf7e247d57edaa6f9a364a938ccd6401f7e617515381f3fb4f9ad1f739f93d016ae SHA512 769de9462b430f810c33781b059d24da4d006b1e47ce1e57ca529a8a240442120fbe8b03c38f4e189e045593192b23cb0f4c5e0e1e63b4e43051da64129f63e4 diff --git a/dev-python/keyutils/keyutils-0.6-r2.ebuild b/dev-python/keyutils/keyutils-0.6-r2.ebuild new file mode 100644 index 000000000000..55fec8bbf26f --- /dev/null +++ b/dev-python/keyutils/keyutils-0.6-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="A set of python bindings for keyutils" +HOMEPAGE="https://github.com/sassoftware/python-keyutils/" +SRC_URI="https://github.com/sassoftware/python-keyutils/archive/refs/tags/${PV}.tar.gz -> python-keyutils-${PV}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" +DEPEND="sys-apps/keyutils" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +S="${WORKDIR}/python-keyutils-${PV}" + +src_prepare() { + default + sed -i -e '/pytest-runner/d' setup.py || die + rm keyutils/_keyutils.c || die +} + +python_test() { + ln -s "${S}"/test "${BUILD_DIR}"/test || die + cd "${BUILD_DIR}" || die + distutils-r1_python_test +} diff --git a/dev-python/littleutils/Manifest b/dev-python/littleutils/Manifest index 868ac942228c..ffac10501a93 100644 --- a/dev-python/littleutils/Manifest +++ b/dev-python/littleutils/Manifest @@ -1,3 +1,4 @@ DIST littleutils-0.2.2.tar.gz 6579 BLAKE2B 80aec2c133e39eb0e18c948b15d475e60842689fd0e758c43511a8b014648d7c9e843182e2a87c0b3f9933f748340f2059653f0885cf416edbc5a60457c70629 SHA512 ce0b3af4ef5db634ce0dbb916deb767260f66418abbdca2b289386ecd4c2e44602cb95d568c70588ef9a40e3d700f33cbc5bcdbf859f5030795f79f11871a6ff +EBUILD littleutils-0.2.2-r1.ebuild 591 BLAKE2B c762726d294dc9b247a82a872e751a27ae1c9a466657b1f56dd975b79edbb2211f237397c206ce10de8a895c0abd855ef64edde172c5dc63115547189e2b083f SHA512 72908bd138336aa077761ea99c5edd21af60057d2c29cb873ee58b7c3c1336aba4ea148d2e7ae8b2c430b986f45f6258e03cf78f12a89716ec24c8c83c4ccd48 EBUILD littleutils-0.2.2.ebuild 499 BLAKE2B 60beb92c35561b38393dc878c45bcdbe8152ba77ac70b43ed30789ef4f275da789b5d06c2e1085b3fa48b18a2005df356ebe9a7ce022bf1cd2b444cfd738faee SHA512 8e68dee75380448aa9cfb04a0a3c7dc16c65d5c0e5a595592e6443bb746b0dc79b8f03c4393afb28f0c7d91790aa7954de1f70cece0d2b098e3b45c89789b581 MISC metadata.xml 377 BLAKE2B 938ada5473ba95941149e039ca17670238b722cb2ce2301ae55866a8163b82739b25820c9efae9fd1eb3ec8aa6efd51157b8d154438913fa33acc36ca1104483 SHA512 479327bb6b306521010cd65854f2d5cd7627b7887f51d7dbebcfffec5205a0a8d88ccf6c67cc2f9327bf6cf10b5053d218816bd48681bc8888cf0f53889cc703 diff --git a/dev-python/littleutils/littleutils-0.2.2-r1.ebuild b/dev-python/littleutils/littleutils-0.2.2-r1.ebuild new file mode 100644 index 000000000000..def0074b7ec3 --- /dev/null +++ b/dev-python/littleutils/littleutils-0.2.2-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Small personal collection of Python utility functions" +HOMEPAGE=" + https://pypi.org/project/littleutils/ + https://github.com/alexmojaki/littleutils/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +python_test() { + "${EPYTHON}" -m doctest -v littleutils/__init__.py || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/minikanren/Manifest b/dev-python/minikanren/Manifest index e844a9524265..4d6c368e6929 100644 --- a/dev-python/minikanren/Manifest +++ b/dev-python/minikanren/Manifest @@ -1,3 +1,5 @@ +DIST kanren-1.0.3.gh.tar.gz 72998 BLAKE2B fcbc852d1dfeef4dbe0b4f2daa36fa87f8e6b597d6f8dc80d3197b8d151aa0ffa1234a2677b5c430e3431cf826ff44d1c8954f043d3a8976970f73d403ccb544 SHA512 913930d98c006e355f700087f00bb002e93a68c782b6a8cba003242747a8060789a113f380199124a1499beca8d8399df73db9a003a6719a90378db86b2fc166 DIST minikanren-1.0.3.gh.tar.gz 73008 BLAKE2B 6fdc605249ac06071a8b51e736d19f561288a293853e8b7ac8685f5b4da400aa8ae480b9a6e5eac3a5735ebe00567e52f24d4bf6afbffb7678e0d41553e1b12f SHA512 b65095b947d3b59496035f54a00fcddaa1888dec1cb8117086bbb16f5b4ed1bf59f2b79e3639f06a4347bd22b7fb4753734f5b8da149a3d470521f360fba5d2e +EBUILD minikanren-1.0.3-r1.ebuild 801 BLAKE2B 13f44e9cd88c66446fe1c49e66a1b7113c752b6ebb6b09bcbf0825dae9153b787d16338f3347412f084124c7ea7837cfc5b23ea2d1da23da42ba01e677f69314 SHA512 75749866aa242ed64ada73a5c823e5a5c39cade4fd760c12d9a8e3937727393f229ddfaaf65b929150fc7fb66b48a440c609c767a426d9fee62c9b577a0d3904 EBUILD minikanren-1.0.3.ebuild 751 BLAKE2B 2a10bf8346cfb06e370dfcb6b650a6223201050264338c12a43d11d13507e5809a3d5903f32d553ecc906c1d617821a2a8595a2c753ab7a95c24784a8a4bb78d SHA512 58c4b72a5f3fa349f5c762ab3560ef5636b589bf89a2b6494177b2f8b64b1dd39ffd44a2e7c0c4535d2b6a38e938e4bec368434cdc49a4615dfd79e05ea26b11 MISC metadata.xml 397 BLAKE2B 6878783617fd4c8eadae1d2badc347bf9480898a6c96a31e47bde4d8f2e33f7dba9b6691bdc37cc8e88836e5afa0b1ef393c2d488109e7d10efee822afc5d305 SHA512 48ecc2298e82dda52cecd83e0d80e31ef83daa99fcd715a870ca294ad2989bf501466d27d86bf16db047d9abd3db41b2ad863302006634c88f211d2aadb6db4c diff --git a/dev-python/minikanren/minikanren-1.0.3-r1.ebuild b/dev-python/minikanren/minikanren-1.0.3-r1.ebuild new file mode 100644 index 000000000000..8f8f6317b8a8 --- /dev/null +++ b/dev-python/minikanren/minikanren-1.0.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P=kanren-${PV} +DESCRIPTION="Relational programming in Python" +HOMEPAGE=" + https://pypi.org/project/miniKanren/ + https://github.com/pythological/kanren/ +" +SRC_URI=" + https://github.com/pythological/kanren/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + dev-python/cons[${PYTHON_USEDEP}] + dev-python/etuples[${PYTHON_USEDEP}] + dev-python/logical-unification[${PYTHON_USEDEP}] + dev-python/multipledispatch[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/path-and-address/Manifest b/dev-python/path-and-address/Manifest index 3366d9947d0d..31aa61093c40 100644 --- a/dev-python/path-and-address/Manifest +++ b/dev-python/path-and-address/Manifest @@ -1,3 +1,4 @@ DIST path-and-address-2.0.1.zip 6503 BLAKE2B 146e73b5b54ea536f8b94da8ebbb923441564cf2137a55f3938552493b6fffe28c4e90c908a3fef2acb55e76f320519c7f59c0b2c99f144ebb29ca90d32e590a SHA512 11b2352389662412451e1e9f3e2997e81d36acbef7ad18c50328b9e9bb395f2f5fc8bca988ef14a7d9b76f5213cbfa17bb82df0e00f6989671181b104e4f1406 +EBUILD path-and-address-2.0.1-r1.ebuild 484 BLAKE2B d68ee52ab88d0269f1c94a8f4ad576386a0c499bf7e02641460a90bce210a34902555e1b03f95fe75dc7dd7b288150abbfab493eaf6d65ce8e836dcac17430c9 SHA512 3ea8338dc5baf723e21e0a50e06594ae35592ade2863189da6077161a64a65d447d7f46eaa641d3044a654a2c74a50461c9deb2904c9bec321d1505f77c292a7 EBUILD path-and-address-2.0.1.ebuild 501 BLAKE2B 165f3517d567457d71905e01f6e138c866b10ca53be74ed5bc21458a86d7c76f1493d180b6be806de6d7bae200843d80ea9da5b261a0ad0d9031b2395595105d SHA512 3f402bfc2ab8e9e0bbff1f1f6526c285cef29b051876702e3448e48b230519087ad0201e9aaaa5f068d4c25a3b1b436e2f32604a60d13f66b9a605ff0948e30d MISC metadata.xml 401 BLAKE2B 5853d3fe3d7d987a45da7b5069b90400db3795bb5418f3b0c4d639356fb91fb972dffe1b440674e620e8e5379d57dffeff9ad1f8943bc35a890f461c771af774 SHA512 9ccc8940eed3205b7d150dcdbd5099cac91627c617f837d3df45455a77889b96053996cfcede4986ce22c0f77eb35c5a8f277ed6ec268c6b8ae941831b3785b2 diff --git a/dev-python/path-and-address/path-and-address-2.0.1-r1.ebuild b/dev-python/path-and-address/path-and-address-2.0.1-r1.ebuild new file mode 100644 index 000000000000..f6f7f08dd053 --- /dev/null +++ b/dev-python/path-and-address/path-and-address-2.0.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Functions for server CLI applications used by humans" +HOMEPAGE="https://github.com/joeyespo/path-and-address" +LICENSE="MIT" + +SLOT="0" +SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)" + +KEYWORDS="~amd64" + +BDEPEND="app-arch/unzip" diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index 9c37e3953d55..298f01657a03 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1,3 +1,4 @@ DIST pyftpdlib-1.5.7.tar.gz 196076 BLAKE2B 9400fb9ff5d8c0e904f07dabef72a07528bc43a5332ad26544f0e512c457a919e887e9f9af18b75cb7853f2e0b70993bc5a858438924320e738d4bc9e2e17090 SHA512 66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22 +EBUILD pyftpdlib-1.5.7-r1.ebuild 1468 BLAKE2B 9e19bd82f4f5b891e91f56334bcc2be250ffc5e4068b1560695cdd51758ff0624bccd1c10545c2a6db069c8582b8c383cdd6d104fac6738793093b77d69b38e8 SHA512 c97d760893d9b3779953b16163c451e5af91f42ee636cecf88276475dee1d6fa5f934deeff9fb38d838a730cc5156d68df136ab28b9530489d1557228cef6ebd EBUILD pyftpdlib-1.5.7.ebuild 3122 BLAKE2B a3b276987776a4617dd5d24e990974a83fc0071cc04571a2415d6f00ec86b245174e22289728d3d1c286368c22107ec2412cb754cd9568310e0aa1d2a6c0b851 SHA512 30f7fa9b61b144000646a76e859a69dbcba9c3e6f3e3a69b834e21ca030c0c59c995ec2be5e56a21ad6d9bf20c67953c3b3d77e22c927b221b3f72b3528650dd MISC metadata.xml 463 BLAKE2B ad4e4d5a1717e55743061f2cb4baaa7ea8ce73f4caf0c8d62535aaf73daf12339584bf75c82c35b425223f478094bb37518b43d34694fb4bc6aef6f11033fa8e SHA512 98bb4e647da164a8676f9162d1109d1f6d1ff9279ba8d26207f2ed793537af27de11b40296bacfb478e87b6479c9d31bb24f56bc1acf2a0bc228b2d00a733e1d diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.7-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.7-r1.ebuild new file mode 100644 index 000000000000..c5dcd0b8478b --- /dev/null +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.7-r1.ebuild @@ -0,0 +1,61 @@ +# 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} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python FTP server library" +HOMEPAGE=" + https://github.com/giampaolo/pyftpdlib/ + https://pypi.org/project/pyftpdlib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples ssl" + +RDEPEND=" + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_test() { + rm -rf pyftpdlib || die + # Some of these tests tend to fail + local EPYTEST_DESELECT=( + # fail because they process sys.argv and expect program args + # rather than pytest args, sigh + test/test_misc.py + # TODO + test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst + ) + # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 + local -x TZ=UTC+1 + # Skips some shoddy tests plus increases timeouts + local -x TRAVIS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs pyftpdlib +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r demo/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pykerberos/Manifest b/dev-python/pykerberos/Manifest index cbd37cc0c4ae..e2ec1549a118 100644 --- a/dev-python/pykerberos/Manifest +++ b/dev-python/pykerberos/Manifest @@ -1,4 +1,6 @@ AUX pykerberos-1.3.1-python3.10.patch 1099 BLAKE2B afe1d4639bd3773f075453a4549c270450a5c89671b650e9ee76219abec84b6c1dd2fcc1b2b77db6937d5303f89e562deda1405a3963221259bec3ce506def5f SHA512 dae8c3f6419ecc22ec9f3385053275bd13f9468721c1a419c9166153e49251d5499582f184f2dbaa7a194a591436229d9bcbe558cedf46237dc5cc15929faa05 DIST PyKerberos-1.3.1.tar.gz 41954 BLAKE2B b95a3473c5803ebcb461db7f2589caa03e92f4cb3ba3a4890a31db99b687aa4c77ae4e58f09ae2339a1fd8acf6fe9ab5797e3b7178dfeb2ee7a95bb851fff402 SHA512 dcadc5c3b095d8bba947a745ac84cc558d7eebad139a0e86260891966786506a7a62600fde93fa14683971e436da8cc5cd3795817b20ba45ce7e39f8c05deb53 +DIST ccs-pykerberos-PyKerberos-1.3.1.gh.tar.gz 41954 BLAKE2B b95a3473c5803ebcb461db7f2589caa03e92f4cb3ba3a4890a31db99b687aa4c77ae4e58f09ae2339a1fd8acf6fe9ab5797e3b7178dfeb2ee7a95bb851fff402 SHA512 dcadc5c3b095d8bba947a745ac84cc558d7eebad139a0e86260891966786506a7a62600fde93fa14683971e436da8cc5cd3795817b20ba45ce7e39f8c05deb53 EBUILD pykerberos-1.3.1-r1.ebuild 1340 BLAKE2B 32f476cc68f5769214a99f6c0e46dcdf73f208a0e09cf6fb7592fe3b3e46f8df5298b9241fae778c769674b4d98977d72dd8909feed4b8c472bbb9add389d110 SHA512 fce071381367c50c0543b3634e3d7138ec6255732544666929412b8fe5da2c9424a9a497bedbb7dca0b5d1063bd7ba51833aa825e9db8640314801e61820e1d0 +EBUILD pykerberos-1.3.1-r2.ebuild 1432 BLAKE2B 2fb314aeb42e11d662701b65856120feb15f2845e3ff979ce014831f8c0561d2a6802ebe3e533d631621f9e53187083ab2adace1b51a5448983d000b7e033ad4 SHA512 36df45c8bb92143effbfddf9e0296e7f9a9ebc5d1c1d3ff431727edc49fda0342dc538f7d6dfbd4e6633ea1780013fabc9fe35f1466ed75ab17cb99011e3d4c1 MISC metadata.xml 372 BLAKE2B c666d6e6558e8c2ef8ec75b2125883e113dda896f01a9129c4e1fc0508946ad5a9e94f06cfd9deed11636779f1476c2e652dc445b6d8c3309056f6867d044eff SHA512 3db0bcddfd8d31b06fec3d1e3384b991a1018a5e491a61491aec3c3d3017d56c761f6078d12a533f8ad7c4094896be60e942f8e90409526eab40c1596f0a1aa1 diff --git a/dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild b/dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild new file mode 100644 index 000000000000..99abdec65e6e --- /dev/null +++ b/dev-python/pykerberos/pykerberos-1.3.1-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +MY_P=ccs-pykerberos-PyKerberos-${PV} +DESCRIPTION="A high-level Python wrapper for Kerberos/GSSAPI operations" +HOMEPAGE=" + https://www.calendarserver.org/PyKerberos.html + https://github.com/apple/ccs-pykerberos/ + https://pypi.org/project/kerberos/ +" +SRC_URI=" + https://github.com/apple/ccs-pykerberos/archive/PyKerberos-${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86" +# test environment is non-trivial to set up, so just use docker +# (see python_test below) +# also for alpha/beta Python releases support: +# https://github.com/apple/ccs-pykerberos/pull/83/commits/5f1130a1305b5f6e7d7d8b41067c4713f0c8950f +RESTRICT="test" + +DEPEND=" + app-crypt/mit-krb5 +" +RDEPEND=" + ${DEPEND} +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.1-python3.10.patch +) + +python_test() { + set -- docker run \ + -v "${PWD}:/app" \ + -w /app \ + -e PYENV=$("${EPYTHON}" -c 'import sys; print(sys.version.split()[0])') \ + -e KERBEROS_USERNAME=administrator \ + -e KERBEROS_PASSWORD=Password01 \ + -e KERBEROS_REALM=example.com \ + -e KERBEROS_PORT=80 \ + ubuntu:16.04 \ + /bin/bash .travis.sh + echo "${@}" >&2 + "${@}" || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pysmi/Manifest b/dev-python/pysmi/Manifest index fc05e0fc37ae..6b5d1c238ce4 100644 --- a/dev-python/pysmi/Manifest +++ b/dev-python/pysmi/Manifest @@ -1,3 +1,4 @@ DIST pysmi-0.3.4.tar.gz 93985 BLAKE2B 71b0ed936c196381f895b4f56e8e2e328ac274b08801a77b404b964201e00f8da2cbce2719414da358a4feb7992a3d04e732942f6e7006a0cceea4496f96b758 SHA512 720c8948a590130583d6ea388f0ade5d3bfe9e845821add7ffbf1b5495b5fe00b768ffb94f67b82465c6d86234f5306c6e1a5c2e49f4825bb9c31a0df629f7bd +EBUILD pysmi-0.3.4-r1.ebuild 569 BLAKE2B a74e63c7dcbb5b87ca582d106af766aa5523d782bb4d1dd584de08448d8a6f8deb96abec36efaf80566034e0683f42a0463c93798b5d0be550adff25e6b88316 SHA512 f585a7065a003d4e214eb4e4378904bac4b4fcb44e4b47f3ba21b4d5ce4d1a6b169dd2e5e5b1366b5e4a705bc8ea6691acf8f81d3d3091acfe4e97e3d0b548a7 EBUILD pysmi-0.3.4.ebuild 486 BLAKE2B 25ee18b9c563089d635eea361fe5f72eff1846e7ba7526d8add5e965499af14c80d877b8634d3e12d1fadb6891bceabfc55e9f675d0898aabf62078f647fc4a9 SHA512 03defa1fd1d5551f1da1cc0958011ba165ae0eace33b9f45f4706e3225164386c8a397e1f75ee27776ab20f9ea6e5ae9230e33ad81266e2a71190148cdf1fad0 MISC metadata.xml 386 BLAKE2B 4fec57cf0a5f257863620b805caace379e6a5810bad61d014a21adc05d4ad4f860481a52628afd573ccfc047d0c0820800ad3417f31df58c25ca62cbed6558c0 SHA512 7e016fbba698450d2edc5b8e7534cd5bde02f1e93323aad64092a6c7f7a948874014c190e910b11b684b83d6d88b11edc5fa97f535428683a155af3f6f4a6fd3 diff --git a/dev-python/pysmi/pysmi-0.3.4-r1.ebuild b/dev-python/pysmi/pysmi-0.3.4-r1.ebuild new file mode 100644 index 000000000000..22bf1f08d3dc --- /dev/null +++ b/dev-python/pysmi/pysmi-0.3.4-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2017-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Lex & Yacc" +HOMEPAGE=" + https://github.com/etingof/pysmi/ + https://pypi.org/project/pysmi/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" + +RDEPEND=" + dev-python/ply[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pysnmp[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx docs/source |