1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-decopatch/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

33 lines
859 B
Text
Executable file

# Contributor: Andy Hawkins <andy@gently.org.uk>
# Maintainer: Andy Hawkins <andy@gently.org.uk>
pkgname=py3-decopatch
pkgver=1.4.10
pkgrel=2
pkgdesc="Python decorators made easy"
url="https://github.com/smarie/python-decopatch"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-makefun
"
makedepends="
py3-pytest-runner
py3-setuptools
py3-setuptools_scm
py3-wheel
"
source="https://pypi.python.org/packages/source/d/decopatch/decopatch-$pkgver.tar.gz"
builddir="$srcdir/decopatch-$pkgver"
options="!check" # Test suite requires pytest-cases, which depends on this package
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
7554c5bdef6aeb06968334c8aef3f67b56bd3ff8be5e05cb6289f3088848d946d46ecc1d9f73bab9db80b6981aa4f9039c359eb8a0fe9f4acee62addf4f0ed96 decopatch-1.4.10.tar.gz
"