~dricottone/huttese-apk

ref: f26e327f64d7eb57decdd2d57f07bf2d3da1baba huttese-apk/sr.ht/py3-orderedmultidict/APKBUILD -rw-r--r-- 769 bytes
f26e327f — Drew DeVault Initial pass on todo.sr.ht package 5 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=0
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"