Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/py-chardet py-chardet: pytest from versione...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e696c6d6f705
branches:  trunk
changeset: 431721:e696c6d6f705
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:43:24 2020 +0000

description:
py-chardet: pytest from versioned depens

diffstat:

 converters/py-chardet/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r c250d1800f3e -r e696c6d6f705 converters/py-chardet/Makefile
--- a/converters/py-chardet/Makefile    Sat May 16 08:41:53 2020 +0000
+++ b/converters/py-chardet/Makefile    Sat May 16 08:43:24 2020 +0000
@@ -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 @@
 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