Date: Friday, April 1, 2022 @ 16:30:40 Author: foxboron Revision: 1180575
archrelease: copy trunk to community-any Added: py3status/repos/community-any/PKGBUILD (from rev 1180574, py3status/trunk/PKGBUILD) Deleted: py3status/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-01 16:30:35 UTC (rev 1180574) +++ PKGBUILD 2022-04-01 16:30:40 UTC (rev 1180575) @@ -1,46 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Jonas Witschel <diabo...@archlinux.org> -# Contributor: 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.42 -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') -makedepends=('python-build' 'python-installer' 'python-wheel') -checkdepends=('python-pytest-runner') -optdepends=('i3status: for i3status modules' - 'i3blocks: for i3blocks modules' - 'python-mpris2: for the mpris module' - 'python-pyudev: for udev event monitoring' - 'python-pydbus: for modules that rely on D-Bus' - 'python-pytz: for the clock module' - 'python-tzlocal: for the clock module' - 'pacman-contrib: for the arch_updates module') -source=("$pkgname-$pkgver.tar.gz::https://github.com/ultrabug/py3status/archive/$pkgver.tar.gz") -sha256sums=('bf7dd6cb65e88c3b0cf570a8df08c8ca30b655c88c7ba5b29fbfbf86a0737e27') - -build() { - cd "$pkgname-$pkgver" - python -m build --wheel --no-isolation -} - -check() { - cd "$pkgname-$pkgver" - pytest -} - -package() { - cd "$pkgname-$pkgver" - python -m installer --destdir="$pkgdir" dist/*.whl - install -d "$pkgdir/usr/share/doc/$pkgname"{,/dev-guide,/user-guide} - install -m644 docs/*.md README.md CHANGELOG "$pkgdir/usr/share/doc/$pkgname" - install -m644 docs/dev-guide/* "$pkgdir/usr/share/doc/$pkgname/dev-guide" - install -m644 docs/user-guide/* "$pkgdir/usr/share/doc/$pkgname/user-guide" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: py3status/repos/community-any/PKGBUILD (from rev 1180574, py3status/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-01 16:30:40 UTC (rev 1180575) @@ -0,0 +1,46 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +# Contributor: 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.43 +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') +makedepends=('python-build' 'python-installer' 'python-wheel') +checkdepends=('python-pytest') +optdepends=('i3status: for i3status modules' + 'i3blocks: for i3blocks modules' + 'python-mpris2: for the mpris module' + 'python-pyudev: for udev event monitoring' + 'python-pydbus: for modules that rely on D-Bus' + 'python-pytz: for the clock module' + 'python-tzlocal: for the clock module' + 'pacman-contrib: for the arch_updates module') +source=("$pkgname-$pkgver.tar.gz::https://github.com/ultrabug/py3status/archive/$pkgver.tar.gz") +sha256sums=('f6e9accd70632ae401e9e57db05be1d6877f7ab24b48d7f776d61575435bc8a8') + +build() { + cd "$pkgname-$pkgver" + python -m build --wheel --no-isolation +} + +check() { + cd "$pkgname-$pkgver" + pytest +} + +package() { + cd "$pkgname-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl + install -d "$pkgdir/usr/share/doc/$pkgname"{,/dev-guide,/user-guide} + install -m644 docs/*.md README.md CHANGELOG "$pkgdir/usr/share/doc/$pkgname" + install -m644 docs/dev-guide/* "$pkgdir/usr/share/doc/$pkgname/dev-guide" + install -m644 docs/user-guide/* "$pkgdir/usr/share/doc/$pkgname/user-guide" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}