1 |
commit: 2a97dcd28102321b396b2035c081bd27f668adbc |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Tue Jan 31 12:48:24 2023 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jan 31 12:48:24 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2a97dcd2 |
7 |
|
8 |
dev-python/distinctipy: new package, add 1.2.2 |
9 |
|
10 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
11 |
|
12 |
.../distinctipy/.tridesclous-1.6.6.ebuild.swp | Bin 0 -> 4096 bytes |
13 |
dev-python/distinctipy/distinctipy-1.2.2.ebuild | 34 +++++++++++++++++++++ |
14 |
dev-python/distinctipy/metadata.xml | 16 ++++++++++ |
15 |
3 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/distinctipy/.tridesclous-1.6.6.ebuild.swp b/dev-python/distinctipy/.tridesclous-1.6.6.ebuild.swp |
18 |
new file mode 100644 |
19 |
index 000000000..d281f7480 |
20 |
Binary files /dev/null and b/dev-python/distinctipy/.tridesclous-1.6.6.ebuild.swp differ |
21 |
|
22 |
diff --git a/dev-python/distinctipy/distinctipy-1.2.2.ebuild b/dev-python/distinctipy/distinctipy-1.2.2.ebuild |
23 |
new file mode 100644 |
24 |
index 000000000..cd4c407d8 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/distinctipy/distinctipy-1.2.2.ebuild |
27 |
@@ -0,0 +1,34 @@ |
28 |
+# Copyright 2021-2023 Gentoo Authors |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=8 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python3_{10..11} ) |
34 |
+DISTUTILS_USE_PEP517=setuptools |
35 |
+inherit distutils-r1 |
36 |
+ |
37 |
+DESCRIPTION="Lightweight package for generating visually distinct colours" |
38 |
+HOMEPAGE=" |
39 |
+ https://distinctipy.readthedocs.io/en/latest/ |
40 |
+ https://github.com/alan-turing-institute/distinctipy |
41 |
+" |
42 |
+# PyPI archive does not include tests: |
43 |
+# https://github.com/alan-turing-institute/distinctipy/issues/29 |
44 |
+SRC_URI="https://github.com/alan-turing-institute/distinctipy/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_tests pytest |
56 |
+ |
57 |
+# Requires networking: |
58 |
+EPYTEST_DESELECT=( |
59 |
+ tests/test_examples.py::test_compare_clusters |
60 |
+ tests/test_examples.py::test_simulate_clusters |
61 |
+) |
62 |
|
63 |
diff --git a/dev-python/distinctipy/metadata.xml b/dev-python/distinctipy/metadata.xml |
64 |
new file mode 100644 |
65 |
index 000000000..eb8a425e8 |
66 |
--- /dev/null |
67 |
+++ b/dev-python/distinctipy/metadata.xml |
68 |
@@ -0,0 +1,16 @@ |
69 |
+<?xml version='1.0' encoding='UTF-8'?> |
70 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
71 |
+<pkgmetadata> |
72 |
+ <maintainer type="person"> |
73 |
+ <email>gentoo@×××××××.eu</email> |
74 |
+ <name>Horea Christian</name> |
75 |
+ </maintainer> |
76 |
+ <maintainer type="project"> |
77 |
+ <email>sci@g.o</email> |
78 |
+ <name>Gentoo Science Project</name> |
79 |
+ </maintainer> |
80 |
+ <upstream> |
81 |
+ <remote-id type="github">alan-turing-institute/distinctipy</remote-id> |
82 |
+ <remote-id type="pypi">distinctipy</remote-id> |
83 |
+ </upstream> |
84 |
+</pkgmetadata> |