diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-07-20 23:12:53 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-21 06:10:50 +0000 |
commit | 029723326c7aea8d9a09c69c2ec1da9a226300a5 (patch) | |
tree | 488d3e3a6d33420e39a22e79a86bab12f42c9325 /main/py-icu/APKBUILD | |
parent | 4d9833ac86635dea45fc049c3942de8f4a1197db (diff) | |
download | aports-029723326c7aea8d9a09c69c2ec1da9a226300a5.tar.bz2 aports-029723326c7aea8d9a09c69c2ec1da9a226300a5.tar.xz |
main/py-icu: move from testing
Diffstat (limited to 'main/py-icu/APKBUILD')
-rw-r--r-- | main/py-icu/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-icu/APKBUILD b/main/py-icu/APKBUILD new file mode 100644 index 0000000000..cac56e4111 --- /dev/null +++ b/main/py-icu/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Peter Bui <pnutzh4x0r@gmail.com> +pkgname=py-icu +_pkgname=PyICU +pkgver=1.9.2 +pkgrel=0 +pkgdesc="Python binding for ICU" +url="http://pyicu.osafoundation.org/" +arch="all" +license="MIT" +depends="python" +depends_dev="" +makedepends="python-dev icu-dev" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_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 +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="a104ea78918a8b1f4ecbbb1063edb46b PyICU-1.9.2.tar.gz" +sha256sums="9b580801eb17b09a5e0e8ef7d3b29170361ed505c5f954b723c1b48a1e502bb6 PyICU-1.9.2.tar.gz" +sha512sums="1964464f5385dc8f65c4b88b63cd9f34ced1ae365562386708d92fc5c40090a40554578bd5e90d0a996ca6f012b3d2a8ab6e0fd07968e94a0dfe18894e8f08f4 PyICU-1.9.2.tar.gz" |