summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0afcdf6dbb401a18486c6b4b00cf3bb68d90cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: piernov <piernov@piernov.org>

pkgname=python-swagger-spec-validator
pkgver=3.0.3
pkgrel=1
pkgdesc="Python library that validates Swagger Specs"
arch=('x86_64')
url="https://github.com/Yelp/swagger_spec_validator"
license=('BSD')
depends=('python-jsonschema' 'python-yaml' 'python-six' 'python-typing_extensions')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Yelp/swagger_spec_validator/archive/refs/tags/v$pkgver.tar.gz")
md5sums=('2cde4bf60fb8de6c2ded8a97b4aa2e6b')

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

package() {
  cd "$srcdir"/swagger_spec_validator-$pkgver
  python setup.py install --root="$pkgdir"/ --optimize=1
}