Date: Friday, January 28, 2022 @ 10:07:47
  Author: jelle
Revision: 435268

archrelease: copy trunk to testing-x86_64

Added:
  pyalpm/repos/testing-x86_64/
  pyalpm/repos/testing-x86_64/PKGBUILD
    (from rev 435267, pyalpm/trunk/PKGBUILD)

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

Copied: pyalpm/repos/testing-x86_64/PKGBUILD (from rev 435267, 
pyalpm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-01-28 10:07:47 UTC (rev 435268)
@@ -0,0 +1,34 @@
+# Maintainer : Rémy Oudompheng <[email protected]>
+
+pkgname=pyalpm
+pkgver=0.10.6
+pkgrel=4
+pkgdesc="Python 3 bindings for libalpm"
+arch=('x86_64')
+url="https://gitlab.archlinux.org/archlinux/pyalpm";
+license=('GPL')
+makedepends=('git' 'python-setuptools' 'python-pytest' 'python-pkgconfig' 
'python-pytest-pacman')
+depends=('python' 'pacman')
+options=(debug)
+source=("git+https://gitlab.archlinux.org/archlinux/pyalpm.git#tag=$pkgver";)
+validpgpkeys=('E499C79F53C96A54E572FEE1C06086337C50773E')
+sha512sums=('SKIP')
+
+prepare() {
+  cd "${pkgname}"
+}
+
+build() {
+  cd "${pkgname}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.10" pytest
+}
+
+package() {
+  cd "${pkgname}"
+  python setup.py install --root=${pkgdir}
+}

Reply via email to