18 lines
583 B
Plaintext
18 lines
583 B
Plaintext
# Description: library for building interactive CLI applications in Python
|
|
# URL: https://github.com/simonrob/pyasyncore
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on:
|
|
|
|
name=python3-pyasyncore
|
|
version=1.0.5
|
|
release=1
|
|
source=(https://github.com/simonrob/${name#python3-}/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name#python3-}-$version
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --destdir="$PKG" dist/*.whl
|
|
rm -rf "$PKG"/usr/lib/python3.12/site-packages/*.dist-info/licenses
|
|
}
|