commit:     d4bf1f71fe3576132d424085ce9a1a3f289d65cc
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Mon Jan 29 21:30:27 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 14:01:28 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d4bf1f71

dev-python/colormath: add ebuild

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/colormath/colormath-3.0.0.ebuild | 23 +++++++++++++++++++++++
 dev-python/colormath/metadata.xml           | 12 ++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/colormath/colormath-3.0.0.ebuild 
b/dev-python/colormath/colormath-3.0.0.ebuild
new file mode 100644
index 000000000..8bd5a2b02
--- /dev/null
+++ b/dev-python/colormath/colormath-3.0.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit pypi distutils-r1
+
+DESCRIPTION="Easy color scales and color conversion for Python"
+HOMEPAGE="https://pypi.org/project/colormath/";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux"
+
+RDEPEND="dev-python/networkx[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]"
+
+# Nose test no longer supported
+RESTRICT="test"
+#distutils_enable_tests nose

diff --git a/dev-python/colormath/metadata.xml 
b/dev-python/colormath/metadata.xml
new file mode 100644
index 000000000..a633acfa0
--- /dev/null
+++ b/dev-python/colormath/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="person">
+               <email>[email protected]</email>
+               <name>Michael Schubert</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">gtaylor/python-colormath</remote-id>
+               <remote-id type="pypi">colormath</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to