diff options
Diffstat (limited to 'dev-python/colorspacious')
-rw-r--r-- | dev-python/colorspacious/Manifest | 3 | ||||
-rw-r--r-- | dev-python/colorspacious/colorspacious-1.1.0.ebuild | 26 | ||||
-rw-r--r-- | dev-python/colorspacious/metadata.xml | 12 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/colorspacious/Manifest b/dev-python/colorspacious/Manifest new file mode 100644 index 000000000000..c7da9278f6b1 --- /dev/null +++ b/dev-python/colorspacious/Manifest @@ -0,0 +1,3 @@ +DIST colorspacious-1.1.0.zip 698745 BLAKE2B 3d6ebf9b76b727a982829fb0e3012507e30524662110628d8bc164bad4581baf147cdf4d6c8d54a52420d3e72497ac547f98f1d162b178ac20e8e9c926d41bd3 SHA512 b4267cab679d581f2072f5a315aeccd78cc68e325e16f14675cb17133cd411a28f376f150aee7822e1568b84571d5d149adff10e9c5a7fd9f41927153967e2ef +EBUILD colorspacious-1.1.0.ebuild 673 BLAKE2B 7a6e8b7288fc0cc9fcb9ee09f89ec6df10a5d8c5befd847b6dc4b5e52383034166d7d9dad08923d66e19ca3e5e72973a054d43b444accb73c962a748565fb591 SHA512 a4e6a4dc321b87e3be0956c53177c7874d82c0b50bcbdc9b50ed1aa45fa7d89a325d200965c2fc8375357aaf5f485b75202095a9862946a62dd8b7cc3a21f279 +MISC metadata.xml 377 BLAKE2B cb7c86d4c3ae646535ea9bd34ab9b1102227fb900472740734d9e35d18115d4f255cdfa146e9c74c5d1907c0ec3682b01cf72e2a5b6428e2a4eac94ad6854f3e SHA512 5dc4640a370df69368d6d731b54693c4a7f1b2d7b155dbbef2bcc0e8ac4a153d05b4b2a43e6410750a3dfedd15752b3470b023d7b9106eb78ca64bd3a73059e1 diff --git a/dev-python/colorspacious/colorspacious-1.1.0.ebuild b/dev-python/colorspacious/colorspacious-1.1.0.ebuild new file mode 100644 index 000000000000..ed280b7f8aa5 --- /dev/null +++ b/dev-python/colorspacious/colorspacious-1.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +inherit distutils-r1 + +DESCRIPTION="Powerful, accurate, and easy-to-use Python library for colorspace conversions" +HOMEPAGE="https://colorspacious.readthedocs.org/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86" +IUSE="test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/unzip + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_test () { + nosetests --all-modules || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/colorspacious/metadata.xml b/dev-python/colorspacious/metadata.xml new file mode 100644 index 000000000000..eda742272b03 --- /dev/null +++ b/dev-python/colorspacious/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">colorspacious</remote-id> + <remote-id type="github">njsmith/colorspacious</remote-id> + </upstream> +</pkgmetadata> |