Package Details: python-pygatt 5.0.0-2

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: Apache-2.0 AND MIT
Submitter: jose1711
Maintainer: Bevan
Last Packager: Bevan
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-11 13:47 (UTC)
Last Updated: 2024-11-29 18:52 (UTC)

Latest Comments

1 2 Next › Last »

Bevan commented on 2024-11-29 18:53 (UTC)

@Auerhuhn: Those are all good suggestions. Thanks! They should all be implemented in 5.0.0-2.

Auerhuhn commented on 2024-11-29 11:51 (UTC)

@Bevan: would you mind adding python-setuptools to makedepends and python-coverage to checkdepends?

Additionally, according to namcap, python should be added to depends (even though it’s pulled a transitive dependency). It also complains about license not being a proper SPDX license expression, so I figure what you meant to declare in license is Apache-2.0 AND MIT.

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.