[arch-commits] Commit in python-pyicu/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:33:04 UTC 2019
Date: Monday, November 4, 2019 @ 06:33:03
Author: felixonmars
Revision: 523416
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 523415, python-pyicu/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pyicu/repos/community-staging-x86_64/PKGBUILD (from rev 523415, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-11-04 06:33:03 UTC (rev 523416)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.3.1
+pkgrel=2
+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=('edb60320ffe649f257d4d691ad9cc8287a7611de6a970d33a25a6e12a14c1faa591023d99d0b10619b0860bba70d1b67af2eff5cf146381afcaa872f0af1be29')
+
+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