pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-approvaltests



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Jul 22 01:00:24 UTC 2022

Modified Files:
        pkgsrc/devel/py-approvaltests: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-approvaltests: options.mk

Log Message:
Update to 5.3.1. From the changelog:

Allow minimal imports by lazy loading dependencies. The following
dependencies are only needed if used:

- BeautifulSoup4 in verify_html
- allpairspy in pairwise approvals
- pyperclip in clipboard reporter

pkgsrc changes:

- Add an 'x11' option, off by default, to control the pyperclip
  dependency.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/py-approvaltests/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-approvaltests/PLIST
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/py-approvaltests/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-approvaltests/options.mk

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-approvaltests/Makefile
diff -u pkgsrc/devel/py-approvaltests/Makefile:1.42 pkgsrc/devel/py-approvaltests/Makefile:1.43
--- pkgsrc/devel/py-approvaltests/Makefile:1.42 Wed Jun 29 19:12:18 2022
+++ pkgsrc/devel/py-approvaltests/Makefile      Fri Jul 22 01:00:24 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2022/06/29 19:12:18 schmonz Exp $
+# $NetBSD: Makefile,v 1.43 2022/07/22 01:00:24 schmonz Exp $
 
-DISTNAME=      approvaltests-5.3.0
+DISTNAME=      approvaltests-5.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/approvaltests/}
@@ -13,7 +13,8 @@ LICENSE=      apache-2.0
 DEPENDS+=      ${PYPKGPREFIX}-allpairspy-[0-9]*:../../devel/py-allpairspy
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-empty-files-[0-9]*:../../devel/py-empty-files
-DEPENDS+=      ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip
+
+.include "options.mk"
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 

Index: pkgsrc/devel/py-approvaltests/PLIST
diff -u pkgsrc/devel/py-approvaltests/PLIST:1.18 pkgsrc/devel/py-approvaltests/PLIST:1.19
--- pkgsrc/devel/py-approvaltests/PLIST:1.18    Wed Jun 29 19:12:18 2022
+++ pkgsrc/devel/py-approvaltests/PLIST Fri Jul 22 01:00:24 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2022/06/29 19:12:18 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/07/22 01:00:24 schmonz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -161,6 +161,9 @@ ${PYSITELIB}/approvaltests/string_writer
 ${PYSITELIB}/approvaltests/utilities/__init__.py
 ${PYSITELIB}/approvaltests/utilities/__init__.pyc
 ${PYSITELIB}/approvaltests/utilities/__init__.pyo
+${PYSITELIB}/approvaltests/utilities/clipboard_utilities.py
+${PYSITELIB}/approvaltests/utilities/clipboard_utilities.pyc
+${PYSITELIB}/approvaltests/utilities/clipboard_utilities.pyo
 ${PYSITELIB}/approvaltests/utilities/exceptions/__init__.py
 ${PYSITELIB}/approvaltests/utilities/exceptions/__init__.pyc
 ${PYSITELIB}/approvaltests/utilities/exceptions/__init__.pyo

Index: pkgsrc/devel/py-approvaltests/distinfo
diff -u pkgsrc/devel/py-approvaltests/distinfo:1.41 pkgsrc/devel/py-approvaltests/distinfo:1.42
--- pkgsrc/devel/py-approvaltests/distinfo:1.41 Wed Jun 29 19:12:18 2022
+++ pkgsrc/devel/py-approvaltests/distinfo      Fri Jul 22 01:00:24 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.41 2022/06/29 19:12:18 schmonz Exp $
+$NetBSD: distinfo,v 1.42 2022/07/22 01:00:24 schmonz Exp $
 
-BLAKE2s (approvaltests-5.3.0.tar.gz) = 49dab4b252606178400effcef63a62dfc8feff1394e1b68c1f74f19ba8d2583e
-SHA512 (approvaltests-5.3.0.tar.gz) = 3fe2dc1c4f3983d5e8f89a1518188201bf415e70e34501090aa7980e0c9102bbf597413c0106040c0262dda3db3f55e274d858ed2af949c0b7884cbe67ba11be
-Size (approvaltests-5.3.0.tar.gz) = 30903 bytes
+BLAKE2s (approvaltests-5.3.1.tar.gz) = 42e902739e252ba3097f6a83ccf584dc44aacd18a9f4b4636336be18251eb5f8
+SHA512 (approvaltests-5.3.1.tar.gz) = 6d96a2eef7573e20c372318f2a46ba6ec633a88c004721a32a3ce7944059b368af2a17061b9010c23b057c2d6327d375136adb72eb52ddce85ed3b579821699d
+Size (approvaltests-5.3.1.tar.gz) = 31100 bytes

Added files:

Index: pkgsrc/devel/py-approvaltests/options.mk
diff -u /dev/null pkgsrc/devel/py-approvaltests/options.mk:1.1
--- /dev/null   Fri Jul 22 01:00:24 2022
+++ pkgsrc/devel/py-approvaltests/options.mk    Fri Jul 22 01:00:24 2022
@@ -0,0 +1,10 @@
+# $NetBSD: options.mk,v 1.1 2022/07/22 01:00:24 schmonz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.py-approvaltests
+PKG_SUPPORTED_OPTIONS= x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+DEPENDS+=              ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip
+.endif



Home | Main Index | Thread Index | Old Index