Date: Thursday, November 17, 2016 @ 07:06:49
  Author: felixonmars
Revision: 196173

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python-pyicu/repos/community-i686/PKGBUILD
    (from rev 196172, python-pyicu/trunk/PKGBUILD)
Deleted:
  python-pyicu/repos/community-i686/PKGBUILD
  python-pyicu/repos/community-i686/issue19.patch

---------------+
 PKGBUILD      |  109 ++++++++++++++++++++++++++------------------------------
 issue19.patch |   18 ---------
 2 files changed, 52 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2016-11-17 07:06:24 UTC (rev 196172)
+++ PKGBUILD    2016-11-17 07:06:49 UTC (rev 196173)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Jonathan Liu <net...@gmail.com>
-
-pkgbase=python-pyicu
-pkgname=('python-pyicu' 'python2-pyicu')
-pkgver=1.9.3
-pkgrel=1
-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";
-        issue19.patch)
-sha512sums=('93720f6fd4131b6cff7fe89996a3851b5993c74859e85de7813883a30152b63a0065b8c51c536cd40417b6e3ccf0ec4e26ed471cec84cd48761a306a35bfd15c'
-            
'037153c73076c1e6b291171de3794f79ac315a6495e6231dc6e8fc4ae2a4d750ab77a7706edc46a5021561ebf429902fa3103c5279d3d95b3ea8093ff75a1810')
-
-prepare() {
-  # https://github.com/ovalhub/pyicu/issues/19
-  (cd PyICU-$pkgver; patch -p1 -i ../issue19.patch)
-
-  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-i686/PKGBUILD (from rev 196172, 
python-pyicu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2016-11-17 07:06:49 UTC (rev 196173)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Jonathan Liu <net...@gmail.com>
+
+pkgbase=python-pyicu
+pkgname=('python-pyicu' 'python2-pyicu')
+pkgver=1.9.5
+pkgrel=1
+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
+}

Deleted: issue19.patch
===================================================================
--- issue19.patch       2016-11-17 07:06:24 UTC (rev 196172)
+++ issue19.patch       2016-11-17 07:06:49 UTC (rev 196173)
@@ -1,18 +0,0 @@
-commit 6ab20d48d85638acb3a811c8676f713bd26f0df9
-Author: Felix Yan <felixonm...@archlinux.org>
-Date:   Sat May 28 15:08:44 2016 +0800
-
-    add setTimeZone in testGetBestPattern (fixes #19)
-
-diff --git a/test/test_DateTimeParserGenerator.py 
b/test/test_DateTimeParserGenerator.py
-index 5838e32..de8eb88 100644
---- a/test/test_DateTimeParserGenerator.py
-+++ b/test/test_DateTimeParserGenerator.py
-@@ -71,6 +71,7 @@ class TestDateTimePatternGenerator(TestCase):
-             for index, skeleton in enumerate(skeletons):
-                 pattern = dtpg.getBestPattern(skeleton)
-                 sdf = SimpleDateFormat(pattern, locale)
-+                sdf.setTimeZone(self.tz)
-                 self.assertEqual(sdf.format(self.date), locale_data[index])
- 
-     def testReplaceFieldType(self):

Reply via email to