aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp-cors-gns3/APKBUILD
blob: 0844144a05b5ad592e7d62ae44bec14920c97332 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp-cors-gns3
_pkgname=aiohttp_cors
pkgver=0.7.0
pkgrel=1
pkgdesc="CORS support for aiohttp - GNS3 compatible version"
url="https://github.com/aio-libs/aiohttp-cors"
arch="noarch"
license="Apache-2.0"
depends="py3-aiohttp-gns3 !py3-aiohttp-cors"
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() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

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