python3-nh3: initial commit, version 0.2.15

This commit is contained in:
Tim Biermann 2024-02-19 01:28:21 +01:00
parent beec8bd5ae
commit 29df172ab6
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 36 additions and 0 deletions

15
python3-nh3/.footprint Normal file
View File

@ -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)

5
python3-nh3/.signature Normal file
View File

@ -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

16
python3-nh3/Pkgfile Normal file
View File

@ -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
}