Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 02:42:08 +0800 (CST)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrey.polyakov@unix.net
Subject:   ports/134726: [PATCH] devel/ydbf: fix PLIST_FILES
Message-ID:  <20090519184208.7415E3143E7@lwbsd.cs.nctu.edu.tw>
Resent-Message-ID: <200905191850.n4JIo2VI002714@freefall.freebsd.org>

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

>Number:         134726
>Category:       ports
>Synopsis:       [PATCH] devel/ydbf: fix PLIST_FILES
>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:   Tue May 19 18:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD lwbsd.cs.nctu.edu.tw 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r191934: Sat May  9 16:07:55
>Description:
- Fix PLIST_FILES for working with different version Python

Port maintainer (andrey.polyakov@unix.net) is cc'd.

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

--- ydbf-0.0.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/py-ydbf/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	13 May 2009 10:42:12 -0000	1.1
+++ Makefile	19 May 2009 18:41:39 -0000
@@ -15,12 +15,12 @@
 MAINTAINER=	andrey.polyakov@unix.net
 COMMENT=	Yelded DBF reader/writer for Python
 
-BUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools
-
-PLIST_FILES=	lib/${PYTHON_VERSION}/site-packages/YDbf-0.0.1dev_20080514-py2.5.egg
+PLIST_FILES=	${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PYEASYINSTALL_EGG}
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_NOEGGINFO=	yes
+PYDISTUTILS_PKGNAME=	YDbf
+PYDISTUTILS_PKGVERSION=	0.0.1dev_20080514
 
 .include <bsd.port.mk>
--- ydbf-0.0.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?20090519184208.7415E3143E7>