pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-zbar: apply suggestions from wiz



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Tue Feb 26 17:57:01 2019 +0000
Changeset:	a89a8958d16918b39ae409afd24e366bfed1bf93

Modified Files:
	py-zbar/Makefile
	py-zbar/PLIST

Log Message:
py-zbar: apply suggestions from wiz

* removed DEPENDS.
* switch to PYTHON_VERSIONS_ACCEPTED
* Use distutils.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a89a8958d16918b39ae409afd24e366bfed1bf93

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-zbar/Makefile | 9 +++------
 py-zbar/PLIST    | 1 +
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs:
diff --git a/py-zbar/Makefile b/py-zbar/Makefile
index e2bacfc0a7..1fed3d4aff 100644
--- a/py-zbar/Makefile
+++ b/py-zbar/Makefile
@@ -7,14 +7,11 @@ MASTER_SITES=	${MASTER_SITE_PYPI:=z/zbar/}
 
 MAINTAINER=	ng0%n0.is@localhost
 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"
diff --git a/py-zbar/PLIST b/py-zbar/PLIST
index 147c840448..30b03da9ea 100644
--- a/py-zbar/PLIST
+++ b/py-zbar/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/zbar.so


Home | Main Index | Thread Index | Old Index