[arch-commits] Commit in python-pyicu/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Apr 5 15:16:47 UTC 2019
Date: Friday, April 5, 2019 @ 15:16:46
Author: felixonmars
Revision: 449874
archrelease: copy trunk to community-staging-x86_64
Added:
python-pyicu/repos/community-staging-x86_64/
python-pyicu/repos/community-staging-x86_64/PKGBUILD
(from rev 449873, python-pyicu/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pyicu/repos/community-staging-x86_64/PKGBUILD (from rev 449873, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-04-05 15:16:46 UTC (rev 449874)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.3
+pkgrel=3
+pkgdesc="Python binding for ICU"
+arch=('x86_64')
+license=('MIT')
+url="http://pyicu.osafoundation.org/"
+depends=('python' 'icu')
+makedepends=('python-setuptools')
+checkdepends=('python-fonttools' 'python-pytest')
+source=("https://pypi.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+sha512sums=('2bdbc7fb7c83e58c9d0d53dadf8fef92d8dec02e9eefebc75bac43c19f008ef2a3219d41b62c426c41a055bb4530b2f7ef567162660d6021b8d2bf9e99090f94')
+
+build() {
+ cd PyICU-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd PyICU-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd PyICU-$pkgver
+ python 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