ports/83793: Update port: textproc/py-rdflib to 2.1.3

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jul 20 15:00:34 UTC 2005


>Number:         83793
>Category:       ports
>Synopsis:       Update port: textproc/py-rdflib to 2.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 20 15:00:33 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
Update to 2.1.3
Install documentation.
>How-To-Repeat:
>Fix:

--- py24-rdflib-2.1.3.patch begins here ---
diff -ruN --exclude=CVS py-rdflib.orig/Makefile py-rdflib/Makefile
--- py-rdflib.orig/Makefile	Wed Jul 20 18:38:59 2005
+++ py-rdflib/Makefile	Wed Jul 20 18:48:39 2005
@@ -7,22 +7,28 @@
 #
 
 PORTNAME=	rdflib
-PORTVERSION=	2.0.4
+PORTVERSION=	2.1.3
 CATEGORIES=	textproc python
-MASTER_SITES=	http://rdflib.net/2004/10/14/
+MASTER_SITES=	http://rdflib.net/2005/06/28/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A Python library for RDF manipulation
 
-USE_PYTHON=	yes
+USE_PYTHON=	2.2+
 USE_PYDISTUTILS=	yes
 
 post-install:
-	@${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} ! -type d | \
+	@${FIND} ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} ! -type d | \
 		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \
+	@${FIND} ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \
 		${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+	@${FIND} ${DOCSDIR} ! -type d | ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+	@${ECHO} "@dirrm ${DOCSDIR:S,${PREFIX}/,,}" >> ${TMPPLIST}
+.endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS py-rdflib.orig/distinfo py-rdflib/distinfo
--- py-rdflib.orig/distinfo	Wed Jul 20 18:38:59 2005
+++ py-rdflib/distinfo	Wed Jul 20 18:40:44 2005
@@ -1,2 +1,2 @@
-MD5 (rdflib-2.0.4.tgz) = b7dfafb76e385b8b7169a02f0e5761f8
-SIZE (rdflib-2.0.4.tgz) = 41585
+MD5 (rdflib-2.1.3.tgz) = e127f71c65c9800edd57facaeb441d65
+SIZE (rdflib-2.1.3.tgz) = 415430
--- py24-rdflib-2.1.3.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list