Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6C1F57800FC for ; Fri, 5 Aug 2022 20:05:01 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salkield.uk; s=key1; t=1659729358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=qtNeclneGCZfwW/tYYNXR5OcAGE6Ocm9/qpZbxFc+2U=; b=QmWirx0Mj5mbqAB2jW6xSqTge3Z/i2789KHcPdUg18Pj72yfvHl2EVnTXnRd/ES0UU6o1S iEDUHMSyZCNeJZQimm67+AI13kqKsU3EJLozEc8iQcD6YF/+IXSHmI32s01VT2qoa/6sJ5 SyvT2RynV+JFT+sggHgOqDCgW3CpYpw= From: Edd Salkield To: alpine-aports@lists.alpinelinux.org Cc: Edd Salkield Subject: [PATCH] testing/py3-spidev: new aport Date: Fri, 5 Aug 2022 20:55:36 +0100 Message-Id: <20220805195535.6207-1-edd@salkield.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: salkield.uk 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 +# Maintainer: Edd Salkield +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