diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-11 11:44:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-11 11:44:03 +0000 |
commit | df26c7469c1f2af2e643d43e2e32a6c9142e4885 (patch) | |
tree | 1beee9b11d06bfcc69d1d6c8ab00566f8633aec1 /dev-python | |
parent | ad391b961414c99124b93cb86695c04bd8d57937 (diff) |
gentoo auto-resync : 11:01:2023 - 11:44:03
Diffstat (limited to 'dev-python')
23 files changed, 640 insertions, 1 deletions
diff --git a/dev-python/Faker/Faker-16.3.0.ebuild b/dev-python/Faker/Faker-16.3.0.ebuild new file mode 100644 index 000000000000..ab4075c0d00b --- /dev/null +++ b/dev-python/Faker/Faker-16.3.0.ebuild @@ -0,0 +1,34 @@ +# 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_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 1221428e3c2f..f1506918048c 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,5 +1,7 @@ DIST Faker-15.3.4.tar.gz 1599191 BLAKE2B 8fc26d35cbcde467123c8a5e15813351e65cf81a3640552115bdc55dff48b123e28b180e46595b80029dfdc0d3545b9e75b3f8c2deff380a6168aa2ab603ef2f SHA512 f9c50008c492a2aa8a7d7e62d0f404036cc9161baa3036f5948f607d4e971b34945401f565b3640eca71e7716fa5f2f3d82dd029f84f35dd4925e647638c0c56 DIST Faker-16.1.0.tar.gz 1599748 BLAKE2B 62c55659b84e556ad2960b0b3c3e49fc96beca86850469af152c833f5b8680e222ef8bde7dbeacb75ac13535ed9ec0774f5c524d58f10d92c78542ec4714ff1f SHA512 7da4ca3824b64fa1b36d5a3f58206e03f61ca984a672e59e68e8ab642da6bb08d7656dc2422a7107ee46ca2d5a0ec5bc7ed4301c296a07f2dfc39c2cfb6ff693 +DIST Faker-16.3.0.tar.gz 1624029 BLAKE2B c17eafa1ba85d3839545ec57811541edf9006c822ffeb15a19560f0d72e188d5ce09bced5d5bde12ab690867a9e6d35dc472cb7df50437c6da422f5f62ba40cf SHA512 2f4fc0a984ae22a8765831499d895b787fea095e9d4eeb54b3cad1e8ae7b0e583d221fb3aa8d3d4e9c07d25734d08b8cac7a53c7b500dd8dab18eaceacdff562 EBUILD Faker-15.3.4.ebuild 705 BLAKE2B 37b842966529f921966d6c41274fe7fda29057fbb967293a2c6e5c77a7d97a649c274e51c64b0436e2ea46d6e23b149975d0f475db1170ce7e42ea42b87b3e81 SHA512 1fb4569a6014d096edf4bedcfe937f3305a971908adfca995d464a831e5f72538f45d0ef7eb72be84c5daf1d8c8535934e2a8f573d6162c75b4643c7e842ee44 EBUILD Faker-16.1.0.ebuild 710 BLAKE2B f18a5e306dffe21d88fe85a9cf1aa8fa73021ee0e4ff4c700be26686df8ff69d565631acd46e3148bfb1619ca937f9f88e6cfb6eecbbcf54bcf1fc2866b35fc1 SHA512 a2d5fdf4c94bc5976f2d2501693b485b95ea854aa9f0942db0aeab8c1db3e5dd3062d562f29895fc3ae3271ad284a8c4e71f4336e9785d195035b86d9b0c13b9 +EBUILD Faker-16.3.0.ebuild 710 BLAKE2B f18a5e306dffe21d88fe85a9cf1aa8fa73021ee0e4ff4c700be26686df8ff69d565631acd46e3148bfb1619ca937f9f88e6cfb6eecbbcf54bcf1fc2866b35fc1 SHA512 a2d5fdf4c94bc5976f2d2501693b485b95ea854aa9f0942db0aeab8c1db3e5dd3062d562f29895fc3ae3271ad284a8c4e71f4336e9785d195035b86d9b0c13b9 MISC metadata.xml 474 BLAKE2B 337c8b17b4ca092edc2e59bd61dd847e4b9f2bd7e0651d07dad5b3e3eb4f311de9e27e6cad1f6a4835f618446cfa4cdb95e578a8af11498cf7bed1ec697990ce SHA512 35f4a2a50ad5589ba50e619670d1f1eac423fec920bb9c07b3f8bd7d7f2a0bb4e88dde286b062339b30ba304bd1a834bf3318c0b0ad0552ce9eb45fa72e5f44e diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 362e51fe3904..2dd5ea020577 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index a3c8a6f19be0..1ed7e4fe9c9e 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,9 +2,11 @@ DIST boto3-1.26.37.gh.tar.gz 584822 BLAKE2B 08c08502f3defee6365aa19a55cb5bb6c006 DIST boto3-1.26.41.gh.tar.gz 586086 BLAKE2B 8f5fac4e26a8ff34e91ee99ab4f93b6c31174cea7fdb1a7e98c942601324fd4128b4609fb1b28d7daf4139dfc1e0fc75760d64693f33e225cc4180c83867aebb SHA512 d87db9db58315de796750d478d6488815cd37307693305d2c6fd0e5f1d04aef51190fa438d942412def7d0075ebb23d440508415459bd9dda83302d29e7cc646 DIST boto3-1.26.45.gh.tar.gz 587548 BLAKE2B fca56cad5fa8bf3bfa34f76aa7014d6ee1129653ec8f0b2c0bb0c2b250814d855e732c4ea4252435a1674138ff00e757cec706ac1a1daa8f6e7969d7f0b65811 SHA512 e872efdc764d20b8d264d7a7e984d9427a0f5bd0a78d895812c2e40a4cf97ba0c483129492b5fe698ac8e123a3a23d6fde4e92cc075632ec7b9d0ed55d0b57b4 DIST boto3-1.26.46.gh.tar.gz 588430 BLAKE2B 5df965497f598e8f6b29041c060d4b60cb61a5ac6938f9ec395d4c1abe380f3cf4802addd2b9329019933eb1faa46f0253644a43aef18262cdb6f11548ba2b46 SHA512 27513156a4d47c91f6afd063a4f351fe1d959d89064138e2662dda32a8b55b2ae13d62528bfe84616913e05049122831a1fed8727e1fc3a9a195bda861122fe4 +DIST boto3-1.26.47.gh.tar.gz 588689 BLAKE2B 31a2bfebcac762422e1aee78f05c5a19d3e8a1580fe8f1013530a5fc2295ecadabafdbeb499ab366d7bf13151ef300eb6f14652e7b67cd525ec6863cb68e2cdc SHA512 fa78aa330af3df03eb74caae2fc8e8535494719c3564a5f49ba420daffd59bb5340e5ad88aea6e037224035b7da0cc05ae15ac4631929da2318de3b0263cd6cf EBUILD boto3-1.26.37.ebuild 1580 BLAKE2B 6c2b0aa540898e7461c165b8cb755ceec1cf0b94ba8cf4e2183bcd3a7a242b1e78f4c9a61bcb0c01230f625735a59ce3cd437098b19620d87c76fa022327af45 SHA512 f792df64912dbb7af89eac9c95518624a26c37387e16b96f46db928912c01ce20503cf8f9685de1b314ca7120e353c5fb26c900962f8c05e2c275b3bcd297555 EBUILD boto3-1.26.41.ebuild 1587 BLAKE2B 2fff9e50b68aab4197c1dda600ba71e8ee090ea02195375d9a54afe0eaaccec42d917a8057878e5a0bb1a19adc79ff40ec8f3074888145409bd240cd5a28ee48 SHA512 819fea2080e15d23d5bc642aa56cabcf38852c77f06a495e08dea653deafa588284d5569070acdc2a5c534f9e217e8ea4d045cf39ab735437d81589fd97d639b EBUILD boto3-1.26.45.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 EBUILD boto3-1.26.46.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 +EBUILD boto3-1.26.47.ebuild 1587 BLAKE2B db535a9938316c0564a32f4e05e74349251daef0db47afee54fe6907409d11ba1d660027cf059e2d4889c580ab8fe2fd6b252dd25a9c1906c878df6cb52e49d2 SHA512 8f2d0fdfbe2fa3916821a5d884cf579d55f97c21853c2f0990402e9ebbe4f1b0d21fda262f6e0ed997890b0cfe1e7ac42b1b6832a683c6b27f4aa2b6d4697469 EBUILD boto3-9999.ebuild 1586 BLAKE2B e44044186aacf633782448f7e2b0f36918fd53655fba2d87578c4e639647a45672a6fd6d7835b5df6086394e5f77aa4e4e84397391ee6b3e73b12ac30a1e345e SHA512 67c33b742f620365e096327a32c0d491104bda656d5e4beb1390a8a65e360cf4e7338d5c99e04f0792560604dd0cb5d8bf3c94e6abf0be4f5b40adb0d71288a0 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.26.47.ebuild b/dev-python/boto3/boto3-1.26.47.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.47.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 43679592e1cd..1329b38d63fe 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,9 +2,11 @@ DIST botocore-1.29.37.gh.tar.gz 11077206 BLAKE2B 59c877edba074d4d5858dbf0a4026c0 DIST botocore-1.29.41.gh.tar.gz 11082628 BLAKE2B a42a66299715159e82bb7bd9ceb5d1d60e88bfe2f59f66231605c909b03110ec18e6f946690c5b33e662fc92719e45fa4cf64ac31176d809908f3574fece5d49 SHA512 b3a5409f3d868c93fd038687d8c864be3c9cacbf4740ba0dd745358cadcce9aa8d76616d7f93316ac14f5f94f18ed42505ec108e2557b234b26c01ca0f3fc22c DIST botocore-1.29.45.gh.tar.gz 11090136 BLAKE2B 4c5cbd6e80a061793276b40124124c6c8e8c0d9f5bfbe4d5089d755b7af8399635107ed94da6602b2d0788159c1d883b7821db989fe47ad02bcf8bbaa7784b08 SHA512 dfbbc2b30449fa7526794489d3f0c3951e81ddbf53d7915d4492697398febd3b4b918604054a85c950c26a2423e969042de395b8b513688dcf8ad3fe305df4f7 DIST botocore-1.29.46.gh.tar.gz 11096104 BLAKE2B 540840e08fb7d8a9a8a220108e624600dd28d494937e0439f4d7ad93e9f2c4f09566e69a95cd5806a0576b458256b1293b0764461fa7c27d0e39074a3591b0d3 SHA512 b7ea07081464c3799fadd736371229ca6dfab8b05f8941daa681905ef135e4c0273f30eb2f19b64fbe85b6913886664f83dff0484413b3018ab6f508b0d51f05 +DIST botocore-1.29.47.gh.tar.gz 11097124 BLAKE2B 3ec2fbc1e518854c6e423d8528a52b25d2bec401e38d65cc9e551e46510d4fc8142eafc44f911e02578860265c13303f4e565eaab6963845e291f5270a832528 SHA512 562954e6c9cf45ba8f7fda13d7acfed0e466126fb45b8e8c577ce17b5b97381df264d6dca0381d55f7e15021035b3e8f318e977469fae9d846d2adb81c675b22 EBUILD botocore-1.29.37.ebuild 1899 BLAKE2B 94938a1edb8da9279816e2302442deef5adc1edef43deb21369c8dfc62c569eb34d4198cf55dc6acdad0c718eba5ddce0040b6f269e866e6eff95bc36fd41be3 SHA512 a0d875a4dec85116eaae0a20182832dedeb84e6a8946093473b99a1746ed5ff8b49ef7e7a4ad5b70afdfbb1098fabc5ddbbc40b895c2b7e0559e3d10cd02e0bd EBUILD botocore-1.29.41.ebuild 1906 BLAKE2B 6bb6097b84adeb172e43d2cccb963d8912fa0b3f6d9a59a0a41ef645ceb5cb22e35aaf763a39e0e6905721e68f129f0bd14f01edf8d3706f5b666f3075023fa9 SHA512 1cc91fc5b2e9478efe06571396a67a94c582d2032f7d2c973ec4748a8ce490d2d0218fd8fbf49a94f74617f472040bf58c957f44a69498a0c2d3c47647ca99f6 EBUILD botocore-1.29.45.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a EBUILD botocore-1.29.46.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a +EBUILD botocore-1.29.47.ebuild 1906 BLAKE2B 0502a7409355212185525e104ab8763d13886570efdb9cbdc01425e1cd36e81b0381d7eccd4de0ade28ab9ddce3d39e24760157a3544602969369e98bcf1ffcd SHA512 eee3fbf350bf335637a962a1cd061141b4b2db43d3cd19c95cc9d6e29bc44092c26477994c260f6df56ad626a537758c177567d38feadbb0b0be4626ec63276a EBUILD botocore-9999.ebuild 1808 BLAKE2B 720965dfc40c51389a8ca4ac210039f79bbe3047f583cb1bd4d52bdb9720cb2283a13a9f4337a62aca6869cd75d78dac6cc07436524e9720386177c733d686f3 SHA512 d3a3fbc0f957b58e8161ae3fffedb44462000077aa368dd2fb183bf6a084771bff4db46344a4d0b451833ea05d326b452155af92d190c313e1d982da7d72fc10 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.29.47.ebuild b/dev-python/botocore/botocore-1.29.47.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.47.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 492917079c7f..6d7296635202 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -4,10 +4,12 @@ DIST coverage-7.0.1.tar.gz 781226 BLAKE2B 52da1dd6f3eae7d235a597d3dd24d4042ee1ee DIST coverage-7.0.2.tar.gz 789237 BLAKE2B 6a83b6736374679e855eefc99488eea8f4fa8b785bbff6455c6087a03b3d074d200b219fb7f9eaaa08824b9b37363861d02f0ca0cd157adf285b1e2e7bec92a2 SHA512 d2981951517ac1efe08df4f19931dd581fc1877d7095003ae1b0c63e10b388238bc793823471c5ac3243f6b46e9284057f3e569a14dc972dcaf342768da9d73e DIST coverage-7.0.3.tar.gz 790351 BLAKE2B 0e0e2e0dfd6773bf78318b63400c6ba15b8218590d9d2c99666a2d6bb41745aa7d00b7c32879eabf9c0f6a2e3831637970fd8ea308a50befd526f2e0aafb6867 SHA512 6a298aa7fdf460277e85174fe930bf4dcdabfa57b753adda2d4b8381cd61c2e22700d287fefa16f098de318e6d79849c4db85a6d9f6e069f0acd5ce6ac93f154 DIST coverage-7.0.4.tar.gz 794474 BLAKE2B 4c3e2e53a3a5bd55d2ba8c409a1983e96ca7ace33d69052f4e44c27d53e3732513a35c7e3e553fceffe06d5c9d664f548ce59ca171b210dafc88e6a7eb657d3b SHA512 f3f895af4d91a796b8ebc360ad116b78acf71a0f55cc1439a203440241e896f6666d9eccdb69f2cfb8162275755137356cb8b1df6504faa51f0a026d694abceb +DIST coverage-7.0.5.tar.gz 796171 BLAKE2B 87ecffd87c2465607bf1fd330296e84e174953d7696ee0ef3046f6555f54634cfc643ada2a03971685021a5cf59191d75a0bddbc83f736e11a2516c684b0f0d9 SHA512 d199d710cdfac5c6cde79224b4a27d6b88a0e0c504eff7ad5700e9fb1f5cc8e1e9359dcc12f6c447a7ee6cd680feeb89f70ad68574a739c55a6d09b22017df06 EBUILD coverage-6.5.0-r1.ebuild 1879 BLAKE2B b6988614ec609ed02c0adb8faca1c2c77ec581a9fa514ea848cc615d2a771e90031d83168fdccf2b02cd156f9031bf990ea867127bc54817a442977c0a916930 SHA512 9ea2255d4ab0b45832c694adfc456342adec446d13056e095434eed08efadeaa6708e6cc5af53eb231dbf126b7a98f13143ea086b90501aedafb3f675479ea30 EBUILD coverage-7.0.0.ebuild 1887 BLAKE2B c42061e654f62985d632de8e02fb39b1e67b8610fc005e0772bfd2e650f104695fc8dd59a4f66e37df3e5a63167cd90c6ae2cf7cfd657cf791be063b399a0636 SHA512 363d29518513828e3b07c72dafe1c89341e9b772b1505875b9e2534c1af12d1a41818b870c5e1f43dc39259942c2a9a519a51769c08493f2e451202a63be5d02 EBUILD coverage-7.0.1.ebuild 1887 BLAKE2B c42061e654f62985d632de8e02fb39b1e67b8610fc005e0772bfd2e650f104695fc8dd59a4f66e37df3e5a63167cd90c6ae2cf7cfd657cf791be063b399a0636 SHA512 363d29518513828e3b07c72dafe1c89341e9b772b1505875b9e2534c1af12d1a41818b870c5e1f43dc39259942c2a9a519a51769c08493f2e451202a63be5d02 EBUILD coverage-7.0.2.ebuild 1887 BLAKE2B 8381f36a22fc97974d666999fd24f9f2219168e50dd151b465e52dccecd0d9cc889504a60efa79d8b725c7814f22267965d1c7a78d198b7056604511f989fd2e SHA512 c02d06d4662ec76904fe88f103080e8d34e7f088914cfad0882091111b24661d8d9504f7c168c7388a9a086ccc2deea8eea7ac64889ad581e551855fd3052f0b EBUILD coverage-7.0.3.ebuild 1887 BLAKE2B 8381f36a22fc97974d666999fd24f9f2219168e50dd151b465e52dccecd0d9cc889504a60efa79d8b725c7814f22267965d1c7a78d198b7056604511f989fd2e SHA512 c02d06d4662ec76904fe88f103080e8d34e7f088914cfad0882091111b24661d8d9504f7c168c7388a9a086ccc2deea8eea7ac64889ad581e551855fd3052f0b EBUILD coverage-7.0.4.ebuild 1887 BLAKE2B 8381f36a22fc97974d666999fd24f9f2219168e50dd151b465e52dccecd0d9cc889504a60efa79d8b725c7814f22267965d1c7a78d198b7056604511f989fd2e SHA512 c02d06d4662ec76904fe88f103080e8d34e7f088914cfad0882091111b24661d8d9504f7c168c7388a9a086ccc2deea8eea7ac64889ad581e551855fd3052f0b +EBUILD coverage-7.0.5.ebuild 1887 BLAKE2B 8381f36a22fc97974d666999fd24f9f2219168e50dd151b465e52dccecd0d9cc889504a60efa79d8b725c7814f22267965d1c7a78d198b7056604511f989fd2e SHA512 c02d06d4662ec76904fe88f103080e8d34e7f088914cfad0882091111b24661d8d9504f7c168c7388a9a086ccc2deea8eea7ac64889ad581e551855fd3052f0b MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.0.5.ebuild b/dev-python/coverage/coverage-7.0.5.ebuild new file mode 100644 index 000000000000..ed343a56f333 --- /dev/null +++ b/dev-python/coverage/coverage-7.0.5.ebuild @@ -0,0 +1,78 @@ +# 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_{8..11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_TEST_TRACER=${1} + einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." + epytest tests +} + +python_test() { + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" \ + coverage/ || die + test_tracer c + rm coverage/*.so || die + else + test_tracer py + fi +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 94f23ad3aac8..15ac4dd32197 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,7 +1,9 @@ DIST google-api-python-client-2.68.0.gh.tar.gz 37053945 BLAKE2B 7a73b80737b73198531207d203c2010969a9dbdd5012071944ec86bd6c2c63eb0a86bf2941a4c37544629aeae32b367cc8d9209300c63e8d1be39f32bef1d91f SHA512 9b70ad6f05d28198ee82984e263e770c995143770123a8aaeb605aad880464e951b8849bbed8c7cb511bd7beebed1df965fdd53b2e6a161905a0a2e481d5b68a DIST google-api-python-client-2.70.0.gh.tar.gz 37420341 BLAKE2B 8bc148c2cfeb1be59d3db8494a8701f6fc06949c57d7cc930aba44ee9ab3cc7f4450ec988c37ef8ccc0cb990bbc1fe75415d6f6b94ad00121e6e458698b5ff2b SHA512 5c1b8b0dbf545da17d9d5f3fc6ddd3c966d72b1034bb37e3acc5199dd39d40421b6608d6622ea539864022d0e19bc4a3123e9d666d2687a60fc7928201967ff1 DIST google-api-python-client-2.71.0.gh.tar.gz 37887241 BLAKE2B 5b0e8f39a4935f6e64e1846b7457e2fef62f91d8b62debd277dd49fe28242ffa6d1f8bf8962b56860448aa0edd8fe23d102062809995b212b775c760d20b403c SHA512 a13e31226991a77f900e87f72232d6722dc34d3b7a0134fed3039a5439d207ee26a3f9caa8b4cc5319acc864e11f07e080c0cea25ff29ab1a775b49278582c83 +DIST google-api-python-client-2.72.0.gh.tar.gz 37897701 BLAKE2B fff35a2103f7d3a58e790cb6b385a881c572c2272bc078531912f69d26ac16433513d97ac724f70e47b250dbaac95a78e1df04c2ea7a030325f6ead9de42646d SHA512 1bb625fc6d9aeacebf0b03a77709367d9b29e33f171b5c708a90141e697d29fcf8689d3d6a71f21a50e976feaef5fc2aec9451525a2aa00867639fdfc401c262 EBUILD google-api-python-client-2.68.0.ebuild 1437 BLAKE2B fd9012abcfd1cfb551de456691cc09dee7694b5d1a256a182de804a775c183e64950e999730d51225dae6902d96cc5c0aae484ecd20fd8673f329cccae1ef4c6 SHA512 47707bcd49dd89e2ebeabc44c816e47fe34e239ff374992b559ddb8d85c93175714e74ee8cd200a4d3e6190e54b31e23c55b07073de3c41b76ea884b67a9831c EBUILD google-api-python-client-2.70.0.ebuild 1439 BLAKE2B 9c0f725d19df30b792d44e65ec2220afc2b475370fdea43436787eb9b8d32b8b8fb2ebced9207a3a6cd880d0571f4373f079bc4e17a0bddc45ad1ef31a200989 SHA512 5fabbb0362e61e102d11536b900b99debb8053ab397f795a2e9e2f17ea342e4b3e97191d464c1a1683844ed16935df019de1e9221db32f9fccd7eb39f9535e3b EBUILD google-api-python-client-2.71.0-r1.ebuild 1439 BLAKE2B 9c0f725d19df30b792d44e65ec2220afc2b475370fdea43436787eb9b8d32b8b8fb2ebced9207a3a6cd880d0571f4373f079bc4e17a0bddc45ad1ef31a200989 SHA512 5fabbb0362e61e102d11536b900b99debb8053ab397f795a2e9e2f17ea342e4b3e97191d464c1a1683844ed16935df019de1e9221db32f9fccd7eb39f9535e3b +EBUILD google-api-python-client-2.72.0.ebuild 1395 BLAKE2B 6a666ce06c23f1a334d4287d52887adf1b5adf1aac257387583dd14fc4f597378b0cc76f19905c1300080963276ffcdc3cbd0c74b7c2efe220a86417a38a10bb SHA512 503fad15193434626ba75dd5ad18f0e144d74875a6e914d231b38ae4f295f8e6da8d9ac94d9d3839c9805014583a464f0230797e62b76ca4e8b85234c5b7fb3c MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.72.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.72.0.ebuild new file mode 100644 index 000000000000..7f5368fd7fde --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.72.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_10 ) + +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" +SRC_URI=" + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/jupyter_events/Manifest b/dev-python/jupyter_events/Manifest index 07625460d13b..37bd4971c5b4 100644 --- a/dev-python/jupyter_events/Manifest +++ b/dev-python/jupyter_events/Manifest @@ -1,5 +1,7 @@ DIST jupyter_events-0.5.0.tar.gz 55838 BLAKE2B a3ac815a28d2592a10394569726b76de75cb3baab0bab4c1f276da33375ba93d6bfed71fbfaca404a238b7af58ebd7e75dd7fdf6c8717141517c2f790eeb9514 SHA512 49c21f0d5dce18b137f73911b0272919a56c972561deceb228558ea369f2091ce219ac335eec002b22ca1465b2622330fb3d8973d142df4b76e350345cb6249a DIST jupyter_events-0.6.0.tar.gz 58712 BLAKE2B 36c72bb978ff20b24d0633da16c5ce52da3766c5ef5e707d680a8c0e3b63eb5e51d02ddff787303d3b558896c3b1276c2c78ac6dd631758e770f530a396ca34f SHA512 b3c2b0ba3183692cf1d958c12ede11f4a01a28a5c85e89f4186361927bf2529354b7f632a7f69848ad69dbdd2d554e2baff3dcef768582e67bd1f59bab48b9a8 +DIST jupyter_events-0.6.2.tar.gz 59103 BLAKE2B bd936473d912ad8877a3a97edf8e0f9b69886d4a26f79f4943925e2d8fe0f477cff135d524ca9fd05125cf1fd03ba6c7bd7039fd31a5e9547d2fe50f11de39e3 SHA512 c1efa4e852724015fdaf4dbe6a6f17bd8dee016e8bc24062519b0df587279148f285227d4a0397b031d74c3f594280eb921a9b57cb286ec68f69a5e72e8de949 EBUILD jupyter_events-0.5.0.ebuild 895 BLAKE2B c423128ef236474e191136b2537ef14e69e7e4c11424b694201545dcf24a4407b0c1800a55994a4350b080f01050094111582fa051a8c1aa5587837270c4700c SHA512 d938e127a6dd09c79c6255e252dfc5b94c44670db89e70e1756fb2d4d1e8784441718ec1af91bb199c81f831d7ef4a81103cb602cc7be135a69d21b8fa7f7f31 EBUILD jupyter_events-0.6.0.ebuild 1005 BLAKE2B 81aa5556068d4e43b17fa750dd34c14fdd46c437a5f722c9d707937964e8c642e2b03f7efd393868476a4bf8b8d65406545d88c53bfabdc90d567dca028cd85d SHA512 379e993d3f3f4881086654e29ffc9b6e99987b2e0ec818647376b084ee68a5d30b7b5ced9d9758313f1fd7b8f6b83297f4923a2c1b465d4fce6f407da92c9e5e +EBUILD jupyter_events-0.6.2.ebuild 1066 BLAKE2B 6235b2c9f39624a731b8322519623c7007d7f4732277a410a410c04bfece05c2bbcb2ad7aa364e5ca450a9698c9980e5510c691881800a1168ebce6201bb7d68 SHA512 7e936b5881698fd863e32dc295c9984095829e23b274a3acee39b8aa2a9f7a6196670687fd914ea331553d21adbb48a02798791e17015421f04eb6438f9fee2b MISC metadata.xml 537 BLAKE2B dfe33b67ac51a46c9ad33d4b0e02ff39d5aa1780d70f92f12b7ee8ac336c43caa79201bebd42c461373bfdc7608580487ec000613cf92765fec352b70a8aec13 SHA512 689e8a1125b4da96db6d6c4495933ee29d24666ad9e7e3af891170f8da512ac388c005836402c74418476cb9838f278c19f5267840533cef0e02091d47fa43ea diff --git a/dev-python/jupyter_events/jupyter_events-0.6.2.ebuild b/dev-python/jupyter_events/jupyter_events-0.6.2.ebuild new file mode 100644 index 000000000000..bec00ea432c7 --- /dev/null +++ b/dev-python/jupyter_events/jupyter_events-0.6.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter Event System library" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/jupyter_events/ + https://pypi.org/project/jupyter-events/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +# jsonschema[format-nongpl] deps are always on in our ebuild +RDEPEND=" + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/python-json-logger-2.0.4[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +# TODO: package jupyterlite-sphinx +# distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index c415032fe9fd..ef48a7988997 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,7 +1,9 @@ DIST pyghmi-1.5.53.tar.gz 245616 BLAKE2B f0dd3d84426c7d1b0e32ae6d666823f2c760b4b6022beb7224af242ab17540f02e47cb321d681ab0153b6cee67c5a35609d45b4af5f9b55896217da8eb089132 SHA512 0f598bcfbfb233ef6a9e7890b914b745c114c67a1c9a5daa6136f498af78c0f6e29e501d5e94a94d47651c11396d154925769d0d7509cc7058a0949545c7eb76 DIST pyghmi-1.5.54.tar.gz 248634 BLAKE2B 82142cc00972db5e23c893c323d1012b701edeb9844e522b8c2adeeee5f9d96bfc6835a4461f14ae27b595cf4ccdf7c768a403194833f1c6311515c60c2fa9e9 SHA512 6182745a6560f207443042a6f7e56176aabffa32a98b2d20d808b80d8b61febd979281fc207871ec36b26a40c67e453f50e1fc9b2f1581c7a83a561a6e40a435 DIST pyghmi-1.5.55.tar.gz 248976 BLAKE2B ccf76960a694d46e7669d164599abc731360c88e118d9cd3b724eb195f014d8cca2a3c58592fee99d455899472169057dabf62e8d57809e74adf8652e146a3e3 SHA512 9b3b8bdf0714e8567041415336d0ce9ba12fee61e41879185577288c4598ef42e837004682882589b832db5e9244bddfb2c63585dd5a097a945238b0f524dcaf +DIST pyghmi-1.5.56.tar.gz 249087 BLAKE2B 60163c3274396018e10770ba519c4d455644b091ed6f03191a334a0b81f794c3eb4cd8a76a78ef0f4db61832a3ae936fc99fd9529cec292aebf39dbe9fbb85e9 SHA512 154c13a10f7a244cc60bc318dcb1e1718f112d0cf3fd4c4dcd9459756a1f13df95874bd6f337ae93c050e3c680759e25e556041348396b88205888ddc455d0a6 EBUILD pyghmi-1.5.53.ebuild 985 BLAKE2B 5ab47a4ad054353379f09a30ccc77bfe92a7d77981ff3e9c6b6fc3dee974d7350bbdf0c503c0778ce2ffb2b53188e4f71c0d42c6187a4516e3367cf842ed681e SHA512 9871e16b9a66f2f4700a5b37dccd166793645bc486a6e57418f9962db838130c686b92de3594efdf6a4e8eb43c73eb6fd3466733a08207680b5375a78067b10c EBUILD pyghmi-1.5.54.ebuild 985 BLAKE2B 5ab47a4ad054353379f09a30ccc77bfe92a7d77981ff3e9c6b6fc3dee974d7350bbdf0c503c0778ce2ffb2b53188e4f71c0d42c6187a4516e3367cf842ed681e SHA512 9871e16b9a66f2f4700a5b37dccd166793645bc486a6e57418f9962db838130c686b92de3594efdf6a4e8eb43c73eb6fd3466733a08207680b5375a78067b10c EBUILD pyghmi-1.5.55.ebuild 985 BLAKE2B 5ab47a4ad054353379f09a30ccc77bfe92a7d77981ff3e9c6b6fc3dee974d7350bbdf0c503c0778ce2ffb2b53188e4f71c0d42c6187a4516e3367cf842ed681e SHA512 9871e16b9a66f2f4700a5b37dccd166793645bc486a6e57418f9962db838130c686b92de3594efdf6a4e8eb43c73eb6fd3466733a08207680b5375a78067b10c +EBUILD pyghmi-1.5.56.ebuild 985 BLAKE2B c5e15e8fbf9f7095ab920629952904659cd4933029fe2852f9e85ef04b2e9d42fd16d4bcc4e00014e0d7ce46b1e2033e3a886cd2be632a4596d05b660ff087b2 SHA512 16640c2e356f9dc98873d0ed47f7821cc02f3a9f273cd43b4807146338c8b5a1c9719878d6cec6d107414a37b0647e1ed43f34e8f9802fafb81d68eedc5ee4c3 MISC metadata.xml 439 BLAKE2B 0c7ccbc424041a506c60bb0934e40465b64a9779d4d2b6992ba5d4c8563b114da1470a1b221798773824b92fc7b5d6e7b2f0b0afff7f266ea1fbf450f336c497 SHA512 0c919c41bbef88b080cd5941d767cb3f79e935dfedb6da16353b80da2966d488936768b8ad04c7fc695b3c6376143430115f5533b3492816bf293ab2ccf37fb8 diff --git a/dev-python/pyghmi/pyghmi-1.5.56.ebuild b/dev-python/pyghmi/pyghmi-1.5.56.ebuild new file mode 100644 index 000000000000..e1bbeb73d4f6 --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.5.56.ebuild @@ -0,0 +1,39 @@ +# 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_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A pure python implementation of IPMI protocol" +HOMEPAGE=" + https://opendev.org/x/pyghmi/ + https://pypi.org/project/pyghmi/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.5[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pypax/Manifest b/dev-python/pypax/Manifest index 821dc9ee33f1..c7a77d8dd499 100644 --- a/dev-python/pypax/Manifest +++ b/dev-python/pypax/Manifest @@ -1,4 +1,4 @@ DIST elfix-0.9.5.tar.gz 401722 BLAKE2B 184f8944c62412675819ca86f13bcf23039ebcf069df528267f3e4272859e6cc442a1e05a7a121d88987c282d7e2f513d02f28ce41a8e3c0c226b456fa256aa6 SHA512 e15ab664357796f3a63ac54912eb43ae659947088a10ef16aafcbdd713cc3670fb0319cb2b95a2d29092866d322ef69df1d63847dfc0c4ab2cdd49e6eaa4635e EBUILD pypax-0.9.5-r1.ebuild 1087 BLAKE2B 2ae9778879a85de73dfbec9dd281453879a4b4b0cb0fe5c0cfd4453903c7147920084ce2131dae7576456e510feccc47138fcde3ea61e44d7b4d25d679ee20cf SHA512 365839a19e348dca117062b95247f82c11ea3b7e7360b17213e06a32e018b1a40f3fa4d81d049d2b9cbe3ed16022eafc180a88ecd69959c96fc33fe4d71195df EBUILD pypax-9999.ebuild 1080 BLAKE2B 40d29b0a8ebc235d3b449d270618c073c93de26f549f443e5826bc993dc734e106d9b1bd43ff459c077121d584b5d55af9b669a3ea4143b69050e7b2616c60af SHA512 6b36991f1e71cfd94999c78484aefa22ea73258c17d1b94ae38e19e48a9c333cb2975f10fc031a4c06c33b13acb3eb914bba6f9fce2c8337189da658f0a4a27d -MISC metadata.xml 598 BLAKE2B e82b37c38906a966561fd6982fa89c6beae4b7941c73d86845865e1a32be9dad4d7d66c903e7a816bec1197c119b75dc47bedbdb3423386d2c5139cce5ee2abd SHA512 bf986279d57efb1633c4d26fcd830ff9d3e207270498125c419959e71d1be90348bdf746c33d0bfd54519b156bb23274e0fb323738d022d4add169cf7929a4b7 +MISC metadata.xml 725 BLAKE2B ec00ade90775e7d44f3ac52b7d94d3ecfb429cd1be41554ca4e103d3e8caaafdc119f0db25616ee360557b95534e2266e0d02e92c36b15630ce88d7031b4a83c SHA512 8b02e425bae277aca42176e8f20a9cf0cc06a762ac027009116d64cb1fefc3213dcd97fef70f6f078bdc5b86e1cd9dc2cb87a6e3ab18d39f64de18685845e5d5 diff --git a/dev-python/pypax/metadata.xml b/dev-python/pypax/metadata.xml index c5010a0ad263..a34830423158 100644 --- a/dev-python/pypax/metadata.xml +++ b/dev-python/pypax/metadata.xml @@ -17,4 +17,8 @@ <flag name="xtpax">Enable XATTR_PAX_FLAGS support.</flag> <flag name="ptpax">Enable PT_PAX_FLAGS support.</flag> </use> + <upstream> + <remote-id type="gentoo">proj/elfix</remote-id> + <remote-id type="github">gentoo/elfix</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 92bc08ac6b28..8f372574c4b2 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -5,9 +5,11 @@ DIST sphinx-5.3.0.gh.tar.gz 6873479 BLAKE2B c57ede5e3d83447c6152d050d45df73bced6 DIST sphinx-6.0.0.gh.tar.gz 6713685 BLAKE2B b2e333efdbbd319c82203a0ee731ae8b0bc8a848b92773bdaa93b52c3841ab3802f68f698155b8ce4f65af93fdbe741c3e37775defde6111ee6ad5db89f968d8 SHA512 6efcbe57170cacec6f3c7f11f09094d096dc2afb7e0470c7cbdb9ea209dcbb782a6227a32de41974258555fa01986406a6564587f6b414594c452dcc6b8a06fc DIST sphinx-6.1.1.gh.tar.gz 6719767 BLAKE2B 91951c896c9feceee5877f98cd6d9afd0868bf6fd0c7372289eff2511ffb3ac845a29a43442c1cc8a9d14be3b242695d6666289b68a3fd41b5fdcbdf87c88145 SHA512 eaeed485d93d9fca3d8c388112594b2f71bed4b3d14ab2d5728ae4ca43bd444668f8b3633f7d2e11f4b1ec20aa309e8f0f70b500752e9f7dfeafd2999244fb58 DIST sphinx-6.1.2.gh.tar.gz 6720271 BLAKE2B 2206fdd2e3936dded171ffd3aa0895ee9ea337c1a1cd55735eb880a8cbe36f2454fd545883de46831bd29f0738796c0bedbbfda45e6c132e452a36b028bf5e08 SHA512 ecbfea636bf3095b94a38992856c2279f696b8a34558f99b1a08a984c5ace678d68a9bd3197119205f6af6dbbf995c3b820972b7c83d8c628fa5031e0b545e4c +DIST sphinx-6.1.3.gh.tar.gz 6720056 BLAKE2B 8d8753a7735df1d2e86dfc1c6347ea6fd550c5a6abd5e4cb2b884e0ec9d9de5179eac241cad98aad3ee09cca26d13f74aecc2eb2f61067eb20beb4a26159ac4d SHA512 b1cdd1ae8e643306cbbf26bd926f0fbd6c76a11098cf35c8088dd12f4c8ac4dbb5a7acc0676608d8268059191756e71741564a72e9786a66eb2282afd0271f27 EBUILD sphinx-4.5.0-r1.ebuild 4293 BLAKE2B 4bef871b4129b6048a45ca8bf8752a45543191caf84c18e80d826fc8d8c87c012cae76279ec25c9656b5e2e5f3801f15744e122d187514f1a41638efcca794b9 SHA512 331f455811a822b44a398eca904857fc6db2f91f447468029a855d87a5d72378caf9e504cd168511e24896425820c833c5cc10c6dfac005f952471f5808c1d80 EBUILD sphinx-5.3.0.ebuild 4159 BLAKE2B accde61b8fbdf543a216f6847d34216b9f8762738c16372f86f2dd8588ca98aa22f697e7035490c7881c089ae52971ae35f7f807a703070ecdd01c52f8240810 SHA512 7e5eeb5fe0994d041d9e117acead996974d32c8b5f3dca1410035e62cc405ba417d5ba0be51b77bc4317f93f61822dd8d534aef2dbf8256e4790f9c2fa57a470 EBUILD sphinx-6.0.0.ebuild 4214 BLAKE2B 86f400e52ff6701012808eb2fed8a0adfc8932f262a2f1c6f218a93136e36747960964542446fcbef3094cf04a13aab65f168e2beabc7afa2504f1297c26985e SHA512 0db69130926473882e99ee203a2955e4afe7ad1273fe2bc5a99c40be6d92f97a91d0601473411169957d1a78e063dbc064f91a9a0e1175db5aaf6fca9c3b7f2b EBUILD sphinx-6.1.1.ebuild 4248 BLAKE2B 660c1497cd3ba375b7d59783d92df669569b79c7b8af6e4a003f5fd88177222ba5c7c20de4a5661a031e8aef63a4ce13a399a9d677753e789c9056f48624fb1d SHA512 d032f2a351f95b105169107df6d6ec82ccb99bfde705b3c9a18822dbb1da59693878b952a612d23c7ac706750b298558a0d9922453fd07d15ede4466889951cb EBUILD sphinx-6.1.2.ebuild 4248 BLAKE2B 660c1497cd3ba375b7d59783d92df669569b79c7b8af6e4a003f5fd88177222ba5c7c20de4a5661a031e8aef63a4ce13a399a9d677753e789c9056f48624fb1d SHA512 d032f2a351f95b105169107df6d6ec82ccb99bfde705b3c9a18822dbb1da59693878b952a612d23c7ac706750b298558a0d9922453fd07d15ede4466889951cb +EBUILD sphinx-6.1.3.ebuild 4248 BLAKE2B 660c1497cd3ba375b7d59783d92df669569b79c7b8af6e4a003f5fd88177222ba5c7c20de4a5661a031e8aef63a4ce13a399a9d677753e789c9056f48624fb1d SHA512 d032f2a351f95b105169107df6d6ec82ccb99bfde705b3c9a18822dbb1da59693878b952a612d23c7ac706750b298558a0d9922453fd07d15ede4466889951cb MISC metadata.xml 568 BLAKE2B ddb7175070df6da4088813cc6b66f25bb4364e2619b1e7da94370f7ce8e73b68b12f618412f81e6be57fcb0c60c10e3913f26a6a578b0f9defa7b9ee8091fcde SHA512 d32b37cbe88f5e3db0c6968bc7aa22c7edfb3794bf7c62facd17e7ae1f4f0fbfc7c9f5512230cce16ed32e2ebb70c23dfe9b36ce38785c5f5b76585410313214 diff --git a/dev-python/sphinx/sphinx-6.1.3.ebuild b/dev-python/sphinx/sphinx-6.1.3.ebuild new file mode 100644 index 000000000000..880775676d67 --- /dev/null +++ b/dev-python/sphinx/sphinx-6.1.3.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx/ + https://pypi.org/project/Sphinx/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc latex" + +RDEPEND=" + <dev-python/alabaster-0.8[${PYTHON_USEDEP}] + >=dev-python/Babel-2.9[${PYTHON_USEDEP}] + <dev-python/docutils-0.20[${PYTHON_USEDEP}] + >=dev-python/docutils-0.18[${PYTHON_USEDEP}] + >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.13[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + >=dev-python/packaging-21.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}] + ' 3.8 3.9) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + ) + !dev-python/namespace-sphinxcontrib +" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + app-text/dvipng + dev-python/cython[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + virtual/imagemagick-tools[jpeg,png,svg] + ) +" + +PATCHES=( + "${FILESDIR}/sphinx-3.2.1-doc-link.patch" + "${FILESDIR}/sphinx-4.3.2-doc-link.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # we can't use distutils_enable_sphinx because it would + # introduce a dep on itself + use doc && build_sphinx doc +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=( + # these tests require Internet access + tests/test_build_latex.py::test_latex_images + tests/test_build_linkcheck.py::test_defaults + tests/test_build_linkcheck.py::test_defaults_json + tests/test_build_linkcheck.py::test_anchors_ignored + # TODO + tests/test_ext_autodoc_autoclass.py::test_classes + tests/test_ext_autodoc_autofunction.py::test_classes + tests/test_ext_inheritance_diagram.py::test_import_classes + # looks like a bug in lualatex + "tests/test_build_latex.py::test_build_latex_doc[lualatex-howto]" + "tests/test_build_latex.py::test_build_latex_doc[lualatex-manual]" + ) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + tests/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_ext_autodoc.py::test_cython + tests/test_ext_autodoc.py::test_partialfunction + tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members + tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_util_inspect.py::test_isattributedescriptor + tests/test_util_typing.py::test_stringify_type_hints_pep_585 + ) + + epytest +} diff --git a/dev-python/toposort/Manifest b/dev-python/toposort/Manifest index e254dc9166d9..c2e3b9aca492 100644 --- a/dev-python/toposort/Manifest +++ b/dev-python/toposort/Manifest @@ -1,3 +1,5 @@ DIST toposort-1.7.tar.gz 10671 BLAKE2B 89da22e803c334cec77d5ac8ad6a9ab8013f7516555c2822bd6d511edf28230c85c2eaeabad3dc4a24a58ae3ce3850d407ad957d0e28491574557140a286843a SHA512 a585d1c103b2162fa3f37f6b0ef60a8709f08d9543d7fab619af3718bf9f752a293e50061d370fd08872b2d8a8db504cb9d9c1cce5446885b46fe8e833813833 +DIST toposort-1.8.tar.gz 10688 BLAKE2B 354070b8d723a5d75e1c4050b91268d8d747f1d345be58315914b8c3caf9ce0f975a64f281e336952f7e507269b14d4c1c6310b5c7702e0066b25b2f3caab1ed SHA512 f567e371d1524dc6c285a1a25780b92a8052f3c80b8207fbb8d7a5396fb7434ea503e3fac2755443ed52d9383185d2d0f89e18db011ba8b48f2cd013b552f29a EBUILD toposort-1.7-r1.ebuild 508 BLAKE2B f68c0a9713b45f374f4582aef04c1bc60705738a83bf653f052614b611c04aa4d1ddac45086e29281b62823f0afd080dfee17e68998798c9cb256991e5052cbe SHA512 5ad562f9231d4441fc85c3fbc67f80de4d76d6c3ceea02df72ab5d1544f3efa3fdd1ea8b2c417d78769bc6acf890a7a644fb134039564f60d20df509a76d8261 +EBUILD toposort-1.8.ebuild 548 BLAKE2B 7a7de3b8e949f5b258758fb760ce340db82814947c3cc97c17366da6366095ce7d679da71a3baa997cfd2947c487af5e4a622a4dfb89e0bca35d70acbb5f0efd SHA512 d92e0d93360dee3da73fc9614eaed4ccd5c32f000fdfdbea2d3a20280df9d14bbe6344109133e965a852692b98429e719d9362df52eba160208669e3d95546eb MISC metadata.xml 552 BLAKE2B db94a324a1d469b39cab84355fed6b2f2b76e3e74deb7704d7c2628bfcb280a1e45f3f148de790fe955a238992cdf21c371eded3dadae8499fb7b481e05960a6 SHA512 3e717a075efacf2f6c6e80d8d857f3efb30ddffa856f06fe83581673951f14d662e52e69a868f91daaa3b84f639a97c909eddbd984b8f2a66b0120aa377a001d diff --git a/dev-python/toposort/toposort-1.8.ebuild b/dev-python/toposort/toposort-1.8.ebuild new file mode 100644 index 000000000000..93680abc0927 --- /dev/null +++ b/dev-python/toposort/toposort-1.8.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_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Implements a topological sort algorithm" +HOMEPAGE=" + https://gitlab.com/ericvsmith/toposort/ + https://pypi.org/project/toposort/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +python_test() { + "${EPYTHON}" test/test_toposort.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 25f9b8ae142e..85462814ef3b 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,5 +1,7 @@ DIST trimesh-3.16.0.gh.tar.gz 11970053 BLAKE2B 3898dd2fd12fd070bc9a3a10e21bd255b75f7758deb38e0d36314524b4e24b7ada6514865c06677a1db39b1723b918e5ec6dcf491bf0c946c3e22495cf7dcd01 SHA512 7b56a5007614eae8a7cef1a69334ef3b21499572b5bfaa414bd29097a431266e1ec4d7dda540dbf502a57f5b0ce9d3fb3763675821714ac25d924e0d15e22c71 DIST trimesh-3.17.1.gh.tar.gz 12653345 BLAKE2B df286132ca01e1a7e8c226b7c98ffa0682b9bf2e225c4114c88395611d1a65a02be4395940ad04b67ae3b6909664b46e18e9fd018d892c86f8f5a4fcfe532210 SHA512 8cbf0bedd21c0867c5aa307e9bb8b4e4caff2aabee89cfadfa11513293304caa4b6a5ecce21064b7fa157a2453b58d401eb6010d0ea32bbd5a99c3075f38b826 +DIST trimesh-3.18.0.gh.tar.gz 12656666 BLAKE2B e183ab1b5ff904b54a7801aaf9e6a3ac24a277107dae03dd37be7a37c56835ac99b617af1c12ea4119c39c3c064d8d1e783ce6effa51ebc0bc65103e688ad363 SHA512 309e1c5dd17a2d1875254a732d96708b98635cbd17ceea80c5386d6ea4675f943e1760f7a4383e9c24ec5711d30ea0732883a691952da1d1079a81a87fcca6cc EBUILD trimesh-3.16.0.ebuild 1863 BLAKE2B 7b8f0fc5c878d18b0ac6ff779474555e6ce2eef6f86fdf2da2e8e547351de67485d6d7c0092bc19e0e0be29ea9e0eb9c9180fb387c3075b8ee3f38869d4848d2 SHA512 f015e4269fa2282a8827c764d5d23c5fbbf5f1de5c509e651e29fb91983157114b13fb832c80a3600b6ae2ccf48a0e9b1ac15dd0880d56443c24632980e2b3e7 EBUILD trimesh-3.17.1.ebuild 2218 BLAKE2B 22a1b43f5e3e2164da691ff85ab46d48e40dd018cf20bac6fb125acb43cfcbd1a84fb9666d83cd7d2888f7c09c109953f18889a93f9a7bdba692af251d14fe5a SHA512 43394ec222da28ce755caaf42b692d030bddc7244f9c7e7a54b58bcc84ea19d1ccdb25c768aaa1e2d003a8db8ac82b7a31fd16849ebca82e9713241a5b163400 +EBUILD trimesh-3.18.0.ebuild 2218 BLAKE2B 45f59b6d13653ec77ba1fc78a5b7eb1f77be1373f7f723596be7b89cb7a27b2434ccf86637c61fb14cd22e674a3fb1b0041782895c8c28aa539aaaba4b40a510 SHA512 368de2a03ccfa3d87294b65841943c2734afd701dc2352689b27e2e87fdf0900e87c6373cbbc605f7f7fb314b2366fe8eee1f86c0b21b55e88ce7933f6513207 MISC metadata.xml 495 BLAKE2B b8b403f7bfbac53ed234c2ba50324041502a28465d70e9406867f05741e0313845307491fcfd85f05e2993b21daf14117a4b6863b45422fd4c62c6e28902e3ff SHA512 3deec8ab4b513536a7fe182be8f1b96e06fd06b2480d3e516c2b3462cc26fcbdeb1d165b4d0297465e93c0cce584ab40a8f905b81a59dcb4040a39655028783d diff --git a/dev-python/trimesh/trimesh-3.18.0.ebuild b/dev-python/trimesh/trimesh-3.18.0.ebuild new file mode 100644 index 000000000000..5cbb40238b4f --- /dev/null +++ b/dev-python/trimesh/trimesh-3.18.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_{8..10} ) + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimsh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + <dev-python/pyglet-2[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + sci-libs/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/mapbox_earcut[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # remove pyinstrument from tests, as only used for profiling + sed -e '/pyinstrument/d' -i tests/{regression,corpus,generic}.py || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # does profiling with pyinstrument + tests/test_scenegraph.py::GraphTests::test_shortest_path + ) + epytest -n "$(makeopts_jobs)" +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" sci-libs/scikit-image +} |