summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2021-03-04 18:15:30 -0800
committerKyle Manna2021-03-04 18:15:30 -0800
commitc906d6a4194130670dac7d161078b2bff18ad5a7 (patch)
tree2d20fa2a4b7ed1cdfdbcc57f9a164fdb9e3087cc
parent644573a133e9d03820a0d02de4376317f8bb64fa (diff)
downloadaur-c906d6a4194130670dac7d161078b2bff18ad5a7.tar.gz
release: v3.3.4
* Follow upstream. * Drop python2
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD21
2 files changed, 7 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a0151f297d..4be213b6012 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,15 @@
pkgbase = python-can
pkgdesc = Python library to access CAN bus via SocketCAN, Kvaser's CANLIB, or CAN over Serial
- pkgver = 3.3.3
+ pkgver = 3.3.4
pkgrel = 1
url = https://pypi.python.org/pypi/python-can
arch = any
license = LGPLv3
makedepends = python-setuptools
- makedepends = python2-setuptools
depends = python
depends = python-aenum
- source = https://pypi.python.org/packages/source/p/python-can/python-can-3.3.3.tar.gz
- sha512sums = 0827bf97ea6f76665ae38b66236fcccac867eeb14bebba9b10cd9f98c8f4294cab1efe3761f332aadce2c8be90b8d90edaab2919392561907e90f04721eef298
+ source = https://pypi.python.org/packages/source/p/python-can/python-can-3.3.4.tar.gz
+ sha512sums = cc4084c0348e1e0ef2372ebd863f2dfc85cae7315beb15d68f6e7d9531f05318d4307624bca13b3ae711ce219d3434183cd14d758d6073bf03db69d347eb7e6c
pkgname = python-can
-pkgname = python2-can
-
diff --git a/PKGBUILD b/PKGBUILD
index 2ff564a4e1d..624bf799e46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,24 @@
# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
_pkgname=can
-pkgname=(python-${_pkgname} python2-${_pkgname})
-pkgver=3.3.3
+pkgname=python-${_pkgname}
+pkgver=3.3.4
pkgrel=1
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' 'python2-setuptools')
+makedepends=('python-setuptools')
depends=('python'
'python-aenum')
source=(https://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('0827bf97ea6f76665ae38b66236fcccac867eeb14bebba9b10cd9f98c8f4294cab1efe3761f332aadce2c8be90b8d90edaab2919392561907e90f04721eef298')
+sha512sums=('cc4084c0348e1e0ef2372ebd863f2dfc85cae7315beb15d68f6e7d9531f05318d4307624bca13b3ae711ce219d3434183cd14d758d6073bf03db69d347eb7e6c')
build-python-can() {
cd "${srcdir}/python-${_pkgname}-${pkgver}"
python setup.py build
}
-build-python2-can() {
- cd "${srcdir}/python-${_pkgname}-${pkgver}"
- python2 setup.py build
-}
-
package_python-can() {
cd "${srcdir}/python-${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
@@ -31,11 +26,3 @@ package_python-can() {
# Clean-up cruft, how can we make setup.py not do this?
rm -rf ${pkgdir}/usr/lib/python*/site-packages/{examples,test}
}
-
-package_python2-can() {
- 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?
- rm -rf ${pkgdir}/usr/lib/python*/site-packages/{examples,test}
-}