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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:55:39 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:55:39
  Author: felixonmars
Revision: 430021

archrelease: copy trunk to staging-x86_64

Added:
  pyalpm/repos/staging-x86_64/
  pyalpm/repos/staging-x86_64/PKGBUILD
    (from rev 430019, pyalpm/trunk/PKGBUILD)

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

Copied: pyalpm/repos/staging-x86_64/PKGBUILD (from rev 430019, pyalpm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-12-01 14:55:39 UTC (rev 430021)
@@ -0,0 +1,33 @@
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=pyalpm
+pkgver=0.10.6
+pkgrel=2
+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')
+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