Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125719 - >=dev-python/psycopg-2 does not need to be masked
Summary: >=dev-python/psycopg-2 does not need to be masked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 08:02 UTC by Jacob Smullyan
Modified: 2006-07-28 05:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Psycopg2 post release ebuild (second poin release) (psycopg-2.0.2.ebuild,643 bytes, text/plain)
2006-06-13 10:31 UTC, John McFarlane
Details
psycopg-2.0.2.ebuild (psycopg-2.0.2.ebuild,925 bytes, text/plain)
2006-07-25 14:04 UTC, Dustin J. Mitchell
Details
psycopg-2.0.2-nodebug.patch (psycopg-2.0.2-nodebug.patch,586 bytes, patch)
2006-07-25 14:05 UTC, Dustin J. Mitchell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Smullyan 2006-03-10 08:02:42 UTC
Currently, psycopg >= 1.99 is masked because psycopg in that version had a different api than psycopg1 but kept the same package name.  However, from psycopg 2 on, the package name was changed to psycopg2, and hence can be installed simultaneously in a different SLOT and doesn't need to be masked.  I propose dropping the 1.99 ebuild (no one should use it, it is broken), unmasking and slotting psycopg2, and while you are at it version bumping to 2.0beta8.  I'll add an ebuild to this bug shortly.
Comment 1 Jacob Smullyan 2006-03-10 08:07:35 UTC
Actually, the ebuild for 2.0beta5 is already SLOTted, so it just needs a version bump to beta8, no changes necessary.
Comment 2 Jacob Smullyan 2006-03-10 08:29:18 UTC
2.0_beta8 can also be keyworded ~ppc.
Comment 3 Maciej Zieba 2006-05-08 02:53:53 UTC
Psycopg 2.0_beta8 also runs fine on amd64.
Comment 4 John McFarlane 2006-06-13 10:28:27 UTC
Psycopg2 was officially released 2006/06/08.  I'm currently running     psycopg2-2.0.2 without any problems (x86).  In the event it's helpfull I'll post the ebuild I'm using.


Cheers, John M.
Comment 5 John McFarlane 2006-06-13 10:31:35 UTC
Created attachment 89055 [details]
Psycopg2 post release ebuild (second poin release)

works for me on x86.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2006-07-19 00:57:43 UTC
before it gets unmasked, we have to go through the tree to change all the deps of packages to <dev-python/psycopg-1.99.

dev-python/adodb-py
dev-python/django
dev-python/orm
dev-python/sqlobject
net-zope/zpsycopgda
www-apps/trac
Comment 7 Dustin J. Mitchell 2006-07-25 14:04:59 UTC
Created attachment 92742 [details]
psycopg-2.0.2.ebuild

New ebuild supporting 'debug' USE flag
Comment 8 Dustin J. Mitchell 2006-07-25 14:05:42 UTC
Created attachment 92743 [details, diff]
psycopg-2.0.2-nodebug.patch

patch used by psycopg-2.0.2.ebuild
Comment 9 Dustin J. Mitchell 2006-07-25 14:06:21 UTC
I just added a newer version of the 2.0.2 ebuild which removes the 'PSYCOPG_DEBUG' flag unless the 'debug' USE flag is specified.
Comment 10 Alastair Tse (RETIRED) gentoo-dev 2006-07-28 05:32:39 UTC
thanks dustin, i've now unmasked psycopg-2.0.2 along with modifying all the psycopg deps for packages that do not support both versions.