From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B73D215815E for ; Fri, 2 Feb 2024 13:24:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81090E29E2; Fri, 2 Feb 2024 13:24:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2519AE29E1 for ; Fri, 2 Feb 2024 13:24:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A0853431CC for ; Fri, 2 Feb 2024 13:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9126E14B5 for ; Fri, 2 Feb 2024 13:24:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1706880263.07d0d56a59c95da8fde4cb59da40b4c5e2deb698.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pikepdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pikepdf/Manifest dev-python/pikepdf/pikepdf-8.12.0.ebuild X-VCS-Directories: dev-python/pikepdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 07d0d56a59c95da8fde4cb59da40b4c5e2deb698 X-VCS-Branch: master Date: Fri, 2 Feb 2024 13:24:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d18f7663-5fd5-4a6b-9875-d3ae7024bdfb X-Archives-Hash: d0b6522397b22040810e50dbac66f372 commit: 07d0d56a59c95da8fde4cb59da40b4c5e2deb698 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 2 11:55:42 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 2 13:24:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07d0d56a dev-python/pikepdf: Bump to 8.12.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pikepdf/Manifest | 1 + dev-python/pikepdf/pikepdf-8.12.0.ebuild | 68 ++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 1e5d8d0fb37e..277914a79cba 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,4 +1,5 @@ DIST pikepdf-8.10.1.tar.gz 2866702 BLAKE2B a525b348bfd144623233f83cd194d0fbe3385d48242bd730fd00c2e660ffffe5d19eaf39d306824a6bc835f7ca9660459efa8a69135f86278ddc3271a05d1a24 SHA512 aad1135cbff9513a0a572aa35d8f408188573271c7f62473b4a0a8a86795587351240dddb53db59a4eb7a065b0a0921ffca1c6d1af5b8e48dc6beb9968f000d3 DIST pikepdf-8.11.2.tar.gz 2870263 BLAKE2B 6cf3666baca5d20b125efc3f6d8cfe7f96b9334b8a39da67fe3f4185f41232d8a18bf902f21bfe33e4259b7fb61e7dc462a247c76bf4564a3bdf0ea987119d91 SHA512 57bf5d16aaf9367eef9407f7f406a5ee74f2060d276ab861379c74c2193d02b2e3cca0925ee29813791bb36fae8dbbba4a9b16a7f4c2d19c67c21bbe7bb3f80f +DIST pikepdf-8.12.0.tar.gz 2870386 BLAKE2B f27c034ef94b63e56efa84abef987b23801ddb0c19c078715ffdf15596fb60b54a1159b3f43f6252418b51f967e9049912ba6950506811a41c766320148201e2 SHA512 9c6d269a7a8f806f22cc3df9f0147fc3c3a534b191e9db4f90c56a6ce9c695f7e9a20c44265551b0d2ca2a189d15c52dd602614baa44939d7ae943e698dec400 DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa DIST pikepdf-8.8.0.tar.gz 2865070 BLAKE2B 78c26c577db858c27a1aa632c0e93a955eafc76f3e5928a5d4862408a71c02b66325e51728e81a5d6bd571655b2c96468592b3c591993e4cf6ecfa28fd997a89 SHA512 91bdf67a800c18559172c7a253859e6e5ef443b0f6e2d2f3af21042db2640f9d96a8fb5764e6ddd64ace248788e32b071ed624c95a6a0557ba19dc6fc33fdf76 diff --git a/dev-python/pikepdf/pikepdf-8.12.0.ebuild b/dev-python/pikepdf/pikepdf-8.12.0.ebuild new file mode 100644 index 000000000000..f5173f73b2c1 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-8.12.0.ebuild @@ -0,0 +1,68 @@ +# 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.5.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) + media-libs/tiff[zlib] + ) +" + +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 +}