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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:53:37 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:53:36
  Author: felixonmars
Revision: 1059482

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyhcl/repos/community-staging-any/PKGBUILD (from rev 1059479, python-pyhcl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:53:36 UTC (rev 1059482)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: brent s. <bts[at]square-r00t[dot]net>
+
+_pkgname=pyhcl
+pkgname=python-pyhcl
+pkgver=0.4.4
+pkgrel=2
+pkgdesc='HCL configuration parser for python'
+arch=(any)
+url='https://pypi.org/project/pyhcl/'
+license=(MPL2)
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+source=("https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('2d9b9dcdf1023d812bfed561ba72c99104c5b3f52e558d595130a44ce081b003')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  PYTHONPATH="$PWD/src" pytest tests
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list