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