[arch-commits] Commit in (4 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jun 25 16:38:24 UTC 2021


    Date: Friday, June 25, 2021 @ 16:38:23
  Author: yan12125
Revision: 967444

python-pyhcl: new package, dependency of python-hvac, which will be used by upcoming buildbot [1]

[1] https://github.com/buildbot/buildbot/pull/6058

Added:
  python-pyhcl/
  python-pyhcl/repos/
  python-pyhcl/trunk/
  python-pyhcl/trunk/PKGBUILD

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

Added: python-pyhcl/trunk/PKGBUILD
===================================================================
--- python-pyhcl/trunk/PKGBUILD	                        (rev 0)
+++ python-pyhcl/trunk/PKGBUILD	2021-06-25 16:38:23 UTC (rev 967444)
@@ -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=1
+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