[arch-commits] Commit in python-humanize/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:09:27 UTC 2019


    Date: Friday, October 25, 2019 @ 16:09:27
  Author: foutrelis
Revision: 519399

archrelease: copy trunk to community-staging-any

Added:
  python-humanize/repos/community-staging-any/
  python-humanize/repos/community-staging-any/PKGBUILD
    (from rev 519398, python-humanize/trunk/PKGBUILD)

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

Copied: python-humanize/repos/community-staging-any/PKGBUILD (from rev 519398, python-humanize/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:09:27 UTC (rev 519399)
@@ -0,0 +1,31 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+_pkgname=humanize
+pkgname=python-$_pkgname
+pkgver=0.5.1
+pkgrel=7
+pkgdesc="Common humanization utilities for Python"
+arch=("any")
+
+url="https://github.com/jmoiron/humanize"
+license=("MIT")
+depends=("python")
+makedepends=("python-setuptools")
+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
+}
+
+build() {
+	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"
+}



More information about the arch-commits mailing list