1 |
commit: 3a8b42b7f2baf65f741e0bc3f63268a978f5f7fa |
2 |
Author: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Aug 31 12:18:54 2020 +0000 |
4 |
Commit: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Aug 31 20:31:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a8b42b7 |
7 |
|
8 |
dev-python/asciimatics: New package |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com> |
12 |
|
13 |
dev-python/asciimatics/Manifest | 1 + |
14 |
dev-python/asciimatics/asciimatics-1.11.0.ebuild | 36 ++++++++++++++++++++++ |
15 |
dev-python/asciimatics/asciimatics-9999.ebuild | 39 ++++++++++++++++++++++++ |
16 |
dev-python/asciimatics/metadata.xml | 13 ++++++++ |
17 |
4 files changed, 89 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/asciimatics/Manifest b/dev-python/asciimatics/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..55539fd |
22 |
--- /dev/null |
23 |
+++ b/dev-python/asciimatics/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST asciimatics-1.11.0.tar.gz 1544889 BLAKE2B 98492a3bef25331daf085bfd93e17a244cd70939d06ead1c4e6dfa546411e268b7c278b7e05046c42d59faf35d85c6c584663aac3566ef82e682740f9fa67fa4 SHA512 7703e29955c984cb091a1cfda01abf31ad108da0488d0dd1c941593689cc4ebb899565471d5d4396b910a9770e640e0cba835c4dac203bd1c4a853ce7dcaacbc |
26 |
|
27 |
diff --git a/dev-python/asciimatics/asciimatics-1.11.0.ebuild b/dev-python/asciimatics/asciimatics-1.11.0.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..771c5c6 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/asciimatics/asciimatics-1.11.0.ebuild |
32 |
@@ -0,0 +1,36 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7} ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Package for curses-like operations, text UIs and ASCII art animations" |
42 |
+HOMEPAGE="https://pypi.org/project/asciimatics/ https://github.com/peterbrittain/asciimatics" |
43 |
+ |
44 |
+if [[ "${PV}" == 9999 ]] |
45 |
+then |
46 |
+ inherit git-r3 |
47 |
+ EGIT_REPO_URI="https://github.com/peterbrittain/asciimatics.git" |
48 |
+else |
49 |
+ SRC_URI="https://github.com/peterbrittain/asciimatics/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64" |
51 |
+fi |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+ |
56 |
+RESTRICT="mirror test" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=dev-python/pyfiglet-0.7.2[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pillow-2.7.0[${PYTHON_USEDEP}] |
61 |
+ dev-python/wcwidth[${PYTHON_USEDEP}] |
62 |
+ dev-python/future[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ sed -i -e "s/use_scm_version={/\0'fallback_version': '${PV}',/" setup.py |
68 |
+} |
69 |
|
70 |
diff --git a/dev-python/asciimatics/asciimatics-9999.ebuild b/dev-python/asciimatics/asciimatics-9999.ebuild |
71 |
new file mode 100644 |
72 |
index 0000000..91f368b |
73 |
--- /dev/null |
74 |
+++ b/dev-python/asciimatics/asciimatics-9999.ebuild |
75 |
@@ -0,0 +1,39 @@ |
76 |
+# Copyright 1999-2020 Gentoo Authors |
77 |
+# Distributed under the terms of the GNU General Public License v2 |
78 |
+ |
79 |
+EAPI=7 |
80 |
+ |
81 |
+PYTHON_COMPAT=( python3_{6,7} ) |
82 |
+inherit distutils-r1 |
83 |
+ |
84 |
+DESCRIPTION="Package for curses-like operations, text UIs and ASCII art animations" |
85 |
+HOMEPAGE="https://pypi.org/project/asciimatics/ https://github.com/peterbrittain/asciimatics" |
86 |
+ |
87 |
+if [[ "${PV}" == 9999 ]] |
88 |
+then |
89 |
+ inherit git-r3 |
90 |
+ EGIT_REPO_URI="https://github.com/peterbrittain/asciimatics.git" |
91 |
+else |
92 |
+ SRC_URI="https://github.com/peterbrittain/asciimatics/archive/${PV}.tar.gz -> ${P}.tar.gz" |
93 |
+ KEYWORDS="~amd64" |
94 |
+fi |
95 |
+ |
96 |
+LICENSE="Apache-2.0" |
97 |
+SLOT="0" |
98 |
+ |
99 |
+RESTRICT="mirror" |
100 |
+ |
101 |
+RDEPEND=" |
102 |
+ >=dev-python/pyfiglet-0.7.2[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/pillow-2.7.0[${PYTHON_USEDEP}] |
104 |
+ dev-python/wcwidth[${PYTHON_USEDEP}] |
105 |
+ dev-python/future[${PYTHON_USEDEP}] |
106 |
+" |
107 |
+BDEPEND=" |
108 |
+ test? ( |
109 |
+ ${RDEPEND} |
110 |
+ dev-python/mock |
111 |
+ ) |
112 |
+" |
113 |
+ |
114 |
+distutils_enable_tests nose |
115 |
|
116 |
diff --git a/dev-python/asciimatics/metadata.xml b/dev-python/asciimatics/metadata.xml |
117 |
new file mode 100644 |
118 |
index 0000000..e236e2c |
119 |
--- /dev/null |
120 |
+++ b/dev-python/asciimatics/metadata.xml |
121 |
@@ -0,0 +1,13 @@ |
122 |
+<?xml version="1.0" encoding="UTF-8"?> |
123 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
124 |
+<pkgmetadata> |
125 |
+ <maintainer type="person"> |
126 |
+ <email>coppens.matthias.abc@×××××.com</email> |
127 |
+ <name>Matthias Coppens</name> |
128 |
+ </maintainer> |
129 |
+ <upstream> |
130 |
+ <doc>https://asciimatics.readthedocs.io/en/stable/</doc> |
131 |
+ <remote-id type="github">peterbrittain/asciimatics</remote-id> |
132 |
+ <bugs-to>https://github.com/peterbrittain/asciimatics/issues</bugs-to> |
133 |
+ </upstream> |
134 |
+</pkgmetadata> |