aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pywal/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pywal/APKBUILD')
-rw-r--r--community/py3-pywal/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/py3-pywal/APKBUILD b/community/py3-pywal/APKBUILD
new file mode 100644
index 0000000000..852eefe546
--- /dev/null
+++ b/community/py3-pywal/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Justin Berthault <justin.berthault@zaclys.net>
+# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
+pkgname=py3-pywal
+pkgver=3.3.0
+pkgrel=2
+pkgdesc="Generate and change colorschemes on the fly"
+url="https://github.com/dylanaraps/pywal/"
+arch="noarch !armv7 !armhf" # Test fails
+license="MIT"
+depends="
+ imagemagick
+ python3
+ "
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/p/pywal/pywal-$pkgver.tar.gz"
+builddir="$srcdir/pywal-$pkgver"
+
+case "$CARCH" in
+s390x|mips*) options="!check";;
+esac
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="e8469ae1cb6596e78e9100907115e2075cfe6f984751e9972c36e60e27d1c379b4e8d2c5ef90becb689bcfcc1efb9702392e64602dbb93f903e12f3881ed42ce pywal-3.3.0.tar.gz"