[arch-commits] Commit in python-gammu/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Fri Jul 10 16:57:18 UTC 2020


    Date: Friday, July 10, 2020 @ 16:57:18
  Author: jlichtblau
Revision: 663121

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-10 16:57:03 UTC (rev 663120)
+++ PKGBUILD	2020-07-10 16:57:18 UTC (rev 663121)
@@ -1,50 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux>
-
-pkgbase=python-gammu
-pkgname=('python-gammu' 'python2-gammu')
-pkgver=2.12
-pkgrel=2
-pkgdesc="Python bindings for Gammu library"
-arch=('x86_64')
-url="https://wammu.eu/python-gammu/"
-license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'gammu')
-checkdepends=('libdbi-drivers')
-source=(https://dl.cihar.com/python-gammu/python-gammu-$pkgver.tar.bz2)
-sha256sums=('efca72146ef5a5f9c7e7763374f28a3f15c6e80a0b7f07ce4fda52863b0cd4d2')
-
-prepare() {
-  cp -a python-gammu-$pkgver{,-py2}
-}
-
-build() {
-  cd "${srcdir}"/python-gammu-$pkgver
-  python setup.py build
-
-  cd "${srcdir}"/python-gammu-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # tests can be flaky on slower hardware due to timing
-  cd "${srcdir}"/python-gammu-$pkgver
-  python setup.py test 
-
-  cd "${srcdir}"/python-gammu-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-gammu() {
-  depends=('python' 'gammu')
-
-  cd python-gammu-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-gammu() {
-  depends=('python2' 'gammu')
-
-  cd python-gammu-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-}

Copied: python-gammu/repos/community-x86_64/PKGBUILD (from rev 663120, python-gammu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-10 16:57:18 UTC (rev 663121)
@@ -0,0 +1,31 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux>
+
+pkgname=python-gammu
+pkgver=3.0
+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=(https://dl.cihar.com/python-gammu/python-gammu-$pkgver.tar.bz2)
+sha256sums=('c2b2c316a279b30f4d0bb5e8f7e4e36362449ce82d772b615e5bf3e55c152c23')
+
+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