summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38be4fe12b4a47b1abea6ec9ac6df6c6f4da9778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>

pkgname=python-can
pkgver=3.3.4
pkgrel=3
pkgdesc="Python library to access CAN bus via SocketCAN, Kvaser's CANLIB, or CAN over Serial"
arch=('any')
url="https://pypi.python.org/pypi/python-can"
license=('LGPLv3')
makedepends=('python-setuptools')
depends=('python' 'python-aenum' 'python-wrapt')
source=(https://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('cc4084c0348e1e0ef2372ebd863f2dfc85cae7315beb15d68f6e7d9531f05318d4307624bca13b3ae711ce219d3434183cd14d758d6073bf03db69d347eb7e6c')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    python setup.py build
}

package() {
	 cd "${srcdir}/${pkgname}-${pkgver}"
	 python setup.py install --root="${pkgdir}" --optimize=1
}