diff options
author | Matt Smith <msmith@alpinelinux.org> | 2011-03-14 07:57:40 +0000 |
---|---|---|
committer | Matt Smith <msmith@alpinelinux.org> | 2011-03-14 07:57:40 +0000 |
commit | 5420b40af514aa32fff1333958dcc28200216803 (patch) | |
tree | 22e8e1ea4a26ebbb4982f4cb1c0a8e5771776b98 /testing | |
parent | 43983e3e6a98ad86500b1dbff7c3f345c001feed (diff) | |
download | aports-5420b40af514aa32fff1333958dcc28200216803.tar.bz2 aports-5420b40af514aa32fff1333958dcc28200216803.tar.xz |
main/py-urwid: moved from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-urwid/APKBUILD | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/testing/py-urwid/APKBUILD b/testing/py-urwid/APKBUILD deleted file mode 100644 index 203264b9b..000000000 --- a/testing/py-urwid/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Matt Smith <mcs@darkregion.net> -# Maintainer: Matt Smith <mcs@darkregion.net> -pkgname=py-urwid -_pkgname=urwid -pkgver=0.9.9.1 -pkgrel=2 -pkgdesc="Urwid is a console user interface library for Python" -url="http://excess.org/urwid/" -arch="all" -license="LGPL" -depends="python" -makedepends="python-dev py-setuptools py-templayer" -install= -subpackages="$pkgname-doc" -source="http://excess.org/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --root "$pkgdir" -} - -doc() { - cd "$_builddir" - - # generate tutorial examples, and copy documentation - python docgen_tutorial.py -s - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples - cp -a example*.py "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples/ - - for doc in CHANGELOG reference.html tutorial.html; do - install -Dm644 $doc "$subpkgdir"/usr/share/doc/$pkgname/$doc - done - - # Fix subdir perms - find "$subpkgdir"/usr/share/doc/$pkgname/ -type d -exec chmod 755 '{}' \; -} - -md5sums="4722cdf898f711dcae1121aa80920152 urwid-0.9.9.1.tar.gz" |