aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-aiohttp-cors/APKBUILD
blob: 15fd7ca472cf4e87e5aebe1e2648ee6dc3dc714f (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-cors
_pkgname=aiohttp_cors
pkgver=0.5.1
pkgrel=0
pkgdesc="CORS support for aiohttp"
url="https://github.com/aio-libs/aiohttp-cors"
arch="noarch"
license="ASL 2.0"
depends="py3-aiohttp"
makedepends="python3-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-cors/archive/v$pkgver.tar.gz"
builddir="$srcdir"/aiohttp-cors-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

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

sha512sums="a06f65a479bbed50022394d51345e08bdf98a099f4b6efe355f4a4762155a564eee3d4e10ddb417daa7498ebc1abb93a3437b1a2cc6af9c2ad5fe8a8714c237c  aiohttp_cors-0.5.1.tar.gz"