summaryrefslogtreecommitdiff
path: root/repo/python-ply/python-ply.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/python-ply/python-ply.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
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"
}
+