public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/distinctipy/
@ 2023-01-31 12:48 Horea Christian
  0 siblings, 0 replies; only message in thread
From: Horea Christian @ 2023-01-31 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     2a97dcd28102321b396b2035c081bd27f668adbc
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Jan 31 12:48:24 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jan 31 12:48:24 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2a97dcd2

dev-python/distinctipy: new package, add 1.2.2

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../distinctipy/.tridesclous-1.6.6.ebuild.swp      | Bin 0 -> 4096 bytes
 dev-python/distinctipy/distinctipy-1.2.2.ebuild    |  34 +++++++++++++++++++++
 dev-python/distinctipy/metadata.xml                |  16 ++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-python/distinctipy/.tridesclous-1.6.6.ebuild.swp b/dev-python/distinctipy/.tridesclous-1.6.6.ebuild.swp
new file mode 100644
index 000000000..d281f7480
Binary files /dev/null and b/dev-python/distinctipy/.tridesclous-1.6.6.ebuild.swp differ

diff --git a/dev-python/distinctipy/distinctipy-1.2.2.ebuild b/dev-python/distinctipy/distinctipy-1.2.2.ebuild
new file mode 100644
index 000000000..cd4c407d8
--- /dev/null
+++ b/dev-python/distinctipy/distinctipy-1.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Lightweight package for generating visually distinct colours"
+HOMEPAGE="
+	https://distinctipy.readthedocs.io/en/latest/
+	https://github.com/alan-turing-institute/distinctipy
+"
+# PyPI archive does not include tests:
+# https://github.com/alan-turing-institute/distinctipy/issues/29
+SRC_URI="https://github.com/alan-turing-institute/distinctipy/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+# Requires networking:
+EPYTEST_DESELECT=(
+	tests/test_examples.py::test_compare_clusters
+	tests/test_examples.py::test_simulate_clusters
+)

diff --git a/dev-python/distinctipy/metadata.xml b/dev-python/distinctipy/metadata.xml
new file mode 100644
index 000000000..eb8a425e8
--- /dev/null
+++ b/dev-python/distinctipy/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@chymera.eu</email>
+		<name>Horea Christian</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">alan-turing-institute/distinctipy</remote-id>
+		<remote-id type="pypi">distinctipy</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-31 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-31 12:48 [gentoo-commits] proj/sci:master commit in: dev-python/distinctipy/ Horea Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox