Date: Thursday, January 5, 2023 @ 14:49:13
Author: alucryd
Revision: 1378290
archrelease: copy trunk to community-any
Added:
python-can/repos/
python-can/repos/community-any/
python-can/repos/community-any/PKGBUILD
(from rev 1378289, python-can/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: python-can/repos/community-any/PKGBUILD (from rev 1378289,
python-can/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2023-01-05 14:49:13 UTC (rev 1378290)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Kyle Manna <kyle[at]kylemanna[d0t]com>
+
+pkgname=python-can
+pkgver=4.1.0
+pkgrel=1
+pkgdesc='Controller Area Network support for Python'
+arch=(any)
+url=https://github.com/hardbyte/python-can
+license=(LGPL3)
+depends=(
+ python
+ python-aenum
+ python-setuptools
+ python-typing_extensions
+ python-wrapt
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-wheel
+)
+_tag=881606150316f3fce37b5605ea2cbdd4620a811f
+source=(git+https://github.com/hardbyte/python-can.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd python-can
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd python-can
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" python-can/dist/*.whl
+}
+
+# vim: ts=2 sw=2 et: