1 # Maintainer: Kyle Keen <keenerd@gmail.com>
3 pkgname=python-curtsies
7 pkgdesc="Curses-like terminal wrapper with a display based on compositing 2d arrays of text"
9 url="https://pypi.python.org/pypi/curtsies"
11 depends=('python-blessed' 'python-cwcwidth')
12 makedepends=('python-setuptools')
13 source=("https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-$pkgver.tar.gz")
14 sha256sums=('62d10f349c553845306556a7f2663ce96b098d8c5bbc40daec7a6eedde1622b0')
18 cd "$srcdir/curtsies-$pkgver"
19 sed -i 's/^.*typing.*$//' curtsies.egg-info/requires.txt setup.py
23 cd "$srcdir/curtsies-$pkgver"
24 python3 setup.py build
28 cd "$srcdir/curtsies-$pkgver"
29 python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
30 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-curtsies/LICENSE"