| @@ -1,32 +1,32 @@ | | | @@ -1,32 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.39 2022/06/17 10:56:23 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.40 2022/07/02 09:35:57 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= xmlschema-1.11.2 | | 3 | DISTNAME= xmlschema-1.11.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.5.0:../../textproc/py-elementpath | | 13 | DEPENDS+= ${PYPKGPREFIX}-elementpath>=2.5.0:../../textproc/py-elementpath |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree | | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree |
15 | | | 15 | |
16 | USE_LANGUAGES= # none | | 16 | USE_LANGUAGES= # none |
17 | | | 17 | |
18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-elementpath | | 18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-elementpath |
19 | | | 19 | |
20 | USE_PKG_RESOURCES= yes | | 20 | USE_PKG_RESOURCES= yes |
21 | | | 21 | |
22 | post-install: | | 22 | post-install: |
23 | .for bin in xmlschema-json2xml xmlschema-validate xmlschema-xml2json | | 23 | .for bin in xmlschema-json2xml xmlschema-validate xmlschema-xml2json |
24 | cd ${DESTDIR}${PREFIX}/bin && \ | | 24 | cd ${DESTDIR}${PREFIX}/bin && \ |
25 | ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} | | 25 | ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} |
26 | .endfor | | 26 | .endfor |
27 | | | 27 | |
28 | do-test: | | 28 | do-test: |
29 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v | | 29 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v |
30 | | | 30 | |
31 | .include "../../lang/python/egg.mk" | | 31 | .include "../../lang/python/egg.mk" |
32 | .include "../../mk/bsd.pkg.mk" | | 32 | .include "../../mk/bsd.pkg.mk" |