makedeb


python3-veryprettytable 0.8.1-2


Python library for displaying tabular data

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for python3-veryprettytable.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Luis Martinez (AUR) <luis dot martinez at disroot dot org>

pkgname=python3-veryprettytable
pkgver=0.8.1
pkgrel=2
pkgdesc='Python library for displaying tabular data'
license=('BSD')
arch=('all')
url="https://github.com/smeggingsmegger/VeryPrettyTable"
depends=('python3-colorama' 'python3-termcolor')
makedepends=('python3-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/v/veryprettytable/veryprettytable-$pkgver.tar.gz")
sha256sums=('6e4ca6fc88acae5de13f37ff7d8b130b03c9fadb4947d12b8b0c9b8ebe8b39cc')

build() {
	cd "veryprettytable-$pkgver"
	python3 setup.py build
}

package() {
	cd "veryprettytable-$pkgver"
        python3 setup.py install --root="$pkgdir" --install-layout deb
	install -Dm644 COPYING "$pkgdir/usr/share/doc/$pkgname/LICENSE"
        install -Dm644 "$srcdir/veryprettytable-$pkgver/CHANGELOG" "$pkgdir/usr/share/doc/$pkgname/"
        gzip "$pkgdir/usr/share/doc/$pkgname/CHANGELOG"
}