1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Tobias Roettger <toroettg@gmail.com>
4 pkgname=python-ordered-set
7 pkgdesc='A MutableSet that remembers its order, so that every entry has an index'
9 url="https://github.com/LuminosoInsight/ordered-set"
12 makedepends=('python-setuptools')
13 checkdepends=('python-pytest')
14 source=("https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz")
15 md5sums=('5d88f3870c32d4868b28c8fe833f7e74')
18 cd ordered-set-$pkgver
23 cd ordered-set-$pkgver
24 pytest --doctest-modules test.py ordered_set.py README.md --doctest-glob=README.md --ignore=setup.py
28 cd ordered-set-$pkgver
29 python setup.py install --root="$pkgdir/" --optimize=1
30 install -Dm644 MIT-LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
33 # vim:set ts=2 sw=2 et: