From d5bc897059b290a3091c04eb52d09a7fbab182a3 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 24 Sep 2006 17:46:53 +0000 Subject: - Fix place of install when devel/py-setuptools is installed - Pass maintainership to submitter PR: ports/103564 Submitted by: Soeren Straarup --- graphics/py-graphviz/Makefile | 4 +--- graphics/py-graphviz/files/patch-setup.py | 24 ++++++++++++++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) (limited to 'graphics/py-graphviz') diff --git a/graphics/py-graphviz/Makefile b/graphics/py-graphviz/Makefile index 6942d0e0be85..51acfd412444 100644 --- a/graphics/py-graphviz/Makefile +++ b/graphics/py-graphviz/Makefile @@ -12,14 +12,12 @@ MASTER_SITE_SUBDIR= networkx PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pygraphviz-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= xride@x12.dk COMMENT= Python interface to GraphViz agraph BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz -NO_CDROM= "Can't be included in a commercial product" - USE_PYTHON= yes USE_PYDISTUTILS=yes PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} diff --git a/graphics/py-graphviz/files/patch-setup.py b/graphics/py-graphviz/files/patch-setup.py index 890264e4dd0a..925341251626 100644 --- a/graphics/py-graphviz/files/patch-setup.py +++ b/graphics/py-graphviz/files/patch-setup.py @@ -1,9 +1,21 @@ - -$FreeBSD$ - ---- setup.py.orig -+++ setup.py -@@ -25,7 +25,7 @@ +--- setup.py.orig Sun Mar 12 23:09:05 2006 ++++ setup.py Sun Sep 24 15:05:50 2006 +@@ -7,13 +7,7 @@ + import os + import sys + +-# use setuptools if we got it, else distutils +-try: +-# import ez_setup +-# ez_setup.use_setuptools() +- from setuptools import setup, Extension +-except: +- from distutils.core import setup, Extension ++from distutils.core import setup, Extension + + if sys.argv[-1] == 'setup.py': + print "To install, run 'python setup.py install'" +@@ -25,7 +19,7 @@ # If setting the prefix failed you should attempt to set the prefix here: # prefix="/usr" # unix, Linux -- cgit v1.2.3