[crux-commits] ports/contrib (refs/remotes/origin/3.6): python3-setuptools-rust: initial import

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:46 UTC 2021


commit fbc8a06e4bc6833a1352f20cc0d8a75e628f97fe
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Mar 7 13:26:40 2021 +1100

    python3-setuptools-rust: initial import

diff --git a/python3-setuptools-rust/.footprint b/python3-setuptools-rust/.footprint
new file mode 100644
index 000000000..4d94f943c
--- /dev/null
+++ b/python3-setuptools-rust/.footprint
@@ -0,0 +1,44 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/python3.9/
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/PKG-INFO
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/SOURCES.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/dependency_links.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/entry_points.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/requires.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/top_level.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust-0.11.6-py3.9.egg-info/zip-safe
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/setuptools_rust/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/__init__.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/__init__.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/build.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/build.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/check.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/check.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/clean.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/clean.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/extension.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/extension.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/setuptools_ext.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/setuptools_ext.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/test.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/test.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/tomlgen.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/tomlgen.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/utils.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/utils.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/version.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/__pycache__/version.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/build.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/check.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/clean.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/extension.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/setuptools_ext.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/test.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/tomlgen.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/utils.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/setuptools_rust/version.py
diff --git a/python3-setuptools-rust/.signature b/python3-setuptools-rust/.signature
new file mode 100644
index 000000000..e95acf4bd
--- /dev/null
+++ b/python3-setuptools-rust/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF32ILBHhrdTrUXy8aY4P4B+UklIEC1YQmcHqvp/Rcy3ScStz0tugzH7YmyuWPRYjqur3Pgpvu7CKj72Njx7sF/As=
+SHA256 (Pkgfile) = 986a967ebb9b4d8915d95f2d09cb860de64e73aeca10325b6d986ecdae3664af
+SHA256 (.footprint) = 0960b778491976cc694bd3d91b642b16ce9689ec4b991bfe033ae12d01390bf7
+SHA256 (python-setuptools-rust-0.11.6.tar.gz) = 0c22494070035f43b8b1578dc28d247e3efaeea401fd67b7d062ebc5ce800786
diff --git a/python3-setuptools-rust/Pkgfile b/python3-setuptools-rust/Pkgfile
new file mode 100644
index 000000000..0da1ac1f0
--- /dev/null
+++ b/python3-setuptools-rust/Pkgfile
@@ -0,0 +1,17 @@
+# Description: Compile and distribute Python extensions written in rust as easily as if they were written in C.
+# URL: https://github.com/PyO3/setuptools-rust
+# Maintainer: Danny Rawlins, crux at romster dot me
+# Depends on: python3-setuptools python3-toml python3-semantic-version
+
+name=python3-setuptools-rust
+version=0.11.6
+release=1
+source=(https://github.com/PyO3/setuptools-rust/archive/v$version/python-setuptools-rust-$version.tar.gz)
+
+build() {
+	export SETUPTOOLS_SCM_PRETEND_VERSION=$version
+
+	cd setuptools-rust-$version
+	/usr/bin/python3 setup.py build
+	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
+}


More information about the crux-commits mailing list