Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 11:33:27 +0800 (CST)
From:      Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        stefan@FreeBSD.org
Subject:   ports/127260: [PATCH] graphics/py-pydot: fix setup.py which may cause distinfo error
Message-ID:  <200809100333.m8A3XRkp062990@stucgi.cs.nctu.edu.tw>
Resent-Message-ID: <200809100340.m8A3e1UP048577@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127260
>Category:       ports
>Synopsis:       [PATCH] graphics/py-pydot: fix setup.py which may cause distinfo error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 10 03:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 14:56:26 CST
>Description:

- Fix setup.py which may using easy_install instead of distutils.
  This may lead to unclean deinstallation.
- Move PROJECTHOST out from the PORTNAME section. (portlint FATAL)

Port maintainer (stefan@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py25-pydot-1.0.2_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/py-pydot/Makefile /amd/account/gcs/96/9655630/dev/ports/graphics/py-pydot/Makefile
--- /usr/ports/graphics/py-pydot/Makefile	2008-07-07 03:06:06.000000000 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/graphics/py-pydot/Makefile	2008-09-10 11:21:42.000000000 +0800
@@ -7,10 +7,10 @@
 
 PORTNAME=	pydot
 PORTVERSION=	1.0.2
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PROJECTHOST=	${PORTNAME}
 
 MAINTAINER=	stefan@FreeBSD.org
 COMMENT=	A Python interface to the Graphviz Dot language
@@ -19,6 +19,7 @@
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing \
 		dot:${PORTSDIR}/graphics/graphviz
 
+PROJECTHOST=	${PORTNAME}
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
 
diff -ruN --exclude=CVS /usr/ports/graphics/py-pydot/files/patch-setup.py /amd/account/gcs/96/9655630/dev/ports/graphics/py-pydot/files/patch-setup.py
--- /usr/ports/graphics/py-pydot/files/patch-setup.py	2008-07-06 21:14:42.000000000 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/graphics/py-pydot/files/patch-setup.py	2008-09-10 11:12:56.000000000 +0800
@@ -1,5 +1,19 @@
---- setup.py.orig	2008-07-06 15:01:26.000000000 +0200
-+++ setup.py	2008-07-06 15:01:51.000000000 +0200
+--- setup.py.orig	2008-02-15 04:48:02.000000000 +0800
++++ setup.py	2008-09-10 11:12:00.000000000 +0800
+@@ -1,9 +1,9 @@
+ #!/usr/bin/env python
+ 
+-try:
+-    from setuptools import setup
+-except ImportError, excp:
+-    from distutils.core import setup
++#try:
++#    from setuptools import setup
++#except ImportError, excp:
++from distutils.core import setup
+     
+ import pydot
+ 
 @@ -27,5 +27,5 @@
          'Topic :: Software Development :: Libraries :: Python Modules'],
      long_description = "\n".join(pydot.__doc__.split('\n')),
--- py25-pydot-1.0.2_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809100333.m8A3XRkp062990>