1 |
commit: f8255bc0c85f1b66b6883532ff797d5abfaffa1a |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Wed Aug 28 15:48:06 2019 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Aug 28 15:48:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f8255bc0 |
7 |
|
8 |
dev-python/python-gantt: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
dev-python/python-gantt/metadata.xml | 16 +++++++++++++ |
14 |
dev-python/python-gantt/python-gantt-0.6.0.ebuild | 29 +++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/python-gantt/metadata.xml b/dev-python/python-gantt/metadata.xml |
18 |
new file mode 100644 |
19 |
index 000000000..5bb000bcb |
20 |
--- /dev/null |
21 |
+++ b/dev-python/python-gantt/metadata.xml |
22 |
@@ -0,0 +1,16 @@ |
23 |
+<?xml version='1.0' encoding='UTF-8'?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+ <maintainer type="person"> |
27 |
+ <email>chr@×××××××.eu</email> |
28 |
+ <name>Horea Christian</name> |
29 |
+ </maintainer> |
30 |
+ <maintainer type="project"> |
31 |
+ <email>sci@g.o</email> |
32 |
+ <name>Gentoo Science Project</name> |
33 |
+ </maintainer> |
34 |
+ <longdescription lang="en"> |
35 |
+ Python-Gantt makes it possible to easily draw gantt charts from Python |
36 |
+ and export outputs as scalable vector graphics (SVG). |
37 |
+ </longdescription> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-python/python-gantt/python-gantt-0.6.0.ebuild b/dev-python/python-gantt/python-gantt-0.6.0.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000..47b93c751 |
43 |
--- /dev/null |
44 |
+++ b/dev-python/python-gantt/python-gantt-0.6.0.ebuild |
45 |
@@ -0,0 +1,29 @@ |
46 |
+# Copyright 1999-2019 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+PYTHON_COMPAT=( python2_7 python3_6 python3_7 ) |
51 |
+ |
52 |
+inherit distutils-r1 |
53 |
+ |
54 |
+DESCRIPTION="Draw Gantt charts from Python" |
55 |
+HOMEPAGE="https://pypi.org/project/python-gantt/" |
56 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
57 |
+ |
58 |
+LICENSE="GPL-3" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~amd64 ~x86" |
61 |
+IUSE="" |
62 |
+ |
63 |
+DEPEND=" |
64 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
+ dev-python/nose[${PYTHON_USEDEP}] |
66 |
+ " |
67 |
+RDEPEND=" |
68 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
69 |
+ dev-python/svgwrite[${PYTHON_USEDEP}] |
70 |
+ " |
71 |
+ |
72 |
+python_test() { |
73 |
+ nosetests -v || die "Tests fail with ${EPYTHON}" |
74 |
+} |