Commit 33393996 authored by A. Klitzing's avatar A. Klitzing Committed by Natanael Copa

main/py-twisted: upgrade to 17.1.0

parent 5c9eacbd
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment