makedeb


python3-veryprettytable 0.8.1-4


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=4
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" --optimize=1 --skip-build --install-layout deb
	install -Dm644 COPYING "$pkgdir/usr/share/doc/$pkgname/license"
        install -Dm644 PKG-INFO "$pkgdir/usr/share/doc/$pkgname/info"
        install -Dm644 "$srcdir/veryprettytable-$pkgver/CHANGELOG" "$pkgdir/usr/share/doc/$pkgname/changelog"
        gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
}