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

Jelle van der Waa jelle at archlinux.org
Fri Sep 28 20:52:37 UTC 2018


    Date: Friday, September 28, 2018 @ 20:52:37
  Author: jelle
Revision: 387545

archrelease: copy trunk to community-any

Added:
  python-infinity/repos/community-any/
  python-infinity/repos/community-any/PKGBUILD
    (from rev 387544, python-infinity/trunk/PKGBUILD)

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

Copied: python-infinity/repos/community-any/PKGBUILD (from rev 387544, python-infinity/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-09-28 20:52:37 UTC (rev 387545)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# 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')
+checkdepends=('python-pytest')
+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
+}
+
+check() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  py.test .
+}
+
+package() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  python setup.py install --root="${pkgdir}/" --optimize=1
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list