[arch-commits] Commit in pyudev/repos (2 files)
Jelle van der Waa
jelle at nymeria.archlinux.org
Tue Mar 18 10:35:14 UTC 2014
Date: Tuesday, March 18, 2014 @ 11:35:13
Author: jelle
Revision: 107618
archrelease: copy trunk to community-staging-any
Added:
pyudev/repos/community-staging-any/
pyudev/repos/community-staging-any/PKGBUILD
(from rev 107617, pyudev/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: pyudev/repos/community-staging-any/PKGBUILD (from rev 107617, pyudev/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2014-03-18 10:35:13 UTC (rev 107618)
@@ -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=3
+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