summaryrefslogtreecommitdiff
path: root/repo/python-ply/python-ply.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-ply/python-ply.xibuild')
-rw-r--r--repo/python-ply/python-ply.xibuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/repo/python-ply/python-ply.xibuild b/repo/python-ply/python-ply.xibuild
index f977f12..791b2c2 100644
--- a/repo/python-ply/python-ply.xibuild
+++ b/repo/python-ply/python-ply.xibuild
@@ -1,17 +1,23 @@
#!/bin/sh
-MAKEDEPS="python"
+NAME="python-ply"
+DESC="Python Lex & Yacc"
+MAKEDEPS="python"
PKG_VER=3.11
-SOURCE=https://files.pythonhosted.org/packages/source/p/ply/ply-$PKG_VER.tar.gz
-MAKEDEPS="python"
-DESC="Python Lex DESC="%desc%" Yacc"
+SOURCE="https://github.com/dabeaz/ply/archive/$PKG_VER.tar.gz"
+
+ADDITIONAL="
+no-py3-six.patch
+"
build() {
- python setup.py build
+ python3 setup.py build
}
-package () {
- python setup.py install --root="$PKG_DEST" --optimize=1
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
}
+