[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 19:39:13 Author: foutrelis Revision: 753561 upgpkg: powerline 2.8.1-2: Python 3.9 rebuild Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 19:38:47 UTC (rev 753560) +++ PKGBUILD2020-11-12 19:39:13 UTC (rev 753561) @@ -10,7 +10,7 @@ pkgname=("powerline" "python-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.8.1 -pkgrel=1 +pkgrel=2 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Friday, June 26, 2020 @ 02:56:14 Author: farseerfc Revision: 653369 upgpkg: powerline 2.8.1-1: powerline 2.8.1 release Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-26 02:55:29 UTC (rev 653368) +++ PKGBUILD2020-06-26 02:56:14 UTC (rev 653369) @@ -9,8 +9,8 @@ pkgbase="powerline" pkgname=("powerline" "python-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -pkgver=2.8 -pkgrel=2 +pkgver=2.8.1 +pkgrel=1 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') @@ -25,7 +25,7 @@ ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz; "fail-on-binary-error.patch") -sha512sums=('85164c767383d954ba4cec726f15016f3b64cf8d6454a500dfc0c1ee4422b9621e63eac1ab7769242e4ea20e08be8e9f6badc177dab10fbf090fca897152ebbf' +sha512sums=('74642215ee204d1c05f34af31a95c2a96fe391d73360a30dc0d80c2d43f1d3d769c377cdb35fccfd486a204503d602ae2f5134b36060db6f6b7384598639aaca' 'd8f77a55d6056353e05556b283840e65bc0411890b5906deaf7f041843a17b08b6975ec399810e10d84d840e66c1125f6851559e4806a850502c685a6621')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Wednesday, June 10, 2020 @ 12:00:44 Author: farseerfc Revision: 641385 upgpkg: powerline 2.8-2: powerline: remove py2 splitpkgs Modified: powerline/trunk/PKGBUILD --+ PKGBUILD | 57 ++--- 1 file changed, 6 insertions(+), 51 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-10 11:58:39 UTC (rev 641384) +++ PKGBUILD2020-06-10 12:00:44 UTC (rev 641385) @@ -7,21 +7,21 @@ _pkgname="powerline" pkgbase="powerline" -pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") +pkgname=("powerline" "python-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.8 -pkgrel=1 +pkgrel=2 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') makedepends=( -'python2-setuptools' 'python-setuptools' 'python-sphinx' +'git' ) checkdepends=( 'python-pexpect' -'python2-pexpect' +'python-tox' ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz; "fail-on-binary-error.patch") @@ -38,12 +38,6 @@ # explicitly fail if building binary usr/bin/powerline has any error patch -N <../fail-on-binary-error.patch - -cp -r "${srcdir}/${_pkgname}-${pkgver}"{,-py2} -# prepare python2 scripts -cd "${srcdir}/${_pkgname}-${pkgver}-py2" -find scripts -type f -iname "powerline-*" -print0 | xargs -0 sed -i "1s/python/python2/" -find "${_pkgname}"/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/python/python2/" } build(){ @@ -53,10 +47,7 @@ # build C client cd "${srcdir}/${_pkgname}-${pkgver}" -python setup.py build - -cd "${srcdir}/${_pkgname}-${pkgver}-py2" -python2 setup.py build +LC_ALL=C python setup.py build } @@ -64,8 +55,6 @@ check(){ cd "${srcdir}/${_pkgname}-${pkgver}" LC_ALL=C python setup.py test -cd "${srcdir}/${_pkgname}-${pkgver}-py2" -LC_ALL=C python2 setup.py test } package_powerline(){ @@ -91,23 +80,6 @@ # license is installed by powerline-common } -package_powerline2(){ -pkgdesc='Python2 version of statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -depends=('python2-powerline') -conflicts=('powerline' 'python2-powerline<=2.3-1') -provides=('powerline') -replaces=('python2-powerline<=2.3-1') - -cd "${srcdir}/${_pkgname}-${pkgver}-py2/scripts" -install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/" -install -dm755 "${pkgdir}/usr/share/powerline/" -ln -s "$(python2 -c 'import site; print(site.getsitepackages()[0])')/powerline/bindings" "${pkgdir}/usr/share/powerline/bindings" - -install -dm755 "${pkgdir}/usr/share/licenses/" -ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}" -} - - package_python-powerline() { pkgdesc='python library for powerline' depends=('python>=3.2' 'powerline-common') @@ -115,6 +87,7 @@ 'python-pygit2: improved git support' 'powerline-vim: vim plugin' 'powerline-fonts: patched fonts for powerline' +'which: fish bindings' ) # install by redirect scripts and binaries @@ -127,25 +100,7 @@ ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}" } -package_python2-powerline() { -pkgdesc='python2 library for powerline' -depends=('python2>=2.6' 'powerline-common') -optdepends=('python2-psutil: improved system information' -'python2-pygit2: improved git support' -'powerline-vim: vim plugin' -'powerline-fonts: patched fonts for powerline' -) -# install by redirect scripts and binaries -cd "${srcdir}/${_pkgname}-${pkgver}-py2" -python2 setup.py install --skip-build --root="${pkgdir}" --install-data=tmp --install-scripts=tmp --optimize=1 -# remove redirected scripts and binaries -rm -rf "${pkgdir}/tmp" - -install -dm755 "${pkgdir}/usr/share/licenses/" -ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}" -} - package_powerline-common(){ pkgdesc='common files for python-powerline and python2-powerline'
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Monday, May 18, 2020 @ 05:58:47 Author: farseerfc Revision: 629297 upgpkg: powerline 2.8-1: powerline 2.8 release Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-18 05:58:42 UTC (rev 629296) +++ PKGBUILD2020-05-18 05:58:47 UTC (rev 629297) @@ -9,8 +9,8 @@ pkgbase="powerline" pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -pkgver=2.7 -pkgrel=5 +pkgver=2.8 +pkgrel=1 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') @@ -25,7 +25,7 @@ ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz; "fail-on-binary-error.patch") -sha512sums=('a61715a2af9b3b5e26bd7ff4717cba41e6b5ad8c8328132154c88dc161d3fab902432dfe94da9c2d87c32e9fa69c9a758fb90168fbd18b3dc47c0d0073fd6623' +sha512sums=('85164c767383d954ba4cec726f15016f3b64cf8d6454a500dfc0c1ee4422b9621e63eac1ab7769242e4ea20e08be8e9f6badc177dab10fbf090fca897152ebbf' 'd8f77a55d6056353e05556b283840e65bc0411890b5906deaf7f041843a17b08b6975ec399810e10d84d840e66c1125f6851559e4806a850502c685a6621')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Thursday, March 12, 2020 @ 01:05:47 Author: farseerfc Revision: 594861 upgpkg: powerline 2.7-5: powerline 2.7-5 add systemd user service Modified: powerline/trunk/PKGBUILD --+ PKGBUILD | 42 -- 1 file changed, 24 insertions(+), 18 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-12 01:02:44 UTC (rev 594860) +++ PKGBUILD2020-03-12 01:05:47 UTC (rev 594861) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.7 -pkgrel=4 +pkgrel=5 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') @@ -32,30 +32,30 @@ prepare() { # fix https://bugs.archlinux.org/task/48358 -cd ${srcdir}/${_pkgname}-${pkgver} +cd "${srcdir}/${_pkgname}-${pkgver}" find scripts -type f -iname "powerline-*" -print0 | xargs -0 sed -i "1s/env //" -find ${_pkgname}/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/env //" +find "${_pkgname}"/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/env //" # explicitly fail if building binary usr/bin/powerline has any error patch -N <../fail-on-binary-error.patch -cp -r ${srcdir}/${_pkgname}-${pkgver}{,-py2} +cp -r "${srcdir}/${_pkgname}-${pkgver}"{,-py2} # prepare python2 scripts -cd ${srcdir}/${_pkgname}-${pkgver}-py2 +cd "${srcdir}/${_pkgname}-${pkgver}-py2" find scripts -type f -iname "powerline-*" -print0 | xargs -0 sed -i "1s/python/python2/" -find ${_pkgname}/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/python/python2/" +find "${_pkgname}"/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/python/python2/" } build(){ # build main pages -cd ${srcdir}/${_pkgname}-${pkgver}/docs +cd "${srcdir}/${_pkgname}-${pkgver}/docs" make man # build C client -cd ${srcdir}/${_pkgname}-${pkgver} +cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build -cd ${srcdir}/${_pkgname}-${pkgver}-py2 +cd "${srcdir}/${_pkgname}-${pkgver}-py2" python2 setup.py build } @@ -62,9 +62,9 @@ # FIXME Currently test will fail with dividers and other errors check(){ -cd ${srcdir}/${_pkgname}-${pkgver} +cd "${srcdir}/${_pkgname}-${pkgver}" LC_ALL=C python setup.py test -cd ${srcdir}/${_pkgname}-${pkgver}-py2 +cd "${srcdir}/${_pkgname}-${pkgver}-py2" LC_ALL=C python2 setup.py test } @@ -73,7 +73,7 @@ conflicts=('powerline2' 'python-powerline<=2.3-1') replaces=('python-powerline<=2.3-1') -cd ${srcdir}/${_pkgname}-${pkgver}/scripts +cd "${srcdir}/${_pkgname}-${pkgver}/scripts" install -Dm755 powerline "${pkgdir}/usr/bin/powerline" install -Dm755 powerline-config "${pkgdir}/usr/bin/powerline-config" install -Dm755 powerline-daemon "${pkgdir}/usr/bin/powerline-daemon" @@ -82,6 +82,12 @@ install -dm755 "${pkgdir}/usr/share/powerline/" ln -s "$(python3 -c 'import site; print(site.getsitepackages()[0])')/powerline/bindings" "${pkgdir}/usr/share/powerline/bindings" + +# install systemd user service +# see https://github.com/powerline/powerline/issues/1447 +# and https://bugs.archlinux.org/task/65781 +cd "${srcdir}/${_pkgname}-${pkgver}/powerline/dist/systemd" +install -Dm644 powerline-daemon.service "${pkgdir}/usr/lib/systemd/user/powerline-daemon.service" # license is installed by powerline-common } @@ -92,7 +98,7 @@ provides=('powerline') replaces=('python2-powerline<=2.3-1') -cd ${srcdir}/${_pkgname}-${pkgver}-py2/scripts +cd "${srcdir}/${_pkgname}-${pkgver}-py2/scripts" install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/" install -dm755 "${pkgdir}/usr/share/powerline/" ln -s "$(python2 -c 'import site; print(site.getsitepackages()[0])')/powerline/bindings" "${pkgdir}/usr/share/powerline/bindings" @@ -112,7 +118,7 @@ ) # install by redirect scripts and binaries -cd ${srcdir}/${_pkgname}-${pkgver} +cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --skip-build --root="${pkgdir}" --install-data=tmp --install-scripts=tmp --optimize=1 # remove redirected scripts and binaries rm -rf "${pkgdir}/tmp" @@ -131,7 +137,7 @@ ) # install by redirect scripts and binaries -cd ${srcdir}/${_pkgname}-${pkgver}-py2 +cd "${srcdir}/${_pkgname}-${pkgver}-py2" python2 setup.py install --skip-build --root="${pkgdir}" --install-data=tmp --install-scripts=tmp --optimize=1 # remove redirected scripts and binaries rm -rf "${pkgdir}/tmp" @@ -143,7
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Monday, November 4, 2019 @ 01:54:16 Author: felixonmars Revision: 522926 Python 3.8 rebuild Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-04 01:53:43 UTC (rev 522925) +++ PKGBUILD2019-11-04 01:54:16 UTC (rev 522926) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.7 -pkgrel=3 +pkgrel=4 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Tuesday, March 5, 2019 @ 16:54:49 Author: farseerfc Revision: 437729 upgpkg: powerline 2.7-3 powerline rebuilding to solve binary instability Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-03-05 15:03:40 UTC (rev 437728) +++ PKGBUILD2019-03-05 16:54:49 UTC (rev 437729) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.7 -pkgrel=2 +pkgrel=3 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64')
[arch-commits] Commit in powerline/trunk (PKGBUILD fail-on-binary-error.patch)
Date: Wednesday, September 12, 2018 @ 10:12:15 Author: farseerfc Revision: 379783 upgpkg: powerline 2.7-2 powerline explicitly fail when building binary has error Added: powerline/trunk/fail-on-binary-error.patch Modified: powerline/trunk/PKGBUILD + PKGBUILD | 10 +++--- fail-on-binary-error.patch | 15 +++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-12 07:15:07 UTC (rev 379782) +++ PKGBUILD2018-09-12 10:12:15 UTC (rev 379783) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.7 -pkgrel=1 +pkgrel=2 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') @@ -23,8 +23,10 @@ 'python-pexpect' 'python2-pexpect' ) -source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('a61715a2af9b3b5e26bd7ff4717cba41e6b5ad8c8328132154c88dc161d3fab902432dfe94da9c2d87c32e9fa69c9a758fb90168fbd18b3dc47c0d0073fd6623') +source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz; +"fail-on-binary-error.patch") +sha512sums=('a61715a2af9b3b5e26bd7ff4717cba41e6b5ad8c8328132154c88dc161d3fab902432dfe94da9c2d87c32e9fa69c9a758fb90168fbd18b3dc47c0d0073fd6623' + 'd8f77a55d6056353e05556b283840e65bc0411890b5906deaf7f041843a17b08b6975ec399810e10d84d840e66c1125f6851559e4806a850502c685a6621') @@ -34,6 +36,8 @@ find scripts -type f -iname "powerline-*" -print0 | xargs -0 sed -i "1s/env //" find ${_pkgname}/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/env //" +# explicitly fail if building binary usr/bin/powerline has any error +patch -N <../fail-on-binary-error.patch cp -r ${srcdir}/${_pkgname}-${pkgver}{,-py2} # prepare python2 scripts Added: fail-on-binary-error.patch === --- fail-on-binary-error.patch (rev 0) +++ fail-on-binary-error.patch 2018-09-12 10:12:15 UTC (rev 379783) @@ -0,0 +1,15 @@ +diff --git a/a/setup.py b/b/setup.py +index 30bcddb..6b37d3b 100644 +--- a/a/setup.py b/b/setup.py +@@ -118,8 +118,8 @@ setup( + 'scripts/powerline-daemon', + 'scripts/powerline-render', + 'scripts/powerline-config', +- ] + (['scripts/powerline'] if can_use_scripts else []), +- data_files=(None if can_use_scripts else (('bin', ['scripts/powerline']),)), ++ ], ++ data_files=(('bin', ['scripts/powerline']),), + keywords='', + packages=find_packages(exclude=('tests', 'tests.*')), + include_package_data=True,
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Tuesday, August 14, 2018 @ 16:37:48 Author: farseerfc Revision: 371608 upgpkg: powerline 2.7-1 powerline 2.7 Modified: powerline/trunk/PKGBUILD --+ PKGBUILD | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-14 16:12:33 UTC (rev 371607) +++ PKGBUILD2018-08-14 16:37:48 UTC (rev 371608) @@ -9,8 +9,8 @@ pkgbase="powerline" pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -pkgver=2.6 -pkgrel=3 +pkgver=2.7 +pkgrel=1 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') @@ -19,8 +19,12 @@ 'python-setuptools' 'python-sphinx' ) +checkdepends=( +'python-pexpect' +'python2-pexpect' +) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('a4c72a6239b9c2f4db2b511647529eae008cfdd783b9a2ebe6bf7fe625e82801ff4da1887d6efa4b785966d46fac15ec4540aa2bd180722fd76fcd2873a074c0') +sha512sums=('a61715a2af9b3b5e26bd7ff4717cba41e6b5ad8c8328132154c88dc161d3fab902432dfe94da9c2d87c32e9fa69c9a758fb90168fbd18b3dc47c0d0073fd6623') @@ -52,13 +56,13 @@ } -## FIXME Currently test will fail with dividers and other errors -#check(){ -#cd ${srcdir}/${_pkgname}-${pkgver} -#LC_ALL=C python setup.py test -#cd ${srcdir}/${_pkgname}-${pkgver}-py2 -#LC_ALL=C python2 setup.py test -#} +# FIXME Currently test will fail with dividers and other errors +check(){ +cd ${srcdir}/${_pkgname}-${pkgver} +LC_ALL=C python setup.py test +cd ${srcdir}/${_pkgname}-${pkgver}-py2 +LC_ALL=C python2 setup.py test +} package_powerline(){ depends=('python-powerline')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Tuesday, July 31, 2018 @ 20:23:15 Author: farseerfc Revision: 366137 upgpkg: powerline 2.6-3 powerline add a binding symlink in /usr/share/powerline Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-31 20:01:24 UTC (rev 366136) +++ PKGBUILD2018-07-31 20:23:15 UTC (rev 366137) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.6 -pkgrel=2 +pkgrel=3 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64') @@ -72,10 +72,13 @@ install -Dm755 powerline-lint "${pkgdir}/usr/bin/powerline-lint" install -Dm755 powerline-render "${pkgdir}/usr/bin/powerline-render" +install -dm755 "${pkgdir}/usr/share/powerline/" +ln -s "$(python3 -c 'import site; print(site.getsitepackages()[0])')/powerline/bindings" "${pkgdir}/usr/share/powerline/bindings" # license is installed by powerline-common } package_powerline2(){ +pkgdesc='Python2 version of statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' depends=('python2-powerline') conflicts=('powerline' 'python2-powerline<=2.3-1') provides=('powerline') @@ -83,6 +86,8 @@ cd ${srcdir}/${_pkgname}-${pkgver}-py2/scripts install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/" +install -dm755 "${pkgdir}/usr/share/powerline/" +ln -s "$(python2 -c 'import site; print(site.getsitepackages()[0])')/powerline/bindings" "${pkgdir}/usr/share/powerline/bindings" install -dm755 "${pkgdir}/usr/share/licenses/" ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Saturday, June 30, 2018 @ 18:32:22 Author: foutrelis Revision: 349013 Python 3.7 rebuild Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-06-30 18:32:03 UTC (rev 349012) +++ PKGBUILD2018-06-30 18:32:22 UTC (rev 349013) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.6 -pkgrel=1 +pkgrel=2 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Wednesday, May 10, 2017 @ 04:13:29 Author: farseerfc Revision: 227651 upgpkg: powerline 2.6-1 powerline 2.6 Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-05-10 04:13:22 UTC (rev 227650) +++ PKGBUILD2017-05-10 04:13:29 UTC (rev 227651) @@ -9,7 +9,7 @@ pkgbase="powerline" pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -pkgver=2.5.2 +pkgver=2.6 pkgrel=1 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') @@ -20,7 +20,7 @@ 'python-sphinx' ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('ef85092de4b8c4f70fe2b41c54b2d7844f0d2b4decec78f51d49ccedbfce21a68e26c87ebf24e355bbc7eac2c7b60201edd16a28dc220cd526216a6659d0eb1d') +sha512sums=('a4c72a6239b9c2f4db2b511647529eae008cfdd783b9a2ebe6bf7fe625e82801ff4da1887d6efa4b785966d46fac15ec4540aa2bd180722fd76fcd2873a074c0')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Friday, January 13, 2017 @ 00:14:11 Author: farseerfc Revision: 207111 upgpkg: powerline 2.5-4 powerline remote fc-cache for hook Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-13 00:08:04 UTC (rev 207110) +++ PKGBUILD2017-01-13 00:14:11 UTC (rev 207111) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.5 -pkgrel=3 +pkgrel=4 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64' 'i686') @@ -150,7 +150,6 @@ pkgdesc='patched fonts for powerline' provides=('otf-powerline-symbols') depends=('powerline-common') -install="powerline-fonts.install" cd ${srcdir}/${_pkgname}-${pkgver}
[arch-commits] Commit in powerline/trunk (PKGBUILD powerline.install)
Date: Wednesday, January 11, 2017 @ 17:11:44 Author: farseerfc Revision: 206846 upgpkg: powerline 2.5-3 fix install msg Modified: powerline/trunk/PKGBUILD powerline/trunk/powerline.install ---+ PKGBUILD | 16 powerline.install |4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-11 16:58:47 UTC (rev 206845) +++ PKGBUILD2017-01-11 17:11:44 UTC (rev 206846) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.5 -pkgrel=2 +pkgrel=3 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64' 'i686') @@ -52,13 +52,13 @@ } -# FIXME Currently test will fail with dividers and other errors -# check(){ -# cd ${srcdir}/${_pkgname}-${pkgver} -# LC_ALL=C python setup.py test -# cd ${srcdir}/${_pkgname}-${pkgver}-py2 -# LC_ALL=C python2 setup.py test -# } +## FIXME Currently test will fail with dividers and other errors +#check(){ +#cd ${srcdir}/${_pkgname}-${pkgver} +#LC_ALL=C python setup.py test +#cd ${srcdir}/${_pkgname}-${pkgver}-py2 +#LC_ALL=C python2 setup.py test +#} package_powerline(){ depends=('python-powerline') Modified: powerline.install === --- powerline.install 2017-01-11 16:58:47 UTC (rev 206845) +++ powerline.install 2017-01-11 17:11:44 UTC (rev 206846) @@ -1,7 +1,7 @@ post_install() { - echo "Note: Bindings are installed in '/usr/lib/python3.5/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files." + echo "Note: Bindings are installed in '/usr/lib/python3.6/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files." } post_upgrade() { - echo "Note: Bindings are installed in '/usr/lib/python3.5/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files." + echo "Note: Bindings are installed in '/usr/lib/python3.6/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files." }
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Sunday, December 25, 2016 @ 17:51:44 Author: bpiotrowski Revision: 202161 Python 3.6 rebuild Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-25 17:51:24 UTC (rev 202160) +++ PKGBUILD2016-12-25 17:51:44 UTC (rev 202161) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.5 -pkgrel=1 +pkgrel=2 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64' 'i686')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Friday, July 29, 2016 @ 19:22:52 Author: farseerfc Revision: 184641 upgpkg: powerline 2.5-1 release powerline 2.5 Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-29 18:33:04 UTC (rev 184640) +++ PKGBUILD2016-07-29 19:22:52 UTC (rev 184641) @@ -9,7 +9,7 @@ pkgbase="powerline" pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -pkgver=2.4 +pkgver=2.5 pkgrel=1 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') @@ -20,7 +20,7 @@ 'python-sphinx' ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('4aebb21b1063efe891ab7d3d1b009b2d686d8f4b9e3d8051c01da8abd088572d42af2b258cdea9a629a6e4324522ebc97e9c2567a6d4d0759b6b4fb57eaedd11') +sha512sums=('c698c9e5f22d680b15da55e390a6e12d54277e1bcebfd8ac5d2631acf72b1d11660166269772fe636ec7b148bbfffe4934b94287c528a4aaed870bba849ed212')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Tuesday, April 19, 2016 @ 12:16:04 Author: farseerfc Revision: 171390 upgpkg: powerline 2.4-1 powerline 2.4 Modified: powerline/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-04-19 10:10:57 UTC (rev 171389) +++ PKGBUILD2016-04-19 10:16:04 UTC (rev 171390) @@ -9,8 +9,8 @@ pkgbase="powerline" pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' -pkgver=2.3 -pkgrel=6 +pkgver=2.4 +pkgrel=1 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64' 'i686') @@ -20,7 +20,7 @@ 'python-sphinx' ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('edd7018391a567de26743caf15adfc2c4c87d458202e98c5371fd77225dbbdb8a87fd41b2c6f0bb91dbdd61d432a8a2115c3be2708f1d8a3dd309dcd478f6938') +sha512sums=('4aebb21b1063efe891ab7d3d1b009b2d686d8f4b9e3d8051c01da8abd088572d42af2b258cdea9a629a6e4324522ebc97e9c2567a6d4d0759b6b4fb57eaedd11')
[arch-commits] Commit in powerline/trunk (PKGBUILD)
Date: Sunday, February 28, 2016 @ 16:59:14 Author: farseerfc Revision: 163660 upgpkg: powerline 2.3-6 fix FS#48358 Modified: powerline/trunk/PKGBUILD --+ PKGBUILD | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-28 15:36:52 UTC (rev 163659) +++ PKGBUILD2016-02-28 15:59:14 UTC (rev 163660) @@ -10,7 +10,7 @@ pkgname=("powerline" "powerline2" "python-powerline" "python2-powerline" "powerline-common" "powerline-vim" "powerline-fonts") pkgdesc='Statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile' pkgver=2.3 -pkgrel=5 +pkgrel=6 url="https://github.com/${_pkgname}/${_pkgname}; license=('MIT') arch=('x86_64' 'i686') @@ -25,11 +25,17 @@ prepare() { +# fix https://bugs.archlinux.org/task/48358 +cd ${srcdir}/${_pkgname}-${pkgver} +find scripts -type f -iname "powerline-*" -print0 | xargs -0 sed -i "1s/env //" +find ${_pkgname}/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/env //" + + cp -r ${srcdir}/${_pkgname}-${pkgver}{,-py2} # prepare python2 scripts cd ${srcdir}/${_pkgname}-${pkgver}-py2 find scripts -type f -iname "powerline-*" -print0 | xargs -0 sed -i "1s/python/python2/" -find ${_pkgname}/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/python/python2/" +find ${_pkgname}/bindings -type f -iname "*.py" -print0 | xargs -0 sed -i "1s/python/python2/" } build(){