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

Antonio Rojas arojas at gemini.archlinux.org
Wed Aug 31 17:54:50 UTC 2022


    Date: Wednesday, August 31, 2022 @ 17:54:49
  Author: arojas
Revision: 1289197

archrelease: copy trunk to community-testing-any

Added:
  python-vagrant/repos/community-testing-any/
  python-vagrant/repos/community-testing-any/PKGBUILD
    (from rev 1289196, python-vagrant/trunk/PKGBUILD)

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

Copied: python-vagrant/repos/community-testing-any/PKGBUILD (from rev 1289196, python-vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-08-31 17:54:49 UTC (rev 1289197)
@@ -0,0 +1,32 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Morten Linderud <morten at linderud.pw>
+
+pkgname=python-vagrant
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Python bindings for interacting with Vagrant virtual machines."
+url="https://github.com/todddeluca/python-vagrant"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm-git-archive' 'python-wheel')
+#checkdepends=('vagrant')
+source=("${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
+sha512sums=('a90e8c10122f0119088f96b75dfc353b067273cf1dc05a2eb5dc60f8154656d6b2e0f91c941936dd482faf82ea3e00ea8492b76ff7ffab78d3a20e534a019fe9')
+
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+# Disabled, because they need Vagrant. Systemd-nspawn doesn't support this.
+#check() {
+#  cd "${srcdir}/${pkgbase}-${pkgver}"
+#  python setup.py test
+#}
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+}



More information about the arch-commits mailing list