FreeBSD Bugzilla – Attachment 259487 Details for
Bug 286048
[NEW PORT] devel/py-spin: Scientific Python INcantations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
devel/py-spin: Scientific Python INcantations
0001-devel-py-spin-New-Port.patch (text/plain), 3.92 KB, created by
Alastair Hogge
on 2025-04-12 03:17:54 UTC
(
hide
)
Description:
devel/py-spin: Scientific Python INcantations
Filename:
MIME Type:
Creator:
Alastair Hogge
Created:
2025-04-12 03:17:54 UTC
Size:
3.92 KB
patch
obsolete
>From edd453df6d8b5c9f490b26b8b0d45d34caf811f4 Mon Sep 17 00:00:00 2001 >From: Alastair Hogge <agh@riseup.net> >Date: Sat, 12 Apr 2025 11:15:32 +0800 >Subject: [PATCH] devel/py-spin: New Port > >devel/py-spin: >New Port, Scientific Python INcantations > >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/ > > PR: 286048 >--- > devel/Makefile | 1 + > devel/py-spin/Makefile | 32 ++++++++++++++++++++++++++++++++ > devel/py-spin/distinfo | 3 +++ > devel/py-spin/pkg-descr | 7 +++++++ > 4 files changed, 43 insertions(+) > create mode 100644 devel/py-spin/Makefile > create mode 100644 devel/py-spin/distinfo > create mode 100644 devel/py-spin/pkg-descr > >diff --git a/devel/Makefile b/devel/Makefile >index 918223a281f3..fa1224319253 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -5936,6 +5936,7 @@ > SUBDIR += py-sparse > SUBDIR += py-speaklater > SUBDIR += py-speg >+ SUBDIR += py-spin > SUBDIR += py-spyder-kernels > SUBDIR += py-spyder-unittest > SUBDIR += py-sqids >diff --git a/devel/py-spin/Makefile b/devel/py-spin/Makefile >new file mode 100644 >index 000000000000..69a20ed777e4 >--- /dev/null >+++ b/devel/py-spin/Makefile >@@ -0,0 +1,32 @@ >+PORTNAME= spin >+DISTVERSION= 0.13 >+CATEGORIES= devel python science >+MASTER_SITES= PYPI >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= agh@riseup.net >+COMMENT= Developer tool for scientific Python libraries >+WWW= https://pypi.org/project/spin/ >+ >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=7:devel/py-importlib-metadata@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+ >+USES= python:3.8+ >+USE_PYTHON= allflavors autoplist concurrent pep517 >+ >+NO_ARCH= yes >+ >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} < 31100 >+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} >+.endif >+ >+.include <bsd.port.post.mk> >diff --git a/devel/py-spin/distinfo b/devel/py-spin/distinfo >new file mode 100644 >index 000000000000..34fc23e057d9 >--- /dev/null >+++ b/devel/py-spin/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1743921739 >+SHA256 (spin-0.13.tar.gz) = 4f00a9f3a91ee1adfeed553a4dfd37015bf54481161bcdaabff6ec6d5bbf5ffe >+SIZE (spin-0.13.tar.gz) = 29224 >diff --git a/devel/py-spin/pkg-descr b/devel/py-spin/pkg-descr >new file mode 100644 >index 000000000000..2ebfb168572a >--- /dev/null >+++ b/devel/py-spin/pkg-descr >@@ -0,0 +1,7 @@ >+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. >-- >2.48.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 286048
:
259487