Package Details: python-pygatt 4.0.5-4

Git Clone URL: https://aur.archlinux.org/python-pygatt.git (read-only, click to copy)
Package Base: python-pygatt
Description: Python Bluetooth LE (Low Energy) and GATT Library
Upstream URL: https://github.com/peplin/pygatt
Licenses: custom:partly Apache, partly MIT
Submitter: jose1711
Maintainer: Bevan
Last Packager: Bevan
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-11 13:47 (UTC)
Last Updated: 2023-07-30 12:52 (UTC)

Latest Comments

1 2 Next › Last »

Bevan commented on 2023-07-30 12:54 (UTC)

MarsSeed: Right, that was some fallout from switching to the github tarball. Done now.

MarsSeed commented on 2023-07-30 12:47 (UTC)

@Bevan, thank you for the fixes.

One minor request: please kindly specify a local name for the downloaded source based on $pkgname-$pkgver; otherwise a version-only name like v4.0.5.tar.gz will be hard to identify by the user if they have a common SRCDEST cache directory, and might also clash with downloaded sources of other packages (if those also don't rename their sources tarball.)

MarsSeed commented on 2023-07-09 20:33 (UTC)

Oh, now I see @Bevan that you are not the maintainer here.

@jose1711, please remove the bogus 'enum-compat' from setup.py install_requires array.

MarsSeed commented on 2023-07-09 20:25 (UTC)

I mean, first remove the enum-compat entry and then build and install with setup.py.

MarsSeed commented on 2023-07-09 20:25 (UTC) (edited on 2023-07-09 20:26 (UTC) by MarsSeed)

And what happens if you patch the relevant file (which to me seems is setup.py) to remove the bogus requirement statement?

Bevan commented on 2023-02-28 22:31 (UTC)

Unfortunately, pygatt itself still thinks it needs enum-compat. It is still listed in /usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/requires.txt.

This leads to issues with python programs that use importlib / pkg_resources to launch such as meshtastic-python:

pkg_resources.DistributionNotFound: The 'enum-compat' distribution was not found and is required by pygatt

A simple test:

>>> from importlib.metadata import distribution  
>>> dist = distribution("pygatt")
>>> dist.requires
['pyserial', 'enum-compat', 'pexpect; extra == "GATTTOOL"']

jose1711 commented on 2022-06-05 21:28 (UTC)

@MarsSeed thank you, implemented

MarsSeed commented on 2022-06-05 18:56 (UTC)

I believe this should no longer need depends=python-enum-compat, only for Python 3.3 and earlier 3.x.

The oldest Python 3 in AUR is 3.6.

moormaster commented on 2019-11-22 20:55 (UTC)

Installing the package gives errors: ==> ERROR: makedepends can not be set inside a package function ==> ERROR: makedepends can not be set inside a package function