blob: 5f98863f49133c89ef0d25f903621dc8f874ea40 (
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
|
#Maintainer: Popolon <popolon aL popolon d0t org>
# generated with pip2pkgbuild
# modified by hand
pkgname='python-rfc3987-syntax'
_module='rfc3987-syntax'
_src_folder='rfc3987_syntax-1.1.0'
pkgver='1.1.0'
pkgrel=2
pkgdesc="Helper functions to syntactically validate strings according to RFC 3987."
url="https://github.com/willynilly/rfc3987-syntax"
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
license=('custom:Apache Software License')
arch=('any')
source=("https://files.pythonhosted.org/packages/2c/06/37c1a5557acf449e8e406a830a05bf885ac47d33270aec454ef78675008d/rfc3987_syntax-1.1.0.tar.gz")
sha256sums=('717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d')
build() {
cd "${srcdir}/${_src_folder}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_src_folder}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|