summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Vig <sean.v.775@gmail.com>2017-06-09 08:22:56 -0400
committerMike Gilbert <floppym@gentoo.org>2017-06-20 21:32:03 -0400
commite72a8e5565a2dd49b0a3c8de25dba40cb68177bb (patch)
tree9c3ac0070b820b39f29f281beeffa48f013025fd
parentsys-libs/gdbm: Added missing DEPEND (bug #622326). (diff)
downloadgentoo-e72a8e5565a2dd49b0a3c8de25dba40cb68177bb.tar.gz
gentoo-e72a8e5565a2dd49b0a3c8de25dba40cb68177bb.tar.bz2
gentoo-e72a8e5565a2dd49b0a3c8de25dba40cb68177bb.zip
dev-python/colorspacious: New ebuild
-rw-r--r--dev-python/colorspacious/Manifest1
-rw-r--r--dev-python/colorspacious/colorspacious-1.1.0.ebuild25
-rw-r--r--dev-python/colorspacious/metadata.xml12
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/colorspacious/Manifest b/dev-python/colorspacious/Manifest
new file mode 100644
index 000000000000..6ad849175d70
--- /dev/null
+++ b/dev-python/colorspacious/Manifest
@@ -0,0 +1 @@
+DIST colorspacious-1.1.0.zip 698745 SHA256 7fd83cdb22224335c51c1f85e54a55f18568660452680d21f4b306d4454aec56 SHA512 b4267cab679d581f2072f5a315aeccd78cc68e325e16f14675cb17133cd411a28f376f150aee7822e1568b84571d5d149adff10e9c5a7fd9f41927153967e2ef WHIRLPOOL ea4c14a616933cf5646ccc9c311d12f23daec03615468976cfd555f9a1104c4d64460ac4c6c5b6cc52bf9b878f46b7be2dc6dece9be1ea17ab11001d3ecdcea7
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..326dacfdfedb
--- /dev/null
+++ b/dev-python/colorspacious/colorspacious-1.1.0.ebuild
@@ -0,0 +1,25 @@
+# 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} )
+inherit distutils-r1
+
+DESCRIPTION="A powerful, accurate, and easy-to-use Python library for doing colorspace conversions"
+HOMEPAGE="http://colorspacious.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+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..9062040d1f19
--- /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>