git: e7d57a798276 - main - graphics/py-spectra: Update to 0.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Sep 2026 19:44:19 UTC
The branch main has been updated by jwb:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e7d57a79827622eff486c062f4ba9a6b0fb32691
commit e7d57a79827622eff486c062f4ba9a6b0fb32691
Author: Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2026-09-15 19:43:16 +0000
Commit: Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2026-09-15 19:43:16 +0000
graphics/py-spectra: Update to 0.1.0
Switch dependencies to colormath2 and pytest
Changes: https://github.com/jsvine/spectra/releases
Reported by: Repology
---
graphics/py-spectra/Makefile | 15 ++++++---------
graphics/py-spectra/distinfo | 6 +++---
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/graphics/py-spectra/Makefile b/graphics/py-spectra/Makefile
index 1f5ef0654c65..cf32c707f2e5 100644
--- a/graphics/py-spectra/Makefile
+++ b/graphics/py-spectra/Makefile
@@ -1,26 +1,23 @@
PORTNAME= spectra
-DISTVERSION= 0.0.11
-PORTREVISION= 3
+DISTVERSION= 0.1.0
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jwb@FreeBSD.org
COMMENT= Color scales and color conversion made easy for Python
-WWW= https://pypi.python.org/pypi/spectra
+WWW= https://github.com/jsvine/spectra
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colormath>3.0.0:math/py-colormath@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colormath2>=3.0.0:math/py-colormath2@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v test
-
.include <bsd.port.mk>
diff --git a/graphics/py-spectra/distinfo b/graphics/py-spectra/distinfo
index 834bf1e38874..584184ee0084 100644
--- a/graphics/py-spectra/distinfo
+++ b/graphics/py-spectra/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1569116785
-SHA256 (spectra-0.0.11.tar.gz) = 8eb362a5187cb63cee13cd01186799c0c791a3ad3bec57b279132e12521762b8
-SIZE (spectra-0.0.11.tar.gz) = 18819
+TIMESTAMP = 1788785860
+SHA256 (spectra-0.1.0.tar.gz) = 6a30e33241cb18256020395181cb4cc029dcac6de6f8d78cecbed81c14226a3f
+SIZE (spectra-0.1.0.tar.gz) = 19363