[arch-commits] Commit in python-gammu/repos (2 files)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 3 15:55:47 UTC 2021


    Date: Friday, December 3, 2021 @ 15:55:47
  Author: jelle
Revision: 1064829

archrelease: copy trunk to community-staging-x86_64

Added:
  python-gammu/repos/community-staging-x86_64/
  python-gammu/repos/community-staging-x86_64/PKGBUILD
    (from rev 1064828, python-gammu/trunk/PKGBUILD)

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

Copied: python-gammu/repos/community-staging-x86_64/PKGBUILD (from rev 1064828, python-gammu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-03 15:55:47 UTC (rev 1064829)
@@ -0,0 +1,31 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux>
+
+pkgname=python-gammu
+pkgver=3.2.4
+pkgrel=1
+pkgdesc="Python bindings for Gammu library"
+arch=('x86_64')
+url="https://wammu.eu/python-gammu/"
+license=('GPL')
+depends=('python' 'gammu')
+makedepends=('python-setuptools')
+checkdepends=('libdbi-drivers')
+source=($pkgname-$pkgver.tar.gz::https://github.com/gammu/$pkgname/archive/refs/tags/$pkgver.tar.gz)
+sha512sums=('9d76b402c50018cc52476376952edebb6b0934aa374ea2a2177f5497d0949fcc77644aa2a35c7402b3f2179962d903409b7b1949c5e85a0e5130058d34f89664')
+
+build() {
+  cd "${srcdir}"/python-gammu-$pkgver
+  python setup.py build
+}
+
+check() {
+  # tests can be flaky on slower hardware due to timing
+  cd "${srcdir}"/python-gammu-$pkgver
+  python setup.py test 
+}
+
+package() {
+  cd "${srcdir}"/python-gammu-$pkgver
+  python setup.py install --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list