diff options
Diffstat (limited to 'dev-python/cairocffi')
-rw-r--r-- | dev-python/cairocffi/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cairocffi/cairocffi-1.5.1.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 0b761d6681b2..7ab1553f50c9 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,6 +1,8 @@ AUX cairocffi-0.8.0-tests.patch 827 BLAKE2B 81e1228f054ccb46b6c3170319fbd47aead8bdbb0b7af8e60cf85391c673d86e3eb1218a393c9b454d3d94b88968421ed9f3d798cc1d28ba7510bc75ad3ec261 SHA512 3fc7c2785586f88b17864931528e8c8e25792855107e5e8b76aa79a198303b68bd8cc822a2a5ff7a646c9f11982a3b5992a9eeb3bd651bbde1792d13a1410021 DIST cairocffi-1.4.0.tar.gz 69851 BLAKE2B 8037d9bc619d2e96e655dc4682bb95a1e920d0b2188963088c1be21f2e157f7e791f3994f0ae7ecd338547baf2a65d03b175398bc1b3c92145ae6ea148420b5a SHA512 7ffdaf365c1251b202e2680a2f689ec6ea04c19eb75df38137624ffeb429ab61c6f54af450aec019b2570a4e91d2d701328109e4e0f5662a3b3b655ab53705ff DIST cairocffi-1.5.0.tar.gz 86811 BLAKE2B c8f6a39608f0db6d0b7730302437a8856a3dd7249ed275733a048b5c8f98b3484787ccecf70bae1053ee052b9a7c8c7d2da699dbbde0f34cea2ef8bbabe2fc6f SHA512 32ee1d1217a0300512b60c11fc3c9a0456e4a74a9c5364840e51e52a1320a2e26a3d2ed761615ce5fee247bcd2c713c099d3419b731c37fa812040d5f6f3096b +DIST cairocffi-1.5.1.tar.gz 86924 BLAKE2B 51bbd85ed486d8a324255d7b328fc44490097f0eeb0568d0e9436350e627ee2da7770323d0cfa547da2f007dc097327962d80d0a9a96a2f119bac0bb4aa4d7f4 SHA512 58b33e921866a3db7dfa464514f935f7c615ae3463b852d888e9d221256e91efaa7639001781999bdf68619a725a90de06300973f9e635c7974e8c48729705dc EBUILD cairocffi-1.4.0.ebuild 927 BLAKE2B d8ee16540e8495e36c2ea53fc0a02ebec035d52e9e96ae7434aeef28827bd86b69253b989cda30980289c1412c214c436eb16f5ea6d69ab1762cf4cf6424d0fd SHA512 b57881771ca23d12bd5b8f6076991f07c9bd4898b7b7655f8f0ce629dfb9c9fb2afba0a0e4686a4566f7372b4d9b09a471d32d8618bb39a89aa88fd52d19857b EBUILD cairocffi-1.5.0.ebuild 1099 BLAKE2B 043b8fde20638038041ea9e9c6f6ddf31a13f015ee70c9ce3cc376daf4ebca0214f9550d373b5f590407a84ea7d2e02f7c1a22dd7eaf64fe373e0c489cfeb798 SHA512 d86293285e4bd8913bad4ed39bf7314578ae18dd6bd35c1add2c8a1a39dcd1de668de32a94b44ac7ed6005a3e602f009fd5c898b362d5adfbe9bf90f0d87e4f9 +EBUILD cairocffi-1.5.1.ebuild 1099 BLAKE2B 043b8fde20638038041ea9e9c6f6ddf31a13f015ee70c9ce3cc376daf4ebca0214f9550d373b5f590407a84ea7d2e02f7c1a22dd7eaf64fe373e0c489cfeb798 SHA512 d86293285e4bd8913bad4ed39bf7314578ae18dd6bd35c1add2c8a1a39dcd1de668de32a94b44ac7ed6005a3e602f009fd5c898b362d5adfbe9bf90f0d87e4f9 MISC metadata.xml 380 BLAKE2B e489f8f463877335d35d1ccd7b04247ff92e5bddeffd36d42a4d8d45f3d48962d704c4a2701b8df91bb38182ada14e19ec6f97c58250f7a9881728cfa319ee15 SHA512 d64dde8aa97fa923c5b13f23539774ebcf02d5ea14b50e01e98c6a3e2f63316ab08a235613fe4bedfc496dd7ffacc2f6e41ea5a2fad310b341ad3ac254b2a522 diff --git a/dev-python/cairocffi/cairocffi-1.5.1.ebuild b/dev-python/cairocffi/cairocffi-1.5.1.ebuild new file mode 100644 index 000000000000..cbd409e79100 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.5.1.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 +} |