[arch-commits] Commit in python-urwidtrees/repos (2 files)
Date: Saturday, October 26, 2019 @ 04:33:34 Author: felixonmars Revision: 520040 archrelease: copy trunk to community-staging-any Added: python-urwidtrees/repos/community-staging-any/ python-urwidtrees/repos/community-staging-any/PKGBUILD (from rev 520039, python-urwidtrees/trunk/PKGBUILD) --+ PKGBUILD | 30 ++ 1 file changed, 30 insertions(+) Copied: python-urwidtrees/repos/community-staging-any/PKGBUILD (from rev 520039, python-urwidtrees/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 04:33:34 UTC (rev 520040) @@ -0,0 +1,30 @@ +# Maintainer: Lukas Fleischer +# Contributor: Ian Denhardt + +_pkgname=urwidtrees +pkgname=python-urwidtrees +pkgver=1.0.2 +pkgrel=4 +pkgdesc="Tree widgets for urwid." +arch=(any) +url="https://github.com/pazz/$_pkgname; +license=(GPL3) +makedepends=(python-sphinx) +depends=(python 'python-urwid>=1.1.0') +source=("$_pkgname-$pkgver.tar.gz::https://github.com/pazz/$_pkgname/archive/$pkgver.tar.gz;) +md5sums=('07699e009203486f9c1e19c2fd5ef201') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build + make SPHINXBUILD=sphinx-build -C docs man html +} + +package_python-urwidtrees() { + cd "$srcdir/$_pkgname-$pkgver" + + python setup.py install --optimize=1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + cp -a docs/build/html/* "$pkgdir/usr/share/doc/$pkgname" +}
[arch-commits] Commit in python-urwidtrees/repos (2 files)
Date: Sunday, July 8, 2018 @ 14:22:08 Author: foutrelis Revision: 354959 archrelease: copy trunk to community-staging-any Added: python-urwidtrees/repos/community-staging-any/ python-urwidtrees/repos/community-staging-any/PKGBUILD (from rev 354958, python-urwidtrees/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: python-urwidtrees/repos/community-staging-any/PKGBUILD (from rev 354958, python-urwidtrees/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 14:22:08 UTC (rev 354959) @@ -0,0 +1,42 @@ +# Maintainer: Lukas Fleischer +# Contributor: Ian Denhardt + +_pkgname=urwidtrees +pkgbase=python-$_pkgname +pkgname=(python-$_pkgname python2-$_pkgname) +pkgver=1.0.2 +pkgrel=2 +pkgdesc="Tree widgets for urwid." +arch=(any) +url="https://github.com/pazz/$_pkgname; +license=(GPL3) +makedepends=(python 'python-urwid>=1.1.0' python-sphinx + python2 'python2-urwid>=1.1.0' python2-sphinx) +source=("$_pkgname-$pkgver.tar.gz::https://github.com/pazz/$_pkgname/archive/$pkgver.tar.gz;) +md5sums=('07699e009203486f9c1e19c2fd5ef201') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build + make SPHINXBUILD=sphinx-build -C docs man html +} + +package_python-urwidtrees() { + depends=(python 'python-urwid>=1.1.0') + cd "$srcdir/$_pkgname-$pkgver" + + python setup.py install --optimize=1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + cp -a docs/build/html/* "$pkgdir/usr/share/doc/$pkgname" +} + +package_python2-urwidtrees() { + depends=(python2 'python2-urwid>=1.1.0') + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py install --optimize=1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + cp -a docs/build/html/* "$pkgdir/usr/share/doc/$pkgname" +}