[arch-commits] Commit in python-curtsies/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 14:56:59 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:56:59
Author: felixonmars
Revision: 1059585
archrelease: copy trunk to community-staging-any
Added:
python-curtsies/repos/community-staging-any/
python-curtsies/repos/community-staging-any/PKGBUILD
(from rev 1059583, python-curtsies/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-curtsies/repos/community-staging-any/PKGBUILD (from rev 1059583, python-curtsies/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:56:59 UTC (rev 1059585)
@@ -0,0 +1,33 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-curtsies
+_pkgname=curtsies
+pkgver=0.3.5
+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-cwcwidth')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-$pkgver.tar.gz")
+md5sums=('ed2c16be1b6e913d0bfff7233c33da8a')
+
+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