pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-nose



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Oct  9 12:50:45 UTC 2021

Modified Files:
        pkgsrc/devel/py-nose: Makefile distinfo
Removed Files:
        pkgsrc/devel/py-nose/patches: patch-aa

Log Message:
py-nose: simplify installation, and fix for python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-nose/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-nose/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/devel/py-nose/patches/patch-aa

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-nose/Makefile
diff -u pkgsrc/devel/py-nose/Makefile:1.16 pkgsrc/devel/py-nose/Makefile:1.17
--- pkgsrc/devel/py-nose/Makefile:1.16  Tue Aug 18 20:12:37 2020
+++ pkgsrc/devel/py-nose/Makefile       Sat Oct  9 12:50:45 2021
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2020/08/18 20:12:37 riastradh Exp $
+# $NetBSD: Makefile,v 1.17 2021/10/09 12:50:45 wiz Exp $
 
 DISTNAME=      nose-1.3.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nose/}
-EXTRACT_USING= bsdtar
 
 MAINTAINER=    kamel.derouiche%gmail.com@localhost
 HOMEPAGE=      https://nose.readthedocs.io/
@@ -16,18 +15,16 @@ LICENSE=    gnu-lgpl-v2.1
 
 USE_LANGUAGES= # none
 
-SUBST_CLASSES+=                manpath
-SUBST_STAGE.manpath=   pre-build
-SUBST_FILES.manpath=   setup.py
-SUBST_VARS.manpath=    PKGMANDIR
-
-post-extract:
-       ${MV} ${WRKSRC}/nosetests.1 ${WRKSRC}/nosetests${PYVERSSUFFIX}.1
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 
 pre-test:
        ${RUN} cd ${WRKSRC} && \
        ${PYTHONBIN} setup.py build_tests
 
+post-install:
+       ${RM} ${DESTDIR}${PREFIX}/bin/nosetests
+       ${MV} ${DESTDIR}${PREFIX}/man/man1/nosetests.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nosetests${PYVERSSUFFIX}.1
+
 do-test:
        ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
 

Index: pkgsrc/devel/py-nose/distinfo
diff -u pkgsrc/devel/py-nose/distinfo:1.10 pkgsrc/devel/py-nose/distinfo:1.11
--- pkgsrc/devel/py-nose/distinfo:1.10  Thu Oct  7 13:43:23 2021
+++ pkgsrc/devel/py-nose/distinfo       Sat Oct  9 12:50:45 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2021/10/07 13:43:23 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/10/09 12:50:45 wiz Exp $
 
 RMD160 (nose-1.3.7.tar.gz) = 4a3e1bb3121a2620aec0baa51eac1bb5a11cf6e9
 SHA512 (nose-1.3.7.tar.gz) = e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62
 Size (nose-1.3.7.tar.gz) = 280488 bytes
-SHA1 (patch-aa) = 6bc968f1609a4dd2ea8acba10f4b6d13b6876204
+SHA1 (patch-aa) = 83e3370769762bbb68d79edb7a785f9b62a2b039



Home | Main Index | Thread Index | Old Index