aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-responses/APKBUILD
blob: d2f9b9bbdcb195b5f96a1d9992cf62dbd5b41eb4 (plain) (blame)
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
# Maintainer: 
pkgname=py3-responses
_pkgname=responses
pkgver=0.7.0
pkgrel=2
pkgdesc="generate and validate responses check digits"
url="https://pypi.python.org/pypi/responses/"
arch="noarch"
license="BSD"
depends="py3-requests py3-six"
makedepends="py3-setuptools"
install=""
source="https://files.pythonhosted.org/packages/source/r/responses/responses-$pkgver.tar.gz"
builddir="$srcdir/responses-$pkgver"

replaces=py-responses # Backwards compatibility
provides=py-responses=$pkgver-r$pkgrel # Backwards compatibility

build() {
	cd "$_builddir"
	python3 setup.py build
}

package() {
        cd "$builddir"
        python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="352cf833b2c2a0b30618daac62355f6e62df2f0ad8b7bacd19b3f815c40a69064088238a0ecc44faa49dc2fc65fd176b30c0cbc526b468d38833af59a715a6d5  responses-0.7.0.tar.gz"