1 |
commit: 19c1747227a6db87f5076f30b301be4c60741db9 |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Wed Aug 19 01:13:49 2020 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
5 |
CommitDate: Wed Aug 19 01:13:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19c17472 |
7 |
|
8 |
app-office/pyspread: new package; add version 1.99.2 and live 9999 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
app-office/pyspread/Manifest | 1 + |
14 |
app-office/pyspread/metadata.xml | 11 +++++++++ |
15 |
app-office/pyspread/pyspread-1.99.2.ebuild | 39 ++++++++++++++++++++++++++++++ |
16 |
app-office/pyspread/pyspread-9999.ebuild | 39 ++++++++++++++++++++++++++++++ |
17 |
4 files changed, 90 insertions(+) |
18 |
|
19 |
diff --git a/app-office/pyspread/Manifest b/app-office/pyspread/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..2fab60d |
22 |
--- /dev/null |
23 |
+++ b/app-office/pyspread/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST pyspread-v1.99.2.tar.gz 2350002 BLAKE2B 61550fa44ad32b32cf69a0aa423a053d90b91c54ee9a17a13a39665a2a7e719c1aa81063aca6216a6f0675e444bc705d21e5cdd927c542fcc229acba304ad2e0 SHA512 9261cf96f19d92a5743c09854236ccec5e1b103e22b78143ddee8fce0d25f793b86e7cc3775f13c5a43cf8dd4e3f434461677b6da5311fb439067d63ce6ac968 |
26 |
|
27 |
diff --git a/app-office/pyspread/metadata.xml b/app-office/pyspread/metadata.xml |
28 |
new file mode 100644 |
29 |
index 0000000..657200d |
30 |
--- /dev/null |
31 |
+++ b/app-office/pyspread/metadata.xml |
32 |
@@ -0,0 +1,11 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>xgqt@××××××××××.com</email> |
38 |
+ <name>Maciej Barć</name> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="gitlab">pyspread/pyspread</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/app-office/pyspread/pyspread-1.99.2.ebuild b/app-office/pyspread/pyspread-1.99.2.ebuild |
46 |
new file mode 100644 |
47 |
index 0000000..73f3f51 |
48 |
--- /dev/null |
49 |
+++ b/app-office/pyspread/pyspread-1.99.2.ebuild |
50 |
@@ -0,0 +1,39 @@ |
51 |
+# Copyright 2020 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=7 |
55 |
+ |
56 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
57 |
+ |
58 |
+inherit eutils xdg distutils-r1 |
59 |
+ |
60 |
+DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python" |
61 |
+HOMEPAGE="https://pyspread.gitlab.io" |
62 |
+ |
63 |
+if [[ ${PV} == *9999* ]]; then |
64 |
+ inherit git-r3 |
65 |
+ EGIT_REPO_URI="https://gitlab.com/pyspread/${PN}.git" |
66 |
+else |
67 |
+ SRC_URI="https://gitlab.com/pyspread/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" |
68 |
+ KEYWORDS="~amd64" |
69 |
+ S="${WORKDIR}/${PN}-v${PV}" |
70 |
+fi |
71 |
+ |
72 |
+LICENSE="GPL-3" |
73 |
+SLOT="0" |
74 |
+IUSE="" |
75 |
+ |
76 |
+RDEPEND=" |
77 |
+ >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}] |
78 |
+ >=dev-python/matplotlib-1.1.1[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/numpy-1.1.1[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/pyenchant-1.1.0[${PYTHON_USEDEP}] |
81 |
+" |
82 |
+ |
83 |
+python_install() { |
84 |
+ distutils-r1_python_install |
85 |
+ |
86 |
+ # Install the provided desktop file |
87 |
+ insinto /usr/share/applications |
88 |
+ doins "${PN}.desktop" |
89 |
+} |
90 |
|
91 |
diff --git a/app-office/pyspread/pyspread-9999.ebuild b/app-office/pyspread/pyspread-9999.ebuild |
92 |
new file mode 100644 |
93 |
index 0000000..73f3f51 |
94 |
--- /dev/null |
95 |
+++ b/app-office/pyspread/pyspread-9999.ebuild |
96 |
@@ -0,0 +1,39 @@ |
97 |
+# Copyright 2020 Gentoo Authors |
98 |
+# Distributed under the terms of the GNU General Public License v2 |
99 |
+ |
100 |
+EAPI=7 |
101 |
+ |
102 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
103 |
+ |
104 |
+inherit eutils xdg distutils-r1 |
105 |
+ |
106 |
+DESCRIPTION="Pyspread is a non-traditional spreadsheet written in Python" |
107 |
+HOMEPAGE="https://pyspread.gitlab.io" |
108 |
+ |
109 |
+if [[ ${PV} == *9999* ]]; then |
110 |
+ inherit git-r3 |
111 |
+ EGIT_REPO_URI="https://gitlab.com/pyspread/${PN}.git" |
112 |
+else |
113 |
+ SRC_URI="https://gitlab.com/pyspread/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" |
114 |
+ KEYWORDS="~amd64" |
115 |
+ S="${WORKDIR}/${PN}-v${PV}" |
116 |
+fi |
117 |
+ |
118 |
+LICENSE="GPL-3" |
119 |
+SLOT="0" |
120 |
+IUSE="" |
121 |
+ |
122 |
+RDEPEND=" |
123 |
+ >=dev-python/PyQt5-5.10.0[svg,${PYTHON_USEDEP}] |
124 |
+ >=dev-python/matplotlib-1.1.1[${PYTHON_USEDEP}] |
125 |
+ >=dev-python/numpy-1.1.1[${PYTHON_USEDEP}] |
126 |
+ >=dev-python/pyenchant-1.1.0[${PYTHON_USEDEP}] |
127 |
+" |
128 |
+ |
129 |
+python_install() { |
130 |
+ distutils-r1_python_install |
131 |
+ |
132 |
+ # Install the provided desktop file |
133 |
+ insinto /usr/share/applications |
134 |
+ doins "${PN}.desktop" |
135 |
+} |