aports/testing/py3-sphinxcontrib-bitbucket/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02:00

33 lines
1.2 KiB
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-bitbucket
_pkgname=sphinxcontrib-bitbucket
pkgver=1.0
pkgrel=8
pkgdesc="Sphinx BitBucket extension"
url="https://pypi.org/project/sphinxcontrib-bitbucket"
arch="noarch"
license="BSD-2-Clause"
depends="py3-sphinx"
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
fix-python3.patch"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-sphinxcontrib-bitbucket" # Backwards compatibility
provides="py-sphinxcontrib-bitbucket=$pkgver-r$pkgrel" # Backwards compatibility
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="e018fceecc24b7a9656d57a9855c824665948f877394b7ca6b0f22473bf83492d4155a9c9960cf18e9b10268f2928d0762a4ad48ffee2ebb819275d563751e18 sphinxcontrib-bitbucket-1.0.tar.gz
4e98838a71d14f6b5b4ad1780617a2fd91470c8952e7ec9507dbc6ebb48bf4830d0f21bdca4aded10cf7979e6bd772113df326e9a9df4778176d1786cba999e2 fix-python3.patch"