aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-01-11 14:15:36 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-01-12 07:27:57 +0000
commit6cb1aaf26207010f450b3cd9e3a5742b9dc6f9ec (patch)
tree85fa205acf60b6b2684961c05cf17cf56f3bd0cd
parent74cb67a0f5c64a0b2d56a97e61edd436b3cf97dc (diff)
downloadaports-6cb1aaf26207010f450b3cd9e3a5742b9dc6f9ec.tar.bz2
community/py-dialog: upgrade to 3.4.0
-rw-r--r--community/py-dialog/APKBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/community/py-dialog/APKBUILD b/community/py-dialog/APKBUILD
index 41f889d..db43d39 100644
--- a/community/py-dialog/APKBUILD
+++ b/community/py-dialog/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-dialog
-pkgver=3.3.0
+pkgver=3.4.0
pkgrel=0
pkgdesc="A Python interface to the UNIX dialog utility and mostly-compatible programs"
url="http://pythondialog.sourceforge.net/"
@@ -14,28 +14,18 @@ install=""
subpackages=""
source="http://downloads.sourceforge.net/project/pythondialog/pythondialog/${pkgver}/python2-pythondialog-${pkgver}.tar.bz2"
-_builddir="$srcdir"/python2-pythondialog-$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"/python2-pythondialog-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="4fbea2c8d211c2bd49f239d76af4428e python2-pythondialog-3.3.0.tar.bz2"
-sha256sums="04e93f24995c43dd90f338d5d865ca72ce3fb5a5358d4daa4965571db35fc3ec python2-pythondialog-3.3.0.tar.bz2"
-sha512sums="3340d383cb9ccab1d5c6e7e73c6de5ba4ec24193746ae230a88d2f1e4d674c62707f058c8b0d200be2859f169d01d360314eb075d6dd84720d4cea47701f0cf7 python2-pythondialog-3.3.0.tar.bz2"
+md5sums="400fd290dd16fbb6beac10b80541ed93 python2-pythondialog-3.4.0.tar.bz2"
+sha256sums="8978d355c8db6728eeb9e23b39449b14597f1c76cb06dc72462642ca7cde46a0 python2-pythondialog-3.4.0.tar.bz2"
+sha512sums="6dd0ebf4360964a260cc8ad155b34ba799a925e34e332b3478a712a5f7e5f32e8b2b7484c54b0dd1f9471bb0b6a5bda50d248e015926a2f37e803b2dcefc84b7 python2-pythondialog-3.4.0.tar.bz2"