upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-rfc3987 / trunk / PKGBUILD
blob84e7fa2456d8c7fb3cd2dbc04d3131be62bf7d3f
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Simon Sapin <simon dot sapin at exyr dot org>
3 # Contributor: Kyle Keen <keenerd@gmail.com>
5 pkgname=python-rfc3987
6 pkgver=1.3.8
7 pkgrel=9
8 pkgdesc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
9 url="https://pypi.python.org/pypi/rfc3987"
10 license=('GPL')
11 arch=('any')
12 depends=('python')
13 makedepends=('python-setuptools')
14 checkdepends=('python-pytest-runner')
15 source=("https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz")
16 sha512sums=('0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c')
18 build() {
19   cd rfc3987-$pkgver
20   python setup.py build
23 package() {
24   cd rfc3987-$pkgver
25   python setup.py install --root="$pkgdir" --optimize=1