commit:     8aa1a4c49317e764e8fbbfa4ec54ace323798dc7
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 11:19:28 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 11:20:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa1a4c4

app-shells/powerline: tested on Python 3.8.

Suggested-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 app-shells/powerline/powerline-2.7-r2.ebuild | 31 ++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/app-shells/powerline/powerline-2.7-r2.ebuild 
b/app-shells/powerline/powerline-2.7-r2.ebuild
new file mode 100644
index 00000000000..27ced1c237a
--- /dev/null
+++ b/app-shells/powerline/powerline-2.7-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="The ultimate statusline/prompt utility."
+HOMEPAGE="https://github.com/powerline/powerline";
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/powerline/powerline";
+       EGIT_BRANCH="develop"
+else
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}-status/${PN}-status-${PV}.tar.gz"
+       KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+fi
+S="${WORKDIR}/${PN}-status-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+PATCHES=(
+       "${FILESDIR}"/2.7-ldflags.patch
+)

Reply via email to