aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-03-28 20:30:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-10 11:21:39 +0000
commit333939963bf1abdc8196988dabe2b5da2368b0d0 (patch)
treefc17f7dcfcc73fb7acf2616ef0fda9b4445362fc
parent5c9eacbd4e0d86b5eea42fc9e6095b9f22a1bebb (diff)
downloadaports-333939963bf1abdc8196988dabe2b5da2368b0d0.tar.gz
aports-333939963bf1abdc8196988dabe2b5da2368b0d0.tar.bz2
aports-333939963bf1abdc8196988dabe2b5da2368b0d0.tar.xz
main/py-twisted: upgrade to 17.1.0
-rw-r--r--main/py-twisted/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/main/py-twisted/APKBUILD b/main/py-twisted/APKBUILD
index 4e96c8a786..24ba24e708 100644
--- a/main/py-twisted/APKBUILD
+++ b/main/py-twisted/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-twisted
_pkgname=Twisted
-pkgver=16.3.0
+pkgver=17.1.0
pkgrel=0
pkgdesc="Asynchronous networking framework written in Python."
url="http://twistedmatrix.com/"
@@ -12,25 +12,22 @@ makedepends="python2-dev py-setuptools libtirpc-dev"
install=""
subpackages="$pkgname-doc"
source="https://twistedmatrix.com/Releases/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2"
-
-_builddir="$srcdir"/"$_pkgname"-$pkgver
+builddir="$srcdir"/"$_pkgname"-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
CFLAGS="$CFLAGS `pkgconf --cflags libtirpc`" python2 setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
_mans="pyhtmlizer.1 trial.1 twistd.1"
for _man in $_mans; do
- install -m644 -D "$_builddir"/docs/core/man/$_man \
+ install -m644 -D "$builddir"/docs/core/man/$_man \
"$pkgdir"/usr/share/man/man1/$_man || return 1
done
}
-md5sums="e044af844623e9fbcbe29f578db6053a Twisted-16.3.0.tar.bz2"
-sha256sums="d588a87243ac20e72daef520c1248cb5391e1d583999b8c29a7ae5f97474974f Twisted-16.3.0.tar.bz2"
-sha512sums="29be3fa31c5b0fee33ed9040683d1df5ebfb538cfebfb1e63026da8ce515cb56f012b4302da7f61d9648075be37926989e755a1e0123e915e16ff00276974000 Twisted-16.3.0.tar.bz2"
+sha512sums="e5eedc9a70b7e4d0ec18dddaa82aa9a784e96fd517db65c278d822d15e8bdc65a35307a5a0474eb68dcb73fcd5508086bec605580a9f2f767bcbe27d714b4966 Twisted-17.1.0.tar.bz2"