Date: Wed, 2 Jun 2010 10:56:49 +0200 (CEST) From: Daniel Gerzo <danger@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/147313: [patch] www/django - depend on py-psycopg2 as python adapter for PostgreSQL database Message-ID: <201006020856.o528unc6007594@alice.syscare.sk> Resent-Message-ID: <201006020900.o5290BuO087074@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147313 >Category: ports >Synopsis: [patch] www/django - depend on py-psycopg2 as python adapter for PostgreSQL database >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 Jun 02 09:00:11 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Daniel Gerzo >Release: FreeBSD 8.0-STABLE amd64 >Organization: SysCare s. r. o. >Environment: >Description: As far as I know Django project itself prefers psycopg2. We have it in ports, so I think there's no real reason why we should opt for psycopg1. Make the change for both Django 1.1 and 1.2 >How-To-Repeat: >Fix: --- django.diff begins here --- diff -ruN py-django11.orig/Makefile py-django11/Makefile --- py-django11.orig/Makefile 2010-06-02 10:46:08.914389006 +0200 +++ py-django11/Makefile 2010-06-02 10:49:50.394054626 +0200 @@ -48,7 +48,7 @@ .endif .if defined(WITH_POSTGRESQL) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2 .endif .if defined(WITH_MYSQL) diff -ruN py-django.orig/Makefile py-django/Makefile --- py-django.orig/Makefile 2010-06-02 10:45:59.561685417 +0200 +++ py-django/Makefile 2010-06-02 10:50:04.523657047 +0200 @@ -46,7 +46,7 @@ .endif .if defined(WITH_POSTGRESQL) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2 .endif .if defined(WITH_MYSQL) --- django.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006020856.o528unc6007594>