[arch-commits] Commit in python-ansible-compat/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Mar 13 12:52:39 UTC 2022


    Date: Sunday, March 13, 2022 @ 12:52:39
  Author: dvzrv
Revision: 1150934

archrelease: copy trunk to community-any

Added:
  python-ansible-compat/repos/community-any/PKGBUILD
    (from rev 1150933, python-ansible-compat/trunk/PKGBUILD)
Deleted:
  python-ansible-compat/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-13 12:52:30 UTC (rev 1150933)
+++ PKGBUILD	2022-03-13 12:52:39 UTC (rev 1150934)
@@ -1,34 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=ansible-compat
-pkgname=python-ansible-compat
-pkgver=1.0.0
-pkgrel=2
-pkgdesc="Functions that help interacting with various versions of Ansible"
-arch=(any)
-url="https://github.com/ansible-community/ansible-compat"
-license=(MIT)
-depends=(python-subprocess-tee python-yaml)
-makedepends=(python-build python-install python-setuptools-scm python-setuptools-scm-git-archive python-wheel)
-checkdepends=(ansible python-flaky python-pytest python-pytest-mock)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('2ade2acbd1d7868eeb602c682afe92bc8c05480333205c328b4c2a1b09f970a4')
-b2sums=('56eb32314e310777e454a5f5e020cc4dfc485e6d5720d45e99734ce8cf238377f1ff443f9f78f5b9de947944564a7001294907c0e186fe94cd4561d4d348723e')
-
-build() {
-  cd "${_name}-$pkgver"
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd "${_name}-$pkgver"
-  export PYTHONPATH="build/lib:${PYTHONPATH}"
-  pytest -v -c /dev/null
-}
-
-package() {
-  cd "${_name}-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-ansible-compat/repos/community-any/PKGBUILD (from rev 1150933, python-ansible-compat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-13 12:52:39 UTC (rev 1150934)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=ansible-compat
+pkgname=python-ansible-compat
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Functions that help interacting with various versions of Ansible"
+arch=(any)
+url="https://github.com/ansible-community/ansible-compat"
+license=(MIT)
+depends=(python-subprocess-tee python-yaml)
+makedepends=(python-build python-installer python-setuptools-scm python-setuptools-scm-git-archive python-wheel)
+checkdepends=(ansible python-flaky python-pytest python-pytest-mock)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('4027da4ec2b524c263a801cc2dc6da2b98c2996cec258cef118a30c790467ed2')
+b2sums=('a88afd442ffa520037957a537be5a22c8644c1a3d3cc9e23645f74687db068113945869c271b93ad1fdc07ebc58f29d3137e606889a0eb01ad0e68f75237ba1f')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  export PYTHONPATH="build/lib:$PYTHONPATH"
+  pytest -v -c /dev/null
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}



More information about the arch-commits mailing list