py-zbar: apply suggestions from wiz

* removed DEPENDS.
* switch to PYTHON_VERSIONS_ACCEPTED
* Use distutils.mk
This commit is contained in:
ng0 2019-02-26 17:57:01 +00:00
parent 9417cbb095
commit a89a8958d1
2 changed files with 4 additions and 6 deletions

View File

@ -7,14 +7,11 @@ MASTER_SITES= ${MASTER_SITE_PYPI:=z/zbar/}
MAINTAINER= ng0@n0.is
HOMEPAGE= http://zbar.sourceforge.net/
COMMENT= python2.7 bindings for ZBar bar code reader
COMMENT= Python bindings for the ZBar bar code reader
LICENSE= gnu-lgpl-v2.1
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # python2.7 only
PYDISTUTILSPKG= YES
DEPENDS+= zbar-[0-9]*:../../wip/zbar
PYTHON_VERSIONS_ACCEPTED= 27
.include "../../wip/zbar/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,2 +1,3 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/zbar.so