From c16ac3f2fa4ccc7440fd13db1e5872a3e319f48c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Jan 2024 17:49:46 +0000 Subject: gentoo auto-resync : 01:01:2024 - 17:49:46 --- dev-python/Manifest.gz | Bin 268889 -> 268905 bytes dev-python/hatch-fancy-pypi-readme/Manifest | 2 + .../hatch-fancy-pypi-readme-24.1.0.ebuild | 37 ++++++ dev-python/hypercorn/Manifest | 2 + dev-python/hypercorn/hypercorn-0.16.0.ebuild | 49 ++++++++ dev-python/pikepdf/Manifest | 2 + dev-python/pikepdf/pikepdf-8.11.2.ebuild | 67 ++++++++++ dev-python/pillow/Manifest | 3 +- .../pillow/files/pillow-10.1.0-olefile-0.47.patch | 50 ++++++++ dev-python/pillow/pillow-10.1.0-r1.ebuild | 139 +++++++++++++++++++++ dev-python/pillow/pillow-10.1.0.ebuild | 134 -------------------- dev-python/pytest-asyncio/Manifest | 2 + .../pytest-asyncio/pytest-asyncio-0.23.3.ebuild | 49 ++++++++ 13 files changed, 401 insertions(+), 135 deletions(-) create mode 100644 dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild create mode 100644 dev-python/hypercorn/hypercorn-0.16.0.ebuild create mode 100644 dev-python/pikepdf/pikepdf-8.11.2.ebuild create mode 100644 dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch create mode 100644 dev-python/pillow/pillow-10.1.0-r1.ebuild delete mode 100644 dev-python/pillow/pillow-10.1.0.ebuild create mode 100644 dev-python/pytest-asyncio/pytest-asyncio-0.23.3.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 98aa568012b3..b8ea5cea055f 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/hatch-fancy-pypi-readme/Manifest b/dev-python/hatch-fancy-pypi-readme/Manifest index f9f6e8ca6f92..17fb51d82471 100644 --- a/dev-python/hatch-fancy-pypi-readme/Manifest +++ b/dev-python/hatch-fancy-pypi-readme/Manifest @@ -1,5 +1,7 @@ DIST hatch-fancy-pypi-readme-23.1.0.gh.tar.gz 27878 BLAKE2B 934e7e1b8000feb554014dd3594724943173f1b5d78d1072e5612dde744d3cea925e49e46e0eddff7408211439c9f9efc24c488e6ce73fe9955bb5bf5d851b6d SHA512 a26b8205877815292c7c65380f3fff43a3222ec5044556a29fb0b570f0822b548f8f4403cb6a800044671692806b257ecee5f9ec0f3efb597e9a5780a8885424 DIST hatch-fancy-pypi-readme-23.2.0.gh.tar.gz 28280 BLAKE2B d868f18fc8593626792225025305a0cc3fa915cdcb041371fad1b50a8fb590f184371586265b0c038229b8332494c1cdb5818065493762920667166af084ecc7 SHA512 eb678326fc6bc440c1bd64513ca235c628eaac73c16d9272c160acc8aa116076d8ac5bcdec7176c1299d5598c3025a2dce78a17a07c456ff2973245cdf722a7e +DIST hatch-fancy-pypi-readme-24.1.0.gh.tar.gz 28370 BLAKE2B 5f0783e63d23f102dd43ddb8b0906ca5d971e2ab0db4055eef62fcf84476790910db006359c20277be902985b7d4ab8e90e1389456d514930cef67ccfee70cec SHA512 fc659ae9a3646e4d013827d82cc75545d2b6b7ea0fa72491b51acf63f264fd764ec0bf99e894244be6fe402eaf0fc458bc95f565822387dda528dbd0347e1202 EBUILD hatch-fancy-pypi-readme-23.1.0.ebuild 859 BLAKE2B b1eaee8bdb59eb3dca6172b5c5f17daada83df3da5785f8e50e16a4074cc6e7a0d7558c227f5d7d371e6dd3e4c819b037cbfb6f85bb21a88483e5f6a9614d814 SHA512 7b5f61c445fa1fb40b497a2355dd188e5b04289658f462db9c17446962ef14e49ae13e99b0e67d366043fc79e2b189e6133c6e14b5428fec76812f17e2d8092f EBUILD hatch-fancy-pypi-readme-23.2.0.ebuild 867 BLAKE2B 6a8f7c9dec5da3546bc2397c083a849b23de1e983a9bfb45000aae8c65187e446fd215e6133585410c786cbe5e650e7456fefd0360bfe77a573b2885e45c01f0 SHA512 6bfb01fac6633a077bfc4c55d00ebbd6fb560d21d06056e906d9a3a046c05a8299798043ce15c8bb3d1a9c2abd0f0dd224454c6deacd14d37ab2b87fc5a717ad +EBUILD hatch-fancy-pypi-readme-24.1.0.ebuild 867 BLAKE2B af8430f15755a8c0c859061a46d3d43324d652a1d34c2fe14de803ba0b0d3599203920b167db9d75be7305f6f94d43f2d9759a06edd29222068dea8deff619aa SHA512 1013ea140a75b6d70eb1699f395c297df99857797964f02091dabe337a70bee6b9dc60cdf060f95180fd81e6524816dee50267331d0dbab6f852a7f2ea1e21d4 MISC metadata.xml 420 BLAKE2B 03750f71022641e5305e12e60a55fb614deac90677d655989df62c3b57009aba9f91881c7380a3efb6ada27b43036f446d5ebe26a2ae17678c87f681fab360a4 SHA512 54e85d5b2e8dd4faf2eac232d7f79848a6a6b365829cf58f186211de1473a9023a3f7e8defc49f788e89afc4f0a0b55996101ce45a8e76579b5a61ff76970c0f diff --git a/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild new file mode 100644 index 000000000000..48f8bacd53b1 --- /dev/null +++ b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-24.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Fancy PyPI READMEs with Hatch" +HOMEPAGE=" + https://pypi.org/project/hatch-fancy-pypi-readme/ + https://github.com/hynek/hatch-fancy-pypi-readme/ +" +SRC_URI=" + https://github.com/hynek/hatch-fancy-pypi-readme/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/hatchling[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fails without Internet (via pip) + tests/test_end_to_end.py +) diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest index 2b456a5dd03e..67c3e2947478 100644 --- a/dev-python/hypercorn/Manifest +++ b/dev-python/hypercorn/Manifest @@ -1,5 +1,7 @@ DIST hypercorn-0.14.4.gh.tar.gz 156001 BLAKE2B 262cbaba3df674b07dd5f6c15418cac18b46c2303a8ff616c8d2e968ff233d15bf616f2d3d0dbacda03f819251453be1b00cee4b98fdfaaed49f40cdcfb43119 SHA512 461b6fab72586b3bdea25ded6c0439595a8f84d5fb0b1a264f976926d9d34cb21f52bd10c84b9180d08fb05942f9fdb842343d4c6c476dcd60a26399387a2373 DIST hypercorn-0.15.0.gh.tar.gz 156271 BLAKE2B 906b1b9c90c8150498ce6b8ac6f5de50373980381cd5ead206dd38be166b7e2ff0a1460aa08b2e4039d70b0412f2e38646836a867c623a2f0ff820f985cd79bc SHA512 a110f7e74eab99924c842715bdd9b32f0b3003eab4a4105968cf6779b69cb6e403dd8fd1b9910400994d25b9bf1a4d0956c99458bfcda70b1b8db2688859bacd +DIST hypercorn-0.16.0.gh.tar.gz 159038 BLAKE2B d17fde74af7f3a0157af22465f52a46967b8c4297eb5f602614d5337ca511d365e391630495535b56650fc4bfac864d30c5b281c04beddb0fec9bfcecd0f0c00 SHA512 75d75f0a0c1726b83d8ee38d5a15f4241130369904c9925cc3b87d1bf92f0d6a59ae7e7c83434c60ceae4bb628f6a51a42eda00c68a226c0bea6ef1c6fb8cb2c EBUILD hypercorn-0.14.4.ebuild 1159 BLAKE2B 3b1e86f45579c7293aa5e96a52e3929f261cd00f8aea4306202083597e4b2c2dd5cabb6d48a5cd0f12499bc3f231ea9c1a650a394e1f6f9feb40c2e1dee750c3 SHA512 bcc900808c8efa5926d1c4dabcc29695ca9f8185f6f0b183128ed20eb5808ab15b24ef1d89491d39e6ce210d1619be6b741ce3069a4cb8629d766998030c8e3c EBUILD hypercorn-0.15.0.ebuild 1197 BLAKE2B a03f5bf566a5bdd2c7317dbfc956a4614cad3eded6684904282a1adff180fba388ef01d4f2542476599b24d5acdb975ab4b7426e648731bbbfd60f76c976ee1d SHA512 6137a4f1923f441b8663694428d5f07d72b70c9d5e88be285482eb3ea05ca33ce7fd3040693f05d74e533fbafacf9ad117eeca90e609f4a28e52cd9da309cb5c +EBUILD hypercorn-0.16.0.ebuild 1202 BLAKE2B 795e5a8224e598a862e4708484789c77d11dacbfb0247ee0dd48b3e683112019b42e7bbaf290628d843561490954eb3b3b8c1414ca7041093f263f4ff711750d SHA512 417e35846745a263aa2355389f2c45df85d3daa6b2e250c3583f4e94bdbcc22ecd24bdd0c170561bf195fb48019b25a21a13e3b20d4060430d85e5f4e9ab9ff9 MISC metadata.xml 394 BLAKE2B ebdd676a74e00f1952cd6bd0fec099f8a1b0e4f8d6b4a0ceb671dcb294138312d5320e10ae8b9033307b47349a0668bc5d3299ab1d603bf34e95df7c8fc955df SHA512 d8d4a3952b536c5e35e2f68096c4707ec4634d7db70f179e01e8b4ca57983062584c8d4a81d833b9d9a6ebcd83cf8b7389ca1d19e2e656b00da72b74ac87146f diff --git a/dev-python/hypercorn/hypercorn-0.16.0.ebuild b/dev-python/hypercorn/hypercorn-0.16.0.ebuild new file mode 100644 index 000000000000..2e24cd3a010c --- /dev/null +++ b/dev-python/hypercorn/hypercorn-0.16.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A ASGI Server based on Hyper libraries and inspired by Gunicorn" +HOMEPAGE=" + https://github.com/pgjones/hypercorn/ + https://pypi.org/project/Hypercorn/ +" +SRC_URI=" + https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/exceptiongroup-1.1.0[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + >=dev-python/h2-3.1.0[${PYTHON_USEDEP}] + dev-python/priority[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/taskgroup[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + >=dev-python/trio-0.22.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--no-cov-on-fail::' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 6a8fbe40eb7d..2f5124f5e791 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,6 +1,7 @@ DIST pikepdf-8.10.0.tar.gz 2865745 BLAKE2B 088b18c1ed5df942f5efc01d1895af6417a05bb2f5e249c2ad134f282456fe9841e8fd6414005f21845aabc9a543967b1c73f41b36e3c85821f656c1fa3c5275 SHA512 5e7ce6a0a8036e9387a0e94a67cacf5276ff9e0a08d70ed523ed6c2d0da3386ac16cc315dab490c492f3ea446fd85b2ff371fe3d3979a9efd3cc784b31f46c7d DIST pikepdf-8.10.1.tar.gz 2866702 BLAKE2B a525b348bfd144623233f83cd194d0fbe3385d48242bd730fd00c2e660ffffe5d19eaf39d306824a6bc835f7ca9660459efa8a69135f86278ddc3271a05d1a24 SHA512 aad1135cbff9513a0a572aa35d8f408188573271c7f62473b4a0a8a86795587351240dddb53db59a4eb7a065b0a0921ffca1c6d1af5b8e48dc6beb9968f000d3 DIST pikepdf-8.11.1.tar.gz 2869234 BLAKE2B ec8c5d0ccae1c24a08ba685f1c7ce81ed7ff98bfe0172ee32cd7a2aa7e0844c1b85d6a27bb911eeefc1b49866f68163e0bb51f81e41ccd1c00d27cb9851cf5bd SHA512 1651d02af9bbce9c9c7a9622df46b6b0c92b87d13bb4fdd63da795ea14baf6ce69d035e90b4ac17da4d0876cbd256c349a9be4cffe87796f169b79d50b1c893c +DIST pikepdf-8.11.2.tar.gz 2870263 BLAKE2B 6cf3666baca5d20b125efc3f6d8cfe7f96b9334b8a39da67fe3f4185f41232d8a18bf902f21bfe33e4259b7fb61e7dc462a247c76bf4564a3bdf0ea987119d91 SHA512 57bf5d16aaf9367eef9407f7f406a5ee74f2060d276ab861379c74c2193d02b2e3cca0925ee29813791bb36fae8dbbba4a9b16a7f4c2d19c67c21bbe7bb3f80f DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa DIST pikepdf-8.7.1.tar.gz 2860480 BLAKE2B fa06667947d0166e8597e4fa757ffa96eb69ed3fe2dfd4a54e515678f55afd15a0e2dfcd571fabc933423f0696725d623b0fb9f95cb8ca8633a6581a7957c25d SHA512 3adc075244eb66e0aa4b18882c2ede598b26a40c56497628a8262f82c8ec72af25b4c97ded0771a8e0ec7bb1e7537ec4e172505fd30271a995491361bf17277f DIST pikepdf-8.8.0.tar.gz 2865070 BLAKE2B 78c26c577db858c27a1aa632c0e93a955eafc76f3e5928a5d4862408a71c02b66325e51728e81a5d6bd571655b2c96468592b3c591993e4cf6ecfa28fd997a89 SHA512 91bdf67a800c18559172c7a253859e6e5ef443b0f6e2d2f3af21042db2640f9d96a8fb5764e6ddd64ace248788e32b071ed624c95a6a0557ba19dc6fc33fdf76 @@ -8,6 +9,7 @@ DIST pikepdf-8.9.0.tar.gz 2865109 BLAKE2B 6f40bb10201c3a57716a53fb50111a16e1eb9d EBUILD pikepdf-8.10.0.ebuild 1685 BLAKE2B 0bcb72f4208afe7a3114ececd01175761a4e1f358d842a02bc8b58303083805c3193f485888a228235ecfaf705d24196d07d97dc5fc81ab7cb35b1d2592970db SHA512 1d07511bf3f0f8983856066bda264bcdd6e376ce714310571873f50802dc42e35f98bf5977951fbaee8f1ba890870710a155ddaeb8a3d1938055719cb13c852d EBUILD pikepdf-8.10.1.ebuild 1685 BLAKE2B 0bcb72f4208afe7a3114ececd01175761a4e1f358d842a02bc8b58303083805c3193f485888a228235ecfaf705d24196d07d97dc5fc81ab7cb35b1d2592970db SHA512 1d07511bf3f0f8983856066bda264bcdd6e376ce714310571873f50802dc42e35f98bf5977951fbaee8f1ba890870710a155ddaeb8a3d1938055719cb13c852d EBUILD pikepdf-8.11.1.ebuild 1767 BLAKE2B 4aa12ed8c97cc3523de76322b95b2cffd7270bae6197b1cb6fd6661acc2d59d6e1827e80a5dc1b1602f66e82bd5ac771d9846c6258f9ab6321dc8572c2a8673c SHA512 c04da739edc8447b3b051ffa0858e5f13ea5da0842cdd6f73651daf823d10ec176d646552754dd930bdef6683e24fabaede0ea31b3604991911968a397f3d999 +EBUILD pikepdf-8.11.2.ebuild 1767 BLAKE2B e846254b1496f91d602d3a1e4f8a9382634f523737dfa6949a73657f428c6eae2202c95c25b620574c6b76e753016863074cf27932e4e6e4ffb52aad3bd92a50 SHA512 23873528213299dd11fe589d70692d2e33f1fb25f51fd55bcf8d09f5a9b1243816950df7c469b0cd72f208f20d7dcf94ceedb35bba61a701fa96d57b5dfa5155 EBUILD pikepdf-8.4.1.ebuild 1680 BLAKE2B 2d988c8345fe6642e1bf990dd385259ac9b8709e8e22b6b1dc74f3e7ecf88193fb9c06cc3085b82aefb811a5cf18f676dd23c2d75c27a4071903a291bf272f5a SHA512 05b25f5fafcb3999eee5c8f1c5f44e6b1c7dfd0397fdcf7e4f2a5c812a950cf00a87a502a4244cf01e775ee5b7360cffbf2dbcba64d5b203216be008400e4683 EBUILD pikepdf-8.7.1.ebuild 1666 BLAKE2B c576f520803ddf8474d1982675a16e101ec426068bce5063de638a18175b58e17dbb7364d4da513cc8eddba1d5e4a802087f7d4498c3ae1d5890f72509612e99 SHA512 0c2bdff21442c899d2bee6ab6faa2c3dd4a37fb55039ea4de88f5b2087179ef5350bec999dd5856d9ec5c5c97909afd56e6db33896d3ef3cc9722dda40845946 EBUILD pikepdf-8.8.0.ebuild 1673 BLAKE2B da9ca57a521ff70715d3a8dedaf05b0a78724c8ed0eea956de294321cb8bcc2d0b691229851a1f14329a9b4eb82bd953485c843506a68cb658b58981b8c3dc6a SHA512 6458efb2b6652051a3cb7691c13ba67805b92333cd6133f5701a9386703fa480ddb4beee6745289423e2016f95e524bb1ee45c585414c7d693fa6d4bea3da4d1 diff --git a/dev-python/pikepdf/pikepdf-8.11.2.ebuild b/dev-python/pikepdf/pikepdf-8.11.2.ebuild new file mode 100644 index 000000000000..e030acc1c902 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-8.11.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as +# https://qpdf.readthedocs.io/en/stable/release-notes.html. +DEPEND=" + >=app-text/qpdf-11.7.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image +) + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index dbee6a741f11..0966e8d68c6e 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,5 +1,6 @@ +AUX pillow-10.1.0-olefile-0.47.patch 1456 BLAKE2B de5fda5245b9674f7a695bcde5125eeb326fdfa29c6cca2a7406c12b31af1d8e4b4ef2919c99e2ce8ed08dc6cb441b7728190cce23b7d4e1a384605a584a086b SHA512 3eef1572704eba1fa5047f866c11b563f0c79e04ae1da5f70aa2fb9876dbf21583376326c47d44691732492c092b0c4821fbd18f62de4de9a1970b6e177384dd DIST pillow-10.0.1.gh.tar.gz 50539264 BLAKE2B 83c3bf4abc9c3eab210576dc28d6f8926ce0998ec344e792433afc05190bb248a926902ce7706e3569cd6cbf8deb640cafda86f102166cf6492ec00b66f9392f SHA512 27e2f0d86563c3b7f5a2e0ba2bbe98fc2cb2fa5871d0b6cbb5a0014e9d9eb03dde9969301419d806d1a22cd4881e624465a355ba9bc42b95746226e1f95712a9 DIST pillow-10.1.0.gh.tar.gz 50798274 BLAKE2B a69be8187e7206b50350af399b73b5c43b29c249a4a5a6bb23438dae9967bb84f1d487f52b188811cb3d2e550245f8d5a765668d8d5de1375a84fcd96fc531d9 SHA512 01c97b68d4167d10539a2d29fb82676fb417ee5003f0acd9f602ed13d41b200579497cc0ef0949b2c1549b684f76f2d43895a52abdb1367345d2affd544c5b5a EBUILD pillow-10.0.1.ebuild 3501 BLAKE2B 9f690f40ca87ce944906fd315fa702735587500b2c3948431206803aad95a09895920819eb5a44f39c2b12c01de7400042743e516fbf5c86615c39d62b067d16 SHA512 ae4ddcfdf4e60fe86eb2643f839e3a0d72dcb1e7b2d78ce6a9f476945e81d673d1b2319b09d1f69bfd6d1f27b6ed693355e1fd85536f51d6b2220484f65bdeb5 -EBUILD pillow-10.1.0.ebuild 3501 BLAKE2B 9f690f40ca87ce944906fd315fa702735587500b2c3948431206803aad95a09895920819eb5a44f39c2b12c01de7400042743e516fbf5c86615c39d62b067d16 SHA512 ae4ddcfdf4e60fe86eb2643f839e3a0d72dcb1e7b2d78ce6a9f476945e81d673d1b2319b09d1f69bfd6d1f27b6ed693355e1fd85536f51d6b2220484f65bdeb5 +EBUILD pillow-10.1.0-r1.ebuild 3606 BLAKE2B bcec30251d71e5c9cc439bad1fef9e701721af432a05187165880ee2ba9e776ac6c7208275168e6843727d33987a7482977aacd1d6e7f77b492bd74d9ee10ebd SHA512 4ced9aa36035a8c9865497378df8fead39e50c9d61b8b47fb218031a1ba9f6ea9086d9104b594e75936ef41870e435601ee51d621f61cd1531dc6d99a1ce61cd MISC metadata.xml 480 BLAKE2B b42e6b01b1572a0688ef93025a0baaa95b9fd0c3a5eabcddcea7145dd880a95f11859b255ae24a376ca792559ffcf940c67da1b19f2f579dbc6ef6de68903749 SHA512 b98a33136aef4498051370bce3295b000687ddb80b4d909b26b32af61b4e4638d07269f7924ae039420af63236aa74b51e23d2feae1c83349683073c69714582 diff --git a/dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch b/dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch new file mode 100644 index 000000000000..e3b6a6473dfc --- /dev/null +++ b/dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch @@ -0,0 +1,50 @@ +From 0e523d986858e7c0b4acd45ea1c5a3a639e39b4b Mon Sep 17 00:00:00 2001 +From: Andrew Murray +Date: Sat, 2 Dec 2023 10:57:16 +1100 +Subject: [PATCH] Fixed closing file pointer with olefile 0.47 + +--- + src/PIL/FpxImagePlugin.py | 1 + + src/PIL/MicImagePlugin.py | 3 +++ + 2 files changed, 4 insertions(+) + +diff --git a/src/PIL/FpxImagePlugin.py b/src/PIL/FpxImagePlugin.py +index a878cbfd2..3027ef45b 100644 +--- a/src/PIL/FpxImagePlugin.py ++++ b/src/PIL/FpxImagePlugin.py +@@ -227,6 +227,7 @@ class FpxImageFile(ImageFile.ImageFile): + break # isn't really required + + self.stream = stream ++ self._fp = self.fp + self.fp = None + + def load(self): +diff --git a/src/PIL/MicImagePlugin.py b/src/PIL/MicImagePlugin.py +index 801318930..e4154902f 100644 +--- a/src/PIL/MicImagePlugin.py ++++ b/src/PIL/MicImagePlugin.py +@@ -66,6 +66,7 @@ class MicImageFile(TiffImagePlugin.TiffImageFile): + self._n_frames = len(self.images) + self.is_animated = self._n_frames > 1 + ++ self.__fp = self.fp + self.seek(0) + + def seek(self, frame): +@@ -87,10 +88,12 @@ class MicImageFile(TiffImagePlugin.TiffImageFile): + return self.frame + + def close(self): ++ self.__fp.close() + self.ole.close() + super().close() + + def __exit__(self, *args): ++ self.__fp.close() + self.ole.close() + super().__exit__() + +-- +2.43.0 + diff --git a/dev-python/pillow/pillow-10.1.0-r1.ebuild b/dev-python/pillow/pillow-10.1.0-r1.ebuild new file mode 100644 index 000000000000..0c65cdff5b1c --- /dev/null +++ b/dev-python/pillow/pillow-10.1.0-r1.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# setuptools wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..12} 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/ + https://github.com/python-pillow/ + https://pypi.org/project/Pillow/ +" +SRC_URI=" + https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" +REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:=[jpeg,zlib] ) + truetype? ( media-libs/freetype:2= ) + webp? ( media-libs/libwebp:= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +EPYTEST_DESELECT=( + # TODO; incompatible Qt version? + Tests/test_qt_image_qapplication.py::test_sanity +) + +PATCHES=( + # https://github.com/python-pillow/pillow/pull/7594 + "${FILESDIR}/${P}-olefile-0.47.patch" +) + +usepil() { + usex "${1}" enable disable +} + +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. + cat >> setup.cfg <<-EOF || die + [build_ext] + disable_platform_guessing = True + $(usepil truetype)_freetype = True + $(usepil jpeg)_jpeg = True + $(usepil jpeg2k)_jpeg2000 = True + $(usepil lcms)_lcms = True + $(usepil tiff)_tiff = True + $(usepil imagequant)_imagequant = True + $(usepil webp)_webp = True + $(usepil webp)_webpmux = True + $(usepil xcb)_xcb = True + $(usepil zlib)_zlib = True + EOF + + # setup.py won't let us add 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 it doesn't for this setup.py. + export \ + INCLUDE="${ESYSROOT}"/usr/include \ + LIB="${ESYSROOT}"/usr/$(get_libdir) + + # We have patched in this env var. + tc-export PKG_CONFIG +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO (is clipboard unreliable in Xvfb?) + Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard + ) + + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed + epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" +} + +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-10.1.0.ebuild b/dev-python/pillow/pillow-10.1.0.ebuild deleted file mode 100644 index 1e25a3391179..000000000000 --- a/dev-python/pillow/pillow-10.1.0.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# setuptools wrapper -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..12} 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/ - https://github.com/python-pillow/ - https://pypi.org/project/Pillow/ -" -SRC_URI=" - https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -EPYTEST_DESELECT=( - # TODO; incompatible Qt version? - Tests/test_qt_image_qapplication.py::test_sanity -) - -usepil() { - usex "${1}" enable disable -} - -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. - cat >> setup.cfg <<-EOF || die - [build_ext] - disable_platform_guessing = True - $(usepil truetype)_freetype = True - $(usepil jpeg)_jpeg = True - $(usepil jpeg2k)_jpeg2000 = True - $(usepil lcms)_lcms = True - $(usepil tiff)_tiff = True - $(usepil imagequant)_imagequant = True - $(usepil webp)_webp = True - $(usepil webp)_webpmux = True - $(usepil xcb)_xcb = True - $(usepil zlib)_zlib = True - EOF - - # setup.py won't let us add 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 it doesn't for this setup.py. - export \ - INCLUDE="${ESYSROOT}"/usr/include \ - LIB="${ESYSROOT}"/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO (is clipboard unreliable in Xvfb?) - Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard - ) - - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" -} - -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/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index de594a7ad547..b87fa80fe069 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1,5 @@ DIST pytest-asyncio-0.23.2.tar.gz 44174 BLAKE2B 36dbd0022416eef05c781b9f74fd143bb52fe0583461ca7e52fd4981d552bbefdddd8e3a3399bc229a8ae68b150e199237ae0ce3a375075ab8f7f507bfa59316 SHA512 aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84 +DIST pytest-asyncio-0.23.3.tar.gz 44841 BLAKE2B f40f18e683ff1c6d905ae81c0a399655d461065f49fc862fe0d57c9d0deb14795e9792d76ea9759ea2b8736f7815de8c1778dbcaa8f477c59cbffd1f991e7ed1 SHA512 209a36de4d74bb3ade486b7c89c58def33b4aca84b3a096012d2ba329946f084a3f70489fb4ba0682e6acd65b6862e2ea4104a8e8912e8693f4f1685de357762 EBUILD pytest-asyncio-0.23.2.ebuild 1502 BLAKE2B 4bbf1e0e7b4ad35829ce587b367384cd3d5c0e170347f27d4d8948eea5aba4fde10b6bc2a79eab9f8dcf9c137bf3a3d4ea7916fd415839cc7a957670a6f59f5d SHA512 980b67811fc3596c910d51b520a971351d47e6813b42e08af4de32aa30a1417b8084d74c0c8cbac33352b8c55a2ff893a395f6fdbdf8a8ed310839a51e54da36 +EBUILD pytest-asyncio-0.23.3.ebuild 1510 BLAKE2B 079ea24bc853828c89b7347c7a5c15e42168b5de460968ba2b2015e7780c721b398ef7dcc247afa8154c3b3a214dfaa5372db0da9d6610101c5c87909005f51a SHA512 d3e92e0cb11d90853f8e73bbaa724214851a33f31ed8809e526d1e50db68626c0d63c979facf87cb47795aabec35719011080cea5805bb8cb8e7ec341b18b174 MISC metadata.xml 385 BLAKE2B 3d8faba48e1b3e531ea338f08f2de4b7bf637190e65fc61df2bd4d994cc97707016f83927f4a5181ac27d412a8c91255e90caba15f2d687f2339bc8ea61b18f2 SHA512 71178d3fba362e7532c87cb519f3661b25018771b86c302660de11f1bc7817b8352a2c8fcf60084a5e62b15148307a360267381ac38e8c856784034d80327d4d diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.3.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.3.ebuild new file mode 100644 index 000000000000..f54360ce4842 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-asyncio/ + https://pypi.org/project/pytest-asyncio/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # rely on precise warning counts + tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture + tests/modes/test_legacy_mode.py + tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed + tests/test_pytest_min_version_warning.py + tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin + epytest +} -- cgit v1.2.3