blob: 3a8a71b828ebef386f8f8b255673959971b7d93d (
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
|
# Maintainer: Alex Hirzel <alex at hirzel period us>
pkgname='python-strictdoc'
_name=${pkgname#python-}
pkgver='0.0.58'
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-html5lib'
'python-jinja'
'python-lxml'
'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=('bb3af1dbbf52130bda2f2e62168a69e4d96ed2959e2e96a9944ac01e36a5e2816796298a37dfc65b8f272ad3116ad5d6bbef05578cb347b21f9df764d624c176')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|