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

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:44:15 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:44:15
  Author: foutrelis
Revision: 140988

archrelease: copy trunk to community-staging-any

Added:
  pyudev/repos/community-staging-any/
  pyudev/repos/community-staging-any/PKGBUILD
    (from rev 140987, pyudev/trunk/PKGBUILD)

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

Copied: pyudev/repos/community-staging-any/PKGBUILD (from rev 140987, pyudev/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 16:44:15 UTC (rev 140988)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: examon <examon.mail[at]gmail[dot]com>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+# Contributor: Dwight Schauer <dschauer at ti.com>
+
+pkgbase=pyudev
+pkgname=('python-pyudev' 'python2-pyudev')
+pkgver=0.16.1
+pkgrel=4
+arch=('any')
+url='http://pyudev.readthedocs.org/en/latest/index.html'
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+optdepends=('python2-pyqt: PyQt integration'
+            'python2-gobject2: Glib integration'
+            'wxpython: WX integration')
+source=("http://pypi.python.org/packages/source/p/pyudev/pyudev-${pkgver}.tar.gz")
+md5sums=('4034de584b6d9efcbfc590a047c63285')
+
+build() {
+  cp -rf "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/python2-${pkgbase}-${pkgver}"
+}
+
+package_python-pyudev() {
+  pkgdesc='A pure Python 3.x binding to libudev'
+  depends=('python' 'udev')
+  optdepends=('pyqt: PyQt integration'
+              'python-gobject2: Glib integration')
+  replaces=('pyudev')
+  conflicts=('pyudev')
+  provides=('pyudev')
+  
+  cd ${pkgbase}-${pkgver}
+  python3 setup.py install --root "${pkgdir}" --optimize=1
+}
+
+package_python2-pyudev() {
+  pkgdesc='A pure Python 2.x binding to libudev'
+  depends=('python2' 'udev')
+  optdepends=('python2-pyqt: PyQt integration'
+              'python2-gobject2: Glib integration'
+              'wxpython: WX integration')
+  replaces=('python2-udev')
+  conflicts=('python2-udev')
+  provides=('python2-udev')
+  
+  cd python2-${pkgbase}-${pkgver}
+  python2 setup.py install --root "${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list