[arch-commits] Commit in python2-pybluez/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Feb 10 11:18:37 UTC 2014


    Date: Monday, February 10, 2014 @ 12:18:37
  Author: spupykin
Revision: 105560

upgpkg: python-pybluez 0.20-1

upd

Modified:
  python2-pybluez/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-10 11:18:34 UTC (rev 105559)
+++ PKGBUILD	2014-02-10 11:18:37 UTC (rev 105560)
@@ -2,22 +2,30 @@
 # Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
 # Contributor: cs-cam - me.at.camdaniel.com
 
-pkgname=python2-pybluez
-pkgver=0.18
-pkgrel=6
+pkgbase=python-pybluez
+pkgname=(python-pybluez python2-pybluez)
+pkgver=0.20
+pkgrel=1
 pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
 arch=('i686' 'x86_64')
 url="http://code.google.com/p/pybluez/"
 license=('GPL')
-provides=('pybluez')
-conflicts=('pybluez')
-replaces=('pybluez')
-depends=('python2' 'bluez-libs')
-source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz)
-md5sums=('be8c8ce615c3189fda1aaf3d568314b2')
+makedepends=('python' 'python2' 'bluez-libs')
+source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.zip)
+md5sums=('1e7fad332d50f089bbce69070c877ef6')
 
-package() {
+package_python-pybluez() {
+  depends=('python' 'bluez-libs')
+
   cd $srcdir/PyBluez-$pkgver
+  python setup.py install --root=$pkgdir
+#  ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python3.3/site-packages/_bluetooth.so
+}
+
+package_python2-pybluez() {
+  depends=('python2' 'bluez-libs')
+
+  cd $srcdir/PyBluez-$pkgver
   python2 setup.py install --root=$pkgdir
-  ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.7/site-packages/_bluetooth.so
+#  ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.7/site-packages/_bluetooth.so
 }




More information about the arch-commits mailing list