testing/getmail: upgrade to 5.6

This commit is contained in:
Henrik Riomar 2018-04-03 09:12:01 +02:00 committed by Timo Teräs
parent f9a85640a0
commit d2cb215b89

View File

@ -1,7 +1,7 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=getmail
pkgver=4.50.0
pkgver=5.6
pkgrel=0
pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery"
url="http://pyropus.ca/software/getmail/"
@ -12,21 +12,20 @@ depends_dev=""
makedepends="python2-dev"
install=""
subpackages="$pkgname-doc"
options="!check" # contains no tests
source="http://pyropus.ca/software/getmail/old-versions/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
python2 setup.py build || return 1
python2 setup.py build
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
python2 setup.py install --prefix=/usr --root="$pkgdir"
# fix some broken shebang calls
sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py')
}
md5sums="4c31fdefbad549768227b35193ead908 getmail-4.50.0.tar.gz"
sha256sums="fcbc77b9a14a2798a50725af9488d292bc97e983997947df1b9dcd9a0e288bc1 getmail-4.50.0.tar.gz"
sha512sums="f8484fe907e82bd96abc6fea9e824a51608450921020d18522c6da00ddc5f0c1a2f9be0a534d1451830174d33e526e956a1bba9b7e9f2c987f765547848317c9 getmail-4.50.0.tar.gz"
sha512sums="7ee34f214ab4d98d1b34e46abba61561133f27edf1f64bb9c5d5f671e6944724d1773234bd8ab626607b732cc54fd335cbfcb69fdff8f4d8fcdb33108b25bafd getmail-5.6.tar.gz"