1 |
commit: 8aa1a4c49317e764e8fbbfa4ec54ace323798dc7 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 11:19:28 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 11:20:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa1a4c4 |
7 |
|
8 |
app-shells/powerline: tested on Python 3.8. |
9 |
|
10 |
Suggested-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> |
11 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
12 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
13 |
|
14 |
app-shells/powerline/powerline-2.7-r2.ebuild | 31 ++++++++++++++++++++++++++++ |
15 |
1 file changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/powerline/powerline-2.7-r2.ebuild b/app-shells/powerline/powerline-2.7-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..27ced1c237a |
20 |
--- /dev/null |
21 |
+++ b/app-shells/powerline/powerline-2.7-r2.ebuild |
22 |
@@ -0,0 +1,31 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="The ultimate statusline/prompt utility." |
32 |
+HOMEPAGE="https://github.com/powerline/powerline" |
33 |
+if [[ ${PV} == 9999 ]]; then |
34 |
+ inherit git-r3 |
35 |
+ EGIT_REPO_URI="https://github.com/powerline/powerline" |
36 |
+ EGIT_BRANCH="develop" |
37 |
+else |
38 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}-status/${PN}-status-${PV}.tar.gz" |
39 |
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
40 |
+fi |
41 |
+S="${WORKDIR}/${PN}-status-${PV}" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
49 |
+RDEPEND="" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/2.7-ldflags.patch |
53 |
+) |