summaryrefslogtreecommitdiff
path: root/dev-python/pycairo
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pycairo')
-rw-r--r--dev-python/pycairo/Manifest6
-rw-r--r--dev-python/pycairo/pycairo-1.16.3-r1.ebuild4
-rw-r--r--dev-python/pycairo/pycairo-1.17.0-r1.ebuild4
-rw-r--r--dev-python/pycairo/pycairo-1.18.1.ebuild54
4 files changed, 62 insertions, 6 deletions
diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest
index c6d45f1ad8e2..3c5bc8f0daf2 100644
--- a/dev-python/pycairo/Manifest
+++ b/dev-python/pycairo/Manifest
@@ -1,6 +1,8 @@
AUX pycairo-1.17.0-pkgconfigdir.patch 2465 BLAKE2B ea288bb36d4096586d2384b3d25b95fc02747e0780c773bde768832893fbe7c87476ab57fa342d6ec15ff06c6cf123cad1b1e6461c79aa3e1c86369f5b96fc13 SHA512 716e55df7416f8bb6cf73e3576fac5a9967667019b05ae9dd13e4c9edacf9c07d1e29b6e67ac8bb158171d8d2d82d02a61f3d8fb77c3c1a28e288de1f352d163
DIST pycairo-1.16.3.tar.gz 188610 BLAKE2B 71034891bae636e23379a3fdc49c9163cff61183fe46c4027bbad3206e72255e60081dbc3cb02808d5c3840b618f6c12f8106ca5a08ddb226a65917ba2da390c SHA512 d60978f85eb0430f2038b0e7d0bce23602e8c180a7611eea424fd8bc3cdd8ce249af364abd0e77ab3b7ab439761721cba5c2398f51af2a89add3fb7fda8aa5db
DIST pycairo-1.17.0.tar.gz 192182 BLAKE2B b7a4db8258b03b89878fca6b5e27bb9037b74b1792ded23edfe38a0aa5e9ba5003bbac2c8623a6ace8033960c3199b307dcb689650e21ba2df0d81a36a71b6cf SHA512 c073f04d92c9a577f7dcea8d46335751ebd896a65e682e99e4453877d8ba2cadad4437f4ceb1ce8c05eb87d5757a2bd78ac2549e63e38720f4c9276e6f70bdd5
-EBUILD pycairo-1.16.3-r1.ebuild 1095 BLAKE2B 20def77c3a3e045e0032facc0398ffa8ff74c5720a2c4b94f766a94bab62d3ded5bfa38635f3d95f864f38f235b942522bae3a4b2e7ae554a937f47bb96303dd SHA512 cc782cf27262f03e466e714aa232b5525ecf8e38e282890df3cb83ee9f18ccf28c4bb4a04cefdc78436d5b8c0a8d1cec6508bde5c966fb01db8dbf066ec39dd0
-EBUILD pycairo-1.17.0-r1.ebuild 1285 BLAKE2B 2422e9c3f3286ddf9addca422fc81d9ddb77aa11da4d76967e1c3794f7434ed51c852182e02c31195d25fccfd84c492ecf65a9b491c7bb3c1e9e149707607f8a SHA512 138aa80c5fb77376ab741784fbf025e4a53a0f73db342333f2a1d907c80818e04385388f9b137b6270a785d8c1e40e85cc416fc49275b89b910822e381d0f68f
+DIST pycairo-1.18.1.tar.gz 200610 BLAKE2B 47e707f3481d816e9fcd72d169d7ab9210f746396a45a6c9cdac946b4dca9529515ebe1a288d985eed659ff23488bec2cf3e0fb8d11c160349530871ed05881f SHA512 fef6b0d863d45a182a1ba671ddc4f6cb15745447cdaed3e1efeb05fad97f02aa0a56698517648a942bde263d74e06ad7781bcf487757aeb3b124ef64dc525024
+EBUILD pycairo-1.16.3-r1.ebuild 1090 BLAKE2B 65395a13bf91d590925007854d44278a307bb9c96c89a2e79bc9943e6857a2ada7e9724014650e6bba55e2fff2f11549ca973523a4de1d49bf8f99d884ec27d4 SHA512 40ee988b12ff797e2471e0046d01b4a4c36fa662ab66a0a0d8bd3426f3dbc9e17d30d5365e7061f2fa0e933960278284ddd11395ad3697f0bf0ec0dcfc6318ea
+EBUILD pycairo-1.17.0-r1.ebuild 1283 BLAKE2B 5e81f0210d0ece346ec0b11a47b779c9c4a81631c92f4d5a3b77c44bc043d5186822b79118402974e7c3d63601d3e07847ad694ef3ccd5ca57ec0cb5570d6446 SHA512 8e3b6ee6cdc78fa885f4f5bd82abb9cf7b41445b8d06c8943524da6d0a1d81a8cf99b36490e4bacb17d69ad930f6c114a916340ae2b47e0606ded11ce9fbab0b
+EBUILD pycairo-1.18.1.ebuild 1274 BLAKE2B 299dda4e49402a977fb00256c8993793efb360379320336ab04ff1e578e7b267cceb4ca7a788496aead0424e510b514a00205b7132232e217637053667077076 SHA512 d6bd89a9cca7bff4ddf5562be1b6faa5eeb8bca7cee2864c5a5e98aff20ad1ddd8cd0cf1b044df7c26a3bcaef50dacd734f08f9c7776fe5e92d08c7e0a9d520b
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 8d5e22420ccc..66c0205f3653 100644
--- a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild
+++ b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
+PYTHON_COMPAT=( python2_7 python3_{5,6} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
diff --git a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild
index 07d858cffe9c..45c8384be0a0 100644
--- a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild
+++ b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
diff --git a/dev-python/pycairo/pycairo-1.18.1.ebuild b/dev-python/pycairo/pycairo-1.18.1.ebuild
new file mode 100644
index 000000000000..c45b52a594f7
--- /dev/null
+++ b/dev-python/pycairo/pycairo-1.18.1.ebuild
@@ -0,0 +1,54 @@
+# 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} 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-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc examples test"
+
+RDEPEND="
+ >=x11-libs/cairo-1.13.1[svg]
+"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/hypothesis[${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
+}