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

Felix Yan felixonmars at archlinux.org
Thu Oct 25 16:09:00 UTC 2018


    Date: Thursday, October 25, 2018 @ 16:09:00
  Author: felixonmars
Revision: 399002

archrelease: copy trunk to community-any

Added:
  python-lazy/repos/community-any/
  python-lazy/repos/community-any/PKGBUILD
    (from rev 399001, python-lazy/trunk/PKGBUILD)

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

Copied: python-lazy/repos/community-any/PKGBUILD (from rev 399001, python-lazy/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-25 16:09:00 UTC (rev 399002)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-lazy
+pkgver=1.3
+pkgrel=1
+pkgdesc="Lazy attributes for Python objects"
+url="https://github.com/stefanholek/lazy"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stefanholek/lazy/archive/$pkgver.tar.gz")
+sha512sums=('04f7560a327781076cffe2c9e104d2a282332cc48282ca35b792c921fe1c5bbe129b719c9b1fa612e2d163e304773f6ed6445ce2abd5bde06462117eb78ce0e2')
+
+build() {
+  cd lazy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd lazy-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd lazy-$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