OCaml 4.14.0 rebuild
[arch-packages.git] / python-incremental / trunk / PKGBUILD
blob83a7ff0244cbfd07fbfd37272ec584b4ab00100d
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-incremental
4 pkgver=21.3.0
5 pkgrel=5
6 pkgdesc='A small library that versions your Python projects'
7 arch=('any')
8 license=('MIT')
9 depends=('python-click' 'python-twisted')
10 url='https://github.com/hawkowl/incremental'
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner')
13 source=("https://github.com/hawkowl/incremental/archive/incremental-$pkgver.tar.gz")
14 sha512sums=('99a9e27b8513c4a13a74d37ae3d2c912af78ff9c6c528de1cba84767e2c08c9fc00cb54832efcccc70b922ac1582dd116cf8e8ba3f69926b424cf204ba4f0e7d')
16 build() {
17   cd incremental-incremental-$pkgver
18   python setup.py build
21 check() {
22   cd incremental-incremental-$pkgver
23   LC_CTYPE=en_US.UTF-8 python setup.py ptr
26 package() {
27   cd incremental-incremental-$pkgver
28   python setup.py install --root="$pkgdir" --optimize=1
29   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
32 # vim:set ts=2 sw=2 et: