From eed3533351c8dc742ba4d3e056073bb9f7ca3cbf Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 21 Jul 2023 06:19:36 +0000 Subject: Adding metadata --- dev-python/colour/colour-0.1.5.ebuild | 26 +++++++++++++++----------- dev-python/colour/files/colour-setup.patch | 8 ++++++++ dev-python/colour/metadata.xml | 29 +++++++++++++++++++---------- 3 files changed, 42 insertions(+), 21 deletions(-) create mode 100644 dev-python/colour/files/colour-setup.patch (limited to 'dev-python/colour') diff --git a/dev-python/colour/colour-0.1.5.ebuild b/dev-python/colour/colour-0.1.5.ebuild index d7934124f35e..5d360c2f8f47 100644 --- a/dev-python/colour/colour-0.1.5.ebuild +++ b/dev-python/colour/colour-0.1.5.ebuild @@ -1,20 +1,24 @@ -# Copyright 2021 Liguros Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_SETUPTOOLS=bdepend -inherit distutils-r1 +inherit distutils-r1 pypi -DESCRIPTION="Python color representations manipulation library (RGB, HSL, web, ...)" -HOMEPAGE="https://github.com/vaab/colour" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +DESCRIPTION="Python color representations manipulation library" +HOMEPAGE="https://github.com/vaab/colour/" +KEYWORDS="amd64 ~x86" -LICENSE="MIT" +LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64" -distutils_enable_tests nose +PATCHES=( "${FILESDIR}"/${PN}-setup.patch ) + +src_prepare() { + rm setup.cfg || die -DEPEND="dev-python/d2to1[${PYTHON_USEDEP}]" + distutils-r1_src_prepare +} diff --git a/dev-python/colour/files/colour-setup.patch b/dev-python/colour/files/colour-setup.patch new file mode 100644 index 000000000000..833a045fbf82 --- /dev/null +++ b/dev-python/colour/files/colour-setup.patch @@ -0,0 +1,8 @@ +--- a/setup.py ++++ b/setup.py +@@ -60,5 +60,4 @@ if "0.1.5".startswith("%%"): + + setup( + extras_require={'test': ['nose', ]}, +- d2to1=True + ) diff --git a/dev-python/colour/metadata.xml b/dev-python/colour/metadata.xml index ca26a67b962d..6f1a00ce94bc 100644 --- a/dev-python/colour/metadata.xml +++ b/dev-python/colour/metadata.xml @@ -1,16 +1,25 @@ - - dev@liguros.net - Development - - fedeliallalinea@gmail.com - Marco Genasci + xgqt@gentoo.org + Maciej Barć + + + python@gentoo.org + Python - - https://github.com/vaab/colour/issues - - ports + + Converts and manipulates common color representation (RGB, HSL, web, ...). + Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human color. + One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb + ...). Web format that use the smallest representation between 6-digit (e.g. + #fa3b2c), 3-digit (e.g. #fbb), fully spelled color (e.g. white), following + W3C color naming for compatible CSS or HTML color specifications. Smooth + intuitive color scale generation choosing N color gradients. Can pick + colors for you to identify objects of your application. + + + gentoo-staging + \ No newline at end of file -- cgit v1.3