[arch-commits] Commit in python-pyicu/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Apr 24 20:35:52 UTC 2017
Date: Monday, April 24, 2017 @ 20:35:51
Author: foutrelis
Revision: 225216
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 225215, python-pyicu/trunk/PKGBUILD)
python-pyicu/repos/community-staging-x86_64/
python-pyicu/repos/community-staging-x86_64/PKGBUILD
(from rev 225215, 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 225215, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-24 20:35:51 UTC (rev 225216)
@@ -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.6
+pkgrel=2
+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=('51ae0876dbe79c696a7630ec184049df685eebc4660b439b8a3e6e86ef37dfa8cdd0fd6895fc230f954baad30528f4017a7b6a17edc8f7e8b9e4c1bd729d447a')
+
+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 225215, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-04-24 20:35:51 UTC (rev 225216)
@@ -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.6
+pkgrel=2
+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=('51ae0876dbe79c696a7630ec184049df685eebc4660b439b8a3e6e86ef37dfa8cdd0fd6895fc230f954baad30528f4017a7b6a17edc8f7e8b9e4c1bd729d447a')
+
+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