commit: 75f4f0c698248bb3884e8843f8bacfc40d15b016
Author: Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Mon Feb 17 18:59:44 2025 +0000
Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 19:45:21 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=75f4f0c6
dev-python/colormath2: add ebuild
Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
dev-python/colormath2/colormath2-3.0.3.ebuild | 26 ++++++++++++++++++++++
dev-python/colormath2/metadata.xml | 12 ++++++++++
...{spectra-0.0.11.ebuild => spectra-0.1.0.ebuild} | 0
3 files changed, 38 insertions(+)
diff --git a/dev-python/colormath2/colormath2-3.0.3.ebuild
b/dev-python/colormath2/colormath2-3.0.3.ebuild
new file mode 100644
index 000000000..87ba7df9b
--- /dev/null
+++ b/dev-python/colormath2/colormath2-3.0.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy color scales and color conversion for Python"
+HOMEPAGE="http://python-colormath.readthedocs.org/"
+SRC_URI="https://github.com/bkmgit/python-colormath2/archive/${PV}.tar.gz ->
${P}.gh.tar.gz"
+
+S="${WORKDIR}/python-colormath2-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/networkx[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/colormath2/metadata.xml
b/dev-python/colormath2/metadata.xml
new file mode 100644
index 000000000..94e5ba723
--- /dev/null
+++ b/dev-python/colormath2/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">bkmgit/python-colormath2</remote-id>
+ <remote-id type="pypi">colormath2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/spectra/spectra-0.0.11.ebuild
b/dev-python/spectra/spectra-0.1.0.ebuild
similarity index 100%
rename from dev-python/spectra/spectra-0.0.11.ebuild
rename to dev-python/spectra/spectra-0.1.0.ebuild