[arch-commits] Commit in (4 files)
Kyle Keen
kkeen at archlinux.org
Thu Mar 5 13:11:50 UTC 2015
Date: Thursday, March 5, 2015 @ 14:11:50
Author: kkeen
Revision: 128760
pkginit: python-blessings-1.6-2
Added:
python-blessings/
python-blessings/repos/
python-blessings/trunk/
python-blessings/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: python-blessings/trunk/PKGBUILD
===================================================================
--- python-blessings/trunk/PKGBUILD (rev 0)
+++ python-blessings/trunk/PKGBUILD 2015-03-05 13:11:50 UTC (rev 128760)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgbase=python-blessings
+pkgname=(python-blessings python2-blessings)
+_pkgname=blessings
+pkgver=1.6
+pkgrel=2
+pkgdesc="A thin, practical wrapper around terminal coloring, styling, and positioning"
+url="https://github.com/erikrose/blessings"
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-distribute' 'python2-distribute')
+#options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz")
+md5sums=('4f552a8ebcd4982693c92571beb99394')
+
+prepare() {
+ cd "$srcdir"
+ cp -r blessings-$pkgver blessings2-$pkgver
+}
+
+package_python-blessings() {
+ cd "$srcdir/blessings-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-blessings/LICENSE"
+}
+
+package_python2-blessings() {
+ depends=('python2')
+ cd "$srcdir/blessings2-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-blessings/LICENSE"
+}
+
Property changes on: python-blessings/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list