-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from ZyX-I/powerline-release-2.7
New powerline version: 2.7
- Loading branch information
Showing
4 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST powerline-status-2.6.tar.gz 231421 SHA256 3f460a72b69fcfad74646c17759f851a721d243415c11e1dbf60c5b74dc1d2c3 SHA512 42a75822d7657a4c03b55fd115b382d821e2683b94db8a9513bec33fbc8de8c23df8ae6df2633dd2d45d86fce8a1a9a61aeb6ed72ef9446e4a8fd345a747b648 WHIRLPOOL 959fae80ed4669d5ef837f3f4307ed471d643c3534bf16d29c78ebef2091de22d10b3ca6acdeb4968b43347847cfc4530c3ddde624df57e4559176561387843a | ||
DIST powerline-status-2.6.tar.gz 231421 BLAKE2B d4717850d37bfc031531afb8d1f0fc17f1dac5619e35b0bb122cc50b984c63ec2a095ee21ebcd48991ce71f43bb522d6f4baba1492e876d79a302ae24ba01972 SHA512 42a75822d7657a4c03b55fd115b382d821e2683b94db8a9513bec33fbc8de8c23df8ae6df2633dd2d45d86fce8a1a9a61aeb6ed72ef9446e4a8fd345a747b648 | ||
DIST powerline-status-2.7.tar.gz 233726 BLAKE2B fc7b7d6aa5d8e050af07aeee0aa0b7f6f01b7483ea910b87a7027cd55f726d42e41a008feb07429b21ebbd890b12eb56581b8e47fc30a58de6b902bf14d999cb SHA512 053ab74d250b7d835a5f8ec9cb7da4e890f0f50d31be9bab4b393a85e087a6fc010e58d6b3fa530cf39c10671345d032ca1fa9c0f7887a89fea8a4e69b7f1517 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
powerline-9999-r20.ebuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST powerline-status-2.6.tar.gz 231421 SHA256 3f460a72b69fcfad74646c17759f851a721d243415c11e1dbf60c5b74dc1d2c3 SHA512 42a75822d7657a4c03b55fd115b382d821e2683b94db8a9513bec33fbc8de8c23df8ae6df2633dd2d45d86fce8a1a9a61aeb6ed72ef9446e4a8fd345a747b648 WHIRLPOOL 959fae80ed4669d5ef837f3f4307ed471d643c3534bf16d29c78ebef2091de22d10b3ca6acdeb4968b43347847cfc4530c3ddde624df57e4559176561387843a | ||
DIST powerline-status-2.6.tar.gz 231421 BLAKE2B d4717850d37bfc031531afb8d1f0fc17f1dac5619e35b0bb122cc50b984c63ec2a095ee21ebcd48991ce71f43bb522d6f4baba1492e876d79a302ae24ba01972 SHA512 42a75822d7657a4c03b55fd115b382d821e2683b94db8a9513bec33fbc8de8c23df8ae6df2633dd2d45d86fce8a1a9a61aeb6ed72ef9446e4a8fd345a747b648 | ||
DIST powerline-status-2.7.tar.gz 233726 BLAKE2B fc7b7d6aa5d8e050af07aeee0aa0b7f6f01b7483ea910b87a7027cd55f726d42e41a008feb07429b21ebbd890b12eb56581b8e47fc30a58de6b902bf14d999cb SHA512 053ab74d250b7d835a5f8ec9cb7da4e890f0f50d31be9bab4b393a85e087a6fc010e58d6b3fa530cf39c10671345d032ca1fa9c0f7887a89fea8a4e69b7f1517 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
# Since eclasses cannot be conditionally inherited, this ebuild remains distinct | ||
# from the top-level Powerline ebuild at "app-misc/powerline". | ||
inherit vim-plugin | ||
|
||
MY_PN="powerline-status" | ||
MY_P="${MY_PN}-${PV}" | ||
|
||
DESCRIPTION="Vim plugin for Python-based Powerline" | ||
HOMEPAGE="https://pypi.python.org/pypi/powerline-status" | ||
SRC_URI="mirror://pypi/p/${MY_PN}/${MY_P}.tar.gz" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
IUSE="" | ||
DEPEND="|| ( | ||
>=app-editors/vim-7.2[python] | ||
>=app-editors/gvim-7.2[python] | ||
)" | ||
RDEPEND="${DEPEND} | ||
~app-misc/powerline-${PV} | ||
" | ||
|
||
# Basename of this plugin's help file. | ||
VIM_PLUGIN_HELPFILES="Powerline" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
|
||
EGIT_REPO_URI="https://github.com/powerline/powerline" | ||
EGIT_BRANCH="develop" | ||
KEYWORDS="" | ||
else | ||
MY_PN="powerline-status" | ||
MY_P="${MY_PN}-${PV}" | ||
SRC_URI="mirror://pypi/p/${MY_PN}/${MY_P}.tar.gz" | ||
KEYWORDS="~amd64 ~x86" | ||
S="${WORKDIR}/${MY_P}" | ||
fi | ||
|
||
src_prepare() { | ||
default | ||
|
||
# vim-plugin_src_install() expects that ${S} is the top-level directory for | ||
# the Vim plugin to be installed to "/usr/share/vim/vimfiles". To guarantee | ||
# this, that directory is moved to "${T}/vim", everything else | ||
# under ${S} is moved to "${T}/ignore", and that directory is moved back | ||
# directly into ${S}. | ||
mkdir "${T}"/ignore || die '"mkdir" failed.' | ||
mv "${S}"/powerline/bindings/vim "${T}" || die '"mv" failed.' | ||
mv * "${T}"/ignore || die '"mv" failed.' | ||
mv "${T}"/vim/* "${S}" || die '"mv" failed.' | ||
|
||
# Remove all remaining Java and Python files to prevent | ||
# vim-plugin_src_install() from installing such files as documentation. | ||
# Which, if you think about it, is a pretty terrible default behaviour. | ||
find . -type f '(' -name '*.class' -o -name '*.py' ')' -delete || | ||
die '"find" failed.' | ||
|
||
# Remove nonstandard paths from this plugin's implementation. | ||
sed -i -e '/sys\.path\.append/d' "${S}"/plugin/powerline.vim || | ||
die '"sed" failed.' | ||
} |