Subject: [PATCH] testing/py3-spidev: new aport

From: Edd Salkield <[email-masked]>
Date: Fri, 5 Aug 2022 20:55:36 +0100

python module for interfacing with SPI devices from user space
https://github.com/doceme/py-spidev
---
 testing/py3-spidev/APKBUILD | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testing/py3-spidev/APKBUILD

diff --git a/testing/py3-spidev/APKBUILD b/testing/py3-spidev/APKBUILD
new file mode 100644
index 0000000000..3f735f1ca9
--- /dev/null
+++ b/testing/py3-spidev/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Edd Salkield <[email-masked]>
+# Maintainer: Edd Salkield <[email-masked]>
+pkgname=py3-spidev
+pkgver=3.3
+pkgrel=0
+pkgdesc="python module for interfacing with SPI devices from user space"
+url="https://github.com/doceme/py-spidev"
+arch="all"
+license="MIT"
+depends="python3 linux-headers"
+makedepends="python3-dev"
+source="https://github.com/doceme/py-spidev/archive/v$pkgver/py-spidev-v$pkgver.tar.gz"
+builddir="$srcdir/py-spidev-$pkgver/"
+options="!check"	# no upstream tests
+
+build() {
+	python3 setup.py build
+}
+
+package() {
+	python3 setup.py install --skip-build --root="$pkgdir"
+}
+
+sha512sums="
+756ace8938d8f60ebf2ea36e3088af0ec8a4c85a520f256829a9c529ae067bc04c4b445512688ee3d4996060285beea053c7f4707f50627b1122a94ee5556ed1  py-spidev-v3.3.tar.gz
+"
-- 
2.36.1