diff --git a/devel/Makefile b/devel/Makefile --- 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 --- /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 + +.if ${PYTHON_REL} < 31100 +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-spin/distinfo b/devel/py-spin/distinfo new file mode 100644 --- /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 --- /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.