forked from ports/contrib
25 lines
565 B
Plaintext
25 lines
565 B
Plaintext
# Description: Lex and yacc parsing tools for Python
|
|
# URL: https://www.dabeaz.com/ply/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-ply
|
|
version=3.11
|
|
release=1
|
|
# ssl cert seems broken..
|
|
source=(http://www.dabeaz.com/ply/ply-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ply-$version
|
|
python3 setup.py build
|
|
python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
--optimize=1
|
|
|
|
find $PKG/usr/lib/python*/site-packages/ \
|
|
-maxdepth 1 \
|
|
-type f \
|
|
-name "${name#*-}-$version-py*.egg-info" \
|
|
-delete
|
|
}
|