alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

abuild (429B)


      1 name=python-gpep517
      2 version=19
      3 release=1
      4 source="https://github.com/mgorny/gpep517/archive/v${version}/gpep517-v${version}.tar.gz
      5 	default-bytecode-levels.patch
      6 	gpep517"
      7 
      8 build() {
      9 	sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
     10 	mkdir -p $PKG/$sitedir
     11 	find gpep517 -name "*.orig" -delete
     12 	cp -a gpep517 $PKG/$sitedir
     13 	python3 -m compileall $PKG/$sitedir
     14 
     15 	install -Dm755 $SRC/gpep517 -t $PKG/usr/bin
     16 }