diff --git a/python3-maturin/.footprint b/python3-maturin/.footprint new file mode 100644 index 000000000..a12fa10b2 --- /dev/null +++ b/python3-maturin/.footprint @@ -0,0 +1,22 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/maturin +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/maturin-1.1.0.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/INSTALLER +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/REQUESTED (EMPTY) +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/direct_url.json +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin-1.1.0.dist-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.10/site-packages/maturin/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin/__init__.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin/__main__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/maturin/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin/__pycache__/__init__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin/__pycache__/__main__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin/__pycache__/import_hook.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/maturin/import_hook.py diff --git a/python3-maturin/.signature b/python3-maturin/.signature new file mode 100644 index 000000000..11dd32683 --- /dev/null +++ b/python3-maturin/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF38r3aX5VNEhObxUycSag+1yyTpFhInqsxUBoONFUbcqPVf7wd1jzRd4i+qQXd+eW8cc2eQh1BNzthOnjT1loLQA= +SHA256 (Pkgfile) = d739a8480d52a3a41d23adf1322adc23884cb469564c9284f3a3e2d741b2dd7b +SHA256 (.footprint) = c25a4c39a2d74bb4b5ac77aef28774b79a1446f4def91ed53dade6eb6d4b1ffc +SHA256 (maturin-1.1.0.tar.gz) = 4650aeaa8debd004b55aae7afb75248cbd4d61cd7da2dcf4ead8b22b58cecae0 diff --git a/python3-maturin/Pkgfile b/python3-maturin/Pkgfile new file mode 100644 index 000000000..34e988b41 --- /dev/null +++ b/python3-maturin/Pkgfile @@ -0,0 +1,15 @@ +# Description: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages +# URL: https://pypi.org/project/maturin/ +# Maintainer: Matt Housh, jaeger at crux dot ninja +# Depends on: python3-setuptools-rust + +name=python3-maturin +version=1.1.0 +release=1 +source=(https://pypi.python.org/packages/source/m/maturin/maturin-$version.tar.gz) + +build() { + cd maturin-$version + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG --ignore-installed --no-deps dist/*.whl +}