mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 12:06:41 +02:00
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
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-sphinxcontrib-gist
|
|
_pkgname=sphinxcontrib.gist
|
|
pkgver=0.1.0
|
|
pkgrel=9
|
|
pkgdesc="Sphinx gist extension"
|
|
url="https://pypi.org/project/sphinxcontrib-gist"
|
|
arch="noarch"
|
|
license="LGPL-3.0-only"
|
|
depends="python3 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-build.patch
|
|
"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-sphinxcontrib-gist" # Backwards compatibility
|
|
provides="py-sphinxcontrib-gist=$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="
|
|
a6bc8bae2bf64c5201452134c075c6336ab1928c534bb6d274c3fdda555609ad58e02d11d4c9d78528be39578c759394016c58ef6f0bad1ffc38328e3cf3ca00 sphinxcontrib.gist-0.1.0.tar.gz
|
|
e1bbfac6dc5d6b9dd4b8c2a3ec1d4b790cafb89e69640ca7a9da041d27d20388d973ba8529bafd098dce9b2f5029ad7b219af5414a59bd557744964eeac050e1 fix-build.patch
|
|
"
|