pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-jsonschema



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Dec  3 16:50:59 UTC 2019

Modified Files:
        pkgsrc/textproc/py-jsonschema: Makefile distinfo

Log Message:
py-jsonschema: updated to 3.2.0

v3.2.0
* Added a ``format_nongpl`` setuptools extra, which installs only ``format``
  dependencies that are non-GPL


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-jsonschema/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-jsonschema/distinfo

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

Modified files:

Index: pkgsrc/textproc/py-jsonschema/Makefile
diff -u pkgsrc/textproc/py-jsonschema/Makefile:1.13 pkgsrc/textproc/py-jsonschema/Makefile:1.14
--- pkgsrc/textproc/py-jsonschema/Makefile:1.13 Mon Dec  2 04:02:44 2019
+++ pkgsrc/textproc/py-jsonschema/Makefile      Tue Dec  3 16:50:59 2019
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2019/12/02 04:02:44 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2019/12/03 16:50:59 adam Exp $
 
-DISTNAME=      jsonschema-3.1.1
+DISTNAME=      jsonschema-3.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonschema/}
 
@@ -13,19 +12,24 @@ LICENSE=    modified-bsd
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
 DEPENDS+=      ${PYPKGPREFIX}-pyrsistent>=0.14.0:../../devel/py-pyrsistent
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32
+.elif ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
 .endif
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} jsonschema jsonschema-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       cd ${WRKSRC}/jsonschema && ${PYTHONBIN} -m unittest discover -v
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-jsonschema/distinfo
diff -u pkgsrc/textproc/py-jsonschema/distinfo:1.7 pkgsrc/textproc/py-jsonschema/distinfo:1.8
--- pkgsrc/textproc/py-jsonschema/distinfo:1.7  Sat Oct 19 14:32:09 2019
+++ pkgsrc/textproc/py-jsonschema/distinfo      Tue Dec  3 16:50:59 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/10/19 14:32:09 adam Exp $
+$NetBSD: distinfo,v 1.8 2019/12/03 16:50:59 adam Exp $
 
-SHA1 (jsonschema-3.1.1.tar.gz) = 65f9ebd926599291dd3a832ba7d6b64373841ceb
-RMD160 (jsonschema-3.1.1.tar.gz) = a0a00e623dc2b4ac1aec882eb55f3014dbf01dcd
-SHA512 (jsonschema-3.1.1.tar.gz) = 28b8c7b8bfc72cc60d5fc44ce32990858ce2c1b1d88f6a28ea9f19123c8d29449d778ad55e0da72a9de30213d067ad5616a5d65ad1e0f7a9df375204096c6b18
-Size (jsonschema-3.1.1.tar.gz) = 150179 bytes
+SHA1 (jsonschema-3.2.0.tar.gz) = fbca135887b3c79e7f08fff6a34fef053746151b
+RMD160 (jsonschema-3.2.0.tar.gz) = fb79174fba8955cf5433fa0e79d3ad3a48c590fb
+SHA512 (jsonschema-3.2.0.tar.gz) = acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab
+Size (jsonschema-3.2.0.tar.gz) = 167226 bytes



Home | Main Index | Thread Index | Old Index