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

Kyle Keen kkeen at archlinux.org
Thu Mar 5 14:03:27 UTC 2015


    Date: Thursday, March 5, 2015 @ 15:03:27
  Author: kkeen
Revision: 128767

archrelease: copy trunk to community-any

Added:
  python-curtsies/repos/community-any/
  python-curtsies/repos/community-any/PKGBUILD
    (from rev 128766, python-curtsies/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: python-curtsies/repos/community-any/PKGBUILD (from rev 128766, python-curtsies/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-03-05 14:03:27 UTC (rev 128767)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-curtsies
+pkgname=(python-curtsies python2-curtsies)
+_pkgname=curtsies
+# the author of this package intends it to be used for bpython only
+# so the version is stuck at whatever bpython's release supports
+# dear users, do not flag this package out of date
+pkgver=0.1.18
+pkgrel=1
+pkgdesc="Curses-like terminal wrapper with a display based on compositing 2d arrays of text"
+arch=('any')
+url="https://github.com/thomasballinger/curtsies"
+license=('MIT')
+depends=('python-blessings')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/c/curtsies/curtsies-${pkgver}.tar.gz")
+md5sums=('077cf97028e342abe1cad94ff98fbd66')
+
+prepare() {
+  cd "$srcdir"
+  cp -r curtsies-$pkgver curtsies2-$pkgver
+}
+
+build() {
+  cd "$srcdir/curtsies-$pkgver"
+  python3 setup.py build
+
+  cd "$srcdir/curtsies2-$pkgver"
+  python2 setup.py build
+}
+
+package_python-curtsies() {
+  cd "$srcdir/curtsies-$pkgver"
+  python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-curtsies/LICENSE"
+}
+
+package_python2-curtsies() {
+  depends=('python2-blessings')
+  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