pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-spectra



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jul 26 15:39:11 UTC 2023

Modified Files:
        pkgsrc/graphics/py-spectra: Makefile

Log Message:
py-spectra: better packaging


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/py-spectra/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-spectra/Makefile
diff -u pkgsrc/graphics/py-spectra/Makefile:1.2 pkgsrc/graphics/py-spectra/Makefile:1.3
--- pkgsrc/graphics/py-spectra/Makefile:1.2     Fri Jul 21 08:21:18 2023
+++ pkgsrc/graphics/py-spectra/Makefile Wed Jul 26 15:39:11 2023
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.2 2023/07/21 08:21:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/26 15:39:11 adam Exp $
 
 DISTNAME=      spectra-0.0.11
-PKGNAME=       ${PYPKGPREFIX}-spectra-0.0.11
-CATEGORIES=    graphics
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/spectra/}
 
 OWNER=         bacon%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/spectra
+HOMEPAGE=      https://github.com/jsvine/spectra
 COMMENT=       Color scales and color conversion made easy for Python
 LICENSE=       mit
 
 DEPENDS=       ${PYPKGPREFIX}-colormath>=3.0.0:../../math/py-colormath
+TEST_DEPENDS=  ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
-TEST_DEPENDS=  ${PYPKGPREFIX}-nose>0:../../devel/py-nose
+USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 37
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 do-test:
-       cd ${WRKSRC} && ${PYTHONBIN} -m nose -v test
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m nose -v test
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index