pkgsrc/textproc/py-jsonpickle/Makefile
adam 960c4f8ee3 py-jsonpickle: updated to 1.4.2
v1.4.2
* Use importlib.metadata from the stdlib on Python 3.8.
* Micro-optimize type checks to use a `set` for lookups.
* Documentation improvements.
2020-11-30 20:36:10 +00:00

25 lines
769 B
Makefile

# $NetBSD: Makefile,v 1.8 2020/11/30 20:36:10 adam Exp $
DISTNAME= jsonpickle-1.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonpickle/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://jsonpickle.github.io/
COMMENT= Python library for serializing any arbitrary object graph into JSON
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && ${PYTHONBIN} tests/runtests.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"