mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/py3-sphinxcontrib-cacoo: build with gpep517
This commit is contained in:
parent
46463f4888
commit
64cd608552
@ -3,26 +3,29 @@
|
||||
pkgname=py3-sphinxcontrib-cacoo
|
||||
_pkgname=sphinxcontrib-cacoo
|
||||
pkgver=2.0.0
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Sphinx cacoo extension"
|
||||
url="https://github.com/tk0miya/sphinxcontrib-cacoo"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause"
|
||||
depends="py3-sphinx"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
replaces="py-sphinxcontrib-cacoo" # Backwards compatibility
|
||||
replaces="py-sphinxcontrib-cacoo" # Backwards compatibility
|
||||
provides="py-sphinxcontrib-cacoo=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="180d34e3d77870c3d6385b62c59094c15ba7af64b1821f0bbdcbbc04ca901396fe3e78e72f0a504286afd9583e86af590fcfc6867ab2c959c6a5164b009fe032 sphinxcontrib-cacoo-2.0.0.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user