aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-29 06:09:22 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-29 06:23:46 -0300
commit55e3496387ad3f2df387b2cf6bc84e85ef729833 (patch)
tree4931fd460b849dd38cf7983534ba0bddf83ab506
parentefca8852f37cb4028f234f92e2d035617f524820 (diff)
downloadaports-55e3496387ad3f2df387b2cf6bc84e85ef729833.tar.gz
aports-55e3496387ad3f2df387b2cf6bc84e85ef729833.tar.bz2
aports-55e3496387ad3f2df387b2cf6bc84e85ef729833.tar.xz
testing/py3-ordered-set: new aport
https://github.com/LuminosoInsight/ordered-set MutableSet that remembers its order
-rw-r--r--testing/py3-ordered-set/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/py3-ordered-set/APKBUILD b/testing/py3-ordered-set/APKBUILD
new file mode 100644
index 0000000000..753c2f86fa
--- /dev/null
+++ b/testing/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"