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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:20:58 UTC 2019


    Date: Monday, November 4, 2019 @ 08:20:57
  Author: felixonmars
Revision: 523693

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pybluez/repos/community-staging-x86_64/
  python-pybluez/repos/community-staging-x86_64/PKGBUILD
    (from rev 523692, python-pybluez/trunk/PKGBUILD)

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

Copied: python-pybluez/repos/community-staging-x86_64/PKGBUILD (from rev 523692, python-pybluez/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-04 08:20:57 UTC (rev 523693)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: cs-cam - me.at.camdaniel.com
+
+pkgbase=python-pybluez
+pkgname=(python-pybluez python2-pybluez)
+pkgver=0.22
+pkgrel=4
+pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
+arch=('x86_64')
+url="http://karulis.github.io/pybluez/"
+license=('GPL')
+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')
+
+  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
+}



More information about the arch-commits mailing list