aboutsummaryrefslogtreecommitdiffstats
path: root/testing/getmail
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 08:09:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 08:10:25 +0000
commit2d810f97219c4afe34a70d737c4c13fea10c46e7 (patch)
treeab8c1dde18f5fe41d72a3806492a089c0a44ff7d /testing/getmail
parentbd50328a639335a45341dee13d58afb54c1e30b7 (diff)
downloadaports-2d810f97219c4afe34a70d737c4c13fea10c46e7.tar.bz2
aports-2d810f97219c4afe34a70d737c4c13fea10c46e7.tar.xz
testing/getmail: upgrade to 4.50.0, simplified apkbuild
Diffstat (limited to 'testing/getmail')
-rw-r--r--testing/getmail/APKBUILD28
1 files changed, 9 insertions, 19 deletions
diff --git a/testing/getmail/APKBUILD b/testing/getmail/APKBUILD
index 6a2ed57122..8509b184bd 100644
--- a/testing/getmail/APKBUILD
+++ b/testing/getmail/APKBUILD
@@ -1,42 +1,32 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=getmail
-pkgver=4.47.0
+pkgver=4.50.0
pkgrel=0
pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery"
url="http://pyropus.ca/software/getmail/"
arch="noarch"
license="GPL2"
-depends="python"
+depends="python2"
depends_dev=""
-makedepends="python-dev"
+makedepends="python2-dev"
install=""
subpackages="$pkgname-doc"
source="http://pyropus.ca/software/getmail/old-versions/$pkgname-$pkgver.tar.gz"
-
-_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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
# fix some broken shebang calls
sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python|" $(find $pkgdir -name '*.py')
}
-md5sums="4f7cb44e699be9b727e9b305ce4ee2f1 getmail-4.47.0.tar.gz"
-sha256sums="4b5accd3d0d79e1a84c0aed850ac8717b7f6e9ad72cfab7ba22abf58638e4540 getmail-4.47.0.tar.gz"
-sha512sums="4b43b4e0336f5c0aad6831c331626dfa21076fd6f77d8c1db3c1d2b49be90884c96dc1ccae6a9cc5c1c6183209479e4097163faa93f86111afd9ee10e34cbc5c getmail-4.47.0.tar.gz"
+md5sums="4c31fdefbad549768227b35193ead908 getmail-4.50.0.tar.gz"
+sha256sums="fcbc77b9a14a2798a50725af9488d292bc97e983997947df1b9dcd9a0e288bc1 getmail-4.50.0.tar.gz"
+sha512sums="f8484fe907e82bd96abc6fea9e824a51608450921020d18522c6da00ddc5f0c1a2f9be0a534d1451830174d33e526e956a1bba9b7e9f2c987f765547848317c9 getmail-4.50.0.tar.gz"