[arch-commits] Commit in powerline/repos (16 files)

Jiachen Yang farseerfc at archlinux.org
Sun Feb 28 16:00:43 UTC 2016


    Date: Sunday, February 28, 2016 @ 17:00:42
  Author: farseerfc
Revision: 163661

archrelease: copy trunk to community-x86_64, community-i686

Added:
  powerline/repos/community-i686/PKGBUILD
    (from rev 163660, powerline/trunk/PKGBUILD)
  powerline/repos/community-i686/powerline-fonts.install
    (from rev 163660, powerline/trunk/powerline-fonts.install)
  powerline/repos/community-i686/powerline.install
    (from rev 163660, powerline/trunk/powerline.install)
  powerline/repos/community-i686/powerline2.install
    (from rev 163660, powerline/trunk/powerline2.install)
  powerline/repos/community-x86_64/PKGBUILD
    (from rev 163660, powerline/trunk/PKGBUILD)
  powerline/repos/community-x86_64/powerline-fonts.install
    (from rev 163660, powerline/trunk/powerline-fonts.install)
  powerline/repos/community-x86_64/powerline.install
    (from rev 163660, powerline/trunk/powerline.install)
  powerline/repos/community-x86_64/powerline2.install
    (from rev 163660, powerline/trunk/powerline2.install)
Deleted:
  powerline/repos/community-i686/PKGBUILD
  powerline/repos/community-i686/powerline-fonts.install
  powerline/repos/community-i686/powerline.install
  powerline/repos/community-i686/powerline2.install
  powerline/repos/community-x86_64/PKGBUILD
  powerline/repos/community-x86_64/powerline-fonts.install
  powerline/repos/community-x86_64/powerline.install
  powerline/repos/community-x86_64/powerline2.install

------------------------------------------+
 /PKGBUILD                                |  358 +++++++++++++++++++++++++++++
 /powerline-fonts.install                 |   18 +
 /powerline.install                       |   14 +
 /powerline2.install                      |   12 
 community-i686/PKGBUILD                  |  173 --------------
 community-i686/powerline-fonts.install   |    9 
 community-i686/powerline.install         |    7 
 community-i686/powerline2.install        |    6 
 community-x86_64/PKGBUILD                |  173 --------------
 community-x86_64/powerline-fonts.install |    9 
 community-x86_64/powerline.install       |    7 
 community-x86_64/powerline2.install      |    6 
 12 files changed, 402 insertions(+), 390 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-i686/PKGBUILD	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,173 +0,0 @@
-# Maintainer: Jiachen Yang <farseerfc at gmail.com>
-# AUR Maintainer: Swift Geek
-# AUR Maintainer: Timothée Ravier <tim at siosm.fr>
-# AUR Maintainer: Stefan Tatschner <rumpelsepp at sevenbyte.org>
-# Contributor: Swift Geek
-# Contributor: Pablo Olmos de Aguilera C. pablo+aur at odac dot co
-
-_pkgname="powerline"
-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=5
-url="https://github.com/${_pkgname}/${_pkgname}"
-license=('MIT')
-arch=('x86_64' 'i686')
-makedepends=(
-    'python2-setuptools'
-    'python-setuptools'
-    'python-sphinx'
-    )
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('edd7018391a567de26743caf15adfc2c4c87d458202e98c5371fd77225dbbdb8a87fd41b2c6f0bb91dbdd61d432a8a2115c3be2708f1d8a3dd309dcd478f6938')
-
-
-
-prepare() {
-    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(){
-    # build main pages
-    cd ${srcdir}/${_pkgname}-${pkgver}/docs
-    make man
-
-    # build C client
-    cd ${srcdir}/${_pkgname}-${pkgver}
-    python setup.py build
-
-    cd ${srcdir}/${_pkgname}-${pkgver}-py2
-    python2 setup.py build
-}
-
-
-# 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')
-    conflicts=('powerline2' 'python-powerline<=2.3-1')
-    replaces=('python-powerline<=2.3-1')
-    install="powerline.install"
-
-    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"
-    install -Dm755 powerline-lint "${pkgdir}/usr/bin/powerline-lint"
-    install -Dm755 powerline-render "${pkgdir}/usr/bin/powerline-render"
-    
-    # license is installed by powerline-common
-}
-
-package_powerline2(){
-    depends=('python2-powerline')
-    conflicts=('powerline' 'python2-powerline<=2.3-1')
-    provides=('powerline')
-    replaces=('python2-powerline<=2.3-1')
-    install="powerline2.install"
-
-    cd ${srcdir}/${_pkgname}-${pkgver}-py2/scripts
-    install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/"
-
-    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')
-    optdepends=('python-psutil: improved system information'
-                'python-pygit2: improved git support'
-                'powerline-vim: vim plugin'
-                'powerline-fonts: patched fonts for powerline'
-                )
-
-    # install by redirect scripts and binaries
-    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" 
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    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'
-    
-    cd ${srcdir}/${_pkgname}-${pkgver}
-
-    # license
-    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
-
-    # manpages
-    install -dm755 "${pkgdir}/usr/share/man/man1/"
-    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/docs/_build/man/"* \
-                   "${pkgdir}/usr/share/man/man1/"
-}
-
-package_powerline-fonts() {
-    pkgdesc='patched fonts for powerline'
-    provides=('otf-powerline-symbols')
-    depends=('powerline-common')
-    install="powerline-fonts.install"
-
-    cd ${srcdir}/${_pkgname}-${pkgver}
-
-    install -dm755 "${pkgdir}/etc/fonts/conf.d"
-    install -Dm644 "font/PowerlineSymbols.otf" "${pkgdir}/usr/share/fonts/OTF/PowerlineSymbols.otf"
-    install -Dm644 "font/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.avail/10-powerline-symbols.conf"
-    ln -s "../conf.avail/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.d/10-powerline-symbols.conf"
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-
-package_powerline-vim() {
-    pkgdesc='vim plugin for powerline'
-    depends=('powerline' 'powerline-common' 'vim-runtime')
-    conflicts=('python2-powerline-vim')
-    provides=('python2-powerline-vim')
-
-    cd ${srcdir}/${_pkgname}-${pkgver}
-    install -Dm644 "powerline/bindings/vim/plugin/powerline.vim" \
-                   "${pkgdir}/usr/share/vim/vimfiles/plugin/powerline.vim"
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: powerline/repos/community-i686/PKGBUILD (from rev 163660, powerline/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +1,179 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Swift Geek
+# AUR Maintainer: Timothée Ravier <tim at siosm.fr>
+# AUR Maintainer: Stefan Tatschner <rumpelsepp at sevenbyte.org>
+# Contributor: Swift Geek
+# Contributor: Pablo Olmos de Aguilera C. pablo+aur at odac dot co
+
+_pkgname="powerline"
+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
+url="https://github.com/${_pkgname}/${_pkgname}"
+license=('MIT')
+arch=('x86_64' 'i686')
+makedepends=(
+    'python2-setuptools'
+    'python-setuptools'
+    'python-sphinx'
+    )
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('edd7018391a567de26743caf15adfc2c4c87d458202e98c5371fd77225dbbdb8a87fd41b2c6f0bb91dbdd61d432a8a2115c3be2708f1d8a3dd309dcd478f6938')
+
+
+
+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/"
+}
+
+build(){
+    # build main pages
+    cd ${srcdir}/${_pkgname}-${pkgver}/docs
+    make man
+
+    # build C client
+    cd ${srcdir}/${_pkgname}-${pkgver}
+    python setup.py build
+
+    cd ${srcdir}/${_pkgname}-${pkgver}-py2
+    python2 setup.py build
+}
+
+
+# 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')
+    conflicts=('powerline2' 'python-powerline<=2.3-1')
+    replaces=('python-powerline<=2.3-1')
+    install="powerline.install"
+
+    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"
+    install -Dm755 powerline-lint "${pkgdir}/usr/bin/powerline-lint"
+    install -Dm755 powerline-render "${pkgdir}/usr/bin/powerline-render"
+    
+    # license is installed by powerline-common
+}
+
+package_powerline2(){
+    depends=('python2-powerline')
+    conflicts=('powerline' 'python2-powerline<=2.3-1')
+    provides=('powerline')
+    replaces=('python2-powerline<=2.3-1')
+    install="powerline2.install"
+
+    cd ${srcdir}/${_pkgname}-${pkgver}-py2/scripts
+    install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/"
+
+    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')
+    optdepends=('python-psutil: improved system information'
+                'python-pygit2: improved git support'
+                'powerline-vim: vim plugin'
+                'powerline-fonts: patched fonts for powerline'
+                )
+
+    # install by redirect scripts and binaries
+    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" 
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    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'
+    
+    cd ${srcdir}/${_pkgname}-${pkgver}
+
+    # license
+    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
+
+    # manpages
+    install -dm755 "${pkgdir}/usr/share/man/man1/"
+    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/docs/_build/man/"* \
+                   "${pkgdir}/usr/share/man/man1/"
+}
+
+package_powerline-fonts() {
+    pkgdesc='patched fonts for powerline'
+    provides=('otf-powerline-symbols')
+    depends=('powerline-common')
+    install="powerline-fonts.install"
+
+    cd ${srcdir}/${_pkgname}-${pkgver}
+
+    install -dm755 "${pkgdir}/etc/fonts/conf.d"
+    install -Dm644 "font/PowerlineSymbols.otf" "${pkgdir}/usr/share/fonts/OTF/PowerlineSymbols.otf"
+    install -Dm644 "font/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.avail/10-powerline-symbols.conf"
+    ln -s "../conf.avail/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.d/10-powerline-symbols.conf"
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+
+package_powerline-vim() {
+    pkgdesc='vim plugin for powerline'
+    depends=('powerline' 'powerline-common' 'vim-runtime')
+    conflicts=('python2-powerline-vim')
+    provides=('python2-powerline-vim')
+
+    cd ${srcdir}/${_pkgname}-${pkgver}
+    install -Dm644 "powerline/bindings/vim/plugin/powerline.vim" \
+                   "${pkgdir}/usr/share/vim/vimfiles/plugin/powerline.vim"
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Deleted: community-i686/powerline-fonts.install
===================================================================
--- community-i686/powerline-fonts.install	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-i686/powerline-fonts.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,9 +0,0 @@
-post_install() {
-	echo "Updating font cache..."
-	fc-cache -f
-}
-
-post_remove() {
-	echo "Updating font cache..."
-	fc-cache -f
-}

Copied: powerline/repos/community-i686/powerline-fonts.install (from rev 163660, powerline/trunk/powerline-fonts.install)
===================================================================
--- community-i686/powerline-fonts.install	                        (rev 0)
+++ community-i686/powerline-fonts.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +1,9 @@
+post_install() {
+	echo "Updating font cache..."
+	fc-cache -f
+}
+
+post_remove() {
+	echo "Updating font cache..."
+	fc-cache -f
+}

Deleted: community-i686/powerline.install
===================================================================
--- community-i686/powerline.install	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-i686/powerline.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,7 +0,0 @@
-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."
-}
-
-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."
-}

Copied: powerline/repos/community-i686/powerline.install (from rev 163660, powerline/trunk/powerline.install)
===================================================================
--- community-i686/powerline.install	                        (rev 0)
+++ community-i686/powerline.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +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."
+}
+
+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."
+}

Deleted: community-i686/powerline2.install
===================================================================
--- community-i686/powerline2.install	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-i686/powerline2.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,6 +0,0 @@
-post_install() {
-	echo "Note: Bindings are installed in '/usr/lib/python2.7/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/python2.7/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files."
-}

Copied: powerline/repos/community-i686/powerline2.install (from rev 163660, powerline/trunk/powerline2.install)
===================================================================
--- community-i686/powerline2.install	                        (rev 0)
+++ community-i686/powerline2.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +1,6 @@
+post_install() {
+	echo "Note: Bindings are installed in '/usr/lib/python2.7/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/python2.7/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files."
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-x86_64/PKGBUILD	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,173 +0,0 @@
-# Maintainer: Jiachen Yang <farseerfc at gmail.com>
-# AUR Maintainer: Swift Geek
-# AUR Maintainer: Timothée Ravier <tim at siosm.fr>
-# AUR Maintainer: Stefan Tatschner <rumpelsepp at sevenbyte.org>
-# Contributor: Swift Geek
-# Contributor: Pablo Olmos de Aguilera C. pablo+aur at odac dot co
-
-_pkgname="powerline"
-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=5
-url="https://github.com/${_pkgname}/${_pkgname}"
-license=('MIT')
-arch=('x86_64' 'i686')
-makedepends=(
-    'python2-setuptools'
-    'python-setuptools'
-    'python-sphinx'
-    )
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('edd7018391a567de26743caf15adfc2c4c87d458202e98c5371fd77225dbbdb8a87fd41b2c6f0bb91dbdd61d432a8a2115c3be2708f1d8a3dd309dcd478f6938')
-
-
-
-prepare() {
-    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(){
-    # build main pages
-    cd ${srcdir}/${_pkgname}-${pkgver}/docs
-    make man
-
-    # build C client
-    cd ${srcdir}/${_pkgname}-${pkgver}
-    python setup.py build
-
-    cd ${srcdir}/${_pkgname}-${pkgver}-py2
-    python2 setup.py build
-}
-
-
-# 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')
-    conflicts=('powerline2' 'python-powerline<=2.3-1')
-    replaces=('python-powerline<=2.3-1')
-    install="powerline.install"
-
-    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"
-    install -Dm755 powerline-lint "${pkgdir}/usr/bin/powerline-lint"
-    install -Dm755 powerline-render "${pkgdir}/usr/bin/powerline-render"
-    
-    # license is installed by powerline-common
-}
-
-package_powerline2(){
-    depends=('python2-powerline')
-    conflicts=('powerline' 'python2-powerline<=2.3-1')
-    provides=('powerline')
-    replaces=('python2-powerline<=2.3-1')
-    install="powerline2.install"
-
-    cd ${srcdir}/${_pkgname}-${pkgver}-py2/scripts
-    install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/"
-
-    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')
-    optdepends=('python-psutil: improved system information'
-                'python-pygit2: improved git support'
-                'powerline-vim: vim plugin'
-                'powerline-fonts: patched fonts for powerline'
-                )
-
-    # install by redirect scripts and binaries
-    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" 
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    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'
-    
-    cd ${srcdir}/${_pkgname}-${pkgver}
-
-    # license
-    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
-
-    # manpages
-    install -dm755 "${pkgdir}/usr/share/man/man1/"
-    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/docs/_build/man/"* \
-                   "${pkgdir}/usr/share/man/man1/"
-}
-
-package_powerline-fonts() {
-    pkgdesc='patched fonts for powerline'
-    provides=('otf-powerline-symbols')
-    depends=('powerline-common')
-    install="powerline-fonts.install"
-
-    cd ${srcdir}/${_pkgname}-${pkgver}
-
-    install -dm755 "${pkgdir}/etc/fonts/conf.d"
-    install -Dm644 "font/PowerlineSymbols.otf" "${pkgdir}/usr/share/fonts/OTF/PowerlineSymbols.otf"
-    install -Dm644 "font/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.avail/10-powerline-symbols.conf"
-    ln -s "../conf.avail/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.d/10-powerline-symbols.conf"
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-
-package_powerline-vim() {
-    pkgdesc='vim plugin for powerline'
-    depends=('powerline' 'powerline-common' 'vim-runtime')
-    conflicts=('python2-powerline-vim')
-    provides=('python2-powerline-vim')
-
-    cd ${srcdir}/${_pkgname}-${pkgver}
-    install -Dm644 "powerline/bindings/vim/plugin/powerline.vim" \
-                   "${pkgdir}/usr/share/vim/vimfiles/plugin/powerline.vim"
-
-    install -dm755 "${pkgdir}/usr/share/licenses/"
-    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: powerline/repos/community-x86_64/PKGBUILD (from rev 163660, powerline/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +1,179 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Swift Geek
+# AUR Maintainer: Timothée Ravier <tim at siosm.fr>
+# AUR Maintainer: Stefan Tatschner <rumpelsepp at sevenbyte.org>
+# Contributor: Swift Geek
+# Contributor: Pablo Olmos de Aguilera C. pablo+aur at odac dot co
+
+_pkgname="powerline"
+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
+url="https://github.com/${_pkgname}/${_pkgname}"
+license=('MIT')
+arch=('x86_64' 'i686')
+makedepends=(
+    'python2-setuptools'
+    'python-setuptools'
+    'python-sphinx'
+    )
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('edd7018391a567de26743caf15adfc2c4c87d458202e98c5371fd77225dbbdb8a87fd41b2c6f0bb91dbdd61d432a8a2115c3be2708f1d8a3dd309dcd478f6938')
+
+
+
+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/"
+}
+
+build(){
+    # build main pages
+    cd ${srcdir}/${_pkgname}-${pkgver}/docs
+    make man
+
+    # build C client
+    cd ${srcdir}/${_pkgname}-${pkgver}
+    python setup.py build
+
+    cd ${srcdir}/${_pkgname}-${pkgver}-py2
+    python2 setup.py build
+}
+
+
+# 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')
+    conflicts=('powerline2' 'python-powerline<=2.3-1')
+    replaces=('python-powerline<=2.3-1')
+    install="powerline.install"
+
+    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"
+    install -Dm755 powerline-lint "${pkgdir}/usr/bin/powerline-lint"
+    install -Dm755 powerline-render "${pkgdir}/usr/bin/powerline-render"
+    
+    # license is installed by powerline-common
+}
+
+package_powerline2(){
+    depends=('python2-powerline')
+    conflicts=('powerline' 'python2-powerline<=2.3-1')
+    provides=('powerline')
+    replaces=('python2-powerline<=2.3-1')
+    install="powerline2.install"
+
+    cd ${srcdir}/${_pkgname}-${pkgver}-py2/scripts
+    install -Dm755 powerline{,-config,-daemon,-lint,-render} -t "${pkgdir}/usr/bin/"
+
+    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')
+    optdepends=('python-psutil: improved system information'
+                'python-pygit2: improved git support'
+                'powerline-vim: vim plugin'
+                'powerline-fonts: patched fonts for powerline'
+                )
+
+    # install by redirect scripts and binaries
+    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" 
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    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'
+    
+    cd ${srcdir}/${_pkgname}-${pkgver}
+
+    # license
+    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
+
+    # manpages
+    install -dm755 "${pkgdir}/usr/share/man/man1/"
+    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/docs/_build/man/"* \
+                   "${pkgdir}/usr/share/man/man1/"
+}
+
+package_powerline-fonts() {
+    pkgdesc='patched fonts for powerline'
+    provides=('otf-powerline-symbols')
+    depends=('powerline-common')
+    install="powerline-fonts.install"
+
+    cd ${srcdir}/${_pkgname}-${pkgver}
+
+    install -dm755 "${pkgdir}/etc/fonts/conf.d"
+    install -Dm644 "font/PowerlineSymbols.otf" "${pkgdir}/usr/share/fonts/OTF/PowerlineSymbols.otf"
+    install -Dm644 "font/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.avail/10-powerline-symbols.conf"
+    ln -s "../conf.avail/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.d/10-powerline-symbols.conf"
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+
+package_powerline-vim() {
+    pkgdesc='vim plugin for powerline'
+    depends=('powerline' 'powerline-common' 'vim-runtime')
+    conflicts=('python2-powerline-vim')
+    provides=('python2-powerline-vim')
+
+    cd ${srcdir}/${_pkgname}-${pkgver}
+    install -Dm644 "powerline/bindings/vim/plugin/powerline.vim" \
+                   "${pkgdir}/usr/share/vim/vimfiles/plugin/powerline.vim"
+
+    install -dm755 "${pkgdir}/usr/share/licenses/"
+    ln -s "/usr/share/licenses/${_pkgname}" "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Deleted: community-x86_64/powerline-fonts.install
===================================================================
--- community-x86_64/powerline-fonts.install	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-x86_64/powerline-fonts.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,9 +0,0 @@
-post_install() {
-	echo "Updating font cache..."
-	fc-cache -f
-}
-
-post_remove() {
-	echo "Updating font cache..."
-	fc-cache -f
-}

Copied: powerline/repos/community-x86_64/powerline-fonts.install (from rev 163660, powerline/trunk/powerline-fonts.install)
===================================================================
--- community-x86_64/powerline-fonts.install	                        (rev 0)
+++ community-x86_64/powerline-fonts.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +1,9 @@
+post_install() {
+	echo "Updating font cache..."
+	fc-cache -f
+}
+
+post_remove() {
+	echo "Updating font cache..."
+	fc-cache -f
+}

Deleted: community-x86_64/powerline.install
===================================================================
--- community-x86_64/powerline.install	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-x86_64/powerline.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,7 +0,0 @@
-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."
-}
-
-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."
-}

Copied: powerline/repos/community-x86_64/powerline.install (from rev 163660, powerline/trunk/powerline.install)
===================================================================
--- community-x86_64/powerline.install	                        (rev 0)
+++ community-x86_64/powerline.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +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."
+}
+
+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."
+}

Deleted: community-x86_64/powerline2.install
===================================================================
--- community-x86_64/powerline2.install	2016-02-28 15:59:14 UTC (rev 163660)
+++ community-x86_64/powerline2.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -1,6 +0,0 @@
-post_install() {
-	echo "Note: Bindings are installed in '/usr/lib/python2.7/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/python2.7/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files."
-}

Copied: powerline/repos/community-x86_64/powerline2.install (from rev 163660, powerline/trunk/powerline2.install)
===================================================================
--- community-x86_64/powerline2.install	                        (rev 0)
+++ community-x86_64/powerline2.install	2016-02-28 16:00:42 UTC (rev 163661)
@@ -0,0 +1,6 @@
+post_install() {
+	echo "Note: Bindings are installed in '/usr/lib/python2.7/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/python2.7/site-packages/powerline/bindings/'. If you previously used zsh/tmux plugins from AUR, please update your config files."
+}



More information about the arch-commits mailing list