diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-18 07:29:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-18 07:52:00 +0100 |
commit | e0125e9c5c454cc26a9245f45b7af602b49c402c (patch) | |
tree | 82e6adf08844fab22052b32df027ebd133655c95 /dev-python/cairocffi | |
parent | dev-python/pyphen: Bump to 0.14.0 (diff) | |
download | gentoo-e0125e9c5c454cc26a9245f45b7af602b49c402c.tar.gz gentoo-e0125e9c5c454cc26a9245f45b7af602b49c402c.tar.bz2 gentoo-e0125e9c5c454cc26a9245f45b7af602b49c402c.zip |
dev-python/cairocffi: Bump to 1.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cairocffi')
-rw-r--r-- | dev-python/cairocffi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cairocffi/cairocffi-1.5.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 0744b4ddb7ae..e621b50a12a0 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1 +1,2 @@ DIST cairocffi-1.4.0.tar.gz 69851 BLAKE2B 8037d9bc619d2e96e655dc4682bb95a1e920d0b2188963088c1be21f2e157f7e791f3994f0ae7ecd338547baf2a65d03b175398bc1b3c92145ae6ea148420b5a SHA512 7ffdaf365c1251b202e2680a2f689ec6ea04c19eb75df38137624ffeb429ab61c6f54af450aec019b2570a4e91d2d701328109e4e0f5662a3b3b655ab53705ff +DIST cairocffi-1.5.0.tar.gz 86811 BLAKE2B c8f6a39608f0db6d0b7730302437a8856a3dd7249ed275733a048b5c8f98b3484787ccecf70bae1053ee052b9a7c8c7d2da699dbbde0f34cea2ef8bbabe2fc6f SHA512 32ee1d1217a0300512b60c11fc3c9a0456e4a74a9c5364840e51e52a1320a2e26a3d2ed761615ce5fee247bcd2c713c099d3419b731c37fa812040d5f6f3096b diff --git a/dev-python/cairocffi/cairocffi-1.5.0.ebuild b/dev-python/cairocffi/cairocffi-1.5.0.ebuild new file mode 100644 index 000000000000..cbd409e79100 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.5.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# custom wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9..11} 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() { + rm -r cairocffi || die + virtx distutils-r1_src_test +} |