From: sev Date: Tue, 5 Jul 2022 11:14:26 +0000 (-0500) Subject: testing/py3-apprise: new aport X-Git-Url: https://git.sev.monster/aports.git/commitdiff_plain/2839e45d67bd6fb7062f2def65af2ad5bc818294?ds=inline testing/py3-apprise: new aport --- diff --git a/testing/py3-apprise/APKBUILD b/testing/py3-apprise/APKBUILD new file mode 100644 index 0000000..7e41d9e --- /dev/null +++ b/testing/py3-apprise/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: sev +# Maintainer: sev +_pkgname=apprise +pkgname=py3-$_pkgname +pkgver=0.9.9 +pkgrel=2 +pkgdesc="Push Notifications that work with just about every platform!" +url="https://github.com/caronc/apprise" +arch="noarch" +license="MIT" +depends="py3-requests py3-requests-oauthlib py3-six py3-click>=5.0 py3-markdown py3-yaml" +makedepends="py3-pip py3-wheel" +subpackages="$pkgname-doc" +source="https://github.com/caronc/$_pkgname/archive/v$pkgver/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py check +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" + gzip packaging/man/apprise.1 + mkdir -p "$pkgdir"-doc/usr/share/man/man1 + mv packaging/man/apprise.1.gz "$pkgdir"-doc/usr/share/man/man1 +} +sha512sums=" +599bbd75a002fe8662f13294db2b7a4ce5cfe7c5cb33f6c5ac8515e2bf47adb25d95551f2945efcf84ed8139d4862fc0d832de8ba26667ef3e24153b5aea79b4 apprise-0.9.9.tar.gz +"