pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cram



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Wed Nov 27 15:25:53 UTC 2024

Modified Files:
        pkgsrc/devel/py-cram: Makefile

Log Message:
py-cram: Use ${BASH}, not ${PREFIX}/bin/bash.

Now that this uses USE_TOOLS+=bash:test instead of TEST_DEPENDS, bash
might live somewhere else.  Tests still pass on my setup with pkgsrc
bash.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-cram/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-cram/Makefile
diff -u pkgsrc/devel/py-cram/Makefile:1.3 pkgsrc/devel/py-cram/Makefile:1.4
--- pkgsrc/devel/py-cram/Makefile:1.3   Tue Nov 12 16:01:00 2024
+++ pkgsrc/devel/py-cram/Makefile       Wed Nov 27 15:25:53 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2024/11/12 16:01:00 riastradh Exp $
+# $NetBSD: Makefile,v 1.4 2024/11/27 15:25:53 riastradh Exp $
 
 DISTNAME=      cram-0.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cram/}
 
@@ -27,7 +28,7 @@ SUBST_STAGE.bash=     pre-configure
 SUBST_MESSAGE.bash=    Fixing /bin/bash references
 SUBST_FILES.bash+=     tests/setup.sh
 SUBST_FILES.bash+=     tests/test.t
-SUBST_SED.bash+=       -e 's,/bin/bash,'${PREFIX:Q}'/bin/bash,g'
+SUBST_SED.bash+=       -e 's,/bin/bash,'${BASH:Q}',g'
 
 do-test:
        @${STEP_MSG} Running cram tests



Home | Main Index | Thread Index | Old Index