mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
this doesn't really "optimise" the python or do much to improve performance. it's identical to running python with -O or setting PYTHONOPTIMISE= in the environment. doing it here just doubles the disk space for the pre-cached files generated by python on startup with optimisations
40 lines
914 B
Text
40 lines
914 B
Text
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
|
|
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
|
|
_pkgname=click-plugins
|
|
pkgname=py3-$_pkgname
|
|
pkgver=1.1.1
|
|
pkgrel=4
|
|
pkgdesc="An extension module for click to enable registering CLI commands via setuptools entry-points"
|
|
url="https://pypi.org/project/click-plugins/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
python3
|
|
py3-click
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
"
|
|
checkdepends="
|
|
pytest
|
|
"
|
|
source="
|
|
py3-click-plugins-$pkgver.tar.gz::https://github.com/click-contrib/click-plugins/archive/$pkgver.tar.gz
|
|
"
|
|
builddir="$srcdir/click-plugins-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a1735f493aad45b328e3156b239376be89ae8bc9d1cd349355496352157672b6642429e0fe7e364c0e971c5f347263cfb6481f413185ad869173c2777679a37e py3-click-plugins-1.1.1.tar.gz
|
|
"
|