~dricottone/huttese-apk

ref: 57b6e8063a41a88f9d6f89ce8a14c8ba10471bc1 huttese-apk/py3-orderedmultidict/APKBUILD -rw-r--r-- 769 bytes
57b6e806 — Drew DeVault Fix up builds.sr.ht package 6 years ago
                                                                                
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=orderedmultidict
pkgname=py3-orderedmultidict
pkgver=0.7.5
pkgrel=1
pkgdesc="Ordered multivalue dictionary that retains method parity with dict."
url="https://github.com/gruns/orderedmultidict"
arch="noarch"
license="Unlicense"
depends="python3 py3-six"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/o/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

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

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="ec6f738b1199d8f06c7895737335b13e172059c13253703c2ab64dc9dac8f17ad6dc3a81e5768eea1698a88143be1bfc707512db31171a6190d29e67fb934fac  orderedmultidict-0.7.5.tar.gz"