Bug 256251 - [NEW PORT] devel/py-clvm_rs: Port of Chia's Rust clvm_rs library.
Summary: [NEW PORT] devel/py-clvm_rs: Port of Chia's Rust clvm_rs library.
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: feature, needs-qa
Depends on:
Blocks: 256277
  Show dependency treegraph
 
Reported: 2021-05-30 02:07 UTC by risner
Modified: 2021-06-01 18:00 UTC (History)
0 users

See Also:


Attachments
Patch of new files for finance/libclvm_rs port. (13.63 KB, patch)
2021-05-30 02:07 UTC, risner
no flags Details | Diff
git staged diff (14.55 KB, patch)
2021-05-31 01:45 UTC, risner
no flags Details | Diff
Final update as a git staged diff. (14.87 KB, patch)
2021-05-31 14:36 UTC, risner
no flags Details | Diff
Final staged git diff. (15.00 KB, patch)
2021-05-31 18:20 UTC, risner
no flags Details | Diff
Final staged git diff. (14.97 KB, patch)
2021-05-31 18:41 UTC, risner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description risner 2021-05-30 02:07:50 UTC
Created attachment 225367 [details]
Patch of new files for finance/libclvm_rs port.

Chai Blockchain clvm_rs library.
Comment 1 risner 2021-05-31 00:27:17 UTC
I've discovered a problem with this patch/port. I'll need to submit a revision. Unless there's an issue, please leave this holding until I submit a new git staging attachment.

Thanks
Comment 2 risner 2021-05-31 01:45:21 UTC
Created attachment 225390 [details]
git staged diff
Comment 3 risner 2021-05-31 01:46:09 UTC
Changed it from finance to devel, as it's a rust library used in python scripts.
Comment 4 risner 2021-05-31 14:36:03 UTC
Created attachment 225406 [details]
Final update as a git staged diff.

The python/cargo framework doesn't support a hybrid like this currently.
I used as a template the only other similar port: www/py-adblock
Overriding do-configure, doing maturin build in do-build, making the bindings with pip to stage in do-install, and building .PLIST.pymodtmp in post-install.
Comment 5 risner 2021-05-31 18:20:01 UTC
Created attachment 225421 [details]
Final staged git diff.

Fixed testing to work using upstream test commands.
Comment 6 risner 2021-05-31 18:41:49 UTC
Created attachment 225423 [details]
Final staged git diff.

Final clean up of Makefile from portclippy/portfmt.