Date: Thursday, April 6, 2023 @ 13:32:07
Author: felixonmars
Revision: 472750
archrelease: copy trunk to staging-any
Added:
python-pytest-pacman/repos/staging-any/
python-pytest-pacman/repos/staging-any/PKGBUILD
(from rev 472749, python-pytest-pacman/trunk/PKGBUILD)
python-pytest-pacman/repos/staging-any/keys/
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-pytest-pacman/repos/staging-any/PKGBUILD (from rev 472749,
python-pytest-pacman/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2023-04-06 13:32:07 UTC (rev 472750)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <[email protected]>
+
+pkgname=python-pytest-pacman
+pkgver=0.1
+pkgrel=4
+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})
+validpgpkeys=("E499C79F53C96A54E572FEE1C06086337C50773E")
+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"
+}