-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db5b594
commit 4b76830
Showing
5 changed files
with
61 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
pkgbase = python-pygatt | ||
pkgdesc = Python Bluetooth LE (Low Energy) and GATT Library | ||
pkgver = 4.0.5 | ||
pkgrel = 4 | ||
pkgver = 5.0.0 | ||
pkgrel = 1 | ||
url = https://github.com/peplin/pygatt | ||
arch = any | ||
license = custom:partly Apache, partly MIT | ||
checkdepends = python-mock | ||
checkdepends = python-pytest | ||
makedepends = python-build | ||
makedepends = python-installer | ||
makedepends = python-wheel | ||
makedepends = python-nose | ||
depends = python-pexpect | ||
depends = python-pyserial | ||
source = python-pygatt-4.0.5.tar.gz::https://github.com/peplin/pygatt/archive/refs/tags/v4.0.5.tar.gz | ||
source = python-pygatt-5.0.0.tar.gz::https://github.com/peplin/pygatt/archive/refs/tags/v5.0.0.tar.gz | ||
source = 0001-Remove-dependency-on-enum-compat.patch | ||
sha256sums = fdfca26688b55f8d63800dbca6989bfbfff7796e0dcba3b020daffea34e9f224 | ||
sha256sums = 1485111d418ac0812751426bbbec76ef56f8d79b7740f41009f7f6cb7f2a1e1a | ||
source = 0002-Relax-version-requirements.patch | ||
sha256sums = 94d02ec4de32a81d1f5adc87664091a38e3cf0c2680dfe9b313c4de797e5e737 | ||
sha256sums = 3d73f29806f1ce8d9f37927b2c9243f2ec2fd783730708ad0e9d96afa0720e2c | ||
sha256sums = 8928f19c185be8dc2ba4583c88cb3d1ae580667f2d902c50c72d95e1fdba6061 | ||
|
||
pkgname = python-pygatt |
29 changes: 15 additions & 14 deletions
29
python-pygatt/0001-Remove-dependency-on-enum-compat.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
From ebdee7042daa3262b9ae75b602fe491caae1ee09 Mon Sep 17 00:00:00 2001 | ||
From 5e3524df0d53c797d60785b5c158e9db91d48dd6 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Michael=20La=C3=9F?= <[email protected]> | ||
Date: Sun, 30 Jul 2023 11:40:40 +0200 | ||
Subject: [PATCH] Remove dependency on enum-compat | ||
Subject: [PATCH 1/2] Remove dependency on enum-compat | ||
|
||
For Python >=3.4, this package is a no-op. | ||
--- | ||
setup.py | 1 - | ||
1 file changed, 1 deletion(-) | ||
setup.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 2821752..66b55e2 100644 | ||
index 4d7f9a0..4668d93 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -26,7 +26,6 @@ setup( | ||
url='https://github.com/peplin/pygatt', | ||
install_requires=[ | ||
'pyserial', | ||
- 'enum-compat' | ||
], | ||
setup_requires=[ | ||
'coverage >= 3.7.1', | ||
@@ -24,7 +24,7 @@ setup( | ||
license="Apache 2.0 and MIT", | ||
long_description=readme + "\n\n" + changelog, | ||
url="https://github.com/peplin/pygatt", | ||
- install_requires=["pyserial", "enum-compat"], | ||
+ install_requires=["pyserial"], | ||
setup_requires=["coverage == 5.5", "pytest == 8.3.2"], | ||
extras_require={ | ||
"GATTTOOL": ["pexpect"], | ||
-- | ||
2.41.0 | ||
2.46.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 06f20ccb9329bed7f3f18f7d8569e22c2690164f Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Michael=20La=C3=9F?= <[email protected]> | ||
Date: Tue, 6 Aug 2024 17:30:57 +0200 | ||
Subject: [PATCH 2/2] Relax version requirements | ||
|
||
--- | ||
setup.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 4668d93..6ebf2fb 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -25,7 +25,7 @@ setup( | ||
long_description=readme + "\n\n" + changelog, | ||
url="https://github.com/peplin/pygatt", | ||
install_requires=["pyserial"], | ||
- setup_requires=["coverage == 5.5", "pytest == 8.3.2"], | ||
+ setup_requires=["coverage >= 5.5", "pytest >= 8.3.2"], | ||
extras_require={ | ||
"GATTTOOL": ["pexpect"], | ||
}, | ||
-- | ||
2.46.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters