Bug 254851

Summary: [NEW PORT] devel/py-setuptools-rust: Plugin for setuptools to build Rust Python extensions
Product: Ports & Packages Reporter: Jeroen Pulles <jeroen.pulles>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Open ---    
Severity: Affects Only Me CC: lwhsu, meka, rudolphfroger
Priority: --- Keywords: feature, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/PyO3/setuptools-rust
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254853
Bug Depends on: 255341    
Bug Blocks: 254853    
Attachments:
Description Flags
New port files none

Description Jeroen Pulles 2021-04-07 11:27:23 UTC
Created attachment 223894 [details]
New port files

security/py-cryptography has started using rust in its code. It uses the new setuptools-rust extension to compile the rust code in the setup.py build step. 

I'm not sure how to work with new (releases of) setuptools-* ports; When upgrading this port, py-cryptography does not get rebuild.

https://github.com/PyO3/setuptools-rust
Comment 1 Li-Wen Hsu freebsd_committer 2021-04-08 07:02:13 UTC
This is a new port request so the auto assignment mechanism must be confused.
Comment 2 Goran Mekić 2021-04-23 09:08:40 UTC
Based on https://github.com/PyO3/setuptools-rust/blob/main/setup.cfg#L29-L30 this PR should depend on 255341, as it needs setuptools>=46.1