diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/python_modules/python-pybluez/PKGBUILD | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/python_modules/python-pybluez/PKGBUILD')
-rw-r--r-- | abs/core/python_modules/python-pybluez/PKGBUILD | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/abs/core/python_modules/python-pybluez/PKGBUILD b/abs/core/python_modules/python-pybluez/PKGBUILD index e48f941..99594e6 100644 --- a/abs/core/python_modules/python-pybluez/PKGBUILD +++ b/abs/core/python_modules/python-pybluez/PKGBUILD @@ -3,29 +3,29 @@ # Contributor: cs-cam - me.at.camdaniel.com pkgbase=python-pybluez -pkgname=(python2-pybluez) -pkgver=0.20 +pkgname=(python-pybluez python2-pybluez) +pkgver=0.22 pkgrel=2 pkgdesc="Python wrapper for the BlueZ Bluetooth stack" -arch=('i686' 'x86_64') -url="http://code.google.com/p/pybluez/" +arch=('x86_64') +url="http://karulis.github.io/pybluez/" license=('GPL') -makedepends=('python2' 'bluez-libs') -source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.zip) -md5sums=('1e7fad332d50f089bbce69070c877ef6') +makedepends=('python-setuptools' 'python2-setuptools' 'bluez-libs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/karulis/pybluez/archive/$pkgver.tar.gz") +md5sums=('06f71ca6d4216ace671d5e588ec85887') -#package_python-pybluez() { -# depends=('python' 'bluez-libs') +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 -#} + 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 + cd "$srcdir"/pybluez-$pkgver + python2 setup.py install --root="$pkgdir" +# ln -s bluetooth/_bluetooth.so "$pkgdir"/usr/lib/python2.7/site-packages/_bluetooth.so } |