Bug 254851 - [NEW PORT] devel/py-setuptools-rust: Plugin for setuptools to build Rust Python extensions
Summary: [NEW PORT] devel/py-setuptools-rust: Plugin for setuptools to build Rust Pyth...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL: https://github.com/PyO3/setuptools-rust
Keywords: feature, needs-qa
Depends on: 255341
Blocks: 254853
  Show dependency treegraph
 
Reported: 2021-04-07 11:27 UTC by Jeroen Pulles
Modified: 2021-06-04 12:41 UTC (History)
3 users (show)

See Also:


Attachments
New port files (1.91 KB, patch)
2021-04-07 11:27 UTC, Jeroen Pulles
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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