aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-aiohttp-cors/APKBUILD
blob: 629d20d8614e2f9101a545a215c4a3d2dfeaa710 (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: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-cors
_pkgname=aiohttp_cors
pkgver=0.4.0
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="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="f0c83969d839a5c7b9cccd7d5ea63c66  aiohttp_cors-0.4.0.tar.gz"
sha256sums="4f4e8f7026f1c476f00498ee6f3f16110fcd65a9eb04fd02647aef3344830dca  aiohttp_cors-0.4.0.tar.gz"
sha512sums="e8e94927b1f5d0c37ea09f86dcfdff2423707174ff9892bedd0008b96c852498c6c77064bc14ab10b51a2f893ec29900e22a6bb7db5658b6f835411d6bf61b87  aiohttp_cors-0.4.0.tar.gz"