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

Jaroslav Lichtblau jlichtblau at archlinux.org
Sat Sep 19 19:23:57 UTC 2015


    Date: Saturday, September 19, 2015 @ 21:23:57
  Author: jlichtblau
Revision: 141092

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: python-gammu/repos/community-staging-i686/PKGBUILD (from rev 141091, python-gammu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-19 19:23:57 UTC (rev 141092)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 118184 2014-09-02 11:14:17Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgbase=python-gammu
+pkgname=('python-gammu' 'python2-gammu')
+pkgver=2.4
+pkgrel=2
+pkgdesc="Python bindings for Gammu library"
+arch=('i686' 'x86_64')
+url="http://wammu.eu/python-gammu/"
+license=('GPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'gammu')
+source=("https://pypi.python.org/packages/source/p/python-gammu/python-gammu-$pkgver.tar.gz")
+md5sums=('a396cd7a8944d1133a2c7713a7333a35')
+
+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() {
+  cd "$srcdir/python-gammu-$pkgver"
+  python setup.py test || warning "Tests failed"
+
+  cd "$srcdir/python-gammu-$pkgver-py2"
+  python2 setup.py test || warning "Tests failed"
+}
+
+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
+}
+
+# vim:set ts=2 sw=2 et:

Copied: python-gammu/repos/community-staging-x86_64/PKGBUILD (from rev 141091, python-gammu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-19 19:23:57 UTC (rev 141092)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 118184 2014-09-02 11:14:17Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgbase=python-gammu
+pkgname=('python-gammu' 'python2-gammu')
+pkgver=2.4
+pkgrel=2
+pkgdesc="Python bindings for Gammu library"
+arch=('i686' 'x86_64')
+url="http://wammu.eu/python-gammu/"
+license=('GPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'gammu')
+source=("https://pypi.python.org/packages/source/p/python-gammu/python-gammu-$pkgver.tar.gz")
+md5sums=('a396cd7a8944d1133a2c7713a7333a35')
+
+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() {
+  cd "$srcdir/python-gammu-$pkgver"
+  python setup.py test || warning "Tests failed"
+
+  cd "$srcdir/python-gammu-$pkgver-py2"
+  python2 setup.py test || warning "Tests failed"
+}
+
+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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list