pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/py-chardet



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 08:43:24 UTC 2020

Modified Files:
        pkgsrc/converters/py-chardet: Makefile

Log Message:
py-chardet: pytest from versioned depens


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/converters/py-chardet/Makefile

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

Modified files:

Index: pkgsrc/converters/py-chardet/Makefile
diff -u pkgsrc/converters/py-chardet/Makefile:1.23 pkgsrc/converters/py-chardet/Makefile:1.24
--- pkgsrc/converters/py-chardet/Makefile:1.23  Mon Aug 20 22:36:20 2018
+++ pkgsrc/converters/py-chardet/Makefile       Sat May 16 08:43:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2018/08/20 22:36:20 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.24 2020/05/16 08:43:24 adam Exp $
 
 DISTNAME=      chardet-3.0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,13 +10,13 @@ HOMEPAGE=   https://pypi.python.org/pypi/c
 COMMENT=       Character encoding auto-detection in Python
 LICENSE=       gnu-lgpl-v2.1
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} chardetect chardetect-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"



Home | Main Index | Thread Index | Old Index