dev-python/cairocffi: Bump to 1.7.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-06-19 06:32:09 +02:00
parent df951c39ce
commit 5062f977af
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cairocffi-1.7.0.tar.gz 87840 BLAKE2B f31a07c865e16fb5448451bb2a57c2f33017165d2c374a4ea60222a28dc7a9bfd9839a6014594c5e90cc8880773e85cbb29e5bcc5c32d0150b07274f25f81b94 SHA512 bfc0f388a6ea1885523d99ad0ccfd59fec89848ef053c240ea9e3e8aab3f3aed5dc343b74de5cc72fb8512d460e55c70ef99a4ae4705fb1dd92d654a4197d7a9
DIST cairocffi-1.7.1.tar.gz 88096 BLAKE2B 5bb9dfe0617b838c386d4da6536758fb4f10520e9ccf7e8d1610e5f67f6393ba101c6466f78a3916de518955b6c8cc5d907debbf595776bca8313b13e0ddc5f3 SHA512 1d0c069c0af4ba552312e7fc003461bf321725212888938cafee168574f8927ce7d6860c016ba972343e67cb59a588fc98c198c75ce3ee3d75aa77874364e190

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1 pypi virtualx
DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
HOMEPAGE="
https://github.com/Kozea/cairocffi/
https://pypi.org/project/cairocffi/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
DEPEND="
>=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}]
x11-libs/cairo:0=[X,xcb(+)]
x11-libs/gdk-pixbuf[jpeg]
"
RDEPEND="
${DEPEND}
$(python_gen_cond_dep '
>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
' 'python*')
"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
' 'python*')
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pikepdf[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${PN}-0.8.0-tests.patch
)
src_test() {
virtx distutils-r1_src_test
}