[arch-commits] Commit in python-pyicu/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Apr 2 17:04:46 UTC 2016
Date: Saturday, April 2, 2016 @ 19:04:46
Author: foutrelis
Revision: 169267
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python-pyicu/repos/community-staging-i686/
python-pyicu/repos/community-staging-i686/PKGBUILD
(from rev 169266, python-pyicu/trunk/PKGBUILD)
python-pyicu/repos/community-staging-x86_64/
python-pyicu/repos/community-staging-x86_64/PKGBUILD
(from rev 169266, python-pyicu/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: python-pyicu/repos/community-staging-i686/PKGBUILD (from rev 169266, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-02 17:04:46 UTC (rev 169267)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgbase=python-pyicu
+pkgname=('python-pyicu' 'python2-pyicu')
+pkgver=1.9.2
+pkgrel=3
+pkgdesc="Python binding for ICU"
+arch=('i686' 'x86_64')
+license=('MIT')
+url="http://pyicu.osafoundation.org/"
+makedepends=('python-setuptools' 'python2-setuptools' 'icu')
+checkdepends=('python-fonttools' 'python2-fonttools')
+source=("https://pypi.python.org/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+sha512sums=('1964464f5385dc8f65c4b88b63cd9f34ced1ae365562386708d92fc5c40090a40554578bd5e90d0a996ca6f012b3d2a8ab6e0fd07968e94a0dfe18894e8f08f4')
+
+prepare() {
+ cp -a PyICU-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/PyICU-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/PyICU-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/PyICU-$pkgver"
+ python setup.py test
+
+ cd "$srcdir/PyICU-$pkgver-py2"
+ python2 setup.py test
+}
+
+package_python-pyicu() {
+ depends=('python' 'icu')
+
+ cd PyICU-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pyicu() {
+ depends=('python2' 'icu')
+
+ cd PyICU-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: python-pyicu/repos/community-staging-x86_64/PKGBUILD (from rev 169266, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-04-02 17:04:46 UTC (rev 169267)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgbase=python-pyicu
+pkgname=('python-pyicu' 'python2-pyicu')
+pkgver=1.9.2
+pkgrel=3
+pkgdesc="Python binding for ICU"
+arch=('i686' 'x86_64')
+license=('MIT')
+url="http://pyicu.osafoundation.org/"
+makedepends=('python-setuptools' 'python2-setuptools' 'icu')
+checkdepends=('python-fonttools' 'python2-fonttools')
+source=("https://pypi.python.org/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+sha512sums=('1964464f5385dc8f65c4b88b63cd9f34ced1ae365562386708d92fc5c40090a40554578bd5e90d0a996ca6f012b3d2a8ab6e0fd07968e94a0dfe18894e8f08f4')
+
+prepare() {
+ cp -a PyICU-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/PyICU-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/PyICU-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/PyICU-$pkgver"
+ python setup.py test
+
+ cd "$srcdir/PyICU-$pkgver-py2"
+ python2 setup.py test
+}
+
+package_python-pyicu() {
+ depends=('python' 'icu')
+
+ cd PyICU-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pyicu() {
+ depends=('python2' 'icu')
+
+ cd PyICU-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list