[arch-commits] Commit in pytest-pacman/repos (extra-any extra-any/PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Apr 14 20:37:23 UTC 2021
Date: Wednesday, April 14, 2021 @ 20:37:23
Author: jelle
Revision: 412467
archrelease: copy trunk to extra-any
Added:
pytest-pacman/repos/extra-any/
pytest-pacman/repos/extra-any/PKGBUILD
(from rev 412466, pytest-pacman/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: pytest-pacman/repos/extra-any/PKGBUILD (from rev 412466, pytest-pacman/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2021-04-14 20:37:23 UTC (rev 412467)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=pytest-pacman
+pkgver=0.1
+pkgrel=1
+pkgdesc="pacman db pytest fixture"
+arch=('any')
+license=('MIT')
+url="https://gitlab.archlinux.org/archlinux/pytest-pacman"
+depends=(python python-pytest python-setuptools)
+makedepends=(git)
+source=(git+https://gitlab.archlinux.org/archlinux/pytest-pacman.git?signed#tag=v${pkgver})
+sha512sums=('SKIP')
+
+build() {
+ cd pytest-pacman
+ python setup.py build
+}
+
+package() {
+ cd pytest-pacman
+
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list