[arch-commits] Commit in python-infinity/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:27:51 UTC 2019
Date: Friday, October 25, 2019 @ 16:27:51
Author: foutrelis
Revision: 519449
archrelease: copy trunk to community-staging-any
Added:
python-infinity/repos/community-staging-any/
python-infinity/repos/community-staging-any/PKGBUILD
(from rev 519448, python-infinity/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-infinity/repos/community-staging-any/PKGBUILD (from rev 519448, python-infinity/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:27:51 UTC (rev 519449)
@@ -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=2
+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