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 762D51382C5 for ; Sun, 17 May 2020 11:56:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D92FE08FB; Sun, 17 May 2020 11:56:48 +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 09777E08FB for ; Sun, 17 May 2020 11:56:47 +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 5D3D534F865 for ; Sun, 17 May 2020 11:56:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B9E618F for ; Sun, 17 May 2020 11:56:44 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1589716482.3cc19b5378b38e4199340b791982413c852c6e3d.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wand/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wand/Manifest dev-python/wand/metadata.xml dev-python/wand/wand-0.6.1.ebuild X-VCS-Directories: dev-python/wand/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 3cc19b5378b38e4199340b791982413c852c6e3d X-VCS-Branch: master Date: Sun, 17 May 2020 11:56:44 +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: 11358023-53d8-4730-9e3e-657864fb1d01 X-Archives-Hash: e4fa40e27d5187ed0a0bc926be393ccb commit: 3cc19b5378b38e4199340b791982413c852c6e3d Author: Louis Sautier gentoo org> AuthorDate: Sun May 17 11:36:40 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun May 17 11:54:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc19b53 dev-python/wand: new pkg, v0.6.1, ImageMagick binding for Python Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Louis Sautier gentoo.org> dev-python/wand/Manifest | 1 + dev-python/wand/metadata.xml | 13 +++++++++++++ dev-python/wand/wand-0.6.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest new file mode 100644 index 00000000000..bfe67765c0e --- /dev/null +++ b/dev-python/wand/Manifest @@ -0,0 +1 @@ +DIST Wand-0.6.1.tar.gz 10501178 BLAKE2B 76eb22363a20bc93fafae334a65917310cae82b0613b4b8b1eb749ef453268eb4413734ece7a39448d25782ce2ee8c63e71f9571707ec764851d82dbe5a6a6e4 SHA512 3edc4030130c1d03547d933f05eca4e9c9d10bdd527b1e41657a6b3f81d433da63fbbaddf63c726417f90335ac475508f1a467ee5e368eecb5cf9e94e79da9bf diff --git a/dev-python/wand/metadata.xml b/dev-python/wand/metadata.xml new file mode 100644 index 00000000000..79a7ad6bd9e --- /dev/null +++ b/dev-python/wand/metadata.xml @@ -0,0 +1,13 @@ + + + + + sbraz@gentoo.org + Louis Sautier + + + Wand + emcconville/wand + https://github.com/emcconville/wand/issues + + diff --git a/dev-python/wand/wand-0.6.1.ebuild b/dev-python/wand/wand-0.6.1.ebuild new file mode 100644 index 00000000000..d4d05f19396 --- /dev/null +++ b/dev-python/wand/wand-0.6.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7,8} ) + +inherit distutils-r1 + +MY_P="${PN^}-${PV}" +DESCRIPTION="Ctypes-based simple ImageMagick binding for Python" +HOMEPAGE="http://wand-py.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="media-gfx/imagemagick" +BDEPEND=" + test? ( + media-gfx/imagemagick[fftw,jpeg,png,truetype,xml] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +python_test() { + # PDF support is blocked by the default ImageMagick security policy + pytest -vv --skip-pdf || die "Tests fail with ${EPYTHON}" +}