diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-21 14:56:58 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-21 14:56:58 +0000 |
| commit | a11e908ab476cd407a0668a9ece9eb5a3a51ab89 (patch) | |
| tree | b856bc2ecd8a773e99ccf6b16f377acf26b44d76 /dev-python | |
| parent | 104d0832eb70cf5eb5bef84ec66f43a77ba52193 (diff) | |
| download | baldeagleos-repo-a11e908ab476cd407a0668a9ece9eb5a3a51ab89.tar.gz baldeagleos-repo-a11e908ab476cd407a0668a9ece9eb5a3a51ab89.tar.xz baldeagleos-repo-a11e908ab476cd407a0668a9ece9eb5a3a51ab89.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
27 files changed, 556 insertions, 64 deletions
diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest index e520c631ec3d..bf99f1cab2a0 100644 --- a/dev-python/cheroot/Manifest +++ b/dev-python/cheroot/Manifest @@ -1 +1,2 @@ +DIST cheroot-10.0.0.tar.gz 148461 BLAKE2B d6a07878b03529be0d7ebefc91096f89b437374f9ede1db357a286bc199403798d35e9695dc1251d5045b6febc37940986693d9b36c89968ac3147ec68a481ea SHA512 02e32e52a596463cbb9874a800dbcdc5680dd7d9dfa95ca6e73c81f9248a488087c514ae70cdba94fe9df1f5d3ab1c68efcb720561cbeb7b667109fe5962f85b DIST cheroot-9.0.0.tar.gz 152562 BLAKE2B 5f5dd172cfc8fdd1318b22fc27060444a34343b6b83bbda4bd40c16d7cb0568c356f5fd14b0a7cdc74895d6707077ec54fcae54fb29b0d16a7c06e2cd36b1ee7 SHA512 86ea0dd2cb4cde25f86b489b1d0bb27e3e7c1ba5449759ccecaae689cdcb349b968fd0c8fb8bc8273deff5e32a078bf40f4342f0c5a1f53bb8d2b968f44a453b diff --git a/dev-python/cheroot/cheroot-10.0.0.ebuild b/dev-python/cheroot/cheroot-10.0.0.ebuild new file mode 100644 index 000000000000..fbbbf7d65b71 --- /dev/null +++ b/dev-python/cheroot/cheroot-10.0.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="High-performance, pure-Python HTTP server used by CherryPy" +HOMEPAGE=" + https://cherrypy.dev/ + https://pypi.org/project/cheroot/ + https://github.com/cherrypy/cheroot/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e '/--cov/d' \ + -e '/--testmon/d' \ + -e '/--numproc/d' \ + -i pytest.ini || die + + # broken + sed -i -e '/False.*localhost/d' cheroot/test/test_ssl.py || die + # pypytools is py2 stuff + sed -i -e '/pypytools/d' cheroot/test/test_server.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # requires pypytools, see above + cheroot/test/test_server.py::test_high_number_of_file_descriptors + ) + + local EPYTEST_IGNORE=() + if ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]" || + ! has_version "dev-python/trustme[${PYTHON_USEDEP}]" + then + EPYTEST_IGNORE+=( + cheroot/test/test_ssl.py + ) + fi + + epytest -p no:flaky +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 613e780805df..8526c1e2e3e1 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -8,3 +8,4 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 2ea3ef25290ce6180d271e42fb DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0 SHA512 c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 BLAKE2B 98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be SHA512 3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05 DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 BLAKE2B e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150 SHA512 65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e +DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 BLAKE2B 75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11 SHA512 f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7 diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild new file mode 100644 index 000000000000..f37802f5c2d7 --- /dev/null +++ b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest index 6a46a138d8c2..f6de871126d2 100644 --- a/dev-python/dogpile-cache/Manifest +++ b/dev-python/dogpile-cache/Manifest @@ -1,2 +1,3 @@ DIST dogpile.cache-1.1.8.tar.gz 394499 BLAKE2B 3371e6ffceb6629200a18095a20a313952b8a246d2ec7580e6409bde0f16851f8332922647b92383b47276933cfeb818dde6df48efd2534df0f94cbbc511e01c SHA512 2bacc111e17ecc706b3389f5c40ded888cc893f6d01c34a4e1e0d8d94c4592369b0c283aa80eb6ebec90dde7a89fd3b7fb9bbcbdd8010f90ad7de4501db13ace DIST dogpile.cache-1.2.0.tar.gz 258021 BLAKE2B 1173023866891a003314df7999ebe2d5a81836bdef0d495c0f6a635ba76678805866c4acdbc42ffaf18a548a298ea41cfbd649c2638e1ce5c4d8d1014d609730 SHA512 a97b851bd9c541004d701e4564cc641e479d40ab60aa08a48c4617f42ee444cf19e4d7551b76ecbfc16ceef1097d3334d15bd1d0a9b3b6ad15ed4e17149e0864 +DIST dogpile.cache-1.2.1.tar.gz 258589 BLAKE2B c271f823f1a57f26c07078edd9af5a899aa6c3793d979f3eb86cbad7814360d51dc26cdfe06f92f6bbc9a14620362332c22379a6024c9adab18f46c1ad3583fe SHA512 407a0b5842b9ae4a8a82da933b4c7a4fec4391b877dcddb4f454c7fdf78ed0d2f6db16650c89c8047e1ec2eb6348c23bdcae99a0998aa2de58cfc00d92e2fa5a diff --git a/dev-python/dogpile-cache/dogpile-cache-1.2.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-1.2.1.ebuild new file mode 100644 index 000000000000..085c4b3a5d14 --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-1.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value" +HOMEPAGE=" + https://github.com/sqlalchemy/dogpile.cache/ + https://pypi.org/project/dogpile.cache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index fb0af9d2a4ce..69e58ab5634f 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1 +1,2 @@ DIST furo-2023.3.27-py3-none-any.whl 327605 BLAKE2B 1368aabdbd497acf181c5b059da6d4bd3ae11e66bb81ec097358e051f7c64b7cffa537d5855ed68293398b26bb7df4d35a183c3eea00d4790b786b0f4bdbc6eb SHA512 7d321f59064d64c205c9c1a207fd62685c22102bc1546f0e063be9565458c6eed887e9f52851160e2658401ac8ed791572183e3c067c2e85c9c1811411e051f6 +DIST furo-2023.5.20-py3-none-any.whl 326767 BLAKE2B cc8eb3816bf99039e1a312f9fed21538b0154ece228e351107df89f5770c382614efc7202bae742d28d2fc8fceabc8b748b2bfbe8a230aeb70f280b622d42c11 SHA512 1a97b37aa9ce55878f34e3276eebeb4b138bd9e397b6711469fed4523ab8dadcd91e77234a1eca20561276f6660410a31f48f34ae320c6772d1055699cdd7125 diff --git a/dev-python/furo/furo-2023.5.20.ebuild b/dev-python/furo/furo-2023.5.20.ebuild new file mode 100644 index 000000000000..0bf37a918b27 --- /dev/null +++ b/dev-python/furo/furo-2023.5.20.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI="$(pypi_wheel_url)" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 4cf90a5b9317..44dc1e6a2221 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1 +1,2 @@ DIST griffe-0.27.4.gh.tar.gz 154404 BLAKE2B 40c3a67b47561eeaf846a53ee678e3473a4064ab58c1a07b823b914e2fcfda15e43de9dc6bac074eeb238838d27a9c14f4314a481590c83df1e83dcce320525f SHA512 bb927d956b289048950343d087da5be057fbef8e38feff345ce5f46ca1edfeb87a6fe94b8be18d7c76beef84c69dc97a3972177aac69429a4633f1543906b8e5 +DIST griffe-0.28.0.gh.tar.gz 155295 BLAKE2B 8250e34357b15049558bb40193c3e6374ec975842af7e4846124ec4684ffa8a29516230a5ab9ca0c838ca66d4c70822aaae964a7426b0eed594129c63ccbba30 SHA512 ab3361b659ada789ace548786d6fe3ebd7adf2312687c2ac8fb505a8d2026b96dc95985e0c26102a7168c8c46dd4730bf64890ec808ebb45afd3c88f244f154d diff --git a/dev-python/griffe/griffe-0.28.0.ebuild b/dev-python/griffe/griffe-0.28.0.ebuild new file mode 100644 index 000000000000..6e5cda463d2c --- /dev/null +++ b/dev-python/griffe/griffe-0.28.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=pdm + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE="https://mkdocstrings.github.io/griffe/ https://pypi.org/project/griffe/" +# Tests need files absent from the PyPI tarballs +SRC_URI="https://github.com/mkdocstrings/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=">=dev-python/colorama-0.4[${PYTHON_USEDEP}]" +BDEPEND="test? ( + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] +)" + +PATCHES=( + "${FILESDIR}"/${PN}-0.27.4-build_backend.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/guppy3/guppy3-3.1.3.ebuild b/dev-python/guppy3/guppy3-3.1.3.ebuild index 8f4ec8277380..cadaab1a52aa 100644 --- a/dev-python/guppy3/guppy3-3.1.3.ebuild +++ b/dev-python/guppy3/guppy3-3.1.3.ebuild @@ -5,6 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 inherit distutils-r1 pypi DESCRIPTION="A Python Programming Environment & Heap analysis toolset" @@ -18,5 +19,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" python_test() { - "${EPYTHON}" guppy/heapy/test/test_all.py || die "tests failed" + cd "${T}" || die + "${EPYTHON}" "${S}"/guppy/heapy/test/test_all.py || die } diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 613e780805df..8526c1e2e3e1 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -8,3 +8,4 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 2ea3ef25290ce6180d271e42fb DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0 SHA512 c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 BLAKE2B 98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be SHA512 3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05 DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 BLAKE2B e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150 SHA512 65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e +DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 BLAKE2B 75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11 SHA512 f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7 diff --git a/dev-python/lit/lit-17.0.0_pre20230520.ebuild b/dev-python/lit/lit-17.0.0_pre20230520.ebuild new file mode 100644 index 000000000000..0e39fac626c6 --- /dev/null +++ b/dev-python/lit/lit-17.0.0_pre20230520.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/llfuse/Manifest b/dev-python/llfuse/Manifest index e7cb3898bb28..abeaa5f1046f 100644 --- a/dev-python/llfuse/Manifest +++ b/dev-python/llfuse/Manifest @@ -1 +1,2 @@ DIST llfuse-1.4.2.tar.gz 834763 BLAKE2B 60bdfdd4567de4aa6ab5ea6692f48e6d68572bc13976e30fa9850c96b8a2c8a77638d3750df549b827a2bba0cc2dfa2a3f2cac3c4729278515a2703ecde446a1 SHA512 6a368af9e49f8537bbea396dfcd9fc024f8b93b161d3c6167d13c4ffb0ab20b6c8393447e71b5c147c82d4d1ee590ae08c512c93ccb28df78a06ab6833ac3705 +DIST llfuse-1.4.4.tar.gz 293728 BLAKE2B aba684a0b7b06a0cdb97fb8851639ee0c6b5dc100e3d216430e26f122a78ac7933b7d5725f271328804a592b343988d6ceb79bd8c682620464dcef1d26cc20b0 SHA512 3e61f1f82194dc915947e4f0c2edf44ce0e87c4da142e39c2b19bb7db3f387a348f9c1bb02b6d0f2507b57cbfc20ad83c11ce513c685dc276d6a382e4dd449eb diff --git a/dev-python/llfuse/llfuse-1.4.4.ebuild b/dev-python/llfuse/llfuse-1.4.4.ebuild new file mode 100644 index 000000000000..89390a0104f5 --- /dev/null +++ b/dev-python/llfuse/llfuse-1.4.4.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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the low-level FUSE API" +HOMEPAGE=" + https://github.com/python-llfuse/python-llfuse/ + https://pypi.org/project/llfuse/ +" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc examples" + +RDEPEND=" + >=sys-fs/fuse-2.8.0:0 +" +DEPEND=" + ${RDEPEND} + sys-apps/attr +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/llfuse-1.3.5-cflags.patch +) + +distutils_enable_sphinx rst +distutils_enable_tests pytest + +src_prepare() { + # force regen + rm src/llfuse.c || die + distutils-r1_src_prepare +} + +python_compile() { + if [[ ! -f src/llfuse.c ]]; then + esetup.py build_cython + fi + distutils-r1_python_compile +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/mkdocs-ansible/Manifest b/dev-python/mkdocs-ansible/Manifest index fbd9b53347b1..95d0a5b09378 100644 --- a/dev-python/mkdocs-ansible/Manifest +++ b/dev-python/mkdocs-ansible/Manifest @@ -1 +1,2 @@ DIST mkdocs-ansible-0.1.4.tar.gz 27751 BLAKE2B 33bf7edeadda869dcc620b1625deffad326d7a6296f70360a6138581ec60af8524ab8ccd7571c597b9574092dbb10a4296539eea3c9b586c0cc30c297f2a25cf SHA512 e2e3380e226c618cdcf87449ab76478be537b19b1c1da8bd93aca8791f29c98441b630997c203af3739509714eb2d7d2e1a0d8f07ef71b1c79a67c9651ad4886 +DIST mkdocs-ansible-0.1.5.tar.gz 27864 BLAKE2B b34fac1cb5f1ae960776f60ebb7405c3e8bf6c00bee3df81bfb2c77db03f2b1d7486967a7366e1702c969772ab8dba219a44f7be809563af01c867a5839b1ac6 SHA512 4d177fa532676cee76e7c861c06e920b3446d99bdd5ce062e3cf9d1a555153df197375f822df745619e9140e61a3ec590e046614509f4ec7b97e8e58c49e432a diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild new file mode 100644 index 000000000000..d5f242d2a01f --- /dev/null +++ b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Ansible theme for MkDocs" +HOMEPAGE="https://pypi.org/project/mkdocs-ansible/ https://github.com/ansible/mkdocs-ansible" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND="dev-python/mkdocs-material[${PYTHON_USEDEP}]" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 65e110985174..6f2166cd0a05 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -2,4 +2,5 @@ DIST mkdocs-material-9.1.10.gh.tar.gz 14174187 BLAKE2B 632f2855945575edc45719472 DIST mkdocs-material-9.1.11.gh.tar.gz 14174425 BLAKE2B 8789f589d80a73d882b9140141f912d64b30879ee52b42cdab49f26ad09e7a1ca68d558d31ff3b2392736147c72a9d3d00f8aefea297f14170e8f4da143d935a SHA512 269ffd9a39431744fc4c6082cd34def57ae91dc6caaed236360c9149973f4ea69233bb28851e7d214f442329aa8bc362bf238d2cb6d0bed172c57d82555bcef0 DIST mkdocs-material-9.1.12.gh.tar.gz 14175053 BLAKE2B 4d19e1a2360d4b60867973843a7d9d45f70410608053a751b4e169e0819ed33f7319f9df29471329268ec26e4db3f046fa7b5f254e88c4f5509f4ab3b1c278a4 SHA512 bb30a68986e2d29fce4c632f5aa72ed6ede3d7a1a8c6ce4725e11c7181ec41feda7d3446241dd3c253e2f6459fa083c948b482bfb43e6f7926103e273cea7375 DIST mkdocs-material-9.1.13.gh.tar.gz 14211447 BLAKE2B 2e7bbe04514cc41a8e4086e9ca7bdac8223bf7105a2a0726a9c5dbcdcbdd88c59a273d716b251aee6183267e855ee12c507860b687734bac79e3db7ce148cbdc SHA512 d85cac68cef50b54f98f4fc2536e12efcfa8d04e62990e11d6bd46b204589063157769ab08c21e4157230241f590982bfe7b2bf698fba9f2ffa5febd92ee3fe6 +DIST mkdocs-material-9.1.14.gh.tar.gz 14213692 BLAKE2B 20bf12cc6f534e3c0167ef275713c5f5eb9a2ca877631c91724f8d7bf5a3314fb2ac64e457218fd84b1cc01f6fd472336e16b7825d932c0366cbaf7f098bc7be SHA512 1f3a203cd41f67ac75573439077c65f98c3ddd803b0b0f09d2c0c590a019ae30dc7ee336372c4221ced77c4d015ebef7cf0c016ce02889a7f4ddb8f43e1d3bbf DIST mkdocs-material-9.1.9.gh.tar.gz 10937664 BLAKE2B ebb893deecbd545496542f714976337b6c57ab0b7413f53ec0e8635e3d3a668ce3b7dbd46ea2517855e077d271f147d1df7c9d838d80a3954ff8a9f63f7f7bce SHA512 0b2a42e8f035375f34ca23a1489d4d76c9733cd28e1dc98f25c8f5461a337ff533eb85c72d9b22a8d2af4694b1e0c74ea61bb62da91827562b1ecb4cf4e8867c diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.14.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.14.ebuild new file mode 100644 index 000000000000..c6eb88bef19a --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.1.14.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=hatchling +PYTHON_COMPAT=( python3_{10..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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=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}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${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/owslib/Manifest b/dev-python/owslib/Manifest index 86962121dade..7a5e059afc5b 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1 +1,2 @@ DIST OWSLib-0.29.1.gh.tar.gz 960582 BLAKE2B e88446a843113453b116016a4488e1738472b2ff8faf7f0b1647db061e2af4b15e7ca64fb92d3298a9c4e906f8230a03fea664df65113dedba901a75c074da2e SHA512 10fc2d75b60c6a388d4729011e3843d0943e6273c94d628b288c973304c01359d77a4856a7dc74ac28358f26cbe9ffe85a67921ef5eb62475d2143dd20c46e08 +DIST OWSLib-0.29.2.gh.tar.gz 953216 BLAKE2B 3c0204cd62fdf3fe36ca2051a83a00ad165e7f7682d850c3796877c83382f7a3c68d2c02f8dfaa90016909393a9bfd6f2415499f6096de9f4333102b20ccd932 SHA512 66c0c6b4bcae08f0acbf1d4ee4a0e5d2b33996ae0d088ddd01844f050da364c581f7ea2a46d48652b969c75e8b31caf4c721f497ea079fb779d670199dd56746 diff --git a/dev-python/owslib/owslib-0.29.2.ebuild b/dev-python/owslib/owslib-0.29.2.ebuild new file mode 100644 index 000000000000..6b89ed5f6480 --- /dev/null +++ b/dev-python/owslib/owslib-0.29.2.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} ) + +inherit distutils-r1 + +MY_P=OWSLib-${PV} +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE=" + https://geopython.github.io/OWSLib/ + https://github.com/geopython/owslib/ + https://pypi.org/project/OWSLib/ +" +SRC_URI=" + https://github.com/geopython/${PN}/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # connection errors + tests/test_wfs_generic.py::test_xmlfilter_wfs_110 + tests/test_wfs_generic.py::test_xmlfilter_wfs_200 + tests/test_ogcapi_records_pycsw.py::test_ogcapi_records_pycsw + tests/test_opensearch_pycsw.py::test_opensearch_creodias + tests/test_ows_interfaces.py::test_ows_interfaces_csw + tests/test_csw3_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw_skip_caps.py::test_csw_pycsw_skip_caps + # different output from remote service, sigh + tests/test_ogcapi_processes_pygeoapi.py::test_ogcapi_processes_pygeoapi +) + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/pipenv/pipenv-2023.4.29.ebuild b/dev-python/pipenv/pipenv-2023.4.29-r1.ebuild index f17b4353d064..f17b4353d064 100644 --- a/dev-python/pipenv/pipenv-2023.4.29.ebuild +++ b/dev-python/pipenv/pipenv-2023.4.29-r1.ebuild diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index bd2ca91fee07..2d43b44836a8 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1 +1,2 @@ DIST pyopencl-2022.3.1.tar.gz 470441 BLAKE2B 86ec602f3d73a64e34fe77b7985e64db332a685b33231ad7832d7e864f3170e3eee0aed42742b9892f7950a0f672a736e169ccd0ca08a124b7f20738b348dbff SHA512 57944de69bb24f0f22fb2c0165cd4de5265f5329246fead8449d26e6cbe1204fd44ced70df9960aa54e7d285abe81d8f8a802ba62309de5f4865e882177025ae +DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773 SHA512 3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244 diff --git a/dev-python/pyopencl/pyopencl-2023.1.ebuild b/dev-python/pyopencl/pyopencl-2023.1.ebuild new file mode 100644 index 000000000000..bcc6fbe33706 --- /dev/null +++ b/dev-python/pyopencl/pyopencl-2023.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Python wrapper for OpenCL" +HOMEPAGE=" + https://mathema.tician.de/software/pyopencl/ + https://pypi.org/project/pyopencl/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="examples opengl" + +# Running tests on GPUs requires both appropriate hardware and additional permissions +# having been granted to the user running them. Testing on CPUs with dev-libs/pocl +# is in theory possible but has been found to be very fragile, see e.g. Bug #872308. +RESTRICT="test" + +COMMON=">=virtual/opencl-2" +# libglvnd is only needed for the headers +DEPEND="${COMMON} + opengl? ( media-libs/libglvnd )" +RDEPEND="${COMMON} + >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" +BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] + test? ( dev-libs/pocl )" + +distutils_enable_tests pytest + +python_configure_all() { + local myconf=() + if use opengl; then + myconf+=(--cl-enable-gl) + fi + + "${EPYTHON}" configure.py \ + "${myconf[@]}" +} + +python_test() { + # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present + local -x PYOPENCL_TEST="portable:pthread" + # Set the number of threads to match MAKEOPTS + local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) + # Change to the 'test' directory so that python does not try to import pyopencl from the source directory + # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) + pushd test >/dev/null || die + epytest + popd >/dev/null || die +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pywebview/Manifest b/dev-python/pywebview/Manifest index a0c9ad5c6cd1..3c663a01b15d 100644 --- a/dev-python/pywebview/Manifest +++ b/dev-python/pywebview/Manifest @@ -1,3 +1 @@ -DIST pywebview-3.6.1.tar.gz 338235 BLAKE2B 6376ee4f6bea245e1583414a0203bfed518f84cc64480a451e0b445c2b43f1d532c99dbf1403bca54f2e2b71859262e451b23be231578c91372d5691ffcbff37 SHA512 0877981f66c34f72d8c216c5e5167df2bf3c9b4bdd597e1ddde64958ab31e683d722df51e4638510cfa02f382f879340da6ce1b55760b792c215d4c826233f84 DIST pywebview-3.7.2.tar.gz 440069 BLAKE2B 72a7b53ee72570f3ef0dc2c490f484dca02581490213708b6c45bb487b990d41ca64d477853454549c6cad3543f6381109a2fc54182bb14a720872b1fa240ed9 SHA512 943ce75a29f19b04890e8ae8f3327968b35ba347c8abab9079cfac5e9f93edfa0fbc3999d77a68bb7885d5a7236dc12c75b3a23e1cfbf2fc9fe794089a936db9 -DIST pywebview-3.7.tar.gz 339300 BLAKE2B 4cb3fec3566e3ff82f3e515c9ab7e295e6240df62f986f79e2a9de20343bdf0174accd46a26320b302c344ebd098d7ab0f1b51b509c265d5217756db6c0c3a99 SHA512 170ceb106a7382e25b1afc62085deb5d58a6ba52c5fd2afeb7408455e85eba5f537cc9a5f05ab35dbe8e20615e0a65d2629e70283f9a00dc67903d213a8dbf79 diff --git a/dev-python/pywebview/pywebview-3.6.1.ebuild b/dev-python/pywebview/pywebview-3.6.1.ebuild deleted file mode 100644 index 3ac219afd4ec..000000000000 --- a/dev-python/pywebview/pywebview-3.6.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="A lightweight cross-platform wrapper around a webview component" -HOMEPAGE="https://github.com/r0x0r/pywebview" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="gtk qt5" -REQUIRED_USE="|| ( gtk qt5 )" - -RDEPEND=" - dev-python/proxy_tools - gtk? ( - dev-python/pygobject[cairo,${PYTHON_USEDEP}] - net-libs/webkit-gtk - ) - qt5? ( - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP}] - ) -" diff --git a/dev-python/pywebview/pywebview-3.7.ebuild b/dev-python/pywebview/pywebview-3.7.ebuild deleted file mode 100644 index b3f6f3db9719..000000000000 --- a/dev-python/pywebview/pywebview-3.7.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# 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_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="A lightweight cross-platform wrapper around a webview component" -HOMEPAGE="https://github.com/r0x0r/pywebview" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="gtk qt5" -REQUIRED_USE="|| ( gtk qt5 )" - -RDEPEND=" - dev-python/proxy_tools - gtk? ( - dev-python/pygobject[cairo,${PYTHON_USEDEP}] - net-libs/webkit-gtk - ) - qt5? ( - dev-python/pyside2[${PYTHON_USEDEP},webengine] - dev-python/QtPy[${PYTHON_USEDEP},webengine] - ) -" |
