Date: Wednesday, April 4, 2018 @ 06:52:42 Author: bpiotrowski Revision: 314085
archrelease: copy trunk to community-any Added: python-i3-py/repos/community-any/PKGBUILD (from rev 314084, python-i3-py/trunk/PKGBUILD) Deleted: python-i3-py/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-04 06:52:37 UTC (rev 314084) +++ PKGBUILD 2018-04-04 06:52:42 UTC (rev 314085) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Alad Wenter <a...@mailbox.org> -# Contributor: willemw <willem...@gmail.com> -# Contributor: Anntoin Wilkinson <anntoin gmail com> - -pkgbase=python-i3-py -pkgname=('python-i3-py' 'python2-i3-py') -pkgver=0.6.5 -# https://github.com/ziberna/i3-py/issues/22 -_commit=27f88a616e9ecc340e7d041d3d00782f8a1964c1 -pkgrel=4 -pkgdesc="tools for i3 users and developers" -arch=('any') -url='https://github.com/ziberna/i3-py' -license=('GPL3' 'custom:WTFPL2') -makedepends=('git' 'python' 'python2') -source=("$pkgbase::git+https://github.com/ziberna/i3-py#commit=$_commit" - 'LICENSE::http://www.wtfpl.net/txt/copying/') -md5sums=('SKIP' - '8365d07beeb5f39d87e846dca3ae7b64') - -prepare() { - cp -a "$pkgbase" "$pkgbase"-python2 -} - -build() { - cd "$pkgbase" - python setup.py build - - cd ../"$pkgbase"-python2 - python2 setup.py build -} - -package_python-i3-py() { - depends=('python' 'i3-wm') - - cd "$pkgbase" - python setup.py install --root="$pkgdir/" --optimize=1 - - install -Dm644 "$srcdir"/LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname" - install -Dm644 examples/*.py -t "$pkgdir"/usr/share/"$pkgname"/examples -} - -package_python2-i3-py() { - depends=('python2' 'i3-wm') - - cd "$pkgbase"-python2 - python2 setup.py install --root="$pkgdir/" --optimize=1 - - install -Dm644 "$srcdir"/LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname" - install -Dm644 examples/*.py -t "$pkgdir"/usr/share/"$pkgname"/examples -} - -# vim: set et sw=4 sts=4 ft=sh: Copied: python-i3-py/repos/community-any/PKGBUILD (from rev 314084, python-i3-py/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-04 06:52:42 UTC (rev 314085) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Alad Wenter <a...@mailbox.org> +# Contributor: willemw <willem...@gmail.com> +# Contributor: Anntoin Wilkinson <anntoin gmail com> + +pkgbase=python-i3-py +pkgname=('python-i3-py' 'python2-i3-py') +pkgver=0.6.5 +# https://github.com/ziberna/i3-py/issues/22 +_commit=27f88a616e9ecc340e7d041d3d00782f8a1964c1 +pkgrel=5 +pkgdesc="tools for i3 users and developers" +arch=('any') +url='https://github.com/ziberna/i3-py' +license=('GPL3' 'custom:WTFPL2') +makedepends=('git' 'python' 'python2') +source=("$pkgbase::git+https://github.com/ziberna/i3-py#commit=$_commit" + 'LICENSE::http://www.wtfpl.net/txt/copying/') +md5sums=('SKIP' + '8365d07beeb5f39d87e846dca3ae7b64') + +prepare() { + cp -a "$pkgbase" "$pkgbase"-python2 +} + +build() { + cd "$pkgbase" + python setup.py build + + cd ../"$pkgbase"-python2 + python2 setup.py build +} + +package_python-i3-py() { + depends=('python' 'i3-wm') + + cd "$pkgbase" + python setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm644 "$srcdir"/LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname" + install -Dm644 examples/*.py -t "$pkgdir"/usr/share/"$pkgname"/examples +} + +package_python2-i3-py() { + depends=('python2' 'i3-wm') + + cd "$pkgbase"-python2 + python2 setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm644 "$srcdir"/LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname" + install -Dm644 examples/*.py -t "$pkgdir"/usr/share/"$pkgname"/examples +} + +# vim: set et sw=4 sts=4 ft=sh: