blob: de60ec8a4930109941caa680b600c014d58f8439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=python-sphinxcontrib-plantuml
_pyname=sphinxcontrib-plantuml
pkgver=0.31
pkgrel=2
arch=(any)
pkgdesc="Sphinx 'plantuml' extension"
url='https://pypi.python.org/pypi/sphinxcontrib-plantuml'
license=('BSD')
makedepends=(python-build python-installer python-wheel python-setuptools)
depends=('plantuml' 'python-sphinx')
source=("https://files.pythonhosted.org/packages/source/s/${_pyname//-/_}/${_pyname//-/_}-${pkgver}.tar.gz")
sha256sums=('fd74752f8ea070e641c3f8a402fccfa1d4a4056e0967b56033d2a76282d9f956')
build() {
cd "${_pyname//-/_}-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "${_pyname//-/_}-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|