[arch-commits] Commit in molecule-vagrant/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:53:01 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:53:01
  Author: felixonmars
Revision: 753233

archrelease: copy trunk to community-staging-any

Added:
  molecule-vagrant/repos/community-staging-any/
  molecule-vagrant/repos/community-staging-any/PKGBUILD
    (from rev 753230, molecule-vagrant/trunk/PKGBUILD)

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

Copied: molecule-vagrant/repos/community-staging-any/PKGBUILD (from rev 753230, molecule-vagrant/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:53:01 UTC (rev 753233)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+
+pkgname=molecule-vagrant
+_pyname=molecule-vagrant
+pkgver=0.2
+pkgrel=2
+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.9/site-packages/molecule_vagrant"
+}



More information about the arch-commits mailing list