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 4412E158087 for ; Tue, 5 Oct 2021 08:27:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0C9BE088B; Tue, 5 Oct 2021 08:27:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91612E088B for ; Tue, 5 Oct 2021 08:27:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5111343128 for ; Tue, 5 Oct 2021 08:27:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DE78151 for ; Tue, 5 Oct 2021 08:27:32 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1633422445.c27fb314ef00847a3e7e3d8213cf78e682c5fb1d.mgorny@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-1.3.0.ebuild X-VCS-Directories: dev-python/cairocffi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c27fb314ef00847a3e7e3d8213cf78e682c5fb1d X-VCS-Branch: master Date: Tue, 5 Oct 2021 08:27:32 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd786d65-00cd-4237-954a-42026797b00f X-Archives-Hash: 5354cd74c0199e13950920c4888620cd commit: c27fb314ef00847a3e7e3d8213cf78e682c5fb1d Author: Michał Górny gentoo org> AuthorDate: Tue Oct 5 07:21:15 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 5 08:27:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c27fb314 dev-python/cairocffi: Bump to 1.3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/cairocffi/Manifest | 1 + dev-python/cairocffi/cairocffi-1.3.0.ebuild | 40 +++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 507cb439c5a..107da076235 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1 +1,2 @@ DIST cairocffi-1.2.0.tar.gz 70393 BLAKE2B b5cc69ec2805524e8f66a6234c4e19502181fad18c754379d91b05c2d2a88c82742f2b2057afcaac93f4d23ee64b41b2e84f029b6cb4ce2e7b3fa81ae0e8a485 SHA512 0f5b58ae85b2cc880bfb8ede6cbfe4905737211dab5b080815eb59f7cdd9c580367b9e00e7216d68ea9cbb84bda3f21ddcbccb2e744b86d6da8b991cffb96caf +DIST cairocffi-1.3.0.tar.gz 88784 BLAKE2B 022634825febd3d70a0115f0632e9b146719a2ab802583e0f57ebbd36c65c9e73f4547dbc5ea3651b8b38a043d519f000e908c34b77f3bf49e2ed5ded1a0ca02 SHA512 be459a5f4c1986cf339b7b15fdb7d3ac52476c8c31ff663b4708917ce8abd6fc66860d1966744b69aebf7aebca4415b32166df79505ad42f315ffd76d7163d7e diff --git a/dev-python/cairocffi/cairocffi-1.3.0.ebuild b/dev-python/cairocffi/cairocffi-1.3.0.ebuild new file mode 100644 index 00000000000..7465ac24632 --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 virtualx + +DESCRIPTION="CFFI-based drop-in replacement for Pycairo" +HOMEPAGE="https://github.com/Kozea/cairocffi" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +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=[X,xcb(+)] + x11-libs/gdk-pixbuf[jpeg]" +BDEPEND=" + test? ( dev-python/numpy[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-tests.patch +) + +src_prepare() { + sed -i -e '/pytest-/d' -e '/addopts/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + virtx pytest -vv --pyargs cairocffi +}