blob: c374276ca9f0042b42b3b54afec8fe04d2120e4d (
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
|
# Maintainer: Alex Hirzel <alex at hirzel period us>
pkgname='python-strictdoc'
_name=${pkgname#python-}
pkgver='0.0.49'
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-graphviz'
'python-pybtex'
'python-pygments'
'python-reqif'
'python-requests'
'python-semantic-version'
'python-textx'
'python-toml'
'python-xlrd'
'python-xlsxwriter'
'uvicorn'
)
optdepends=(
'python-selenium'
'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=('f6de910e26d928611d1c6e68a052458ec02a3792fb47d2cf6cafd9f5d49eb2e1c7d1b80626534942463b7d2053686413834604e38da072370a117953373b43c5')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|