summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2019-11-03 19:54:48 -0800
committerKyle Manna2019-11-03 19:54:53 -0800
commitb23c07863657879563ab464172a235547e0a24ff (patch)
treef1ae2fe8d602c535ea2466edbb7863f3191299f4
parent1ac3e316837e43d6a0186ab19d4889f098b614fa (diff)
downloadaur-b23c07863657879563ab464172a235547e0a24ff.tar.gz
release: v3.3.2
* Follow upstream. * Fix the build slightly.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD18
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2df5742d9dd..27800a40946 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-can
pkgdesc = Python library to access CAN bus via SocketCAN, Kvaser's CANLIB, or CAN over Serial
- pkgver = 3.3.0
+ pkgver = 3.3.2
pkgrel = 1
url = https://pypi.python.org/pypi/python-can
arch = any
@@ -9,8 +9,8 @@ pkgbase = python-can
makedepends = python2-setuptools
depends = python
depends = python-aenum
- source = https://pypi.python.org/packages/source/p/python-can/python-can-3.3.0.tar.gz
- sha512sums = 87dee75655366efde2e6b79c214744304e0fe4c7b931ba50f617195fda4192c7b1519ef1e652a81f391378f3ea68c43a6470eefba5ebd954cec7189b9b466fca
+ source = https://pypi.python.org/packages/source/p/python-can/python-can-3.3.2.tar.gz
+ sha512sums = 0247e6d0fd76ac412c46ea5b0a6b973ab045546d5b5e50d34d588e4adb7ad1ad8d652a290e33a3dfe2a963ac538b32c29d1e3cfbf5143202d1ec5d434a168751
pkgname = python-can
diff --git a/PKGBUILD b/PKGBUILD
index 798040a1045..2d413602027 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=can
pkgname=(python-${_pkgname} python2-${_pkgname})
-pkgver=3.3.0
+pkgver=3.3.2
pkgrel=1
pkgdesc="Python library to access CAN bus via SocketCAN, Kvaser's CANLIB, or CAN over Serial"
arch=('any')
@@ -12,17 +12,15 @@ makedepends=('python-setuptools' 'python2-setuptools')
depends=('python'
'python-aenum')
source=(https://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('87dee75655366efde2e6b79c214744304e0fe4c7b931ba50f617195fda4192c7b1519ef1e652a81f391378f3ea68c43a6470eefba5ebd954cec7189b9b466fca')
+sha512sums=('0247e6d0fd76ac412c46ea5b0a6b973ab045546d5b5e50d34d588e4adb7ad1ad8d652a290e33a3dfe2a963ac538b32c29d1e3cfbf5143202d1ec5d434a168751')
-prepare() {
- cp -a "${srcdir}/python-${_pkgname}-${pkgver}"{,-py2}
-}
-
-build() {
- cd "${srcdir}/python-${_pkgname}-${pkgver}"
+build-python-can() {
+ cd "${srcdir}/python-${_pkgname}-${pkgver}"
python setup.py build
+}
- cd "${srcdir}/python-${_pkgname}-${pkgver}-py2"
+build-python2-can() {
+ cd "${srcdir}/python-${_pkgname}-${pkgver}"
python2 setup.py build
}
@@ -35,7 +33,7 @@ package_python-can() {
}
package_python2-can() {
- cd "${srcdir}/python-${_pkgname}-${pkgver}-py2"
+ cd "${srcdir}/python-${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
# Clean-up cruft, how can we make setup.py not do this?