Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 02:57:38 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161626: Update port: devel/py-px to 0.9.5
Message-ID:  <20111015025738.3961f678.tkato432@yahoo.com>
Resent-Message-ID: <201110141850.p9EIoMIG051778@freefall.freebsd.org>

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

>Number:         161626
>Category:       ports
>Synopsis:       Update port: devel/py-px to 0.9.5
>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:   Fri Oct 14 18:50:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.5

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/py-px/Makefile devel/py-px/Makefile
--- /usr/ports/devel/py-px/Makefile	2011-08-02 22:25:49.000000000 +0900
+++ devel/py-px/Makefile	2011-09-24 16:36:45.000000000 +0900
@@ -5,20 +5,37 @@
 # $FreeBSD: ports/devel/py-px/Makefile,v 1.6 2011/08/02 11:17:42 bapt Exp $
 
 PORTNAME=	px
-PORTVERSION=	0.9.1
+PORTVERSION=	0.9.5
 CATEGORIES=	devel python
-MASTER_SITES=	http://trentm.com/downloads/px/${PORTVERSION}/
+MASTER_SITES=	GOOGLE_CODE
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DIST_SUBDIR=	python
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Perforce p4 wrapper and Python Perforce interface
 
-BROKEN=	does not fetch
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+PROJECTHOST=	python-p4lib
 USE_ZIP=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-USE_PYTHON_PREFIX=	yes
+
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+
+PORTDOCS=	BUGS.txt README.txt TODO.txt
+PLIST_FILES=	bin/px \
+		%%PYTHON_SITELIBDIR%%/p4lib.py \
+		%%PYTHON_SITELIBDIR%%/p4lib.pyc \
+		%%PYTHON_SITELIBDIR%%/p4lib.pyo
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/py-px/distinfo devel/py-px/distinfo
--- /usr/ports/devel/py-px/distinfo	2011-07-04 02:00:06.000000000 +0900
+++ devel/py-px/distinfo	2011-09-15 16:11:54.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (python/px-0.9.1.zip) = 766f652b2fae43d4b0864502a95da96814599bf07826ea5f991b9ca3aef2e544
-SIZE (python/px-0.9.1.zip) = 101234
+SHA256 (python/px-0.9.5.zip) = cf821ccc9a76ba168f2a46342e5f5e5bd679ab07883e9d246cfb4b099bf9de58
+SIZE (python/px-0.9.5.zip) = 102843
diff -urN /usr/ports/devel/py-px/pkg-descr devel/py-px/pkg-descr
--- /usr/ports/devel/py-px/pkg-descr	2008-06-01 22:13:11.000000000 +0900
+++ devel/py-px/pkg-descr	2011-09-15 16:20:26.000000000 +0900
@@ -7,4 +7,4 @@
 If you are a Python programmer and script Perforce you might find this
 module helpful. Currently, most common commands are supported.
 
-WWW: http://starship.python.net/~tmick/
+WWW: http://code.google.com/p/python-p4lib/
diff -urN /usr/ports/devel/py-px/pkg-plist devel/py-px/pkg-plist
--- /usr/ports/devel/py-px/pkg-plist	2002-07-19 11:34:48.000000000 +0900
+++ devel/py-px/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,4 +0,0 @@
-bin/px
-%%PYTHON_SITELIBDIR%%/p4lib.py
-%%PYTHON_SITELIBDIR%%/p4lib.pyc
-%%PYTHON_SITELIBDIR%%/p4lib.pyo
>Release-Note:
>Audit-Trail:
>Unformatted:



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