blob: 63f4a145a8cba306055cd0bbedc4b458a477020b (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Alex Hirzel <alex at hirzel period us>
pkgname='python-strictdoc'
_name=${pkgname#python-}
pkgver='0.2.1'
pkgrel=1
pkgdesc="Software for writing technical requirements and specifications."
url="https://github.com/strictdoc-project/strictdoc"
depends=(
'python-beautifulsoup4'
'python-datauri'
'python-docutils'
'python-fastapi'
'python-html5lib'
'python-jinja'
'python-lxml'
'python-multipart'
'python-pybtex'
'python-pygments'
'python-reqif'
'python-requests'
'python-selenium'
'python-semantic-version'
'python-spdx-tools'
'python-textx'
'python-toml'
'python-tree-sitter'
'python-xlrd'
'python-xlsxwriter'
'uvicorn'
)
optdepends=(
'python-graphviz'
'python-webdriver-manager'
)
makedepends=('python-pipreqs' 'python-setuptools')
license=('Apache-2.0')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha512sums=('cec299c36d5adc6c0135d5ba9cd09c39b9866f3ed90a0db2e180dba5e2ea5e0b2c7630dc39d0aaf7606be6eac312a4b3f5153af0e820e2d8f07858acc509724c')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|