diff options
Diffstat (limited to 'dev-python/cairocffi')
-rw-r--r-- | dev-python/cairocffi/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cairocffi/cairocffi-1.6.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 68ddcbb7ea9d..3ffae5d0d298 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,4 +1,6 @@ AUX cairocffi-0.8.0-tests.patch 827 BLAKE2B 81e1228f054ccb46b6c3170319fbd47aead8bdbb0b7af8e60cf85391c673d86e3eb1218a393c9b454d3d94b88968421ed9f3d798cc1d28ba7510bc75ad3ec261 SHA512 3fc7c2785586f88b17864931528e8c8e25792855107e5e8b76aa79a198303b68bd8cc822a2a5ff7a646c9f11982a3b5992a9eeb3bd651bbde1792d13a1410021 DIST cairocffi-1.5.1.tar.gz 86924 BLAKE2B 51bbd85ed486d8a324255d7b328fc44490097f0eeb0568d0e9436350e627ee2da7770323d0cfa547da2f007dc097327962d80d0a9a96a2f119bac0bb4aa4d7f4 SHA512 58b33e921866a3db7dfa464514f935f7c615ae3463b852d888e9d221256e91efaa7639001781999bdf68619a725a90de06300973f9e635c7974e8c48729705dc +DIST cairocffi-1.6.0.tar.gz 86649 BLAKE2B 1ffea1196f9c833f43bfb7e826a634748c3aad47e3b0adbaaf410be74a2e76aa803aa025cf7e0001dafa03cf6425c91614516881c788e1ca740351051b119bb2 SHA512 d46602231f443d8a0b3d46a7e63bb9c8daaee6c24e1c65b071c8b6d22cb96abec7e6c08d38c072f54d223e247e80cef4a562590818e01c8f0b5357bd9c2f29d9 EBUILD cairocffi-1.5.1.ebuild 1092 BLAKE2B f3d3c77da2828884f5b5a4490bff9ac73a1d203c019c6788e546ea3274a2f97e7b2ca27c4fccccf3afd433cb7ee8092168b97fa0da5df92182e99b8215882a8e SHA512 c6524d919c9d2ed6c2f3063bd21223085279ff5760ae1de4430eedc91720456d330143204780ae797352552211bf7c033a2546288ed36bfcfe4bf9dc57b83a0b +EBUILD cairocffi-1.6.0.ebuild 1053 BLAKE2B b62b9c68aab0fab7751ce26eeea740d814c7d0007e4a54db1fd918da8d3ee960dd785b96a928cca1918c87461c23304b2e4103f2837a5ef80d5a60aa3707f030 SHA512 491c1d0df896fddcc899ac7ff3d3fefa838d8f9b22c00eff4eb3a0dd994425e8a77e7967088510b53d05faa1184867426633b0dca36508eaed13ebe15d9e55dc MISC metadata.xml 380 BLAKE2B e489f8f463877335d35d1ccd7b04247ff92e5bddeffd36d42a4d8d45f3d48962d704c4a2701b8df91bb38182ada14e19ec6f97c58250f7a9881728cfa319ee15 SHA512 d64dde8aa97fa923c5b13f23539774ebcf02d5ea14b50e01e98c6a3e2f63316ab08a235613fe4bedfc496dd7ffacc2f6e41ea5a2fad310b341ad3ac254b2a522 diff --git a/dev-python/cairocffi/cairocffi-1.6.0.ebuild b/dev-python/cairocffi/cairocffi-1.6.0.ebuild new file mode 100644 index 000000000000..bf9efe570199 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.6.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..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() { + virtx distutils-r1_src_test +} |