mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
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
30 lines
875 B
Text
30 lines
875 B
Text
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=py3-backcall
|
|
pkgver=0.2.0
|
|
pkgrel=3
|
|
pkgdesc="Backwards compatible callback APIs"
|
|
url="https://github.com/takluyver/backcall"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/b/backcall/backcall-$pkgver.tar.gz"
|
|
builddir="$srcdir/${pkgname#py3-}-$pkgver"
|
|
|
|
replaces="py-backcall" # Backwards compatibility
|
|
provides="py-backcall=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="7f086121c485c0ea4bc6935e7d116c8b14ff44ff6001a49665d0a698b6cf9a809823b9bca634a78d92cf40656f953dbac0132241327a5fa6be0ea685ff63636e backcall-0.2.0.tar.gz"
|