Date: Thursday, March 28, 2019 @ 23:14:23 Author: maximbaz Revision: 445653
archrelease: copy trunk to community-any Added: py3status/repos/community-any/PKGBUILD (from rev 445652, py3status/trunk/PKGBUILD) Deleted: py3status/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 40 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-28 23:14:18 UTC (rev 445652) +++ PKGBUILD 2019-03-28 23:14:23 UTC (rev 445653) @@ -1,32 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Alexis "Horgix" Chotard <alexis.horgix.chot...@gmail.com> -# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG - -pkgname=py3status -pkgver=3.17 -pkgrel=1 -pkgdesc="An extensible i3status replacement/wrapper written in python" -url="https://www.ultrabug.fr/tag/py3status/" -arch=('any') -license=('BSD') -depends=('python' 'python-setuptools' 'i3status') -optdepends=('python-pyudev: for udev event monitoring' - 'python-pydbus: for modules that rely on D-Bus' - 'python-tzlocal: for modules that need time zone info' - 'pacman-contrib: for the arch_updates module') -source=("$pkgname-$pkgver.tar.gz::https://github.com/ultrabug/py3status/archive/$pkgver.tar.gz") -sha256sums=('9df40f9d27ec6a2b592b9d85aa37894666c979ab2ee89ea0ef3229100d4ccaac') - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -d "$pkgdir/usr/share/doc/$pkgname" - install -m644 doc/* README.rst CHANGELOG "$pkgdir/usr/share/doc/$pkgname" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: py3status/repos/community-any/PKGBUILD (from rev 445652, py3status/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-28 23:14:23 UTC (rev 445653) @@ -0,0 +1,40 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Alexis "Horgix" Chotard <alexis.horgix.chot...@gmail.com> +# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG + +pkgname=py3status +pkgver=3.17 +pkgrel=2 +pkgdesc="An extensible i3status replacement/wrapper written in python" +url="https://www.ultrabug.fr/tag/py3status/" +arch=('any') +license=('BSD') +depends=('python' 'python-setuptools') +checkdepends=('python-pytest-runner') +optdepends=('i3status: for i3status modules' + 'i3blocks: for i3blocks modules' + 'python-pyudev: for udev event monitoring' + 'python-pydbus: for modules that rely on D-Bus' + 'python-tzlocal: for modules that need time zone info' + 'pacman-contrib: for the arch_updates module') +source=("$pkgname-$pkgver.tar.gz::https://github.com/ultrabug/py3status/archive/$pkgver.tar.gz") +sha256sums=('9df40f9d27ec6a2b592b9d85aa37894666c979ab2ee89ea0ef3229100d4ccaac') + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + python setup.py pytest +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -d "$pkgdir/usr/share/doc/$pkgname" + install -m644 doc/* README.rst CHANGELOG "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}