diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /python/py-maturin | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'python/py-maturin')
| -rw-r--r-- | python/py-maturin/.footprint | 18 | ||||
| -rw-r--r-- | python/py-maturin/.signature | 6 | ||||
| -rw-r--r-- | python/py-maturin/MAKEPKG | 39 |
3 files changed, 63 insertions, 0 deletions
diff --git a/python/py-maturin/.footprint b/python/py-maturin/.footprint new file mode 100644 index 0000000..488f441 --- /dev/null +++ b/python/py-maturin/.footprint @@ -0,0 +1,18 @@ +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.14/ +drwxr-xr-x root/root usr/lib/python3.14/site-packages/ +drwxr-xr-x root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/licenses/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/licenses/license-apache +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin-1.15.0.dist-info/licenses/license-mit +drwxr-xr-x root/root usr/lib/python3.14/site-packages/maturin/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin/__init__.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin/__main__.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/maturin/bootstrap.py diff --git a/python/py-maturin/.signature b/python/py-maturin/.signature new file mode 100644 index 0000000..4f390c7 --- /dev/null +++ b/python/py-maturin/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mDNrihumsaPkDNgc0xYe2YmSZaXcbOmKExLtq0IyKrItmoHvDRIshfWzwJ/1WPcS/ZFkk3MdeQ7eHc3rp0NYYAg= + +SHA256 (MAKEPKG) = 5f5297867197f4ea917bd9d935ad0e8819840af36d55fa2c55d0ba81baba9332 +SHA256 (.footprint) = fb16136a5c0009d6de907511aa4c62b52d87cdaeee09105b789207de0c72c02b +SHA256 (maturin-1.15.0.tar.gz) = 94b26cc8e8aba61a5f2099715fe640e18c5f678e9a500408b38761263954228a +SHA256 (py-maturin#1.15.0-3.pkg.tar.gz) = 2ebdc64dd23721998aaaad4a59c649c4ddbdbfff1c6b69334ffa8d8fe7a8799d diff --git a/python/py-maturin/MAKEPKG b/python/py-maturin/MAKEPKG new file mode 100644 index 0000000..0e98cf5 --- /dev/null +++ b/python/py-maturin/MAKEPKG @@ -0,0 +1,39 @@ +#!/bin/mkpkg +# description: Build and publish crates with pyo3, cffi and uniffi bindings as well as rust bin +# url: https://github.com/pyo3/maturin + +name=py-maturin +_name=maturin +version=1.15.0 +release=3 +depends=(python3 rust) +makedeps=(py-installer py-setuptools py-build py-wheel py-setuptools_rust rust) +source=(https://files.pythonhosted.org/packages/source/m/maturin/$_name-$version.tar.gz) + +sha256sums=( + "94b26cc8e8aba61a5f2099715fe640e18c5f678e9a500408b38761263954228a" +) + +build() { + cd $_name-$version + + # Build wheel via PEP 517 frontend (backend from pyproject.toml) + /usr/bin/python3 -m build --no-isolation --wheel + + _pyver=$(/usr/bin/python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")') + _sitedir="$PKG/usr/lib/python${_pyver}/site-packages" + + install -dm755 "$_sitedir" + /usr/bin/python3 -m installer --no-compile-bytecode --destdir "$PKG" --prefix /usr dist/*.whl + + find "$_sitedir" -type d \( -name tests -o -name test \) -prune -exec rm -rf {} + + find "$_sitedir" -name "*.exe" -delete +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + |
