pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-project-api
Module Name: pkgsrc
Committed By: adam
Date: Wed Jul 19 07:23:11 UTC 2023
Modified Files:
pkgsrc/devel/py-project-api: Makefile
Log Message:
py-project-api: fix PKGNAME and DEPENDS
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-project-api/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-project-api/Makefile
diff -u pkgsrc/devel/py-project-api/Makefile:1.3 pkgsrc/devel/py-project-api/Makefile:1.4
--- pkgsrc/devel/py-project-api/Makefile:1.3 Mon Jul 17 19:17:43 2023
+++ pkgsrc/devel/py-project-api/Makefile Wed Jul 19 07:23:11 2023
@@ -1,39 +1,37 @@
-# $NetBSD: Makefile,v 1.3 2023/07/17 19:17:43 adam Exp $
+# $NetBSD: Makefile,v 1.4 2023/07/19 07:23:11 adam Exp $
DISTNAME= pyproject_api-1.5.3
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//S/_/-/}
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyproject_api/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://pypi.org/project/pyproject-api/
+HOMEPAGE= https://github.com/tox-dev/pyproject-api
COMMENT= API to interact with the python pyproject.toml based projects
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0:../../devel/py-hatch-vcs
-DEPENDS+= ${PYPKGPREFIX}-packaging>=23:../../devel/py-packaging
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.17.1:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.3:../../devel/py-hatch-vcs
+DEPENDS+= ${PYPKGPREFIX}-packaging>=23.1:../../devel/py-packaging
# unpackaged
#TEST_DEPENDS+= ${PYPKGPREFIX}-covdefaults>=2.2.2:../../devel/py-covdefaults
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.1:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.3.1:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.1:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.10:../../devel/py-test-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv>=20.17.1:../../devel/py-virtualenv
-TEST_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.40:../../devel/py-wheel
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-# needs 'make install'
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
.include "../../lang/python/pyversion.mk"
-
.if ${PYTHON_VERSION} < 311
-DEPENDS+= ${PYPKGPREFIX}-packaging>=23:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-tomli>=2.0.1:../../textproc/py-tomli
.endif
+# needs 'make install'
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index