[arch-commits] Commit in python-curtsies/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Feb 21 01:06:31 UTC 2018


    Date: Wednesday, February 21, 2018 @ 01:06:31
  Author: kkeen
Revision: 296644

upgpkg: python-curtsies 0.3.0-1

Modified:
  python-curtsies/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-21 00:44:12 UTC (rev 296643)
+++ PKGBUILD	2018-02-21 01:06:31 UTC (rev 296644)
@@ -4,8 +4,8 @@
 pkgbase=python-curtsies
 pkgname=(python-curtsies python2-curtsies)
 _pkgname=curtsies
-pkgver=0.2.11
-pkgrel=2
+pkgver=0.3.0
+pkgrel=1
 pkgdesc="Curses-like terminal wrapper with a display based on compositing 2d arrays of text"
 arch=('any')
 url="https://pypi.python.org/pypi/curtsies"
@@ -13,11 +13,15 @@
 depends=('python-blessings' 'python-wcwidth')
 makedepends=('python-setuptools' 'python2-setuptools')
 source=("https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-$pkgver.tar.gz")
-md5sums=('fe1944b9dd078c7d5d8a93c10ad7413d')
+md5sums=('20e7295c9592b4101915131a685725f0')
 
 prepare() {
   cd "$srcdir"
   cp -r curtsies-$pkgver curtsies2-$pkgver
+
+  # 0.3.0 bug?
+  cd "$srcdir/curtsies-$pkgver"
+  sed -i 's/^.*typing.*$//' curtsies.egg-info/requires.txt setup.py
 }
 
 build() {
@@ -35,7 +39,7 @@
 }
 
 package_python2-curtsies() {
-  depends=('python2-blessings' 'python2-wcwidth')
+  depends=('python2-blessings' 'python2-wcwidth' 'python2-typing')
   cd "$srcdir/curtsies2-$pkgver"
   python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-curtsies/LICENSE"



More information about the arch-commits mailing list