summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-words/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 10:28:10 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 14:07:33 +0000
commit011ee2978b1abee469eb19bca06dc63882284d12 (patch)
treef9e4a2933ce366411bd35f1c7b8fb024db451fb3 /main/py-twisted-words/APKBUILD
parenta9b3d7ac7fd3450449cd61d51df9cad3a4c54834 (diff)
downloadaports-011ee2978b1abee469eb19bca06dc63882284d12.tar.bz2
aports-011ee2978b1abee469eb19bca06dc63882284d12.tar.xz
main/py-twisted-words: upgrade to 12.3.0
Diffstat (limited to 'main/py-twisted-words/APKBUILD')
-rw-r--r--main/py-twisted-words/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/main/py-twisted-words/APKBUILD b/main/py-twisted-words/APKBUILD
index c687dcc7f..60ba0d7b3 100644
--- a/main/py-twisted-words/APKBUILD
+++ b/main/py-twisted-words/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org>
# Maintainer:
-
pkgname=py-twisted-words
_pkgname=TwistedWords
-pkgver=12.0.0
+pkgver=12.3.0
pkgrel=0
pkgdesc="Python Twisted Words library"
url="http://twistedmatrix.com/trac/wiki/TwistedWords"
@@ -11,12 +10,19 @@ arch="noarch"
license="MIT"
depends="py-twisted"
makedepends="python-dev"
-source="http://twistedmatrix.com/Releases/Words/12.0/$_pkgname-$pkgver.tar.bz2"
+source="http://twistedmatrix.com/Releases/Words/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$srcdir"/$_pkgname-$pkgver/
- python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="2d88f194022dcd243469460c86ad1b79 TwistedWords-12.0.0.tar.bz2"
+md5sums="3146f62e2d4252aa781c4a2fbcae6ea9 TwistedWords-12.3.0.tar.bz2"
+sha256sums="e6cd4f197aa698d95c80549d869a397299be2e69b148ac90c839b258b03c0980 TwistedWords-12.3.0.tar.bz2"
+sha512sums="270638482e452ed6287818b129b5e22963a29325b5b60aa8b257509e4d4a359ff0f6fa0cacd666d263de52ea9c2a8b33802b2c6ec7f5d50258e961169a2aec69 TwistedWords-12.3.0.tar.bz2"