diff --git a/python3-nh3/.footprint b/python3-nh3/.footprint new file mode 100644 index 000000000..f4901364a --- /dev/null +++ b/python3-nh3/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.10/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/nh3-0.2.15.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3-0.2.15.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3-0.2.15.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3-0.2.15.dist-info/WHEEL +drwxr-xr-x root/root usr/lib/python3.10/site-packages/nh3/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3/__init__.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3/__init__.pyi +drwxr-xr-x root/root usr/lib/python3.10/site-packages/nh3/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3/__pycache__/__init__.cpython-310.opt-2.pyc +-rwxr-xr-x root/root usr/lib/python3.10/site-packages/nh3/nh3.abi3.so +-rw-r--r-- root/root usr/lib/python3.10/site-packages/nh3/py.typed (EMPTY) diff --git a/python3-nh3/.signature b/python3-nh3/.signature new file mode 100644 index 000000000..7085b2bd5 --- /dev/null +++ b/python3-nh3/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF37T4ihfUC3kDlSElUGjcwU2ecjMCGwDQlYs+s8pMOuebjHv9pXOv3Y5A44q9ilrMMOmyuQus2Nvr4m5fSJZBZQ0= +SHA256 (Pkgfile) = 4b40203f068d1fcdf427f1f35131a11d711cf1365bbfd431a62a180c5092e297 +SHA256 (.footprint) = 7127236751eacf7bc7554eabbdacab75627d1b60b228caf5e9e1a1a4b5227cc8 +SHA256 (nh3-0.2.15.tar.gz) = d1e30ff2d8d58fb2a14961f7aac1bbb1c51f9bdd7da727be35c63826060b0bf3 diff --git a/python3-nh3/Pkgfile b/python3-nh3/Pkgfile new file mode 100644 index 000000000..1a0da4869 --- /dev/null +++ b/python3-nh3/Pkgfile @@ -0,0 +1,16 @@ +# Description: Python bindings to the ammonia HTML sanitization library +# URL: https://github.com/messense/nh3 +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: python3-maturin + +name=python3-nh3 +version=0.2.15 +release=1 +source=(https://pypi.org/packages/source/n/nh3/nh3-$version.tar.gz) + +build() { + cd nh3-$version + + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl +}