summaryrefslogtreecommitdiff
path: root/graphics/py-uniconvertor
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-19 22:18:53 +0000
committerwiz <wiz@pkgsrc.org>2014-01-19 22:18:53 +0000
commit5dab052ff96010530e4760da811cb853f052d798 (patch)
tree79260cdc77ee764c24d3acbdd2c6c1503b072633 /graphics/py-uniconvertor
parentbd8636762069cf25e933d175d16af3d0a64d5446 (diff)
downloadpkgsrc-5dab052ff96010530e4760da811cb853f052d798.tar.gz
Convert to use distutils.mk. Fix interpreter path in installed file.
Mark as not for python-3.x. Bump PKGREVISION.
Diffstat (limited to 'graphics/py-uniconvertor')
-rw-r--r--graphics/py-uniconvertor/Makefile13
-rw-r--r--graphics/py-uniconvertor/PLIST3
2 files changed, 10 insertions, 6 deletions
diff --git a/graphics/py-uniconvertor/Makefile b/graphics/py-uniconvertor/Makefile
index 3bb7048b4b6..64782ff0e71 100644
--- a/graphics/py-uniconvertor/Makefile
+++ b/graphics/py-uniconvertor/Makefile
@@ -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 @@ HOMEPAGE= http://sk1project.org/
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
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-sk1libs
+REPLACE_PYTHON+= src/__init__.py
-DEPENDS+= ${PYPKGPREFIX}-sk1libs-[0-9]*:../../graphics/py-sk1libs
-
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-uniconvertor/PLIST b/graphics/py-uniconvertor/PLIST
index 318a0187a9a..80d07f97b24 100644
--- a/graphics/py-uniconvertor/PLIST
+++ b/graphics/py-uniconvertor/PLIST
@@ -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