[arch-commits] Commit in python-pyicu/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Dec 26 09:46:58 UTC 2016


    Date: Monday, December 26, 2016 @ 09:46:57
  Author: bpiotrowski
Revision: 202643

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 202642, python-pyicu/trunk/PKGBUILD)
  python-pyicu/repos/community-staging-x86_64/
  python-pyicu/repos/community-staging-x86_64/PKGBUILD
    (from rev 202642, 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 202642, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-12-26 09:46:57 UTC (rev 202643)
@@ -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.5
+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.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+sha512sums=('19fb3222a68cc67e92ea4171257d00c9a322f993f1303a4432b5c3c4efda32ff4c2372027cf9f3fd31d3dc3cf3bcbcb957dfa420039591044812f0213684e885')
+
+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 202642, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-26 09:46:57 UTC (rev 202643)
@@ -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.5
+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.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+sha512sums=('19fb3222a68cc67e92ea4171257d00c9a322f993f1303a4432b5c3c4efda32ff4c2372027cf9f3fd31d3dc3cf3bcbcb957dfa420039591044812f0213684e885')
+
+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