Package Details: python-spidev 3.5-1

Git Clone URL: https://aur.archlinux.org/python-spidev.git (read-only, click to copy)
Package Base: python-spidev
Description: Python bindings for Linux SPI access through spidev
Upstream URL: https://github.com/doceme/py-spidev
Licenses: GPL
Submitter: rpodgorny
Maintainer: None
Last Packager: rpodgorny
Votes: 2
Popularity: 0.000000
First Submitted: 2014-02-09 18:12 (UTC)
Last Updated: 2020-08-20 21:27 (UTC)

Latest Comments

1 2 Next › Last »

lafleur commented on 2022-11-18 10:40 (UTC)

Ahem this is 2022 and python-setuptools is still missing as a dependency

fl4co commented on 2021-12-08 18:22 (UTC)

This package compiles for aarch64, can you add this architecture?

And1G commented on 2020-11-02 00:11 (UTC)

Setuptools is missing as a dependency:

==> Starting build()... Traceback (most recent call last): File "setup.py", line 3, in <module> from setuptools import setup, Extension ModuleNotFoundError: No module named 'setuptools' ==> ERROR: A failure occurred in build().

Works after adding python-setuptools to the depends array.

rpodgorny commented on 2020-08-20 21:29 (UTC)

yep, it contains a .so object so 'any' arch is no applicable. ...but you can always build with --ignorearch to solve your problem.

rpodgorny commented on 2020-08-20 21:27 (UTC)

updated

fryfrog commented on 2020-08-20 15:50 (UTC) (edited on 2020-08-20 15:55 (UTC) by fryfrog)

And if this package doesn't have any binary, I think the arch can just be 'any'?

Edit: Never mind, it does actually build something so I'd request adding aarch64 instead. :)

rpodgorny commented on 2018-01-05 14:14 (UTC)

fixed. sorry, i must have missed the initial message...

jwhendy commented on 2018-01-03 04:21 (UTC) (edited on 2018-01-03 04:23 (UTC) by jwhendy)

Please. Fix the PKGBUILD. From digging around, I think Arch is suggesting to add a _name variable for python packages vs. the hardcoded solution proposed by razer:

Namely:

pkgname=python-spidev

_name=spidev

...

cd "$srcdir/$_name-$pkgver"

razer commented on 2016-10-23 17:02 (UTC)

Need change in path to get it building and installing (see cd commands below) # Maintainer: Radek Podgorny <radek@podgorny.cz> pkgname=python-spidev pkgver=3.2 pkgrel=2 pkgdesc="Python bindings for Linux SPI access through spidev" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url="https://github.com/doceme/py-spidev" license=('GPL') depends=('python') source=('https://pypi.python.org/packages/source/s/spidev/spidev-3.2.tar.gz') md5sums=('f601676f1bb48b9aa3b3897f95216365') build() { cd "$srcdir/spidev-$pkgver" python setup.py build } package() { cd "$srcdir/spidev-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 }

rpodgorny commented on 2016-04-21 12:21 (UTC)

@srgk: thanks for the new pkgbuild!