aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-multidict/APKBUILD
blob: eea531b72b07433da7d7be5ff0b351fa90325534 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-multidict
_pkgname=multidict
pkgver=2.1.6
pkgrel=0
pkgdesc="multidict implementation"
url="https://github.com/aio-libs/multidict/"
arch="all"
license="ASL2"
depends="python3"
makedepends="python3-dev py-setuptools"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::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" || return 1
}

sha512sums="70e6727b28d9f97ece00c46c81f6d3095befa57f09de2a400b53e8b9676561de89ffe57de4810a25a9264941678f5f139aeb25489611e09b10259aed19b616f3  py3-multidict-2.1.6.tar.gz"