pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-uniconvertor Convert to use distutils.mk. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3971b857873e
branches:  trunk
changeset: 629333:3971b857873e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 19 22:18:53 2014 +0000

description:
Convert to use distutils.mk. Fix interpreter path in installed file.
Mark as not for python-3.x. Bump PKGREVISION.

diffstat:

 graphics/py-uniconvertor/Makefile |  13 ++++++++-----
 graphics/py-uniconvertor/PLIST    |   3 ++-
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 3e3431e96be2 -r 3971b857873e graphics/py-uniconvertor/Makefile
--- a/graphics/py-uniconvertor/Makefile Sun Jan 19 22:15:23 2014 +0000
+++ b/graphics/py-uniconvertor/Makefile Sun Jan 19 22:18:53 2014 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2012/10/06 14:11:18 asau Exp $
+# $NetBSD: Makefile,v 1.7 2014/01/19 22:18:53 wiz Exp $
 
 DISTNAME=      uniconvertor-1.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics python
 MASTER_SITES=  http://uniconvertor.googlecode.com/files/
 
@@ -11,11 +11,14 @@
 COMMENT=       Universal vector graphics translator
 LICENSE=       gnu-lgpl-v2 AND gnu-gpl-v2
 
+DEPENDS+=      ${PYPKGPREFIX}-sk1libs-[0-9]*:../../graphics/py-sk1libs
+
 USE_LANGUAGES=         c
 PYDISTUTILSPKG=                yes
 PYTHON_SELF_CONFLICT=  yes
-
-DEPENDS+=      ${PYPKGPREFIX}-sk1libs-[0-9]*:../../graphics/py-sk1libs
+PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-sk1libs
+REPLACE_PYTHON+=       src/__init__.py
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3e3431e96be2 -r 3971b857873e graphics/py-uniconvertor/PLIST
--- a/graphics/py-uniconvertor/PLIST    Sun Jan 19 22:15:23 2014 +0000
+++ b/graphics/py-uniconvertor/PLIST    Sun Jan 19 22:18:53 2014 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/12 07:59:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/01/19 22:18:53 wiz Exp $
 bin/uniconvertor
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/uniconvertor/COPYRIGHTS
 ${PYSITELIB}/uniconvertor/GNU_GPL_v2
 ${PYSITELIB}/uniconvertor/GNU_LGPL_v2



Home | Main Index | Thread Index | Old Index