dev-python/colorspacious: New ebuild

This commit is contained in:
Sean Vig
2017-06-09 08:22:56 -04:00
committed by Mike Gilbert
parent 04374ecd3a
commit e72a8e5565
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST colorspacious-1.1.0.zip 698745 SHA256 7fd83cdb22224335c51c1f85e54a55f18568660452680d21f4b306d4454aec56 SHA512 b4267cab679d581f2072f5a315aeccd78cc68e325e16f14675cb17133cd411a28f376f150aee7822e1568b84571d5d149adff10e9c5a7fd9f41927153967e2ef WHIRLPOOL ea4c14a616933cf5646ccc9c311d12f23daec03615468976cfd555f9a1104c4d64460ac4c6c5b6cc52bf9b878f46b7be2dc6dece9be1ea17ab11001d3ecdcea7

View File

@@ -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}"
}

View File

@@ -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>