[arch-commits] Commit in (4 files)
Jerome Leclanche
jleclanche at archlinux.org
Thu Apr 27 11:06:36 UTC 2017
Date: Thursday, April 27, 2017 @ 11:06:35
Author: jleclanche
Revision: 226009
python-humanize: Moved from AUR
Added:
python-humanize/
python-humanize/repos/
python-humanize/trunk/
python-humanize/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: python-humanize/trunk/PKGBUILD
===================================================================
--- python-humanize/trunk/PKGBUILD (rev 0)
+++ python-humanize/trunk/PKGBUILD 2017-04-27 11:06:35 UTC (rev 226009)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+_pkgname=humanize
+pkgname=python-$_pkgname
+pkgver=0.5.1
+pkgrel=4
+pkgdesc="Humanize is a modest package contains various common humanization utilities"
+arch=("any")
+
+url="https://github.com/jmoiron/humanize"
+license=("MIT")
+depends=("python")
+source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=("a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19")
+
+
+check() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py check
+}
+
+check() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm 644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Property changes on: python-humanize/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list