diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-11 09:02:40 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-11 14:07:31 +0000 |
commit | de5ad8f446d48415f93ec9ca763fcb3cbab03495 (patch) | |
tree | ae6cfe67335dcd839ddf7ee3776427cbea1a7ce7 | |
parent | cfad1c6ef0507c5a4fdfe1a47e362f469bbfd28d (diff) | |
download | aports-de5ad8f446d48415f93ec9ca763fcb3cbab03495.tar.bz2 aports-de5ad8f446d48415f93ec9ca763fcb3cbab03495.tar.xz |
testing/py-application: upgrade to 1.4.0
-rw-r--r-- | testing/py-application/APKBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/testing/py-application/APKBUILD b/testing/py-application/APKBUILD index 2135f154f..c48024081 100644 --- a/testing/py-application/APKBUILD +++ b/testing/py-application/APKBUILD @@ -1,22 +1,29 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=py-application -_name=python-application -pkgver=1.2.7 +_pkgname=python-application +pkgver=1.4.0 pkgrel=1 pkgdesc="Basic building blocks for python applications" url="http://pypi.python.org/pypi/python-application" -arch="all" -license="PSF" +arch="noarch" +license="LGPL2+" depends="python" -makedepends="python-dev" -install= +makedepends="python-dev py-setuptools" +install="" subpackages="" -source="http://pypi.python.org/packages/source/p/python-application/python-application-$pkgver.tar.gz" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$srcdir"/$_name-$pkgver - mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages - python setup.py install --root="$pkgdir" - echo "/usr/lib/python2.6/site-packages/$_name-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_name.pth + cd "$_builddir" + python setup.py build || return 1 } -md5sums="07b32e25d931c5e591278848f3fc9f20 python-application-1.2.7.tar.gz" + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} +md5sums="2c1ec745f512ffd5892b0dd415074834 python-application-1.4.0.tar.gz" +sha256sums="0ed5cb64385c335b7b30093931d7965fec2c459f6f630c493491285e33378ea6 python-application-1.4.0.tar.gz" +sha512sums="e97dc05381df68ff643501a7018b2f8ec350c80392080e7420f52b9db3b85148f304388fcf4fd085771e34bfe1e5bef7965f0210370657f194eed2f5ba06950f python-application-1.4.0.tar.gz" |