~alpine/aports

testing/py3-spidev: new aport v1 PROPOSED

Edd Salkield: 1
 testing/py3-spidev: new aport

 1 files changed, 26 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4131/mbox | git am -3
Learn more about email & git

[PATCH] testing/py3-spidev: new aport Export this patch

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