pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-approvaltests py-approvaltest: use proper nam...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/861461c4b49a
branches:  trunk
changeset: 372781:861461c4b49a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 30 22:38:02 2022 +0000

description:
py-approvaltest: use proper name for beautifulsoup4 in requirements

Document test (dependency) status

diffstat:

 devel/py-approvaltests/Makefile                            |   8 +++++---
 devel/py-approvaltests/distinfo                            |   3 ++-
 devel/py-approvaltests/patches/patch-requirements.prod.txt |  14 ++++++++++++++
 3 files changed, 21 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r 946a23956222 -r 861461c4b49a devel/py-approvaltests/Makefile
--- a/devel/py-approvaltests/Makefile   Sun Jan 30 22:24:06 2022 +0000
+++ b/devel/py-approvaltests/Makefile   Sun Jan 30 22:38:02 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2022/01/30 22:23:59 schmonz Exp $
+# $NetBSD: Makefile,v 1.33 2022/01/30 22:38:02 wiz Exp $
 
 DISTNAME=      approvaltests-3.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -15,10 +15,12 @@
 DEPENDS+=      ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+# This is the officially documented method, but not all necessary files
+# are in the pypi distfile (as of 3.5.0)
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
-
 #do-test:
-#      (cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m tox)
+#      cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m tox
 
 USE_LANGUAGES= # none
 
diff -r 946a23956222 -r 861461c4b49a devel/py-approvaltests/distinfo
--- a/devel/py-approvaltests/distinfo   Sun Jan 30 22:24:06 2022 +0000
+++ b/devel/py-approvaltests/distinfo   Sun Jan 30 22:38:02 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.31 2022/01/30 22:23:59 schmonz Exp $
+$NetBSD: distinfo,v 1.32 2022/01/30 22:38:02 wiz Exp $
 
 BLAKE2s (approvaltests-3.5.0.tar.gz) = 451b3c58663a8ac6a4383fa0fca3398eaaf123ca4fafb5afd95193957bf022a6
 SHA512 (approvaltests-3.5.0.tar.gz) = 91adc01e548cbec82f38b7eecf48e803d529809935810b00f8e0fa276fc64738238fc1272026cf023915f970e197d8f164b7d75bbec2661180e12b9af3b66f87
 Size (approvaltests-3.5.0.tar.gz) = 26826 bytes
+SHA1 (patch-requirements.prod.txt) = 13b2dd09e1f64838e38961c17c1e63da7da340ce
diff -r 946a23956222 -r 861461c4b49a devel/py-approvaltests/patches/patch-requirements.prod.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approvaltests/patches/patch-requirements.prod.txt        Sun Jan 30 22:38:02 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-requirements.prod.txt,v 1.1 2022/01/30 22:38:02 wiz Exp $
+
+Use official name of the module.
+
+--- requirements.prod.txt.orig 2022-01-30 18:40:10.000000000 +0000
++++ requirements.prod.txt
+@@ -1,4 +1,4 @@
+ pyperclip
+ empty-files
+-bs4
+-pytest
+\ No newline at end of file
++beautifulsoup4
++pytest



Home | Main Index | Thread Index | Old Index