Skip to content
Snippets Groups Projects
Commit 55e34963 authored by Leo's avatar Leo
Browse files

testing/py3-ordered-set: new aport

https://github.com/LuminosoInsight/ordered-set
MutableSet that remembers its order
parent efca8852
No related branches found
No related tags found
No related merge requests found
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-ordered-set
pkgver=3.1
pkgrel=0
pkgdesc="MutableSet that remembers its order"
url="https://github.com/LuminosoInsight/ordered-set"
arch="noarch"
license="MIT"
depends="python3"
source="https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz"
builddir="$srcdir/ordered-set-$pkgver"
package() {
# Can't use setuptools since setuptools depends on this
mkdir -p "$pkgdir"/usr/lib/python3.8/site-packages
cp -rv ordered_set.egg-info \
"$pkgdir"/usr/lib/python3.8/site-packages/ordered_set-$pkgver-py3.8.egg-info
cp -rv ordered_set.py "$pkgdir"/usr/lib/python3.8/site-packages/
python3 -m compileall -f -q "$pkgdir"/usr/lib/python3.8/site-packages/*.py
}
sha512sums="8d51c86fed8617a6d48c35ec4e6c989b556809e2fb012e4005f656c6627d4cccc2667c2d6e2d144d0d886a2089bb9a81685b7097fb20e5939f8d4e172bb76133 ordered-set-3.1.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment