From 2839e45d67bd6fb7062f2def65af2ad5bc818294 Mon Sep 17 00:00:00 2001 From: sev Date: Tue, 5 Jul 2022 06:14:26 -0500 Subject: [PATCH] testing/py3-apprise: new aport --- testing/py3-apprise/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/py3-apprise/APKBUILD 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 +" -- 2.46.2