From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 257C2138335 for ; Sat, 17 Nov 2018 03:24:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0CEDE097C; Sat, 17 Nov 2018 03:24:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0C4FE097C for ; Sat, 17 Nov 2018 03:24:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF63A335C3D for ; Sat, 17 Nov 2018 03:24:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 202DC466 for ; Sat, 17 Nov 2018 03:24:24 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1542424934.114e19a26f5b589d29b45bfd7b7642afcafc20da.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cairocffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cairocffi/Manifest dev-python/cairocffi/cairocffi-0.9.0.ebuild X-VCS-Directories: dev-python/cairocffi/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 114e19a26f5b589d29b45bfd7b7642afcafc20da X-VCS-Branch: master Date: Sat, 17 Nov 2018 03:24:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 74acab4e-c14d-4a15-9c3b-f8281a53063c X-Archives-Hash: d2a2290ee08170f94d94975780260364 commit: 114e19a26f5b589d29b45bfd7b7642afcafc20da Author: Virgil Dupras gentoo org> AuthorDate: Sat Nov 17 03:22:14 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Sat Nov 17 03:22:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114e19a2 dev-python/cairocffi: bump to 0.9.0 Signed-off-by: Virgil Dupras gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/cairocffi/Manifest | 1 + dev-python/cairocffi/cairocffi-0.9.0.ebuild | 51 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 48e3ac8fc70..09e9aa4272a 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,2 +1,3 @@ DIST cairocffi-0.7.2.tar.gz 75337 BLAKE2B 9405eb6bafd0a83be2e2ae566eb9893a87bb8066c24885c955038f27357cc92e89e58998e16b2ec662559eebea6240e2e5c699d00e595fa13952e07f0264c9d2 SHA512 a4b5798ee713a8847ebd21ef328b3e0a94403ce1e80ac108f6d8e4abffbf96551542bb5c848550d82bcebb3d9f645c90ea87fc3eb254bd8e9d57b6a55db76de1 DIST cairocffi-0.8.0.tar.gz 79217 BLAKE2B fefcee32e486c150d089b7d13b046c864b83fcc184f7880e86cfae0afc22c1e712ad7e835d76506b4ab0cefab6629abcc5bd86cd95c417dcc64c9374a8629110 SHA512 70179e05ca4a4efeaa39ade1ee1a96d280d198ecff5ae8c8fc634c24d8922ea6a3e1eb6cf5f55c5fc9d3f5b2fc3131a53051690eb86712762d8b6400df8a630a +DIST cairocffi-0.9.0.tar.gz 84652 BLAKE2B 9f09c038619b0f44c568d6636861b0e12ffd7e9ab546f3a65bbd8e77eee7ff5f0c6f4d92a841696492b786d0067af86e25949b723ef6ef73ede370fbf2576d6d SHA512 0d3d54e0d54b3696c8336d8b3a6d745628da51d9d9f8c50f36006c007e1432a95dd9bafd8d865923059d040cc4e9f7989b3670a5318383b357ffc979eeb920d5 diff --git a/dev-python/cairocffi/cairocffi-0.9.0.ebuild b/dev-python/cairocffi/cairocffi-0.9.0.ebuild new file mode 100644 index 00000000000..7291340fb12 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-0.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 virtualx + +MY_PN="${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="CFFI-based drop-in replacement for Pycairo" +HOMEPAGE="https://github.com/Kozea/cairocffi" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="doc test" + +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*') + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + x11-libs/cairo:0=[xcb] + x11-libs/gdk-pixbuf[jpeg] + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + ) + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + virtx py.test -v --pyargs cairocffi -o addopts= || die "testsuite failed under ${EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}