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 E47C115800F for ; Sun, 5 Feb 2023 17:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E9D3E07E1; Sun, 5 Feb 2023 17:07:13 +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 F0B9FE07E1 for ; Sun, 5 Feb 2023 17:07:12 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0A6D335D8E for ; Sun, 5 Feb 2023 17:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3371B89C for ; Sun, 5 Feb 2023 17:07:10 +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: <1675616817.99cb3b08a3a243e7aa40fc0991d3c52710c076ac.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-7.0.0.ebuild X-VCS-Directories: dev-python/pikepdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 99cb3b08a3a243e7aa40fc0991d3c52710c076ac X-VCS-Branch: master Date: Sun, 5 Feb 2023 17:07:10 +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: ded08da2-0da7-4b79-9884-b13b7972885d X-Archives-Hash: 1b486d9cd117a577150ba6870e5d2f70 commit: 99cb3b08a3a243e7aa40fc0991d3c52710c076ac Author: Michał Górny gentoo org> AuthorDate: Sun Feb 5 16:22:58 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 5 17:06:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cb3b08 dev-python/pikepdf: Bump to 7.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pikepdf/Manifest | 1 + dev-python/pikepdf/pikepdf-7.0.0.ebuild | 64 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index d7d4b05c8233..697b039b26c9 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,3 +2,4 @@ DIST pikepdf-6.2.6.gh.tar.gz 2905945 BLAKE2B 3ab7e80ca43c7395994333a47f3ef667b69 DIST pikepdf-6.2.7.gh.tar.gz 2906211 BLAKE2B bfc3d8e707b952e214fda3e31ecb0cb44266f41de63f2daea7e13dc944ed8d9d2438ead7a0b6a8f18b6295f52621311f94849b060459d082e75eef0c71713148 SHA512 4cfab0729c0f87bd52f58b9f23af8a4ddd34029b1259e4e2c67a73abfda3b5bd2e8de25962ed70a5497609398453e4f1ea6642e3b01245cb2c70bc09b5ac55f8 DIST pikepdf-6.2.8.gh.tar.gz 2906054 BLAKE2B 7b639741112857dbf784da7245f905e76664b200f4f832b6a2e8bbf7ab3e48e7f3a5dba1ae00bba72a5797e7e7bce0f1cea6777114ccf9a9b39d352a754edaeb SHA512 d27d8dcd80aa6a553ea6fb3c404bbe7752b2d1a7fb7a8e0315707f24243ff3fcdf58f273dc283e117a0124bfa724f7384004340f20d9f322cf08a5e0366b0225 DIST pikepdf-6.2.9.gh.tar.gz 2906102 BLAKE2B bd876f506714b237a6010b72c4557bc600e2ee4d6621131c21902ae9f41eb39a9a54a6c08d08dfa84fb3eeec8f2ae7e256d1f1fde533dbc2660a2b415077c8a7 SHA512 2b16e51c999fe1d1f593a9079ae0f13fdaa1955b5d55023169e3a805cbdda07b7ca4108ecea66463a1a253712b851b6dc824aed2c80e5f0caa3ba398d413bd64 +DIST pikepdf-7.0.0.gh.tar.gz 2899924 BLAKE2B 0aeb5b9a26b8f5363ed62ac59e4ffd6dc11aba44c2d3248f8e47c31811cfb810ec7e11150e1bf64ea28242bb7749e3fa2f2fc2bded3af64123e39aa1e4595b8d SHA512 5a11b0a3f35f7d7071ad0553be598f9d2e2d95ce325c080c69e9551e07ebde0102f02990d5ef32be860b468fefc1c29d5f9ff581d1f75321314c52fb2de2f389 diff --git a/dev-python/pikepdf/pikepdf-7.0.0.ebuild b/dev-python/pikepdf/pikepdf-7.0.0.ebuild new file mode 100644 index 000000000000..9cf479f7a649 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-7.0.0.ebuild @@ -0,0 +1,64 @@ +# 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_{9..11} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=app-text/qpdf-11.1.1:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9.0[${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/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.{8..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 +}