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
This commit is contained in:
adam 2019-12-03 16:50:59 +00:00
parent 166d6db260
commit b8eb935495
2 changed files with 13 additions and 9 deletions

View file

@ -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"

View file

@ -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