aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-ordered-set/APKBUILD
blob: 753c2f86fae57b640c8d4b1a46b5e6553e736a6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"