23.1.0-1
[arch-packages.git] / python-ordered-set / repos / extra-any / PKGBUILD
blob19042b23adb87caaca7feddacd7b303524fbfe13
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Tobias Roettger <toroettg@gmail.com>
4 pkgname=python-ordered-set
5 pkgver=4.1.0
6 pkgrel=4
7 pkgdesc='A MutableSet that remembers its order, so that every entry has an index'
8 arch=('any')
9 url="https://github.com/rspeer/ordered-set"
10 license=('MIT')
11 depends=('python')
12 makedepends=('python-build' 'python-flit-core' 'python-installer')
13 checkdepends=('python-pytest')
14 source=("https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz")
15 sha512sums=('f12d19f7d9cf0ebcc414d97798f0959ff69a77146839cc6a9067c864f9e0be795795c4d648f736fd7448ddf89666ce37f23e7380d1c9b1678a4787961e4e1e79')
17 build() {
18   cd ordered-set-$pkgver
19   python -m build --wheel --no-isolation
22 check() {
23   cd ordered-set-$pkgver
24   pytest
27 package() {
28   cd ordered-set-$pkgver
29   python -m installer --destdir="$pkgdir/" dist/*.whl
30   install -Dm644 MIT-LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
33 # vim:set ts=2 sw=2 et: