1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-sphinx-copybutton/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
796 B
Text

# Contributor: messense <messense@icloud.com>
# Maintainer: messense <messense@icloud.com>
pkgname=py3-sphinx-copybutton
pkgver=0.5.1
pkgrel=0
pkgdesc="Add a copy button to code blocks"
url="https://github.com/executablebooks/sphinx-copybutton"
arch="noarch"
license="MIT"
depends="
py3-sphinx
python3
"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/sphinx-copybutton-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
becc49fb54b5e9839eea962366403c5fa9d47f177ea2ec25b1b3beb021def20249a13ffdf5a79481ae460280e638ef101508b58476ad5131090ebe94604baa48 sphinx-copybutton-0.5.1.tar.gz
"