~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] testing/py3-spidev: new aport

Edd Salkield <edd@salkield.uk>
Details
Message ID
<20220805195535.6207-1-edd@salkield.uk>
DKIM signature
missing
Download raw message
Patch: +26 -0
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 <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
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
Reply to thread Export thread (mbox)