diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-05-17 13:36:40 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-05-17 13:54:42 +0200 |
commit | 3cc19b5378b38e4199340b791982413c852c6e3d (patch) | |
tree | aa07b0a86b00df6881db6fa532a256401716c1dd /dev-python/wand | |
parent | x11-wm/mutter: add patch that may fix some potential X11 crashers (diff) | |
download | gentoo-3cc19b5378b38e4199340b791982413c852c6e3d.tar.gz gentoo-3cc19b5378b38e4199340b791982413c852c6e3d.tar.bz2 gentoo-3cc19b5378b38e4199340b791982413c852c6e3d.zip |
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 <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/wand')
-rw-r--r-- | dev-python/wand/Manifest | 1 | ||||
-rw-r--r-- | dev-python/wand/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/wand/wand-0.6.1.ebuild | 35 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest new file mode 100644 index 000000000000..bfe67765c0e5 --- /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 000000000000..79a7ad6bd9e6 --- /dev/null +++ b/dev-python/wand/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <upstream> + <remote-id type="pypi">Wand</remote-id> + <remote-id type="github">emcconville/wand</remote-id> + <bugs-to>https://github.com/emcconville/wand/issues</bugs-to> + </upstream> +</pkgmetadata> 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 000000000000..d4d05f193964 --- /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}" +} |