aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp-cors/APKBUILD
blob: c7e661105eb12ee3a6442f3e3254619f4526986d (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
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-cors
_pkgname=aiohttp_cors
pkgver=0.7.0
pkgrel=0
pkgdesc="CORS support for aiohttp"
url="https://github.com/aio-libs/aiohttp-cors"
arch="noarch"
license="Apache-2.0"
depends="py3-aiohttp"
makedepends="python3-dev py3-setuptools"
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
}

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="72e0b365b952c08a02c1123d7672cfea01063e2ff01743a71e10f804d22178edc0f1c6b7f87b7ed484ca7c24e89a32de90d0d279f2f5c060427319182f9bdd3b  aiohttp_cors-0.7.0.tar.gz"