pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-behave



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Oct 17 14:36:15 UTC 2024

Modified Files:
        pkgsrc/devel/py-behave: Makefile PLIST

Log Message:
py-behave: convert to wheel.mk

Mark as not for Python 3.12+

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-behave/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-behave/PLIST

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-behave/Makefile
diff -u pkgsrc/devel/py-behave/Makefile:1.7 pkgsrc/devel/py-behave/Makefile:1.8
--- pkgsrc/devel/py-behave/Makefile:1.7 Wed Jan  5 15:41:01 2022
+++ pkgsrc/devel/py-behave/Makefile     Thu Oct 17 14:36:15 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:01 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2024/10/17 14:36:15 wiz Exp $
 
 DISTNAME=      behave-1.2.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/behave/}
 
@@ -11,6 +11,7 @@ HOMEPAGE=     https://github.com/behave/beha
 COMMENT=       Behaviour-driven development
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-parse>=1.8.2:../../textproc/py-parse
 DEPENDS+=      ${PYPKGPREFIX}-parse_type>=0.4.2:../../textproc/py-parse_type
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.11:../../lang/py-six
@@ -18,19 +19,13 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-hamcrest>=
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.1:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=1.3:../../devel/py-nose
 TEST_DEPENDS+= ${PYPKGPREFIX}-path>=10.1:../../devel/py-path
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-parse_type
-
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_ACCEPTED=      311 310
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} behave behave-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-behave/PLIST
diff -u pkgsrc/devel/py-behave/PLIST:1.1 pkgsrc/devel/py-behave/PLIST:1.2
--- pkgsrc/devel/py-behave/PLIST:1.1    Tue Aug 28 09:58:54 2018
+++ pkgsrc/devel/py-behave/PLIST        Thu Oct 17 14:36:15 2024
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/28 09:58:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/10/17 14:36:15 wiz Exp $
 bin/behave-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
 ${PYSITELIB}/behave/__init__.py
 ${PYSITELIB}/behave/__init__.pyc
 ${PYSITELIB}/behave/__init__.pyo



Home | Main Index | Thread Index | Old Index