Skip to content

Commit

Permalink
dev-python/colormath2: add ebuild
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
  • Loading branch information
mschubert committed Feb 18, 2025
1 parent f5e59fb commit 920b021
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/colormath2/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST colormath2-3.0.3.gh.tar.gz 76925 BLAKE2B 1f6abe88caa0e011f115e73c38e8a4cb00a0880751d841b5c54c4d63c2ff6cc613c4819d2a5ae4da0d6f87e70a7efaae86c8bcd85fc46edb54c1bd12dc0cd322 SHA512 7a026a5589ff20c79dc48a124f18ea522a9a78a8fcac86bc21fb794f50883b620eed865374b6d645586a7c4b922b8eaa568de1c542f8e0fc59da19dad6c2504d
26 changes: 26 additions & 0 deletions dev-python/colormath2/colormath2-3.0.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions dev-python/colormath2/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>mschu.dev@gmail.com</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>
File renamed without changes.

0 comments on commit 920b021

Please sign in to comment.