blob: a69eeccca67417c7517a1b86690bcad48b89a1d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-backcall
pkgver=0.2.0
pkgrel=0
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="7f086121c485c0ea4bc6935e7d116c8b14ff44ff6001a49665d0a698b6cf9a809823b9bca634a78d92cf40656f953dbac0132241327a5fa6be0ea685ff63636e backcall-0.2.0.tar.gz"
|