[arch-commits] Commit in python-pytest-pacman/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 11:34:24 UTC 2021


    Date: Wednesday, December 1, 2021 @ 11:34:23
  Author: felixonmars
Revision: 429946

archrelease: copy trunk to staging-any

Added:
  python-pytest-pacman/repos/staging-any/
  python-pytest-pacman/repos/staging-any/PKGBUILD
    (from rev 429945, python-pytest-pacman/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-pytest-pacman/repos/staging-any/PKGBUILD (from rev 429945, python-pytest-pacman/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-12-01 11:34:23 UTC (rev 429946)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-pytest-pacman
+pkgver=0.1
+pkgrel=2
+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"
+}



More information about the arch-commits mailing list