aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-icu
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-04-18 07:37:26 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-04-18 07:37:26 +0000
commit1c1ddde2dcba5c91a8ae97899e006e82cbf34b74 (patch)
tree9674729ac89fd81d4e9d0453958f690d235b03c0 /main/py-icu
parentb74917369dd2f3c7ba4002c590b89883df877ce6 (diff)
downloadaports-1c1ddde2dcba5c91a8ae97899e006e82cbf34b74.tar.bz2
aports-1c1ddde2dcba5c91a8ae97899e006e82cbf34b74.tar.xz
main/py-icu: upgrade to 1.9.6, modernize APKBUILD
Diffstat (limited to 'main/py-icu')
-rw-r--r--main/py-icu/APKBUILD30
1 files changed, 10 insertions, 20 deletions
diff --git a/main/py-icu/APKBUILD b/main/py-icu/APKBUILD
index 2ccbaf42c8..69487a06a7 100644
--- a/main/py-icu/APKBUILD
+++ b/main/py-icu/APKBUILD
@@ -1,40 +1,30 @@
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-icu
_pkgname=PyICU
-pkgver=1.9.5
+pkgver=1.9.6
pkgrel=0
pkgdesc="Python binding for ICU"
url="http://pyicu.osafoundation.org/"
arch="all"
license="MIT"
depends="python2"
-depends_dev=""
makedepends="python2-dev icu-dev"
-install=""
-subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
-_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
+check() {
+ cd "$builddir"
+ python2 setup.py check
}
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="30f85b7272f15b26c110c9f3e3a9e7a0 PyICU-1.9.5.tar.gz"
-sha256sums="73b052b800861fae3281dbaf9c92d12a81cabf3d31912d94c51862e093ef359b PyICU-1.9.5.tar.gz"
-sha512sums="19fb3222a68cc67e92ea4171257d00c9a322f993f1303a4432b5c3c4efda32ff4c2372027cf9f3fd31d3dc3cf3bcbcb957dfa420039591044812f0213684e885 PyICU-1.9.5.tar.gz"
+sha512sums="51ae0876dbe79c696a7630ec184049df685eebc4660b439b8a3e6e86ef37dfa8cdd0fd6895fc230f954baad30528f4017a7b6a17edc8f7e8b9e4c1bd729d447a PyICU-1.9.6.tar.gz"