| @@ -1,31 +1,31 @@ | | | @@ -1,31 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.21 2021/03/05 07:58:46 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.22 2021/03/15 07:18:25 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= xmlschema-1.5.2 | | 3 | DISTNAME= xmlschema-1.5.3 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= textproc python | | 5 | CATEGORIES= textproc python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=x/xmlschema/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=x/xmlschema/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/brunato/xmlschema | | 9 | HOMEPAGE= https://github.com/brunato/xmlschema |
10 | COMMENT= XML Schema validator and decoder | | 10 | COMMENT= XML Schema validator and decoder |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-elementpath>=2.0.4:../../textproc/py-elementpath | | 13 | DEPENDS+= ${PYPKGPREFIX}-elementpath>=2.0.4:../../textproc/py-elementpath |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree | | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree |
15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip | | 15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip |
16 | | | 16 | |
17 | USE_LANGUAGES= # none | | 17 | USE_LANGUAGES= # none |
18 | | | 18 | |
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-elementpath | | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-elementpath |
20 | | | 20 | |
21 | post-install: | | 21 | post-install: |
22 | .for bin in xmlschema-json2xml xmlschema-validate xmlschema-xml2json | | 22 | .for bin in xmlschema-json2xml xmlschema-validate xmlschema-xml2json |
23 | cd ${DESTDIR}${PREFIX}/bin && \ | | 23 | cd ${DESTDIR}${PREFIX}/bin && \ |
24 | ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} | | 24 | ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} |
25 | .endfor | | 25 | .endfor |
26 | | | 26 | |
27 | do-test: | | 27 | do-test: |
28 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v | | 28 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v |
29 | | | 29 | |
30 | .include "../../lang/python/egg.mk" | | 30 | .include "../../lang/python/egg.mk" |
31 | .include "../../mk/bsd.pkg.mk" | | 31 | .include "../../mk/bsd.pkg.mk" |