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: Closed Overcome By Events
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: 2022-03-11 09:43 UTC (History)
8 users (show)

See Also:
koobs: maintainer-feedback? (jeroen.pulles)

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.

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
Comment 3 Andrew Klaus 2022-02-06 03:55:30 UTC
Hey any update on when this will get added? I'd like to add the etebase/etesync ports, but they require this port as a prerequisite. Thanks!
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-23 04:05:56 UTC
Given the size and complexity of the rust stack, it'd be great to get QA  (needs-qa) confirmation (with poudriere) across all tier archs and supported freebsd versions.

Anyone can do this, though maintainer preferred (so they're across it), and if anyone needs help: #freebsd-ports on Libera IRC or #ports on Discord and we can help you get poudriere running if you dont have it up already.
Comment 5 Jeroen Pulles 2022-03-10 13:25:12 UTC
Can I help out? 

I'm currently running a single variation on poudriere (FreeBSD 12.3 + Python 3.9 + amd64). 

And I haven't moved to tracking freebsd-ports with git. I'm still stuck on a private mercurial repo that follows upstream with git and rsync. 

I could add a new git clone and track the public freebsd-ports git. Or is there some  workspace for this on reviews.freebsd.org?
Comment 6 Jeroen Pulles 2022-03-10 14:05:33 UTC
I see that setuptools-rust exists in ports and is up-to-date as of Feb 28th:


Looks like this issue can be closed?