[arch-commits] Commit in molecule-vagrant/repos (community-any community-any/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Apr 19 14:08:41 UTC 2020
Date: Sunday, April 19, 2020 @ 14:08:40
Author: shibumi
Revision: 616484
archrelease: copy trunk to community-any
Added:
molecule-vagrant/repos/community-any/
molecule-vagrant/repos/community-any/PKGBUILD
(from rev 616483, molecule-vagrant/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: molecule-vagrant/repos/community-any/PKGBUILD (from rev 616483, molecule-vagrant/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-04-19 14:08:40 UTC (rev 616484)
@@ -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