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 7CDFF1396D1 for ; Mon, 21 Aug 2017 06:56:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D546C1FC069; Mon, 21 Aug 2017 06:56:54 +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 A1F571FC049 for ; Mon, 21 Aug 2017 06:56:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 1595F341B44 for ; Mon, 21 Aug 2017 06:56:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEA557D39 for ; Mon, 21 Aug 2017 06:56:51 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1503298588.efb01f1a7c7649d0390c15cec3f82f2ba8d9cb07.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycairo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycairo/Manifest dev-python/pycairo/pycairo-1.15.1.ebuild X-VCS-Directories: dev-python/pycairo/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: efb01f1a7c7649d0390c15cec3f82f2ba8d9cb07 X-VCS-Branch: master Date: Mon, 21 Aug 2017 06:56:51 +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: ef3215c5-f709-4d72-8599-78b2917917d5 X-Archives-Hash: b6d80862e992b9afb1b0c393bc959ac1 commit: efb01f1a7c7649d0390c15cec3f82f2ba8d9cb07 Author: Tim Harder gentoo org> AuthorDate: Mon Aug 21 06:54:07 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Mon Aug 21 06:56:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb01f1a dev-python/pycairo: version bump to 1.15.1 dev-python/pycairo/Manifest | 1 + dev-python/pycairo/pycairo-1.15.1.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 418c6a6d035..80992324eec 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -2,3 +2,4 @@ DIST py2cairo-1.10.0.tar.bz2 402070 SHA256 d30439f06c2ec1a39e27464c6c828b6eface3 DIST pycairo-1.10.0.tar.bz2 246556 SHA256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be SHA512 a03db6f04cea504985f390b0734042390f491f32ae2bee1299dabbafd369fde36bb506ebb941d22bbc11b0d008c4f758baeacf309a7336880529455092db829f WHIRLPOOL e779d56d67ef18bbd052d81acb38d8b610ca4bbf787f4b0e3982633de55ff54d6dfa3e5ce1957321fba09f0ec2d12ce12057335de9d5ff3f84c2bc0530415e76 DIST pycairo-1.13.1.tar.gz 123690 SHA256 d8f58de67ddd01eda9e5112de57599b7d0154d71c9474821e98866c228794641 SHA512 705979aec5166d1e750ddf2938934edb18d5093e340d9e604a70dc02499ec478db7b0c84572f7ff287139c1b3982a31a254c36641123aee183b3053efe299d59 WHIRLPOOL 307e052d632a4591b67776b62ea173b647273151411bb8bfa9cc4d6dd066dbba30b3ea2bd1b066f6c91fe0a7275e76d1a6c0ebcb15c9113ab28a3ceec04e59fa DIST pycairo-1.15.0.tar.gz 167963 SHA256 b469b782ffabeeeb5973b64ee55e993521f32ac658b24baccbcd3f939c4f44f8 SHA512 e27f1b31225fe6eba7722a412a4eb9c591a3ce4887ba5a7edb738f757efa8372c1e2cd6ecd52386c350bb5058d8fa1806ee1d5ecabc2377d1934ded29b8592c9 WHIRLPOOL fcd5764ba1f71513ae164555eea081f21565c03ebd2a48cf89adfe29b3f7b3bdd364b5b19f403e5ade3109beddfc81bfbcd25666285dec1a2833c11e8559f249 +DIST pycairo-1.15.1.tar.gz 175924 SHA256 987d392270247343595d37591f80639ed902fce7e30bd2f944cb1b0a9093553d SHA512 931b6ca704fcae501b7671dd6cd964746951e08b5d09dc7118e3ff5c3c1f8aba9d211efe7867b77bb30f14f4700f888c7ed297ec5e8afca06d3d7327835c8e1f WHIRLPOOL 3d85ebebfab81a9447e4073f00f77ad0dc204f7f18799cec37b1afde50831faaa8fb01a713548917fa6dc80f7a165a4a032c92224cf09c9837b0b6e47e7bb973 diff --git a/dev-python/pycairo/pycairo-1.15.1.ebuild b/dev-python/pycairo/pycairo-1.15.1.ebuild new file mode 100644 index 00000000000..77146c084dc --- /dev/null +++ b/dev-python/pycairo/pycairo-1.15.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +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 xcb" + +# Note: xpyb is used as the C header, not Python modules +RDEPEND=" + >=x11-libs/cairo-1.13.1[svg,xcb?] +" +DEPEND="${RDEPEND} + xcb? ( $(python_gen_cond_dep '>=x11-libs/xpyb-1.3' 'python2*') ) + doc? ( dev-python/sphinx ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Fix pkgconfig path + sed -i -e "/libdir =/s:\"lib\":\"$(get_libdir)\":" setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + local enable_xpyb + python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "") + + esetup.py build ${enable_xpyb} +} + +python_compile_all() { + use doc && emake -C docs +} + +python_test() { + local enable_xpyb + python_is_python3 || enable_xpyb=$(usex xcb "--enable-xpyb" "") + + esetup.py test ${enable_xpyb} +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/. ) + + if use examples; then + dodoc -r examples + fi + + distutils-r1_python_install_all +}