diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-12-08 13:43:22 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-12-08 13:43:22 +0000 |
| commit | bf35cff020d11fa408559f7c8d39e18c20733839 (patch) | |
| tree | 966f7c860cd9963648c8436009a3eefdac971958 /dev-python | |
| parent | da82d90935bfd6e16c24c0306b89362d3daf65dc (diff) | |
| download | baldeagleos-repo-bf35cff020d11fa408559f7c8d39e18c20733839.tar.gz baldeagleos-repo-bf35cff020d11fa408559f7c8d39e18c20733839.tar.xz baldeagleos-repo-bf35cff020d11fa408559f7c8d39e18c20733839.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
25 files changed, 555 insertions, 186 deletions
diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest index a9a144fd0aa2..9b6328fb2b77 100644 --- a/dev-python/cx_Freeze/Manifest +++ b/dev-python/cx_Freeze/Manifest @@ -1 +1,2 @@ DIST cx_Freeze-6.8.2.gh.tar.gz 1271879 BLAKE2B 5c0feb7fdb51edd9e1c3a508d3d2401d1930986ee8caf957ad84a853baed56b0a6d9bd09628331adac67b4b8c79059c5a6669f8a52f22596cd1d42c87ae8d7f4 SHA512 7c7de3290597ab986326ee67b9cb8fc3dd554cef2940e3df11df5be23a6a5b4eebb33784149aff59ebec97663c8a2e70b0811cb7c244cabe43659c59882ecd40 +DIST cx_Freeze-6.9.gh.tar.gz 1273371 BLAKE2B d005fdf0e2ac49cb4f347256d3b643124694a0628e4abf6806c122c144bb973e14a2d9101b2d446394d50c6c0d9af7edca1e62b50bb4d76f63c96fabfda6cc7c SHA512 219f052cae05a757c2cd57c45e47c0b3e85662ace895a8b768e1571044e132b7db367af2a6293d175e022f79f87b02007dfdd8807eb39be04a89602b51cc0246 diff --git a/dev-python/cx_Freeze/cx_Freeze-6.9.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.9.ebuild new file mode 100644 index 000000000000..0beb15636a74 --- /dev/null +++ b/dev-python/cx_Freeze/cx_Freeze-6.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Create standalone executables from Python scripts" +HOMEPAGE="https://cx-freeze.readthedocs.io/" +SRC_URI=" + https://github.com/marcelotduarte/cx_Freeze/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PYTHON" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-util/patchelf + virtual/libcrypt:= + $(python_gen_cond_dep ' + dev-python/backports-zoneinfo[${PYTHON_USEDEP}] + ' python3_8) +" +BDEPEND=" + test? ( + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # bug #491602 + "${FILESDIR}/${PN}-6.8.2-buildsystem.patch" +) + +distutils_enable_tests --install pytest diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 6e8a8eb6083f..8fb2f11472a6 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST google-api-core-2.2.2.tar.gz 140701 BLAKE2B 4e90db4311fc88d3fc8e29d6d8f11ae1424000c0e293f219d679984ec4a2c1bbbaf72d734b937d6916302f3a9a8b1cb369dd719972f4eb2d3f7264bf16ffbc7f SHA512 9b307c8ebd224b7614bd1d9f48d752852929b726c04df24f81e0b1b601f9a14d10654e9ef53b6a5ab677e8e57256f87b8683fa4dde0585f9c2e6d313d29d53fe +DIST google-api-core-2.3.0.tar.gz 155449 BLAKE2B 4aba324a18c8b6f9b9afd223688771fc6a57ee71f550736cfb5c9fac861a6a84369eb4e6ebec0664241590624c52cd0bcc8762afeb230debc16f0849fde049bf SHA512 f85c9279822ab818aa9d183bc930e61be9cfb2e65ab6a46fcd8aaab2531b4258c6247b02fb8f4f29841d9ab13ca33e129198589cbc37b3c77677a72e72635285 diff --git a/dev-python/google-api-core/google-api-core-2.3.0.ebuild b/dev-python/google-api-core/google-api-core-2.3.0.ebuild new file mode 100644 index 000000000000..b678fbba508f --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE="https://github.com/googleapis/python-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html" +SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P//google/python}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/namespace-google[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/googleapis-common-protos[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] +" +# grpcio support is broken if grpcio-status is not installed, +# and we do not package the latter +BDEPEND=" + test? ( + !!dev-python/grpcio + dev-python/mock[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest + +EPYTEST_DESELECT=( + # TODO: package proto-plus + tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore + tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting +) + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index eb3df5b9f268..23b4ce89b0d6 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1 +1,2 @@ DIST googleapis-common-protos-1.53.0.tar.gz 106651 BLAKE2B a38ae93d0fe639bad571d74c9f2d011504cd82175e19aad27deda467676936c7df804ded50ee51544615609ce4fb6a6ec629fa175fbda7b2119c73747b6c58a7 SHA512 2ae8230b712ab6fc8328d3e3ba55ace28b9ba5fe3a300899b4a1f13d5d8b3bfd19eef9d1829747b57c56169351e4aa14380551d009fe6bd46e27aa22e7d3b9a5 +DIST googleapis-common-protos-1.54.0.tar.gz 112874 BLAKE2B 95d2429d8bf27299ff406d0a06f31b2b499f66533cf884a8ec77ed6defa10bdabd6460232265efc9606e5f890ab14c571a0240e842fbdf7117ff3d7bff5ef28d SHA512 535cf6e4e5331a99232cb3eec1bc56676fcf87c522bd5b06f3452c7b22abd51479f3e4c69c8654bba4d789e8267360e11573d357ac90bb63854281e227eb8bc6 diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.54.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.54.0.ebuild new file mode 100644 index 000000000000..2fcb8c626805 --- /dev/null +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.54.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="python classes generated from the common protos in the googleapis repository" +HOMEPAGE="https://pypi.org/project/googleapis-common-protos/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/namespace-google[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.12.0[${PYTHON_USEDEP}] +" + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} + +# no tests as this is all generated code diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index 4da31a8d3651..5eacddaa6177 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -2,6 +2,8 @@ DIST libvirt-python-7.0.0.tar.gz 214945 BLAKE2B 9ab616fa6336a284dbb1dcebf0be6a06 DIST libvirt-python-7.0.0.tar.gz.asc 833 BLAKE2B 54102c29a46900dc5439ca5b96d17d0f3923fb1cb5fa74ef7671a49645c5e5d7f43b608099f542410ca38d675a384e2ad3fdfd7494bda6e66b889ec3d9f04e9e SHA512 4ca5cf4e3687e3cbdb3bf9991076ef4d0427db4b7eb27738d4463c5645d684581dd20377339e6bdac66e790f10709df9f483dd9f360a1b978776fe5d3e2dcc64 DIST libvirt-python-7.1.0.tar.gz 215468 BLAKE2B 5734f686760d118bc326c68d93714db31b65d0d2f8495c8fb7788aa59658680cc07b8c522e5854bafc6a75989cee4b7c817ec0f54ae5ebcb76ed74418fa1c0f0 SHA512 9c4adf0107b2b6d8ac3f84f4a201733b851b5c518e498b4bb8fe3531ec8923b2a96e5593ee0fe309b9501884a83e77a6a0347a6714293febf907c9a4dc742cd4 DIST libvirt-python-7.1.0.tar.gz.asc 833 BLAKE2B be4101dcff4f95e36929dc70657a527e7b0b30fe9556c8d42f240459f86f7ba71980cf483f4d828d63cf94ce3c4521e7303d72f6df5e6c4c2a6de1b160970073 SHA512 db0213bb95d77c690ef8726ae559cae7970d31e633104993e715dd4e34e2f3c52bdcf7303e90419055d571d21417ac6375d78463143e20e94bf4aaf666684174 +DIST libvirt-python-7.10.0.tar.gz 218394 BLAKE2B be1b64489503ca2e8bcaafc516ab228052b4e3e486aef1ef5310a95051a9549fe262feb009356f3735a3656e7b445ef6943b1932373be3618c36445042da8565 SHA512 db3c6ccffa3c2f38b788964f7a9cedee3e8de64fb5ecb65ac859eeac1450bea1ade8a7259a6035d7ee25af7d861b2e87f6eba24c21cab3f483c1a97318181d7e +DIST libvirt-python-7.10.0.tar.gz.asc 833 BLAKE2B cf9d661bafd7e2ee52e895d3b5aa7d569226f90b4924a95c4178fb724847bfdcd085b04ae33a315480b20115318604809bc4a7edce5c801fd1286581cd8989a5 SHA512 f36d47b4b78daa1e848954acb3032750fc9bec58723b9bd04c48ca1a9b45e1a0252b85adef239080f6aef199c836d04db283510b099c69792e1c4b403c7d3685 DIST libvirt-python-7.2.0.tar.gz 215380 BLAKE2B e9c55a193c571b8fdf3f7f2545ae82470ff74e74e4f2fb58dda6278bc484eb26ae84f2991bc34adc6030973e7d53d364576247e1f8ab836edea06a5da0f8575e SHA512 6df5be4d98884751e4a098b54ec1d8827268993b6df5769c1a687420dd5889c629ca0bd286f5a0c22a9c81974fa02565b36628f8026c697ae414137f0c1d8441 DIST libvirt-python-7.2.0.tar.gz.asc 833 BLAKE2B 3f93f4841da3d86c6a0ba073b70c44e3732eb0ca91fd80a7089c1731851173d163101428d07f82f688478a7967e71bd66b49cd70673157428d2c4802a5df3bae SHA512 fe4f7bf6a9ea6e008ed73fac588785281582dd5eaa738e5ca05b88534659096af137408e1222f791d5a13190358fcf5d30eaa8d8a24791e3b5a15622516fe05f DIST libvirt-python-7.3.0.tar.gz 216823 BLAKE2B 2f7ff569e1dc05ac013e21046eab26290d1977401cda063f9f60e27f09cbe7ab1f30e17c2d9dfb11b36930a7af8496f2d36b19760819c64836844ce8daf8da01 SHA512 a99c0d7258364464df6a68e5fee3137daab3e6ef0dc8924b95a2b7bb69bcaf221d6be17d004ec994e9fae223db920360352b5b32945586ecc1407cb6bd86682a @@ -14,3 +16,5 @@ DIST libvirt-python-7.7.0.tar.gz 217406 BLAKE2B 4e3e887f9778ca817028d9147913618d DIST libvirt-python-7.7.0.tar.gz.asc 833 BLAKE2B 159f5b5ec60d3b7966f3f99c185eddb8d2d03480b203473ae47e6139b21f8a4ee8bb8ba28ccacb88ad42c7b47d45862ccb48c90151203fb4e2295f355984e538 SHA512 b58579e648b82ec51de5f15e30dee39f7c42edf47ade4ad6f580bef21191f649b03eb05906bf31baa19afb6fadb57662c5326edb53b056a7235308d9c3bd551d DIST libvirt-python-7.8.0.tar.gz 218185 BLAKE2B bc975dfacb73517a3c9771d8d692411a6ec1cdfc2e8605d6cae28e8b6e3b74e15e882cd45b8369802b07e4b583795377d2f005cf1462a76e9f98c33591b472fd SHA512 e50dacc8214849dc2fa752e21061826463753b912765c3186948c9d634c18f0be8b579acd7765878aea27b2cd6f65e7113a8f8b90791ad76c69834d4e947b6cd DIST libvirt-python-7.8.0.tar.gz.asc 833 BLAKE2B 47a4b7a582caf04a9cf805e530af507733102fc13d952a5107ca9b25e62dd4159fddd9325055b1f647eecb17dd311811325f421a31e76b86e401815e11c65196 SHA512 2b5464b982881bc2927ce3932bb73a7bec2204b549aa3068bdfcf52232bd40141b09064280864a4c1dbcfe7fe31041bbee070d5ce7ce33afccb3d431f7119d4f +DIST libvirt-python-7.9.0.tar.gz 218332 BLAKE2B 421dfe2b3eb4103516ed124fc6a4b0d5d0c7c3d30e17a2a16eb3763433f53bb72ae0d95034fa41b01e331e9090c18618ee57493afae4757f8e864fa208cdcc42 SHA512 d147da38710853c1dcf93dc271b1d1ff32afb45e3eb5c24c931da4943827ecec0c3840b975fb40e240ec7038cc81cb7848d387e7550e4f4803f35e2d08cbedff +DIST libvirt-python-7.9.0.tar.gz.asc 833 BLAKE2B 3037a0fd66ad0c0706b76c6b64552d69b5f93ef2377c5cb02dbf62f85e47ee7d76970fa5bf3aa5653751f022e4f44e081d009dedbdffe677b1b288e2e8f9c498 SHA512 4bbd38d27c5b4ccc5623425de8dc3c0e1bec2560a4e52bbf2ec7b0ea2984563501e77157d234ad03a988ddaa9ba20545b3086582c93cd51cf8e756c7c7e55ff5 diff --git a/dev-python/libvirt-python/libvirt-python-7.10.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.10.0.ebuild new file mode 100644 index 000000000000..5148a5746a67 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-7.10.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DISTUTILS_USE_SETUPTOOLS=no + +MY_P="${P/_rc/-rc}" + +inherit distutils-r1 verify-sig + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git" + RDEPEND="app-emulation/libvirt:=[-python(-)]" +else + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz + verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" +LICENSE="LGPL-2" +SLOT="0" +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) + verify-sig? ( app-crypt/openpgp-keys-libvirt ) +" + +distutils_enable_tests setup.py + +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/libvirt-python/libvirt-python-7.9.0.ebuild b/dev-python/libvirt-python/libvirt-python-7.9.0.ebuild new file mode 100644 index 000000000000..5148a5746a67 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-7.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DISTUTILS_USE_SETUPTOOLS=no + +MY_P="${P/_rc/-rc}" + +inherit distutils-r1 verify-sig + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git" + RDEPEND="app-emulation/libvirt:=[-python(-)]" +else + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz + verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" +LICENSE="LGPL-2" +SLOT="0" +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) + verify-sig? ( app-crypt/openpgp-keys-libvirt ) +" + +distutils_enable_tests setup.py + +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/llvmlite/Manifest b/dev-python/llvmlite/Manifest deleted file mode 100644 index 317bf1f96cb3..000000000000 --- a/dev-python/llvmlite/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST llvmlite-0.37.0.gh.tar.gz 223602 BLAKE2B 74f975d5ac1782528f60f1c0d5c6230a02953e0d494d8323e4caa6651f642ad791ad51df44f6593da41edc5c34bd883f144e95b16f9b8962393d16de013fdbc5 SHA512 665f486fd38c9cc4ee91b15fc75f33451ada6391fc9f1b371091ece844693e0cd8e23766400bf76d9879e8f10f53f4e21f8bb19f3ff1e01c4a95ce9004b0884a diff --git a/dev-python/llvmlite/llvmlite-0.37.0.ebuild b/dev-python/llvmlite/llvmlite-0.37.0.ebuild deleted file mode 100644 index bd451f79b97a..000000000000 --- a/dev-python/llvmlite/llvmlite-0.37.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 llvm - -DESCRIPTION="Python wrapper around the llvm C++ library" -HOMEPAGE="https://llvmlite.pydata.org/" -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz" -S=${WORKDIR}/${P/_/} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -LLVM_MAX_SLOT=11 - -RDEPEND=" - sys-devel/llvm:${LLVM_MAX_SLOT} - sys-libs/zlib:0= -" -DEPEND="${RDEPEND}" - -src_prepare() { - sed -i -e '/max_python/s:3\.10:3.11:' setup.py || die - distutils-r1_src_prepare -} - -python_configure_all() { - # upstream's build system is just horrible, and they ignored the PR - # fixing it, so let's build the shared lib properly using implicit - # make rules - - export LDLIBS=$(llvm-config --libs all) - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}" - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}" - - local files=( ffi/*.cpp ) - emake -f - <<EOF -ffi/libllvmlite.so: ${files[*]/.cpp/.o} - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS) -EOF - - export LLVMLITE_SKIP_LLVM_VERSION_CHECK=1 -} - -python_test() { - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-python/llvmlite/metadata.xml b/dev-python/llvmlite/metadata.xml deleted file mode 100644 index 01d73c5b74dd..000000000000 --- a/dev-python/llvmlite/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>llvm@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <longdescription> - llvmlite uses the LLVM library for JIT (just-in-time) compilation of - Python code into native machine instructions during runtime. Instead - of exposing large parts of the LLVM C++ API for direct calls into the - LLVM library, llvmlite follows a lightweight multi-layered approach. - </longdescription> - <upstream> - <remote-id type="pypi">llvmlite</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.6.2.ebuild b/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.6.2.ebuild index cdd6f0c4c25c..b2baa967630a 100644 --- a/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.6.2.ebuild +++ b/dev-python/mkdocs-git-authors-plugin/mkdocs-git-authors-plugin-0.6.2.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/timvink/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND=" dev-python/GitPython[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.11.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.11.ebuild index eecb390db5d0..9de05144be75 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.11.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.11.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/timvink/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND=" >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 4c0124ee7f42..9b17beaaf8f8 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,2 +1 @@ -DIST pillow-8.3.2.tar.gz 48783084 BLAKE2B c63930df3af0270bb092841b3c39a1ea75343ee743f9e4b083a2f6f621ad1e58c7c04c5d6cf4b648fbef2d79d7b5258e27d220cd32dbfff592b5ca70d1f28d64 SHA512 668e97abcd36e42dafa433e8814a0106fe742ab093b12748c13dd9f3f872d18f8b9d44c1a8d4115aa87969a98b53c36ae4783cc3804e2d9a1249eef300555c88 DIST pillow-8.4.0.tar.gz 49364586 BLAKE2B f6a0fbafc0869c952bf88ad96146f27cf70c5680f372763bc9989cc49515bc74886a9d7648114797880ca06defc79e2e50d7ecf36bfa7adbd969450615ac0bd1 SHA512 d395f69ccb37c52a3b6f45836700ffbc3173afae31848cc61d7b47db88ca1594541023beb9a14fd9067aca664e182c7d6e3300ab3e3095c31afe8dcbc6e08233 diff --git a/dev-python/pillow/pillow-8.3.2.ebuild b/dev-python/pillow/pillow-8.3.2.ebuild deleted file mode 100644 index 81e0167b790c..000000000000 --- a/dev-python/pillow/pillow-8.3.2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 toolchain-funcs virtualx - -MY_PN=Pillow -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python Imaging Library (fork)" -HOMEPAGE="https://python-pillow.org/" -SRC_URI="https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:0 ) - jpeg? ( virtual/jpeg:0 ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:0=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:0= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:0= )" -RDEPEND="${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}]" -BDEPEND=" - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -python_configure_all() { - # It's important that these flags are also passed during the install phase - # as well. Make sure of that if you change the lines below. See bug 661308. - DISTUTILS_ARGS=( - build_ext - --disable-platform-guessing - $(use_enable truetype freetype) - $(use_enable jpeg) - $(use_enable jpeg2k jpeg2000) - $(use_enable lcms) - $(use_enable tiff) - $(use_enable imagequant) - $(use_enable webp) - $(use_enable webp webpmux) - $(use_enable xcb) - $(use_enable zlib) - ) - - # setup.py sucks at adding the right toolchain paths but it does - # accept additional ones from INCLUDE and LIB so set these. You - # wouldn't normally need these at all as the toolchain should look - # here anyway but this setup.py does stupid things. - export \ - INCLUDE=${ESYSROOT}/usr/include \ - LIB=${ESYSROOT}/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -python_test() { - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - virtx epytest -p no:relaxed -} - -python_install() { - python_doheader src/libImaging/*.h - distutils-r1_python_install -} - -python_install_all() { - if use examples ; then - docinto example - dodoc docs/example/* - docompress -x /usr/share/doc/${PF}/example - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pillow/pillow-8.4.0.ebuild b/dev-python/pillow/pillow-8.4.0.ebuild index 188e31edd4dd..81e0167b790c 100644 --- a/dev-python/pillow/pillow-8.4.0.ebuild +++ b/dev-python/pillow/pillow-8.4.0.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 33dfd91238f1..f09ae2165605 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -2,4 +2,6 @@ DIST mongo-python-driver-3.11.4.tar.gz 983009 BLAKE2B b2ca8d90a34b41c0991b545626 DIST mongo-python-driver-3.12.0.tar.gz 1062091 BLAKE2B 636a34a42d43a6ecd549c51e9e5b3a617291b64a1ba91d7473c365f8df88d59efd7b2906dd80147ffab4309d38cce30a3475bbe142e347312823236f8657c801 SHA512 fc2734b8821b42cca1b67930d5c7612526e51292144a376425627ea6254b09128ccd894af3be293184f940c7f8faa1c0cd3a0d069f9b4143a15cb32279c3bdb1 DIST mongo-python-driver-3.12.1.tar.gz 1067667 BLAKE2B 3f18c5aa92ce180067f9c86e1fcbd80543274a2ee33ce1fad5741f0e7f5a9cb0520c33b8fe885ea69c2c8ce168747a44129fe79a5df389b83bd5e77a6ec4a687 SHA512 1fc98c33d8140ab045804130fc27b655a8622318f7030967d841e7a296dcdfb89a125cb2574a9b08eef15d3fdc089f268631501743b46d04a7b465cc45c0c04e DIST mongo-python-driver-3.12.2.tar.gz 1069372 BLAKE2B 962dc2ee42f01586d9e8fb07d3ba7a74f4379af268b6213c1a5b67b901c805719b9c164fc3d270dd77b3c627f998b291330eeb02968246f2a68e5925bcb608fc SHA512 0e6ac0eafb8fb71db22e7ce27e6acc5c17ea80ac8c0100c358302582da68e03d7bd33eed320f5c8c43b067c3f1e75b4ed4f8c63c4c9705bf9a1c764917d973cb +DIST mongo-python-driver-3.12.3.tar.gz 1069576 BLAKE2B accb8d1598c3f7d3fb4bec05390521562abf3a067abf82e25b62ebfdb95ed000f6a77edc60f0bcb816b85b1f7fc32c1e4dd54580c203a5d383d30e144a61dfa9 SHA512 21a723985c7846879d3b81ca41060fa6063b187c91c0c7797227f0b7b174880114aec9412d37821cb3d839bf98039b87f03c7c559b9599626705d3f790a8e11c +DIST mongo-python-driver-4.0.1.tar.gz 1030722 BLAKE2B b820901a433ffa2e82db0ef3c014aaa1e7d53bbc3ab94a5432fcb713d9789cbbf411a4ad5085ef3896cbf2aeff6d0e79f3f7bd5936d3aa615080a0421d8818c2 SHA512 1aead66d21c032e6d42b3aa408b0193bcac6a5a293ecfc513fadb634c574dccdcd351c693352f23cfe577c73fec901cdc2aa635dfe9afe8d9108ed917f55b53b DIST mongo-python-driver-4.0.tar.gz 1029687 BLAKE2B d8ae35b68bff288388a797c51b40d453c3e2197a0b639689bbb43f7e4470f3c4d5bf861d6ae77805b950e8c8daadcef5043b93c6d6a4b094fcb95521caf4c751 SHA512 b29acfcbd92b8f46780039cd0688cb03c083dfaf1ec6793906029f1e03635edc9a9ef6eb7104fa3dc16eca6df4ccfedd7bd4a8da495f754157edec371211fe15 diff --git a/dev-python/pymongo/pymongo-3.12.3.ebuild b/dev-python/pymongo/pymongo-3.12.3.ebuild new file mode 100644 index 000000000000..cb7526699f86 --- /dev/null +++ b/dev-python/pymongo/pymongo-3.12.3.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86" +IUSE="doc kerberos" + +RDEPEND=" + kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + >=dev-db/mongodb-2.6.0 + ) +" +DISTUTILS_IN_SOURCE_BUILD=1 + +distutils_enable_sphinx doc +distutils_enable_tests unittest + +reqcheck() { + if use test; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + # network-sandbox probably + rm test/test_srv_polling.py || die + sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \ + -i test/test_client.py || die + distutils-r1_src_prepare +} + +python_test() { + # Yes, we need TCP/IP for that... + local DB_IP=127.0.0.1 + local DB_PORT=27000 + + export DB_IP DB_PORT + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local failed + DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/pymongo/pymongo-4.0.1.ebuild b/dev-python/pymongo/pymongo-4.0.1.ebuild new file mode 100644 index 000000000000..b2be9e591082 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.0.1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86" +IUSE="doc kerberos" + +RDEPEND=" + kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + >=dev-db/mongodb-2.6.0 + ) +" +DISTUTILS_IN_SOURCE_BUILD=1 + +distutils_enable_sphinx doc +distutils_enable_tests unittest + +reqcheck() { + if use test; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + # network-sandbox + rm test/test_srv_polling.py || die + sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \ + -e 's:test_service_name_from_kwargs:_&:' \ + -e 's:test_srv_max_hosts_kwarg:_&:' \ + -i test/test_client.py || die + sed -e '/SRV_SCHEME/s:_HAVE_DNSPYTHON:False:' \ + -i test/test_uri_spec.py || die + distutils-r1_src_prepare +} + +python_test() { + # Yes, we need TCP/IP for that... + local DB_IP=127.0.0.1 + local DB_PORT=27000 + + export DB_IP DB_PORT + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local failed + DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/sqlalchemy/files/sqlalchemy-1.4.27-drop-greenlet.patch b/dev-python/sqlalchemy/files/sqlalchemy-1.4.27-drop-greenlet.patch new file mode 100644 index 000000000000..07184b843c9e --- /dev/null +++ b/dev-python/sqlalchemy/files/sqlalchemy-1.4.27-drop-greenlet.patch @@ -0,0 +1,49 @@ +Not available on all arches we support and is only needed for +a few consumers. + +https://bugs.gentoo.org/828482 + +From: Sam James <sam@gentoo.org> +Date: Wed, 8 Dec 2021 00:31:01 +0000 +Subject: [PATCH] Drop greenlet dependency + +--- a/setup.cfg ++++ b/setup.cfg +@@ -36,11 +36,8 @@ package_dir = + =lib + install_requires = + importlib-metadata;python_version<"3.8" +- greenlet != 0.4.17;python_version>='3' and (platform_machine=='aarch64' or (platform_machine=='ppc64le' or (platform_machine=='x86_64' or (platform_machine=='amd64' or (platform_machine=='AMD64' or (platform_machine=='win32' or platform_machine=='WIN32')))))) + + [options.extras_require] +-asyncio = +- greenlet!=0.4.17;python_version>="3" + mypy = + mypy >= 0.910;python_version>="3" + sqlalchemy2-stubs +diff --git a/setup.cfg b/setup.cfg +index b7f69e9..91993f7 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -57,7 +57,6 @@ oracle = + postgresql = psycopg2>=2.7 + postgresql_pg8000 = pg8000>=1.16.6 + postgresql_asyncpg = +- %(asyncio)s + asyncpg;python_version>="3" + postgresql_psycopg2binary = psycopg2-binary + postgresql_psycopg2cffi = psycopg2cffi +@@ -65,13 +64,10 @@ pymysql = + pymysql;python_version>="3" + pymysql<1;python_version<"3" + aiomysql = +- %(asyncio)s + aiomysql;python_version>="3" + asyncmy = +- %(asyncio)s + asyncmy>=0.2.3;python_version>="3" + aiosqlite = +- %(asyncio)s + aiosqlite;python_version>="3" + typing_extensions!=3.10.0.1 + sqlcipher = diff --git a/dev-python/sqlalchemy/metadata.xml b/dev-python/sqlalchemy/metadata.xml index a497ade87b59..c20044017893 100644 --- a/dev-python/sqlalchemy/metadata.xml +++ b/dev-python/sqlalchemy/metadata.xml @@ -10,5 +10,8 @@ <remote-id type="cpe">cpe:/a:sqlalchemy:sqlalchemy</remote-id> <bugs-to>https://github.com/sqlalchemy/sqlalchemy/issues</bugs-to> </upstream> + <use> + <flag name="asyncio">Depend on <pkg>virtual/python-greenlet</pkg> for asyncio capabilities</flag> + </use> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.27-r2.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.27-r3.ebuild index 444642038027..6696f8cd8c39 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.27-r2.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.27-r3.ebuild @@ -19,10 +19,10 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" +IUSE="asyncio examples +sqlite test" # greenlet for bug #823794 -RDEPEND="virtual/python-greenlet[${PYTHON_USEDEP}]" +RDEPEND="asyncio? ( virtual/python-greenlet[${PYTHON_USEDEP}] )" BDEPEND=" test? ( $(python_gen_impl_dep sqlite) @@ -36,6 +36,14 @@ EPYTEST_IGNORE=( test/aaa_profiling ) +src_prepare() { + if ! use asyncio ; then + eapply "${FILESDIR}"/${PN}-1.4.27-drop-greenlet.patch + fi + + distutils-r1_src_prepare +} + python_install_all() { if use examples; then docompress -x "/usr/share/doc/${PF}/examples" diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index 9163938dcfe6..116b3d811c43 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -1 +1,2 @@ DIST ubelt-0.10.1.tar.gz 216033 BLAKE2B e481b2cf61788b50038ad69f0e2b637dfa0259d24ecca1a5587fe283d2270de205cb085112b9285cf57f664ce8a9d107f08b9b6735c8bea6fb97f6f48935dba9 SHA512 c15af249e6b94f69050703a4004307d91854e2ac7e25c5ac8d467b5b5f3363989f93bf2917eaf3c0f2485258b3530d7317f39449d5ac7ad5ed9b4615d916decb +DIST ubelt-0.10.2.tar.gz 240069 BLAKE2B 34a24781264dd910e7a3afd87287f8ec9d1e4d1b4dd205f249fdc878861cd9c511121c61a5ca208b3f8ced785a0cec26c715b6a9ef3fee4a8f903e8557d3790f SHA512 8666a05f53d29d39ddd0fca213a9465948fd108bef9e95fc6160cb8331ae6876b9e7297d380cac37383c602d7ad4c248a4d7e03b4306dad5c6b26e0423720afb diff --git a/dev-python/ubelt/ubelt-0.10.2.ebuild b/dev-python/ubelt/ubelt-0.10.2.ebuild new file mode 100644 index 000000000000..92adaffec4df --- /dev/null +++ b/dev-python/ubelt/ubelt-0.10.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE="https://github.com/Erotemic/ubelt" +SRC_URI="https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/ordered-set[${PYTHON_USEDEP}]" + +DEPEND="test? ( dev-python/xdoctest[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # relies on passwd home being equal to ${HOME} + ubelt/util_path.py::userhome:0 +) |
