diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-11 10:22:20 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-11 14:07:33 +0000 |
commit | adc7a994172c58df927259ebf781c4ec73ab0794 (patch) | |
tree | 0baeefc34a0bcb6280f3dfcab38a1bb88a020d13 /main/py-twisted-names/APKBUILD | |
parent | f62d66d9913a68e1b190c17da4872737c9214a98 (diff) | |
download | aports-adc7a994172c58df927259ebf781c4ec73ab0794.tar.bz2 aports-adc7a994172c58df927259ebf781c4ec73ab0794.tar.xz |
main/py-twisted-names: upgrade to 12.3.0
Diffstat (limited to 'main/py-twisted-names/APKBUILD')
-rw-r--r-- | main/py-twisted-names/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/main/py-twisted-names/APKBUILD b/main/py-twisted-names/APKBUILD index bfc31f569f..16468a9e6d 100644 --- a/main/py-twisted-names/APKBUILD +++ b/main/py-twisted-names/APKBUILD @@ -1,9 +1,8 @@ # Contributor: Jeff Bilyk <jbilyk@alpinelinux.org> # Maintainer: - pkgname=py-twisted-names _pkgname=TwistedNames -pkgver=12.0.0 +pkgver=12.3.0 pkgrel=0 pkgdesc="Python Twisted Names DNS server and resolver library" url="http://twistedmatrix.com/trac/wiki/TwistedNames" @@ -11,12 +10,19 @@ arch="noarch" license="MIT" depends="py-twisted" makedepends="python-dev" -source="http://twistedmatrix.com/Releases/Names/12.0/$_pkgname-$pkgver.tar.bz2" +source="http://twistedmatrix.com/Releases/Names/${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="1e7b0f1c60d550712245455080f85115 TwistedNames-12.0.0.tar.bz2" +md5sums="946d0d16c06abac58479332cb8a9b006 TwistedNames-12.3.0.tar.bz2" +sha256sums="0e125aee9ef0025527cd30fb91ba6b520b237402629bfabdbb40148aec31156a TwistedNames-12.3.0.tar.bz2" +sha512sums="c77c99fabaa1d778852a4310207b452a17b2aa3c3241c250055a0f56b4eaf4aaa72c2e005318d10792f2b1c563568f28efda62fa5ff14b5a2b82c05ce4d58143 TwistedNames-12.3.0.tar.bz2" |