[arch-commits] Commit in (4 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Dec 18 20:10:10 UTC 2021
Date: Saturday, December 18, 2021 @ 20:10:09
Author: alerque
Revision: 1077664
Migrate python-leather from AUR
Added:
python-leather/
python-leather/repos/
python-leather/trunk/
python-leather/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: python-leather/trunk/PKGBUILD
===================================================================
--- python-leather/trunk/PKGBUILD (rev 0)
+++ python-leather/trunk/PKGBUILD 2021-12-18 20:10:09 UTC (rev 1077664)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Michał Pałubicki <maln0ir at gmx.com>
+
+_pyname=leather
+pkgname=python-$_pyname
+pkgver=0.3.4
+pkgrel=1
+pkgdesc='Python charting for 80% of humans'
+arch=(any)
+url="https://$_pyname.readthedocs.io"
+license=(MIT)
+depends=(python
+ python-six)
+makedepends=(python-setuptools)
+checkdepends=(python-cssselect
+ python-lxml)
+_archive="$_pyname-$pkgver"
+source=("$_archive.tar.gz::https://github.com/wireservice/$_pyname/archive/$pkgver.tar.gz")
+sha256sums=('8dc9545ccdd998527e283c7990535bfe0628ac71c660737c5c266ee0e461e341')
+
+build() {
+ cd "$_archive"
+ python setup.py build
+}
+
+check() {
+ cd "$_archive"
+ python setup.py test --test-suite=tests
+}
+
+package() {
+ cd "$_archive"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
+}
More information about the arch-commits
mailing list