[arch-commits] Commit in python-curtsies/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:47:43 UTC 2020
Date: Monday, November 9, 2020 @ 16:47:43
Author: foutrelis
Revision: 747537
archrelease: copy trunk to community-staging-any
Added:
python-curtsies/repos/community-staging-any/
python-curtsies/repos/community-staging-any/PKGBUILD
(from rev 747534, python-curtsies/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-curtsies/repos/community-staging-any/PKGBUILD (from rev 747534, python-curtsies/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:47:43 UTC (rev 747537)
@@ -0,0 +1,33 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-curtsies
+_pkgname=curtsies
+pkgver=0.3.4
+pkgrel=2
+pkgdesc="Curses-like terminal wrapper with a display based on compositing 2d arrays of text"
+arch=('any')
+url="https://pypi.python.org/pypi/curtsies"
+license=('MIT')
+depends=('python-blessings' 'python-wcwidth')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-$pkgver.tar.gz")
+md5sums=('198593de25ec54f8285bb3d94239c769')
+
+prepare() {
+ cd "$srcdir"
+
+ # 0.3.0 bug?
+ cd "$srcdir/curtsies-$pkgver"
+ sed -i 's/^.*typing.*$//' curtsies.egg-info/requires.txt setup.py
+}
+
+build() {
+ cd "$srcdir/curtsies-$pkgver"
+ python3 setup.py build
+}
+
+package() {
+ cd "$srcdir/curtsies-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-curtsies/LICENSE"
+}
More information about the arch-commits
mailing list