Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / apprise
Commits: cb7803b0 by Daniel M. Capella at 2024-01-27T16:36:55-05:00 upgpkg: 1.7.2-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,10 +1,10 @@ pkgbase = apprise pkgdesc = Push Notifications that work with just about every platform - pkgver = 1.7.1 + pkgver = 1.7.2 pkgrel = 1 url = https://github.com/caronc/apprise arch = any - license = BSD + license = BSD-2-Clause checkdepends = dbus-python checkdepends = python-paho-mqtt checkdepends = python-pytest-mock @@ -24,7 +24,7 @@ pkgbase = apprise optdepends = python-paho-mqtt: for MQTT support provides = python-apprise conflicts = python-apprise - source = git+https://github.com/caronc/apprise.git#tag=v1.7.1 + source = git+https://github.com/caronc/apprise.git#tag=v1.7.2 b2sums = SKIP pkgname = apprise ===================================== PKGBUILD ===================================== @@ -3,12 +3,12 @@ # Contributor: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com> pkgname=apprise -pkgver=1.7.1 +pkgver=1.7.2 pkgrel=1 pkgdesc='Push Notifications that work with just about every platform' arch=('any') url=https://github.com/caronc/apprise -license=('BSD') +license=('BSD-2-Clause') depends=( 'python-certifi' 'python-click' @@ -36,16 +36,22 @@ source=("git+$url.git#tag=v$pkgver") b2sums=('SKIP') build(){ - cd $pkgname - python -m build --wheel --no-isolation + cd $pkgname + python -m build --wheel --no-isolation } check(){ - cd $pkgname - PYTHONPATH="$pwd/$pkgname:$PYTHONPATH" pytest + cd $pkgname + PYTHONPATH="$pwd/$pkgname:$PYTHONPATH" pytest } package(){ - cd $pkgname - python -m installer --destdir="$pkgdir" dist/*.whl + cd $pkgname + python -m installer --destdir="$pkgdir" dist/*.whl + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/apprise/-/commit/cb7803b0fcb52efb1515e2c5dd2bdcf8ea8e8f4b -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/apprise/-/commit/cb7803b0fcb52efb1515e2c5dd2bdcf8ea8e8f4b You're receiving this email because of your account on gitlab.archlinux.org.