From 9441458fb3f3111ba11ac6fae34cd15efbe47958 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 23 Apr 2022 12:49:40 +0000 Subject: Adding metadata --- dev-python/Faker/Faker-13.4.0.ebuild | 35 +++++++++++++ dev-python/Faker/Manifest | 1 + dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.21.46.ebuild | 63 ++++++++++++++++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.24.46.ebuild | 68 ++++++++++++++++++++++++++ dev-python/denonavr/Manifest | 1 + dev-python/denonavr/denonavr-0.10.11.ebuild | 35 +++++++++++++ dev-python/doit/Manifest | 1 + dev-python/doit/doit-0.36.0.ebuild | 57 +++++++++++++++++++++ dev-python/fonttools/Manifest | 1 + dev-python/fonttools/fonttools-4.33.2.ebuild | 58 ++++++++++++++++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.45.0.ebuild | 65 ++++++++++++++++++++++++ dev-python/tifffile/Manifest | 1 + dev-python/tifffile/tifffile-2022.4.22.ebuild | 53 ++++++++++++++++++++ dev-python/tpm2-pytss/Manifest | 1 + dev-python/tpm2-pytss/metadata.xml | 17 +++++++ dev-python/tpm2-pytss/tpm2-pytss-1.1.0.ebuild | 40 +++++++++++++++ 19 files changed, 500 insertions(+) create mode 100644 dev-python/Faker/Faker-13.4.0.ebuild create mode 100644 dev-python/boto3/boto3-1.21.46.ebuild create mode 100644 dev-python/botocore/botocore-1.24.46.ebuild create mode 100644 dev-python/denonavr/denonavr-0.10.11.ebuild create mode 100644 dev-python/doit/doit-0.36.0.ebuild create mode 100644 dev-python/fonttools/fonttools-4.33.2.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.45.0.ebuild create mode 100644 dev-python/tifffile/tifffile-2022.4.22.ebuild create mode 100644 dev-python/tpm2-pytss/Manifest create mode 100644 dev-python/tpm2-pytss/metadata.xml create mode 100644 dev-python/tpm2-pytss/tpm2-pytss-1.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Faker/Faker-13.4.0.ebuild b/dev-python/Faker/Faker-13.4.0.ebuild new file mode 100644 index 000000000000..016041bf7170 --- /dev/null +++ b/dev-python/Faker/Faker-13.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 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} ) + +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/random2[${PYTHON_USEDEP}] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index b8eb7f88dd1f..c9d6ce8514ba 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,2 +1,3 @@ DIST Faker-13.3.3.tar.gz 1483842 BLAKE2B bf74f1e4d38b7ec5bd81610a462d88a86fec92886e42ad42a6827524d259697fd263a4e357f28abeee3ffe73ebc17fc4ea12082837773cc326ad0a89e117b32e SHA512 ac2dddf662fd8053bacd81fa52560bdf90f7055741648ea25d2cab92066be6efa1ddc29646ece416a408038fda695ff6602c5a655de3734c208864812f9d67cf DIST Faker-13.3.5.tar.gz 1484180 BLAKE2B 137c3faad4ccee4a673a45a8f1245a9e0681b64bfa43c5f7caa91ea1e1d797be0b0973aef8b32a4c44a790218509c77cdf9a8ead5dcf87c19a5165b2b2e9b599 SHA512 8cce3b1488ae34a292bbf9cc0373ffd9c47fe29b484bddb51396a1fe63eef0953022d638ea9b4a49148a48a72d56a9d38d342ebd228265ccb34320406ab45453 +DIST Faker-13.4.0.tar.gz 1484289 BLAKE2B 6d3ab8f958a1d51550bec29c28799753db91330cf98a47ba556b41d61459c42e34bb7dda24c71efab4820fc8843b1f0b4e2b41fa59f185a0acb0989b5f8c947c SHA512 29a0da1cd8275b90e3c65bf74874661e9ac1f2029aee1d317ae139e758aff946d0fccc48ace9043d78ba9a9242c431dd79d025f4203816ce3d8c56b394355672 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 09b2ead262ff..a2cbc1575e8d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -11,3 +11,4 @@ DIST boto3-1.21.42.tar.gz 488786 BLAKE2B eba75a62e2460aeb2ea66641fadb52448314e63 DIST boto3-1.21.43.tar.gz 489557 BLAKE2B ad297963b34d176f686f09da408bbd7f236413fa0c1c88231285ab5c742402ad3c4c8e9da463d6de463e4b9e80f8b30f13999bb990435208cc38123fb4720d41 SHA512 b0c800b4d55d0cf6c1af6f2c55ca1e702ff16d2f40a1eda63b5c100e396c8d5fadc99eb6db41e92a8a86f174009758b31f59d7b5e0d3f17dd532f5c3303b374c DIST boto3-1.21.44.tar.gz 490125 BLAKE2B 37a18fe2beff3a232f17b809bf19519800b6481f7f2cf727a45ab965d9dee27978ce1efc192fab70925776757c77573eb2703815958dcf8be9388e0fe8081502 SHA512 4ed06c2adf3187d7cbda5ef481883289a83137bd6065c56a61d0b2d452845f55c74ff8bd62f3558463b83abbfccb4c29638d1774c7076539b3e6ec088eefbb6b DIST boto3-1.21.45.tar.gz 491080 BLAKE2B 32692caeb34f9b8bd515b4cd9fa406b9537912abd24c5f5446ff10adf1a038a423e3c1c17fe6469c51cc35067a128064dcee715de81c46b4b118ddd9fb4a89ff SHA512 538fb81c06e1e14e78d39123c531558f0c2a2206ee0f0c9a282b3a86e179ff76682db206cca5c53d4e3b6deb6ded6f8843ad0d398f8584afca1be042782ba004 +DIST boto3-1.21.46.tar.gz 491253 BLAKE2B f55d30087e4f29e3d8ba577d798cd4e4c5fe1f710ac172d6684f005047a422855a6fad91aaaac76e3f33260cbac35be81c8177a80bea913283bcbe7bacb3750f SHA512 0d219b1af786583318a078413a3b30999b2aaad985db72eafe2b63f0068996f0d13b7a48464909cc753d5f9098ea583336ef4887839db5375ebdfcedad3dbffa diff --git a/dev-python/boto3/boto3-1.21.46.ebuild b/dev-python/boto3/boto3-1.21.46.ebuild new file mode 100644 index 000000000000..80278b309f54 --- /dev/null +++ b/dev-python/boto3/boto3-1.21.46.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> ${P}.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.3.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 "${MAKEOPTS}" "$(get_nproc)")" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 06c02b7b95b7..d3476011d137 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -11,3 +11,4 @@ DIST botocore-1.24.42.tar.gz 8907476 BLAKE2B 11cdce9d9c69835b1e57757d67d561f2493 DIST botocore-1.24.43.tar.gz 8913464 BLAKE2B b974ba0a5cc7c1176acab80baf329a11a78f440fe5a6d2b95ffab52d0973aa14c5dc88cfc1e17bf320492013d0f660ea80707c7ea7af384bf56882c31d5a82cd SHA512 aceb7182cbd4895149f751ff68e836b6bca439833213a7cffb20ea86101a60ccccb49941ab8ce5300449f9b2fbfcd42ff523c95eb220890cb060cf2b5de3c4cf DIST botocore-1.24.44.tar.gz 8915208 BLAKE2B eecbe7089e2aab77a90cedb87f729e1bd2f2074ec8218d3ebad314ab884806703d8a907c448e35586bafcc71fae0d0991e8656fdc1f937cc18bb503b4a807f93 SHA512 3850ea97e93b6cba211bd42e75ea1499ae09ea9c2acc576c229ca8ae4786779e2ff6ea283443d0d9fc6e856174cbf1bc402cbf87e946ce57f67569b448caf56a DIST botocore-1.24.45.tar.gz 8920603 BLAKE2B a71ba9d90edbbdc278890241cfce72753e5d3662298cb7a09e4314da1fa4af8fe33629c10160549b0d0832aef859b5bfeb449c3b559daad531d4e1e23afd2c43 SHA512 e7756bf7913bf5dce81d089674e2375ae5447c434b5ecc29c8b5b824d6cb19fe7f03e81cde46703a43356e5e8e2f45793ad521d0c0c7f3d29a810f01be50b087 +DIST botocore-1.24.46.tar.gz 8922345 BLAKE2B f9caf235e902be9e4e15e9a570e67cac328eb7e53668e7e12ba8e6caa4c9ed53e22115231d58fdf8d782ff3ab618e5485438dce7c454918a5d53341e5e5967ac SHA512 ccdbd6e6617a68f810c5491f37a6e94ffe015b30dfea8b01c2543b58c81573358b69af702df2fcf3efb7dd2c4b715e86957c4d60b8f0a0a51279e921dfe02993 diff --git a/dev-python/botocore/botocore-1.24.46.ebuild b/dev-python/botocore/botocore-1.24.46.ebuild new file mode 100644 index 000000000000..5fe8ae8c2f96 --- /dev/null +++ b/dev-python/botocore/botocore-1.24.46.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +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 + ) + + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest index e146ef5b791a..d72224492991 100644 --- a/dev-python/denonavr/Manifest +++ b/dev-python/denonavr/Manifest @@ -1,2 +1,3 @@ DIST denonavr-0.10.10.tar.gz 149803 BLAKE2B a2a034c05cee5b7c6eb51280f4064f41e1228e303043717bb7d4bf08a47230263eb0ab7a96f226ebedaeecd972c1f25f297a1ae3911c44d48949fd113e2e11a9 SHA512 219b04e64055c6d659db09229f895ea3acc90a9d6398d6d53d51753a14779603b8ff983b6c62aa6ce46c0945d11d9e48ff22ca9d9b36a81121cf5dfd4ffac21c +DIST denonavr-0.10.11.tar.gz 157622 BLAKE2B aa311eff51dbba857f529aee1a1931b3456b7c42f4710d21aff0eb6cf21718d639795d8099e8b0ad297787ba887746b265f922c19afe692cc3317291023a2df3 SHA512 19a10196019067605a2565be4ee0dc56116d6f706ca97c6754e6dc63cccc8870ee657736fd17f1959753c1c24c878e0d7a721c33212e6753dc12b5fc7dae34e0 DIST denonavr-0.10.9.tar.gz 152589 BLAKE2B c517e7d2fbdb23f4b684ffbb206528a641ec9d64e48f1d7aa8a4dd1247ca779bb2bda8a9deab1a985d713d275dc68fa6f961205e33b8bcc7749d9cb3c943f752 SHA512 134b940516a312afb03b2c5fa11a5fb68374c6e5d636332e8a7034ee6c94d2baf70b53e979c1c751eaaab6d31822de4450ceddeab12c42dfc9dd74b934593621 diff --git a/dev-python/denonavr/denonavr-0.10.11.ebuild b/dev-python/denonavr/denonavr-0.10.11.ebuild new file mode 100644 index 000000000000..cdd056836793 --- /dev/null +++ b/dev-python/denonavr/denonavr-0.10.11.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="Automation Library for Denon AVR receivers" +HOMEPAGE="https://github.com/scarface-4711/denonavr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/asyncstdlib-3.10.2[${PYTHON_USEDEP}] + >=dev-python/attrs-21.2.0[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.11.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/doit/Manifest b/dev-python/doit/Manifest index a5dc1661ea51..2e24afb4ea79 100644 --- a/dev-python/doit/Manifest +++ b/dev-python/doit/Manifest @@ -1,2 +1,3 @@ DIST doit-0.34.2.tar.gz 1449767 BLAKE2B c7d81144da99147dbc6bf7d670b6f411879a8080e405866866bc97ae4701d9a47a3d4882db9672e2e36bc8af577ba9632da1fb4ed2c9f87717f719ac1cd53d34 SHA512 24afc8078fef42a446733554c6ab63298ee5bb734381fc2bfc9d623dc98394916a1f89a18bb28e7ef862da8c0449b5cf16d605295e8948a0ea6968a231a1c8e2 DIST doit-0.35.0.tar.gz 1451502 BLAKE2B db0c1c9245897ca9c4ce4d3f5f43e5f2e5035c36cc4bd15e63d6fb9e69992b5068ca24839a02485680cdc75ba62cb95f139f6fd0ec24c1f26fd4c4b2e4fce27e SHA512 3eb3fc0284c4779db47c56c9e21bda16e31d053214f4a0272c1a26c9fd26bc0de7d00601bb08a79a3d0ed403464e773c03fe93d0fcd9ee59812c396e0f4ed7e6 +DIST doit-0.36.0.tar.gz 1448096 BLAKE2B 15558a39ccac031ddf3a429aa585bc6e1d49c2e7572df29979ca66d1025fa5d7a917f6cc5bcfd21f2749e4ed7e7885b0865ec67b6fa32817e1518d47da9ead97 SHA512 d4caa31701755c7f59213dde0f89fd3616c0c01b7f06245cbfd9f1a315d503e62f3556c3b86685cd0ebfcffcc9cae0987ca150f037aa7b3cd960439a1191be42 diff --git a/dev-python/doit/doit-0.36.0.ebuild b/dev-python/doit/doit-0.36.0.ebuild new file mode 100644 index 000000000000..4af27f238255 --- /dev/null +++ b/dev-python/doit/doit-0.36.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Automation tool" +HOMEPAGE="https://pydoit.org/ + https://pypi.org/project/doit/ + https://github.com/pydoit/doit" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/pyinotify[${PYTHON_USEDEP}] + || ( + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pyflakes[${PYTHON_USEDEP}] + ) +" +PDEPEND=">=dev-python/doit-py-0.4.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinx_rtd_theme + +EPYTEST_DESELECT=( + # test failing due to impact on PATH run in a sandbox + tests/test_cmd_strace.py::TestCmdStrace::test_target +) + +src_prepare() { + # Replace custom theme with builtin for documentation + sed -e '/html_theme/s/press/sphinx_rtd_theme/' -i doc/conf.py || die + + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + newbashcomp bash_completion_doit ${PN} + insinto /usr/share/zsh/site-functions + newins zsh_completion_doit _${PN} +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index abe838319248..07ed79e7d6be 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -4,3 +4,4 @@ DIST fonttools-4.31.2.tar.gz 2965796 BLAKE2B d776073e7a9358e67b8753dd4557e2b1b4c DIST fonttools-4.32.0.tar.gz 2966840 BLAKE2B 67a79c8c2e26f9f72fcf6ea4ab5ee3712d3541b47528a209221f9fcf82a5b5db589561200e4b6911a32102a4f4dc4b4e34c8271eb97b1cee18a81b3039efdf03 SHA512 a71a44601c7ec9f709ddc14da1c26d1248909fba8a0bfb7104ebe5f9b85949fe479c5eabdd2c94086d9999756035291e68bb7e861488d4123ccf667ac3ac2e03 DIST fonttools-4.33.0.tar.gz 3525052 BLAKE2B 5ea275adbfbf6e01222f6eba8f5eef7afe533b9692e6a7a2fb644fb68dec632ab2962d6b7f6b4ff876676e8314aadbfc04a005ea7a389904e398723feaa756d0 SHA512 147f6d41d1a6b27ebe6973cb91a90384291ad8c7b75b71c3b814908012530066b79f4c39bdd6da9e98614ef61b1cc19803756aba73e4da7ce2e82147390f0023 DIST fonttools-4.33.1.tar.gz 3526591 BLAKE2B c720e9159602168bc2f435f96e9b470e95a748e3e61aac717659e01e5998c8ead825056fe6114cb40be47ab1ebcd7dc6f3152cccd87aec5b49134147694aa3eb SHA512 14e4da0e146d4b88ab6375ad7c912f1ec6f437386e2d676bbffcd5a84be980151ed4f77f69bf618843b321106ca763af564cf05dfb6fa11888f02adfde7d74b2 +DIST fonttools-4.33.2.tar.gz 3526700 BLAKE2B faa8db2d5ba80a7cb2cd4fb82045aa821f72d296c3b0994f266c69bc1f38b9c46a24208612d539e3576d75371d95d49d9a103fed8ab7604ebf0df50ec8f25d2f SHA512 dd032f9f8d9167aa8d83137006062a5d293aeb4116cd2b24a9d5d3d750887876214a6b6e9fe54efd569cada64164c76f242b234569d86b45e5f279d6c1a5db95 diff --git a/dev-python/fonttools/fonttools-4.33.2.ebuild b/dev-python/fonttools/fonttools-4.33.2.ebuild new file mode 100644 index 000000000000..0597adaf64a8 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.33.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE="https://github.com/fonttools/fonttools/" +SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + export FONTTOOLS_WITH_CYTHON=1 +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 158fcedd4305..94e19d570f31 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,3 +1,4 @@ DIST hypothesis-python-6.42.3.tar.gz 9187948 BLAKE2B 3303cea4e8f2776f14defd88dcc2578f11e30bd5842a2cddf96478e31505d38f801a92e031e76070684befb2a9d63713f44b73eea7152e0bdc6cc0d16e25c08c SHA512 869e81b46da7786cc4ca981da56c916922a73fd129dc1f156d062343e40a9b74888bdda17ef2c95e6c3102dc762f7cf587d1aad4ba3b8138060990d2987a0bd1 DIST hypothesis-python-6.43.3.tar.gz 9189636 BLAKE2B d47e4b5f3016e32c8ba547eca7f3b6513609d6a84cf1f1b8db5e14282e75cf4ee1778fba1dcf801fac135a1ebfef2ce5f9306bd9be4c33f02b5f05d1690abba2 SHA512 1988efc630b63a2373f25813bd066a1da8576416a167d487f1b262825c49864ab622e84a6189d5016f8ca28b37819d5f035bc11779f906a447baf2f957fedfcc DIST hypothesis-python-6.44.0.tar.gz 9189825 BLAKE2B f6688f55a920b0dc65beab54d715c98869bf70d29ed4044f4ad15c88cb9b60cc5dee834f9d218e15d6cc9e02a8b25114660af2578ab07c9a353124cb95611e22 SHA512 8642d078f2e7e232baa100075dac530e4e7c358f8ea7bdb5fd1f3d29ceb291a1a00abfdd25596669010c230893c7d6fc29cc54be42340aabc2481a612e616684 +DIST hypothesis-python-6.45.0.tar.gz 9191348 BLAKE2B e607b21f0e24daec57b19be5e8c1b77c9d78abb724cd5b89dc7dff1351a066387f990d0d92bded39ccb4da4368c3b827a6f3117a24c251d8955be98d8338ba3a SHA512 01e4aea5ce71c476fbee52182ff07529126744eb8bb603175370d33d2e1ce49a367ef2c0ec7abf879ed2bfa25a31e1b2136e2b79bc68d4a4c200cc3159583c6c diff --git a/dev-python/hypothesis/hypothesis-6.45.0.ebuild b/dev-python/hypothesis/hypothesis-6.45.0.ebuild new file mode 100644 index 000000000000..d09b69112221 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.45.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{8..10}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 394b532caf01..070c89c268dd 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,3 +1,4 @@ DIST tifffile-2022.3.16.gh.tar.gz 263653 BLAKE2B fcd30e2fd38a12438332badb17e937ab095a8088f9c878b84166a67c7486f436a76d39832df22362f7a74de5da537602da82c982fb4dc0699fba1603adefdcef SHA512 8069a87b241cbb11b3efa8ff679106f2f11ff9045d790fb1612076a60b87791f30afffb55b57d19b70ab4441935f418ad91fb0956ab572890704023e63dea84a DIST tifffile-2022.3.25.gh.tar.gz 265082 BLAKE2B dd5f3705cb7203fe943b97a5ed5c000b44abf48ec748f38a1468e27e82bd980e4100dd14af5cfd6af5bdee9d0036c5dce37efca1e515f2eb283c0e221150915a SHA512 dc9018991989ca4b89be6f315aaa45ff2fb94c504dd4c1790af1ec68e05a1da85560f5098df2f460b726cea0d4b0e4fc3f12d493dc1a1db8e2cc35d86f547ddf +DIST tifffile-2022.4.22.gh.tar.gz 280049 BLAKE2B d1d45e7a28c83ca52708aea64c5b7fffdab61405bf9aa2f87d1c3ef347e4057f3081e4f5b6df9de70ad35ec3dd9a17f30a763124338549bda0d93207c59bc7b5 SHA512 75488d9f15c98e8f9824ac4e538f7d2d75dbf06479ea1aee0a7f33bca71be0b3beeb32d3e8a4dcf5e09349ff415faff17d20ce312e43c80209d5c78cf8554c50 DIST tifffile-2022.4.8.gh.tar.gz 266725 BLAKE2B 3ac30337c1c7f26e32335a6d7756b4bf2d961f1e96badbc4ca8e9e5ee344513c61900d507f4098e4f5181b2c95134d0a74b646ce611cf9d3d3b5cc644ed70809 SHA512 1d12ca48dcc9fd8de5f3aa28cdd64a7735493b957d174f8ae49cb8a918075e6b50d4034ad9507d3b9ddd8ed1c595ec9fdace0986421b1993371cfe045698d578 diff --git a/dev-python/tifffile/tifffile-2022.4.22.ebuild b/dev-python/tifffile/tifffile-2022.4.22.ebuild new file mode 100644 index 000000000000..3afef0f99871 --- /dev/null +++ b/dev-python/tifffile/tifffile-2022.4.22.ebuild @@ -0,0 +1,53 @@ +# Copyright 2021-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.lfd.uci.edu/~gohlke/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dask[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_tifffile.py::test_class_omexml + tests/test_tifffile.py::test_class_omexml_fail + tests/test_tifffile.py::test_class_omexml_modulo + tests/test_tifffile.py::test_class_omexml_attributes + tests/test_tifffile.py::test_class_omexml_multiimage + tests/test_tifffile.py::test_write_ome + tests/test_tifffile.py::test_write_ome_manual + # requires tons of free space + tests/test_tifffile.py::test_write_3gb + tests/test_tifffile.py::test_write_bigtiff + 'tests/test_tifffile.py::test_write_imagej_raw' +) diff --git a/dev-python/tpm2-pytss/Manifest b/dev-python/tpm2-pytss/Manifest new file mode 100644 index 000000000000..e64e0fbfbc18 --- /dev/null +++ b/dev-python/tpm2-pytss/Manifest @@ -0,0 +1 @@ +DIST tpm2-pytss-1.1.0.tar.gz 162559 BLAKE2B 2c9b34c323b96b3a8ded82a04accac9647d7f0b1cf05d269ed4bdf225d785fd8454dee82f054a5085f9d49d0feabacc8c5b72a7ee8af7bc9da8473d5689501b5 SHA512 71da9e005a3f645c0528a96bb96bafde9c262c5778646a19841af6323edaf889ede7267317ea96b7d44c7901d7bea04ca15fd1b5c86d61d33e49b34f5d0e2e94 diff --git a/dev-python/tpm2-pytss/metadata.xml b/dev-python/tpm2-pytss/metadata.xml new file mode 100644 index 000000000000..9869a92e2f64 --- /dev/null +++ b/dev-python/tpm2-pytss/metadata.xml @@ -0,0 +1,17 @@ + + + + + salah.coronya@gmail.com + Christopher Byrne + + + proxy-maint@gentoo.org + Proxy Maintainers + + + + Enable feature API (requires tpm2-tss be compile with thes same) + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/tpm2-pytss/tpm2-pytss-1.1.0.ebuild b/dev-python/tpm2-pytss/tpm2-pytss-1.1.0.ebuild new file mode 100644 index 000000000000..a3feb9848651 --- /dev/null +++ b/dev-python/tpm2-pytss/tpm2-pytss-1.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for TSS" +HOMEPAGE="https://pypi.org/project/tpm2-pytss/" +SRC_URI="https://github.com/tpm2-software/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+fapi test" + +RDEPEND="app-crypt/tpm2-tss:=[fapi=] + fapi? ( >=app-crypt/tpm2-tss-3.0.3:= ) + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/asn1crypto[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pycparser[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + test? ( app-crypt/swtpm )" + +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + cd ${T} + PYTHONPATH="${BUILD_DIR}/install/$(python_get_sitedir):${S}:${PYTHONPATH}" \ + epytest ${S}/test --import-mode=importlib +} -- cgit v1.3