[arch-commits] Commit in (4 files)
Jelle van der Waa
jelle at archlinux.org
Wed Apr 14 20:36:11 UTC 2021
Date: Wednesday, April 14, 2021 @ 20:36:11
Author: jelle
Revision: 412464
pytest-pacman
Test dep for arch-signoff
Added:
pytest-pacman/
pytest-pacman/repos/
pytest-pacman/trunk/
pytest-pacman/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: pytest-pacman/trunk/PKGBUILD
===================================================================
--- pytest-pacman/trunk/PKGBUILD (rev 0)
+++ pytest-pacman/trunk/PKGBUILD 2021-04-14 20:36:11 UTC (rev 412464)
@@ -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