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

Eli Schwartz eschwartz at archlinux.org
Sun Feb 28 19:05:57 UTC 2021


    Date: Sunday, February 28, 2021 @ 19:05:57
  Author: eschwartz
Revision: 876018

upgpkg: python-pybluez 0.23-1: switch to correct upstream and update version

Don't use the personal fork of the main developer, which is very out of date.
Acquire various likely important maintenance fixes for python3.
Add TOFU to checksums.

Modified:
  python-pybluez/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 19:05:14 UTC (rev 876017)
+++ PKGBUILD	2021-02-28 19:05:57 UTC (rev 876018)
@@ -1,25 +1,27 @@
 # Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
 # Contributor: cs-cam - me.at.camdaniel.com
 
+_pkgname=PyBluez
 pkgname=python-pybluez
-pkgver=0.22
-pkgrel=7
+pkgver=0.23
+pkgrel=1
 pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
 arch=('x86_64')
-url="http://karulis.github.io/pybluez/"
+url="https://pybluez.github.io/"
 license=('GPL')
 depends=('python' 'bluez-libs')
 makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/karulis/pybluez/archive/$pkgver.tar.gz")
-md5sums=('06f71ca6d4216ace671d5e588ec85887')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de')
+b2sums=('6a234d5c41dc0bb9f08559431eafcf1d1fb1c881d2cb912cc048e2717bfe8a06f09aae045d2961c9ba5e087422cfc8249a1907368eb6dc45942175bcf97b1841')
 
 build() {
-  cd "$srcdir"/pybluez-$pkgver
+  cd "$srcdir"/$_pkgname-$pkgver
   python setup.py build
 }
 
 package_python-pybluez() {
-  cd "$srcdir"/pybluez-$pkgver
+  cd "$srcdir"/$_pkgname-$pkgver
   python setup.py install --root="$pkgdir"
 #  ln -s bluetooth/_bluetooth.so "$pkgdir"/usr/lib/python3.3/site-packages/_bluetooth.so
 }



More information about the arch-commits mailing list