From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- dev-python/pycairo/Manifest | 8 ++-- dev-python/pycairo/pycairo-1.16.3-r1.ebuild | 1 + dev-python/pycairo/pycairo-1.17.0-r1.ebuild | 1 + dev-python/pycairo/pycairo-1.18.1.ebuild | 1 + dev-python/pycairo/pycairo-1.18.2.ebuild | 62 +++++++++++++++++++++++++++++ 5 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 dev-python/pycairo/pycairo-1.18.2.ebuild (limited to 'dev-python/pycairo') diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 4b71c5721717..d78f89f17a7d 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -2,7 +2,9 @@ AUX pycairo-1.17.0-pkgconfigdir.patch 2465 BLAKE2B ea288bb36d4096586d2384b3d25b9 DIST pycairo-1.16.3.tar.gz 188610 BLAKE2B 71034891bae636e23379a3fdc49c9163cff61183fe46c4027bbad3206e72255e60081dbc3cb02808d5c3840b618f6c12f8106ca5a08ddb226a65917ba2da390c SHA512 d60978f85eb0430f2038b0e7d0bce23602e8c180a7611eea424fd8bc3cdd8ce249af364abd0e77ab3b7ab439761721cba5c2398f51af2a89add3fb7fda8aa5db DIST pycairo-1.17.0.tar.gz 192182 BLAKE2B b7a4db8258b03b89878fca6b5e27bb9037b74b1792ded23edfe38a0aa5e9ba5003bbac2c8623a6ace8033960c3199b307dcb689650e21ba2df0d81a36a71b6cf SHA512 c073f04d92c9a577f7dcea8d46335751ebd896a65e682e99e4453877d8ba2cadad4437f4ceb1ce8c05eb87d5757a2bd78ac2549e63e38720f4c9276e6f70bdd5 DIST pycairo-1.18.1.tar.gz 200610 BLAKE2B 47e707f3481d816e9fcd72d169d7ab9210f746396a45a6c9cdac946b4dca9529515ebe1a288d985eed659ff23488bec2cf3e0fb8d11c160349530871ed05881f SHA512 fef6b0d863d45a182a1ba671ddc4f6cb15745447cdaed3e1efeb05fad97f02aa0a56698517648a942bde263d74e06ad7781bcf487757aeb3b124ef64dc525024 -EBUILD pycairo-1.16.3-r1.ebuild 1068 BLAKE2B 1d9f267886e45ae3f7a8fceeb057f895995a7f1da758b4b3da859fdd0c7c0619cb51df829814986ae53133cea54b27b735adb176cde2e710c032b0f3c4909720 SHA512 bb5afa8350eb17785bcc3dfeb2df72843fd5fcc78d05faa31c44161df0b6d18dee37c6c6d9ab8541e07c4344aa669f0eddb1e219ee6b55b4065551e2e48f76c6 -EBUILD pycairo-1.17.0-r1.ebuild 1260 BLAKE2B 92f028043ea6ef12fe1322215553a4ca2862b9c2a847e74a2b299a4b3b05beedb8a6ed867fd48e53aa16211571c0bc66bee8055d8f2ec54ae2c9175cd656cb98 SHA512 a141641cfedda22cafea4be2dab88390a99d6a7412b31e2d1a2b2271e30e1700cb73aaaa434530c25002922b6228f78a056defa284358b00db2d5bdc61d96dd8 -EBUILD pycairo-1.18.1.ebuild 1252 BLAKE2B ce0c0871a655f4531f5e7220c75d43a8e508982c7c7a142aee4c6962774d4f9b98f68458acfcb88e9fc844762aa91c013ae9afde2b5294e75f3c1d10c1254ffb SHA512 f99d9331b7b9d036bca50194a649682a71aa9f830eca48e551799ee877901e41cb12f4fabdbe6ebace3d7a54e9761a6edd324c3c8a70d0d9b8be76d4f61423b5 +DIST pycairo-1.18.2.tar.gz 200462 BLAKE2B 1f755dc90fe3ee50aa68273a0816752312f144831ff857709e1a4695a58646ffe6be518733480ed37231c213a11d4e5aaf8dfd1cfa68104873bc7d4192435b89 SHA512 279ea80413ba55d493d51455685da09afa1f5c45e2930c3fca3e417a8afe6645a0d8131201f79482de59e5ec56cfef62eac65ed88fe88866bfcc06503dcc59e0 +EBUILD pycairo-1.16.3-r1.ebuild 1095 BLAKE2B b4ca15b0bc6d3a3bb7abbe30018a0e21450eb53f7e15a55ac62dc8bc2bdf19d3312c4d568079982d60a20284b610224cea4bd400f7b08dba2e43472f3b59c82e SHA512 b6ff919b6c6d0e07ef15bea3047c4de7b60a5e96290033bcaab458b6feea9d12a78ecaae0f7d87ea543af19c6800a5ef1e8f658d3276bfb868ec71a758769a63 +EBUILD pycairo-1.17.0-r1.ebuild 1287 BLAKE2B a601b3cb83208ac266f74465514bf59e0d9821090b4a7ec653b87d6e0ba68cbbd52fe9ed53e58d3aff018fef2b0ab486083930c0585832bd2434c99e93d4e0bd SHA512 f60f1156bfa416cca27c9e2e4b4e347ee961f55c9d1f3f200cc0867012faa1ec9b96bec6c22a0757878c118eb50b93be2b1b1e01711084e7e5c5cae3e902399d +EBUILD pycairo-1.18.1.ebuild 1279 BLAKE2B 770cbd60301499851cdb926ac4096789a62b5bbcae60791b4a7133da14bcb69ddec383bf6f94959b4ed08a7036d66b88417cdaee69e22106163ab63b888039db SHA512 1fccda063817d842ea2cd90c60698b6daf874fbfce0c14f732af88825e4de1f4517b95cdfe3c048a39f978d9dd1e69ce8fbc2f72dd92002e4783d218f3526ae2 +EBUILD pycairo-1.18.2.ebuild 1432 BLAKE2B e30c800d2677377667edca73310135cf5870f885f81a94032a70eeab0902ccd78b3b2147a8ee7f4e3069165a48ce70ee59f4eed81cd9a97f6d845e36b0d22663 SHA512 2a15b8885303e3c25d271715023706e9549ec23c2a31b7153fb4b878f2837949380fc76ff5c7565ecb7d5d5375dea75ac5c1ae90baa31d4ab513d1645a9a8396 MISC metadata.xml 246 BLAKE2B 3a28b3bb42a0352827a446ea608867a7782fe682458527ef441a528a22c9f951dc203639934a69ffb520f63aadce3037df28bf8c5304b3a5921b336142f9f246 SHA512 3245fb694492b2f698fb63aac02e66fb8a94fe35eabda45df4790bec043a1ea552e112315334001902f070093bb73e7b741aa3004757404aed97ebdb86cc9fbc diff --git a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild index ad2e1c699677..2ea372462f00 100644 --- a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild +++ b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild @@ -16,6 +16,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc examples test" +RESTRICT="!test? ( test )" RDEPEND=" >=x11-libs/cairo-1.13.1[svg] diff --git a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild index c4c1046cb59c..629c40ee9f68 100644 --- a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild +++ b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild @@ -16,6 +16,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc examples test" +RESTRICT="!test? ( test )" RDEPEND=" >=x11-libs/cairo-1.13.1[svg] diff --git a/dev-python/pycairo/pycairo-1.18.1.ebuild b/dev-python/pycairo/pycairo-1.18.1.ebuild index 2fac5963b89b..3d5f803e074e 100644 --- a/dev-python/pycairo/pycairo-1.18.1.ebuild +++ b/dev-python/pycairo/pycairo-1.18.1.ebuild @@ -16,6 +16,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc examples test" +RESTRICT="!test? ( test )" RDEPEND=" >=x11-libs/cairo-1.13.1[svg] diff --git a/dev-python/pycairo/pycairo-1.18.2.ebuild b/dev-python/pycairo/pycairo-1.18.2.ebuild new file mode 100644 index 000000000000..9f1cd5f0198d --- /dev/null +++ b/dev-python/pycairo/pycairo-1.18.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the cairo library" +HOMEPAGE="https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo" +SRC_URI="https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples test" + +BDEPEND=" + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=x11-libs/cairo-1.13.1[svg] +" +DEPEND="${RDEPEND}" + +RESTRICT="!test? ( test )" + +python_check_deps() { + use doc || return 0 + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +python_compile_all() { + if use doc; then + sphinx-build docs -b html _build/html || die + fi +} + +python_test() { + esetup.py test +} + +python_install() { + distutils-r1_python_install \ + install_pkgconfig --pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" +} + +python_install_all() { + use doc && local HTML_DOCS=( _build/html/. ) + + if use examples; then + dodoc -r examples + fi + + distutils-r1_python_install_all +} -- cgit v1.2.3