diff options
Diffstat (limited to 'testing/py3-sphinxcontrib-actdiag/APKBUILD')
-rw-r--r-- | testing/py3-sphinxcontrib-actdiag/APKBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/testing/py3-sphinxcontrib-actdiag/APKBUILD b/testing/py3-sphinxcontrib-actdiag/APKBUILD index 2d6b4f4202c..33524841565 100644 --- a/testing/py3-sphinxcontrib-actdiag/APKBUILD +++ b/testing/py3-sphinxcontrib-actdiag/APKBUILD @@ -2,26 +2,31 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-sphinxcontrib-actdiag _pkgname=sphinxcontrib-actdiag -pkgver=2.0.0 -pkgrel=1 +pkgver=3.0.0 +pkgrel=2 pkgdesc="Sphinx actdiag extension" -url="https://pypi.python.org/pypi/sphinxcontrib-actdiag" +url="https://github.com/blockdiag/sphinxcontrib-actdiag" arch="noarch" license="BSD-2-Clause" -depends="py3-actdiag py3-sphinx" +depends="py3-actdiag py3-blockdiag py3-sphinx python3" makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +subpackages="$pkgname-pyc" +source="$pkgname-$pkgver.tar.gz::https://github.com/blockdiag/sphinxcontrib-actdiag/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver - -replaces="py-sphinxcontrib-actdiag" # for backwards compatibility -provides="py-sphinxcontrib-actdiag=$pkgver-r$pkgrel" # for backwards compatibility +options="!check" # sphinx-testing build() { python3 setup.py build } +check() { + python3 -m unittest discover +} + package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --skip-build --root="$pkgdir" } -sha512sums="8faeb97b6be7c1a3603d34d34331ed4144a0b4a1ea537d8826682252213268a288f180ee0218d1266e199c41eba5e85caabf0a0f734024c358019fe806dd38de sphinxcontrib-actdiag-2.0.0.tar.gz" +sha512sums=" +caef6c9e8e968e9053150a28aede2a07be1396ba2426745cd35cbb4a2093d93c1056336c49d1f7a901e22845e547b7e46b6caecc9f7cfea7ce7f7bd46c2ff49e py3-sphinxcontrib-actdiag-3.0.0.tar.gz +" |