summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2015-11-18 21:48:19 +0000
committerkhorben <khorben@pkgsrc.org>2015-11-18 21:48:19 +0000
commit03e2f7486d81707d03d4eed4b6f83c9acf1db34c (patch)
tree5f4e02dc730b7f39e5db9853af0bd06de29d9354
parent5ee545afe3d49e9c49c1b184e632e67ab898b699 (diff)
downloadpkgsrc-03e2f7486d81707d03d4eed4b6f83c9acf1db34c.tar.gz
Build graphics/py-pygraphviz as a Python egg
This also fixes the PLIST; thanks wiz@ for the hint!
-rw-r--r--graphics/py-pygraphviz/Makefile7
-rw-r--r--graphics/py-pygraphviz/PLIST10
2 files changed, 7 insertions, 10 deletions
diff --git a/graphics/py-pygraphviz/Makefile b/graphics/py-pygraphviz/Makefile
index 749240059d1..8a2dd752e17 100644
--- a/graphics/py-pygraphviz/Makefile
+++ b/graphics/py-pygraphviz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/11/18 20:52:10 khorben Exp $
+# $NetBSD: Makefile,v 1.3 2015/11/18 21:48:19 khorben Exp $
#
VERS= 1.3.1
@@ -12,11 +12,8 @@ HOMEPAGE= http://networkx.lanl.gov/pygraphviz/index.html
COMMENT= Python interface to the Graphviz package
LICENSE= original-bsd
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-
PYDISTUTILSPKG= yes
.include "../../graphics/graphviz/buildlink3.mk"
-.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-pygraphviz/PLIST b/graphics/py-pygraphviz/PLIST
index cf283c37487..10911a6cf98 100644
--- a/graphics/py-pygraphviz/PLIST
+++ b/graphics/py-pygraphviz/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2015/11/16 01:46:20 khorben Exp $
-${PYSITELIB}/pygraphviz-${PKGVERSION}-py2.7.egg-info/PKG-INFO
-${PYSITELIB}/pygraphviz-${PKGVERSION}-py2.7.egg-info/SOURCES.txt
-${PYSITELIB}/pygraphviz-${PKGVERSION}-py2.7.egg-info/dependency_links.txt
-${PYSITELIB}/pygraphviz-${PKGVERSION}-py2.7.egg-info/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2015/11/18 21:48:19 khorben Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pygraphviz/__init__.py
${PYSITELIB}/pygraphviz/__init__.pyc
${PYSITELIB}/pygraphviz/__init__.pyo