[arch-commits] Commit in python-cwcwidth/repos (2 files)

Kyle Keen kkeen at archlinux.org
Wed Apr 14 11:58:36 UTC 2021


    Date: Wednesday, April 14, 2021 @ 11:58:36
  Author: kkeen
Revision: 918409

archrelease: copy trunk to community-x86_64

Added:
  python-cwcwidth/repos/community-x86_64/
  python-cwcwidth/repos/community-x86_64/PKGBUILD
    (from rev 918408, python-cwcwidth/trunk/PKGBUILD)

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

Copied: python-cwcwidth/repos/community-x86_64/PKGBUILD (from rev 918408, python-cwcwidth/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-04-14 11:58:36 UTC (rev 918409)
@@ -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