On Feb 13, 2007, at 10:29 PM, Benjamin Reed wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Neil Tiffin wrote:
>
>> Now my question. psycopg2 does not care about which postgresql
>> package is installed (to the best of my knowledge). But it needs a -
>> dev to build and any one of these to run. What should I have in the
>> "Depends" and "Build Depends" fields?
>>
>> I tried "postgresql ( >= 7.4.16 )" and this seems to work, but there
>> is no postgresql-dev ( >= 7.4.16 ).
>>
>> I would not want to have to list each one because when 8.3 comes out
>> psycopg2 will probably work with it also. Is there a "work with any
>> version" statement in Fink?
>
> ...but you can't work with any, necessarily, because under your
> example
> if someone built against the 8.2 libaries, uninstalled 8.2, and
> installed 7.4, the dpkg database would still consider it valid, but
> your
> binaries wouldn't run.
>
> You need to pick a version and go with it -- if you only use the
> libraries, and don't depend on a database, then you can always
> change it
> in the future when a new postgres comees out, and rev up.
>
> Unless you have a reason to do otherwise, builddep on postgresql82-
> dev,
> and dep on postgresql82-shlibs (and if you need a running database, on
> postgresql82 as well)
>
Thank you for the explanation.
If I understand you correctly, I should make psycopg2 depend on
postgresql82 and therefore it will not install with 81, 80, and 74.
Or I have to make a separate package for each one of the other
postgresql variations(along with each of the python variations).
Something is seriously wrong here. Fink is adding so much complexity
to protect against your example (which I consider an edge use case)
that occurs how often. Attached is the debian control file which
seems to work fine and does not have all of this complexity.
This is unproductive madness. I thought I would help out, to give
back. But I don't have this much time to give.
Please remove me as maintainer from the following packages:
openssh 4.3p2-5 - Secure shell (remote login) client and server
openssh-hpn 4.2p1-3 - Secure shell (high performance) client and server
openssl097 0.9.7l-1 - Secure Sockets Layer and Crypto Library
openssl097-dev 0.9.7l-1 - Secure Sockets Layer and Crypto Library
openssl097-shlibs 0.9.7l-1 - Secure Sockets Layer and Crypto Library
psycopg-py24 1.1.18-3 - PostgreSQL database adapter for Python 2.4
psycopg2-py24 2.0.5.1-3 - PostgreSQL database adapter for Python
psycopg2-py25 2.0.5.1-3 - PostgreSQL database adapter for Python
Thank you.
Neil
Source: psycopg2
Section: python
Priority: optional
Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-
central (>= 0.5.0), python (>= 2.3.5-7), python-egenix-mx-base-dev,
autoconf, libpq-dev
Build-Depends-Indep: zope-debhelper (>= 0.3.2.7)
Maintainer: Fabio Tranchitella <[EMAIL PROTECTED]>
Standards-Version: 3.7.2
XS-Python-Version: all
Package: python-psycopg2
Architecture: any
Section: python
Depends: ${python:Depends}, ${shlibs:Depends}
Provides: ${python:Provides}
XB-Python-Version: ${python:Versions}
Description: Python module for PostgreSQL
psycopg is a PostgreSQL database adapter for the Python programming
language
(just like pygresql and popy.) This is version 2, a complete rewrite
of the
original code to provide new-style classes for connection and cursor
objects
and other sweet candies. Like the original, psycopg 2 was written
with the
aim of being very small and fast, and stable as a rock.
.
psycopg is different from the other database adapter because it was
designed
for heavily multi-threaded applications that create and destroy lots of
cursors and make a conspicuous number of concurrent INSERTs or UPDATEs.
psycopg 2 also provides full asycronous operations for the really brave
programmer.
Package: zope-psycopgda2
Architecture: all
Section: python
Depends: ${zope:Depends}, python-psycopg2 (>= ${Source-Version})
Description: Zope database adapter based on python-psycopg
The package contains the PostgreSQL database adapter for Zope 2.7,
2.8 and
2.9 based on the psycopg2 Python module.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel