[arch-commits] Commit in (4 files)
Jelle van der Waa
jelle at archlinux.org
Fri Sep 28 20:44:19 UTC 2018
Date: Friday, September 28, 2018 @ 20:44:19
Author: jelle
Revision: 387543
initial commit
Added:
python-infinity/
python-infinity/repos/
python-infinity/trunk/
python-infinity/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: python-infinity/trunk/PKGBUILD
===================================================================
--- python-infinity/trunk/PKGBUILD (rev 0)
+++ python-infinity/trunk/PKGBUILD 2018-09-28 20:44:19 UTC (rev 387543)
@@ -0,0 +1,24 @@
+# Contributor: Husam Bilal <husam212 AT gmail DOT com>
+
+_name=infinity
+pkgname="python-${_name}"
+pkgver=1.4
+pkgrel=1
+pkgdesc='All-in-one infinity value for Python. Can be compared to any object.'
+url='https://github.com/kvesteri/infinity'
+depends=('python')
+makedepends=('python-setuptools')
+license=('BSD')
+arch=('any')
+source=("https://pypi.python.org/packages/source/i/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('57ce539d861a47d02b570f997a0b1ee6c631a1d9825b68692e9edfac789ec3069b754abb64bb4128dbfcf2eea231067c61a287315ec130a301f18c0e65387acb')
+
+build() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}
More information about the arch-commits
mailing list