aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-twisted-mail
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 10:19:53 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 14:07:33 +0000
commitf62d66d9913a68e1b190c17da4872737c9214a98 (patch)
tree9e8e5ebe808843c36957b8bde86305f5cb086123 /main/py-twisted-mail
parent6b04b17748fd67e46cd388b39c7434028c0203e3 (diff)
downloadaports-f62d66d9913a68e1b190c17da4872737c9214a98.tar.bz2
aports-f62d66d9913a68e1b190c17da4872737c9214a98.tar.xz
main/py-twisted-mail: upgrade to 12.3.0
Diffstat (limited to 'main/py-twisted-mail')
-rw-r--r--main/py-twisted-mail/APKBUILD28
1 files changed, 22 insertions, 6 deletions
diff --git a/main/py-twisted-mail/APKBUILD b/main/py-twisted-mail/APKBUILD
index 43cfc399bd..814712f307 100644
--- a/main/py-twisted-mail/APKBUILD
+++ b/main/py-twisted-mail/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org>
# Maintainer:
-
pkgname=py-twisted-mail
_pkgname=TwistedMail
-pkgver=12.0.0
+pkgver=12.3.0
pkgrel=0
pkgdesc="Python Twisted Mail library"
url="http://twistedmatrix.com/trac/wiki/TwistedMail"
@@ -11,12 +10,29 @@ arch="noarch"
license="MIT"
depends="py-twisted"
makedepends="python-dev"
-source="http://twistedmatrix.com/Releases/Mail/12.0/$_pkgname-$pkgver.tar.bz2"
+source="http://twistedmatrix.com/Releases/Mail/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
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="7c01bd6fecf5db26c241aa1c76d6567d TwistedMail-12.0.0.tar.bz2"
+md5sums="c285ce7e7b2d8e606b3d35a26b025bad TwistedMail-12.3.0.tar.bz2"
+sha256sums="339f04f9d49f9be2945086c7d1ffb530bcbc653ae0151d3fa0bd899ad82034b0 TwistedMail-12.3.0.tar.bz2"
+sha512sums="9e6b5eaddfe7ec460b702a9c376c5c4e98cc2e5ea2b1c2bde87ddb93fd49eb9be1d489e7a2d3f56b1e281c79acb3a7a02a7e41268c0c2844e4aaf29fbce5e251 TwistedMail-12.3.0.tar.bz2"