Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2002 21:32:08 +0200
From:      Gerhard =?iso-8859-1?Q?H=E4ring?= <gerhard.haering@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42560: port update for databases/py-pyPgSQL
Message-ID:  <20020908193208.GA990@lilith.ghaering.test>

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

>Number:         42560
>Category:       ports
>Synopsis:       port update for databases/py-pyPgSQL
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 08 12:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gerhard Häring
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD gargamel.ghaering.test 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Aug 11 05:00:16 CEST 2002 root@gargamel:/usr/obj/mnt/data/bsd/src/sys/GH i386
>Description:
	Updated databases/py-pyPgSQL port:
        - update port to pyPgSQL 2.2
        - updated maintainer email address (mine)
        - use REINPLACE instead of PERL
>How-To-Repeat:
>Fix:
diff -C 3 ../py-pyPgSQL.orig/Makefile ./Makefile
*** ../py-pyPgSQL.orig/Makefile	Sun Sep  8 20:41:10 2002
--- ./Makefile	Sun Sep  8 21:20:47 2002
***************
*** 1,19 ****
  # New ports collection makefile for:   py-pypgsql
  # Date created:                        01 Nov 2001
! # Whom:                                Gerhard Haering <gerhard@bigfoot.de>
  #
  # $FreeBSD: ports/databases/py-pyPgSQL/Makefile,v 1.5 2002/06/09 16:06:47 pat Exp $
  #
  
  PORTNAME=	pyPgSQL
! PORTVERSION=	2.1
  CATEGORIES=	databases python
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	pypgsql
  PKGNAMEPREFIX=	py-
  DISTNAME=	pypgsql-${PORTVERSION}
  
! MAINTAINER=	gerhard@bigfoot.de
  
  BUILD_DEPENDS=	${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
  RUN_DEPENDS=	${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
--- 1,19 ----
  # New ports collection makefile for:   py-pypgsql
  # Date created:                        01 Nov 2001
! # Whom:                                Gerhard Haering <gerhard.haering@gmx.de>
  #
  # $FreeBSD: ports/databases/py-pyPgSQL/Makefile,v 1.5 2002/06/09 16:06:47 pat Exp $
  #
  
  PORTNAME=	pyPgSQL
! PORTVERSION=	2.2
  CATEGORIES=	databases python
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	pypgsql
  PKGNAMEPREFIX=	py-
  DISTNAME=	pypgsql-${PORTVERSION}
  
! MAINTAINER=	gerhard.haering@gmx.de
  
  BUILD_DEPENDS=	${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
  RUN_DEPENDS=	${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
***************
*** 22,27 ****
--- 22,28 ----
  WRKSRC=		${WRKDIR}/pypgsql
  USE_PYTHON=	yes
  USE_PYDISTUTILS=	yes
+ USE_REINPLACE=  YES
  
  DOCS=		README
  
***************
*** 32,41 ****
  DOCSDIR=	${PREFIX}/share/doc/py-pyPgSQL
  
  post-patch:
! 	${PERL} -i -p \
! 		-e 's#^include_dirs  = \[ "/usr/local/pgsql/include" \]#include_dirs  = [ "${LOCALBASE}/include" ]# ;' \
! 		-e 's#^library_dirs  = \[ "/usr/local/pgsql/lib" \]#library_dirs  = [ "${LOCALBASE}/lib" ]#' \
! 		${WRKSRC}/setup.py
  
  .if !defined(NOPORTDOCS)
  post-install:
--- 33,39 ----
  DOCSDIR=	${PREFIX}/share/doc/py-pyPgSQL
  
  post-patch:
! 	${REINPLACE_CMD} -e "s/\/usr\/local\/pgsql/$${LOCALBASE}/g" ${WRKSRC}/setup.py
  
  .if !defined(NOPORTDOCS)
  post-install:
diff -C 3 ../py-pyPgSQL.orig/distinfo ./distinfo
*** ../py-pyPgSQL.orig/distinfo	Sun Sep  8 20:41:10 2002
--- ./distinfo	Sun Sep  8 20:43:33 2002
***************
*** 1 ****
! MD5 (pypgsql-2.1.tar.gz) = c7ec473a5bf64d0c2ee166d4dd2b42af
--- 1 ----
! MD5 (pypgsql-2.2.tar.gz) = 2a490eac49e8ead34d0167905072604a
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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