[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Wed Apr 14 11:57:08 UTC 2021


    Date: Wednesday, April 14, 2021 @ 11:57:07
  Author: kkeen
Revision: 918408

pkginit: cwcwidth 0.1.4-1 for curtsies/bpython

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

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

Added: python-cwcwidth/trunk/PKGBUILD
===================================================================
--- python-cwcwidth/trunk/PKGBUILD	                        (rev 0)
+++ python-cwcwidth/trunk/PKGBUILD	2021-04-14 11:57:07 UTC (rev 918408)
@@ -0,0 +1,26 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-cwcwidth
+_pkgname=cwcwidth
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="Bindings for wcwidth and wcswidth functions defined in POSIX.1-2001 and POSIX.1-2008"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/curtsies"
+license=('MIT')
+depends=('glibc')
+makedepends=('python-setuptools' 'cython')
+source=("$_pkgname-$pkgver.tgz::https://github.com/sebastinas/cwcwidth/archive/refs/tags/v$pkgver.tar.gz")
+md5sums=('03768ca16d2b78db3bdc2cc3149bfbd0')
+
+build() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python3 setup.py build
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list