[crux-commits] ports/contrib (3.5): python3-ply: initial commit, version 3.11

crux at crux.nu crux at crux.nu
Sat Jun 20 09:18:07 UTC 2020


commit 75e4c2eacfc0780890852d5b7a91b70254148a75
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Jun 20 09:16:29 2020 +0000

    python3-ply: initial commit, version 3.11

diff --git a/python3-ply/.footprint b/python3-ply/.footprint
new file mode 100644
index 000000000..3a07b1e6c
--- /dev/null
+++ b/python3-ply/.footprint
@@ -0,0 +1,29 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/python3.7/
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/ply-3.11-py3.7.egg-info/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply-3.11-py3.7.egg-info/PKG-INFO
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply-3.11-py3.7.egg-info/SOURCES.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply-3.11-py3.7.egg-info/dependency_links.txt
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply-3.11-py3.7.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/ply/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/__init__.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/__init__.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/cpp.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/cpp.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/ctokens.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/ctokens.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/lex.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/lex.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/yacc.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/yacc.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/ygen.cpython-37.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/__pycache__/ygen.cpython-37.pyc
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/cpp.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/ctokens.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/lex.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/yacc.py
+-rw-r--r--	root/root	usr/lib/python3.7/site-packages/ply/ygen.py
diff --git a/python3-ply/.signature b/python3-ply/.signature
new file mode 100644
index 000000000..d9b316276
--- /dev/null
+++ b/python3-ply/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF39hNT359lbLRPlu5ldKLvm2Te3smAKJFNnNQDxt8bPolXaRQO9Xmxt1HQeWKBzHr9gbJrwFxkalRX7tUiKB3aw0=
+SHA256 (Pkgfile) = f20ce00df10c1354f0bfedaf6bc9c69b8ce745e9bf6c4eaed1b5678821d284d4
+SHA256 (.footprint) = d39a46b64673367949496f673c97cb3d58310d891111103e6c071842a86056ae
+SHA256 (ply-3.11.tar.gz) = 00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3
diff --git a/python3-ply/Pkgfile b/python3-ply/Pkgfile
new file mode 100644
index 000000000..ee4c89dad
--- /dev/null
+++ b/python3-ply/Pkgfile
@@ -0,0 +1,24 @@
+# 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
+}


More information about the crux-commits mailing list