[arch-commits] Commit in (4 files)
Christian Rebischke
shibumi at archlinux.org
Sun Apr 19 14:07:43 UTC 2020
Date: Sunday, April 19, 2020 @ 14:07:42
Author: shibumi
Revision: 616483
add molecule-vagrant
Added:
molecule-vagrant/
molecule-vagrant/repos/
molecule-vagrant/trunk/
molecule-vagrant/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: molecule-vagrant/trunk/PKGBUILD
===================================================================
--- molecule-vagrant/trunk/PKGBUILD (rev 0)
+++ molecule-vagrant/trunk/PKGBUILD 2020-04-19 14:07:42 UTC (rev 616483)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+
+pkgname=molecule-vagrant
+_pyname=molecule-vagrant
+pkgver=0.2
+pkgrel=1
+pkgdesc="Molecule Vangrant Driver"
+arch=('any')
+url="https://github.com/ansible-community/molecule-vagrant"
+license=('MIT')
+depends=('python' 'ansible' 'molecule' 'python-pyaml' 'python-vagrant')
+makedepends=('python-setuptools' 'python-setuptools-scm' 'molecule'
+'python-vagrant' 'python-pyaml')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ansible-community/molecule-vagrant/archive/${pkgver}.tar.gz")
+sha512sums=('8da5d444925d8dcb35abcaccb7b6f8e23492a61c5dd05a4cfd129801577b3df76cca87d8abccc1580742727b42f133731ab4720a13a3c553c3163957fb42df47')
+
+prepare() {
+ cd ${_pyname}-${pkgver}
+ echo "Version: ${pkgver}" > PKG-INFO
+}
+
+build() {
+ cd ${_pyname}-${pkgver}
+ python setup.py build
+}
+
+#check() {
+# cd ${_pyname}-${pkgver}
+# py.test
+#}
+
+package() {
+ cd ${_pyname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ cp -R molecule_vagrant/cookiecutter "${pkgdir}/usr/lib/python3.8/site-packages/molecule_vagrant"
+}
More information about the arch-commits
mailing list