From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 18 11:02:09 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAFBC2DE for ; Tue, 18 Nov 2014 11:02:09 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87134335 for ; Tue, 18 Nov 2014 11:02:09 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAIB29UM035924 for ; Tue, 18 Nov 2014 11:02:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193619] databases/py-psycopg2: pkg install removes postgresql 9.3 server/client Date: Tue, 18 Nov 2014 11:02:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 11:02:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193619 Palle Girgensohn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Issue Resolved CC| |girgen@FreeBSD.org Resolution|--- |Works As Intended --- Comment #6 from Palle Girgensohn --- The short answer is that you must use the port, (i.e. cd /usr/ports/databases/py-psocypg2; make install) to install software depending on a "non-default" postgresql version. This is a design limitation. The default PostgreSQL version is 9.2. This is the only version for which you can use prebuilt packages to install dependant software. For example, there is only one py-psycopg2 port. It is built against postgresql92-client. The resulting package is py27-psycopg2. There is no package automaticially built for python32 or postgresql93. The default packages are built with the default set of versions, for example python27 and postgresql92. Another way to design this would be to have different ports for different versions of postgresql, e.g. py27-pg92-psycopg2, py27-pg93-psycopg2 and so on. No-one has stepped forward to actually do this, and I am not entirely sure that it is even a good idea, given the complexity and the amount of ports this would require. With five versions of postgresql and four versions of python, we would get 20 ports for psycopg2 alone =). Even with a framework where one port would create 20 packages, the complexity of it all is still a bit overwhelming. -- You are receiving this mail because: You are the assignee for the bug.