[arch-commits] Commit in python-pybluez/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Feb 28 18:43:36 UTC 2021
Date: Sunday, February 28, 2021 @ 18:43:36
Author: eschwartz
Revision: 875989
python-pybluez: drop now-unneeded python2 package
Modified:
python-pybluez/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-28 18:16:55 UTC (rev 875988)
+++ PKGBUILD 2021-02-28 18:43:36 UTC (rev 875989)
@@ -1,8 +1,7 @@
# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: cs-cam - me.at.camdaniel.com
-pkgbase=python-pybluez
-pkgname=(python-pybluez python2-pybluez)
+pkgname=python-pybluez
pkgver=0.22
pkgrel=6
pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
@@ -9,22 +8,13 @@
arch=('x86_64')
url="http://karulis.github.io/pybluez/"
license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'bluez-libs')
+depends=('python' 'bluez-libs')
+makedepends=('python-setuptools')
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