[arch-commits] Commit in molecule-vagrant/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Feb 21 15:31:42 UTC 2022
Date: Monday, February 21, 2022 @ 15:31:42
Author: dvzrv
Revision: 1135558
upgpkg: molecule-vagrant 1.0.0-2: Rebuild to fix typo in pkgdesc: https://bugs.archlinux.org/task/73912
Modified:
molecule-vagrant/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-21 12:16:40 UTC (rev 1135557)
+++ PKGBUILD 2022-02-21 15:31:42 UTC (rev 1135558)
@@ -4,8 +4,8 @@
pkgname=molecule-vagrant
pkgver=1.0.0
-pkgrel=1
-pkgdesc="Molecule Vangrant Driver"
+pkgrel=2
+pkgdesc="Molecule Vagrant Driver"
arch=(any)
url="https://github.com/ansible-community/molecule-vagrant"
license=(MIT)
@@ -13,7 +13,7 @@
makedepends=(python-build python-installer python-setuptools
python-setuptools-scm python-setuptools-scm-git-archive python-toml python-wheel)
checkdepends=(ansible python-filelock python-pytest)
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz)
sha512sums=('de55cea15c5df876b21f91f7f27b6de88896ea301a9e7c240a82abfaaea44d09a6ea85941a5ff3a84cb28991c77e344f9c2aa27f852f652c98e70f51787c8ca5')
b2sums=('6267554e55717ecde97b062867f4a72691ffd912155fe05d7f50f61682b46ed955c26789819af1e3c386dea4f89e606810c19a65212859ac6d75a491c3ef927d')
@@ -25,15 +25,15 @@
check() {
cd $pkgname-$pkgver
local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- local _test_dir="${PWD}/test_dir"
+ local _test_dir="$PWD/test_dir"
# install to test location
- mkdir -vp "${_test_dir}"
+ mkdir -vp "$_test_dir"
python -m installer --destdir="$_test_dir" dist/*.whl
- export PYTHONPATH="${_test_dir}/${_site_packages}:${PYTHONPATH}"
+ export PYTHONPATH="$_test_dir/$_site_packages:$PYTHONPATH"
# ignore tests that require running molecule
- pytest -v "${_test_dir}/${_site_packages}/molecule_vagrant/test/" --ignore "${_test_dir}/${_site_packages}/molecule_vagrant/test/functional/" -c /dev/null
+ pytest -v "$_test_dir/$_site_packages/molecule_vagrant/test/" --ignore "$_test_dir/$_site_packages/molecule_vagrant/test/functional/" -c /dev/null
}
package() {
More information about the arch-commits
mailing list