Skip to content
Snippets Groups Projects
Commit 759542c6 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Migrate python-leather from AUR

parents
No related branches found
No related tags found
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Michał Pałubicki <maln0ir@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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment