blob: 303fd7525477909b2e58b233b07c5768f9a2ff9e (
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
29
30
31
32
33
34
35
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-ordered-set
pkgver=4.1.0
pkgrel=1
pkgdesc="MutableSet that remembers its order"
url="https://github.com/rspeer/ordered-set"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-gpep517 py3-flit-core py3-installer"
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz"
builddir="$srcdir/ordered-set-$pkgver"
# pytest -> setuptools -> setuptools-stage0 -> this
options="!check"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 1
}
check() {
pytest
}
package() {
python3 -m installer -d "$pkgdir" \
dist/ordered_set-*.whl
}
sha512sums="
f12d19f7d9cf0ebcc414d97798f0959ff69a77146839cc6a9067c864f9e0be795795c4d648f736fd7448ddf89666ce37f23e7380d1c9b1678a4787961e4e1e79 ordered-set-4.1.0.tar.gz
"
|