Date: Tuesday, February 18, 2020 @ 20:31:05 Author: felixonmars Revision: 576156
archrelease: copy trunk to community-any Added: python-periphery/repos/community-any/PKGBUILD (from rev 576155, python-periphery/trunk/PKGBUILD) Deleted: python-periphery/repos/community-any/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-18 20:30:47 UTC (rev 576155) +++ PKGBUILD 2020-02-18 20:31:05 UTC (rev 576156) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-periphery -pkgver=2.0.0 -pkgrel=1 -pkgdesc="A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux" -url="https://github.com/vsergeev/python-periphery" -license=('MIT') -arch=('any') -depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner') -source=("$pkgname-$pkgver.tar.gz::https://github.com/vsergeev/python-periphery/archive/v$pkgver.tar.gz") -sha512sums=('07b3005a9ea0b10a294fc971c3ab8deebe07bf1b773dfc0d9d3343db96ead83cfd1a0a44f60155d67e1e92dbc1779199caa2e869db27c3dff34f2c8c621e0ff1') - -build() { - cd python-periphery-$pkgver - python setup.py build -} - -check() { - cd python-periphery-$pkgver - python setup.py pytest || warning "Tests failed" -} - -package() { - cd python-periphery-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-periphery/repos/community-any/PKGBUILD (from rev 576155, python-periphery/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-18 20:31:05 UTC (rev 576156) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-periphery +pkgver=2.0.1 +pkgrel=1 +pkgdesc="A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux" +url="https://github.com/vsergeev/python-periphery" +license=('MIT') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/vsergeev/python-periphery/archive/v$pkgver.tar.gz") +sha512sums=('a90f678435a0933f0db578231e762bb4c71103e595d1b73bb3f60a136f4e7ccc2805becf3156dcc37efbbe0824038986c9af3151083680577262cdcc16994d86') + +build() { + cd python-periphery-$pkgver + python setup.py build +} + +check() { + cd python-periphery-$pkgver + python setup.py pytest || warning "Tests failed" +} + +package() { + cd python-periphery-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}