[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Sat Jul 16 02:14:40 UTC 2016


    Date: Saturday, July 16, 2016 @ 02:14:39
  Author: kkeen
Revision: 182973

pkginit: python-wcwidth-0.1.7 for ipython-5.0.0

Added:
  python-wcwidth/
  python-wcwidth/repos/
  python-wcwidth/trunk/
  python-wcwidth/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: python-wcwidth/trunk/PKGBUILD
===================================================================
--- python-wcwidth/trunk/PKGBUILD	                        (rev 0)
+++ python-wcwidth/trunk/PKGBUILD	2016-07-16 02:14:39 UTC (rev 182973)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: wenLiangcan <boxeed at gmail dot com>
+
+pkgbase=python-wcwidth
+pkgname=(python-wcwidth python2-wcwidth)
+_name=wcwidth
+pkgver=0.1.7
+pkgrel=1
+pkgdesc="Measures number of Terminal column cells of wide-character codes"
+url="https://github.com/jquast/wcwidth"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/w/$_name/$_name-$pkgver.tar.gz")
+md5sums=('b3b6a0a08f0c8a34d1de8cf44150a4ad')
+
+prepare() {
+  cd "$srcdir"
+  cp -r $_name-$pkgver python2-$_name-$pkgver
+}
+
+package_python-wcwidth() {
+  cd "$srcdir/$_name-$pkgver"
+  python3 setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-wcwidth() {
+  depends=('python2')
+  cd "$srcdir/python2-$_name-$pkgver"
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


Property changes on: python-wcwidth/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list