[arch-commits] Commit in pyalpm/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Jan 28 10:07:47 UTC 2022


    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 <remy at archlinux.org>
+
+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}
+}



More information about the arch-commits mailing list