aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-ordered-set/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py3-ordered-set/APKBUILD')
-rw-r--r--main/py3-ordered-set/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/py3-ordered-set/APKBUILD b/main/py3-ordered-set/APKBUILD
new file mode 100644
index 0000000000..753c2f86fa
--- /dev/null
+++ b/main/py3-ordered-set/APKBUILD
@@ -0,0 +1,25 @@
+# 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"