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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:05:48 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:05:47
  Author: foutrelis
Revision: 749294

archrelease: copy trunk to community-staging-any

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

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

Copied: python-lazy/repos/community-staging-any/PKGBUILD (from rev 749293, python-lazy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:05:47 UTC (rev 749294)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-lazy
+pkgver=1.4
+pkgrel=4
+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=('2a735b1436d3ebc76791645631cfcf54f1e332fd365c317bee92498b10397ec8206b271ae74427cae02985808a843eb98720c91e62dce93bb75702205da161bc')
+
+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