Page MenuHomeFreeBSD

devel/py-spin: [NEW PORT] Scientific Python INcantations
Needs ReviewPublic

Authored by agh_riseup.net on Apr 12 2025, 3:20 AM.
Referenced Files
Unknown Object (File)
Mon, Oct 6, 1:16 PM
Unknown Object (File)
Sat, Oct 4, 10:50 AM
Unknown Object (File)
Thu, Oct 2, 11:01 PM
Unknown Object (File)
Thu, Oct 2, 7:38 AM
Unknown Object (File)
Thu, Oct 2, 3:00 AM
Unknown Object (File)
Tue, Sep 30, 8:46 AM
Unknown Object (File)
Tue, Sep 23, 12:49 AM
Unknown Object (File)
Sun, Sep 21, 4:00 PM

Details

Reviewers
alven
db
yuri
agh_riseup.net
Group Reviewers
Ports Committers
Summary

A developer tool for scientific Python libraries

Developers need to memorize a whole bunch of magic command-line
incantations. These incantations may also change over time. Often,
Makefiles are used to provide aliases, but Makefiles can be convoluted,
are not written in Python, and are hard to extend. The goal of spin is
therefore to provide a simple, user-friendly, extendable interface for
common development tasks. It comes with a few common build commands out
the box, but can easily be customized per project.

As a curiosity: the impetus behind developing the tool was the mass
migration of scientific Python libraries (SciPy, scikit-image, and
NumPy, etc.) to Meson, after distutils was deprecated. When many of the
build and installation commands changed, it made sense to abstract away
the nuisance of having to re-learn them.

https://pypi.org/project/spin/
https://github.com/scientific-python/spin/

PR: 286048

Test Plan

Alastair Hogge:
poudriere-testport devel/py-spin:
main-amd64-default: Pass
main-i386-default: Pass
13_4-amd64-release: Pass
13_4-i386-release: Pass
13_5-amd64-release: Pass
13_5-i386-release: Pass
14_2-amd64-release: Pass
14_2-i386-release: Pass

Älven:
For every {amd64, i386} × {14.3, 13.5}:

  • Successful poudriere testport
  • Successful run-testing

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 67431
Build 64314: arc lint + arc unit

Event Timeline

agh_riseup.net created this revision.
alven added a subscriber: alven.
  • Update 0.13 => 0.14
alven edited the test plan for this revision. (Show Details)
alven signed these changes with MFA.Wed, Sep 17, 9:01 PM
alven accepted this revision.
This revision is now accepted and ready to land.Wed, Sep 17, 9:01 PM
alven retitled this revision from devel/py-spin: New Port, Scientific Python INcantations to devel/py-spin: [NEW PORT] Scientific Python INcantations.Wed, Sep 17, 9:04 PM
devel/py-spin/Makefile
10

Please replace with https://github.com/scientific-python/spin
The GH page is more relevant to users than the generic pypi.org page.

15

Please use ${PY_SETUPTOOLS} instead.

22

Please remove :3.9+
This practce was discontinued a while ago.

23

Please remove allflavors.
It should be added only to very few ports which are truly needed for all flavors.

This revision now requires review to proceed.Fri, Sep 19, 12:46 AM
devel/py-spin/Makefile
3

0.15 is available.
Please update to it.

17

This project also requires the importlib-metadata dependency which is missing here.

19

setuptools isn't a run-time dependency.

20

wheel isn't a run-time dependency.

devel/py-spin/Makefile
7

Hello alven,

I have only just noticed your efforts here, great work. From memory, this Port was a requirement for some testing target in another Python Port, maybe py-setuptools.

Anyways, I am no longer interested in maintaining this Port, so ${MAINTAINER} listed above, is currently incorrect.

To good health.

Thank you, Alastair!
I hope our joint efforts may bring this port to the tree.

@yuri: Would you like to take maintainership of this port (as I am not good / comfortable working with Python ports)?