[Bug 193619] databases/py-psycopg2: pkg install removes postgresql 9.3 server/client

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 18 11:02:09 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193619

Palle Girgensohn <girgen at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Issue Resolved
                 CC|                            |girgen at FreeBSD.org
         Resolution|---                         |Works As Intended

--- Comment #6 from Palle Girgensohn <girgen at FreeBSD.org> ---
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.


More information about the freebsd-ports-bugs mailing list