python3-maturin: initial import, version 1.1.0

This commit is contained in:
Matt Housh 2023-07-06 17:38:58 -05:00
parent aecfba6c72
commit 1fea1db004
3 changed files with 42 additions and 0 deletions

View File

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

View File

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

15
python3-maturin/Pkgfile Normal file
View File

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