diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2019-02-23 01:00:06 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2019-02-23 01:00:06 -0500 |
commit | 4e300186d4dc24522ff0d5585b58b6cbedfc53fa (patch) | |
tree | 9d1be4068a30b339b5207eb199ea685526d2e1bc | |
parent | 32cf4ec29de3bc469c6f94da28c993158205ccc4 (diff) | |
download | abslibre-4e300186d4dc24522ff0d5585b58b6cbedfc53fa.tar.gz abslibre-4e300186d4dc24522ff0d5585b58b6cbedfc53fa.tar.bz2 abslibre-4e300186d4dc24522ff0d5585b58b6cbedfc53fa.zip |
pcr/python-lirc: Update 1.2.{1→3}
-rw-r--r-- | pcr/python-lirc/PKGBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/pcr/python-lirc/PKGBUILD b/pcr/python-lirc/PKGBUILD index 95094650d..8759e7791 100644 --- a/pcr/python-lirc/PKGBUILD +++ b/pcr/python-lirc/PKGBUILD @@ -1,28 +1,32 @@ -# $Id$ -# Contributor (Arch): Eelco Cramer <eelco@servicelab.org> -# Maintainer : Parabola Aurélien Desbrières <aurelien@xload.io> +# Contributor (AUR?): Eelco Cramer <eelco@servicelab.org> +# Maintainer: Parabola Aurélien Desbrières <aurelien@xload.io> +# Contributor: Luke Shumaker <lukeshu@lukeshu.com> pkgname=python-lirc -pkgver=1.2.1 +pkgver=1.2.3 +_gitver='commit=4091fe918f3eed2513dad008828565cace408d2f' # tag your releases, man pkgrel=1 pkgdesc="LIRC extension written in Cython for Python 3" -arch=('any') -url="https://github.com/piface/pifacecad" +arch=('x86_64' 'i686' 'armv7h') +url="https://github.com/tompreston/python-lirc" license=('GPL3') depends=('python' 'lirc' + 'git' 'cython') -makedepends=('python-distribute') -source=(https://github.com/tompreston/python-lirc/archive/v${pkgver}.tar.gz) +makedepends=('python-setuptools') +# We need to re-run cython for 3.7, and the needed files aren't in the PyPI archive +#source=("https://pypi.io/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +#sha256sums=(61481b36cc9c10cd215f7ddd93990f7c722af3d918c297bf2366fce1ca39b1f3) +source=("git+${url}#${_gitver}") +sha256sums=('SKIP') build() { - cd $srcdir/$pkgname-${pkgver} + cd "$srcdir/$pkgname" make py3 - python setup.py build } package() { - cd $srcdir/$pkgname-${pkgver} - python setup.py install --prefix=/usr --root=$pkgdir install + cd "$srcdir/$pkgname" + python setup.py install --root=$pkgdir --optimize=1 } - |