summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 649fbb1de796ea06754cc0ecc799f130529d86d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Manuel Kauschinger <admin at bruzzzla dot de>
# Contributor: Serkan Hosca <serkan@hosca.com>

pkgbase=python-cfgv
pkgname=python-cfgv
pypi_name=cfgv
pkgver=3.0.0
pkgrel=1
pkgdesc="Validate configuration and produce human readable error messages."
arch=('any')
license=('MIT')
url="https://pypi.org/project/cfgv/"
makedepends=('python' 'python-setuptools')
source=("https://pypi.io/packages/source/c/${pypi_name}/${pypi_name}-${pkgver}.tar.gz")
md5sums=('25dfe5f7a55914666e0da155592cd92b')

build() {
  cd "${srcdir}/${pypi_name}-${pkgver}"
  python setup.py build

}

package_python-cfgv() {
  pkgdesc='Python 3 client for cfgv'
  depends=('python' 'python-six')

  cd "${srcdir}/${pypi_name}-${pkgver}"
  python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
}

# vim: set ft=sh ts=4 sw=4 noet: