[arch-commits] Commit in python-wcwidth/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Dec 15 12:02:08 UTC 2021


    Date: Wednesday, December 15, 2021 @ 12:02:08
  Author: arojas
Revision: 1072989

archrelease: copy trunk to community-any

Added:
  python-wcwidth/repos/community-any/PKGBUILD
    (from rev 1072988, python-wcwidth/trunk/PKGBUILD)
Deleted:
  python-wcwidth/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   55 +++++++++++++++++++++----------------------------------
 1 file changed, 21 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-15 12:01:59 UTC (rev 1072988)
+++ PKGBUILD	2021-12-15 12:02:08 UTC (rev 1072989)
@@ -1,34 +0,0 @@
-# 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.2.5
-pkgrel=5
-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' 'python2-backports.functools_lru_cache')
-source=("https://files.pythonhosted.org/packages/source/w/$_name/$_name-$pkgver.tar.gz")
-md5sums=('a07a75f99d316e14838ac760c831ea37')
-
-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 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-wcwidth() {
-  depends=('python2' 'python2-backports.functools_lru_cache')
-  cd "$srcdir/python2-$_name-$pkgver"
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-wcwidth/repos/community-any/PKGBUILD (from rev 1072988, python-wcwidth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-15 12:02:08 UTC (rev 1072989)
@@ -0,0 +1,21 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: wenLiangcan <boxeed at gmail dot com>
+
+pkgname=python-wcwidth
+_name=wcwidth
+pkgver=0.2.5
+pkgrel=6
+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')
+source=("https://files.pythonhosted.org/packages/source/w/$_name/$_name-$pkgver.tar.gz")
+md5sums=('a07a75f99d316e14838ac760c831ea37')
+
+package() {
+  cd "$srcdir/$_name-$pkgver"
+  python3 setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list