Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619986 - dev-db/postgresql: add support for python 3.5 and 3.6 to old slots if possible
Summary: dev-db/postgresql: add support for python 3.5 and 3.6 to old slots if possible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-3.5-stable
  Show dependency tree
 
Reported: 2017-05-28 09:41 UTC by Pacho Ramos
Modified: 2017-05-30 12:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-05-28 09:41:52 UTC
Would it be possible to add support for newer python versions also to old postgresql slots?

Thanks
Comment 1 Aaron W. Swenson gentoo-dev 2017-05-28 12:52:56 UTC
(In reply to Pacho Ramos from comment #0)
> Would it be possible to add support for newer python versions also to old
> postgresql slots?
> 
> Thanks

I've added it in my overlay (https://github.com/titanofold/titanofold-gentoo-x86). I don't have time to fiddle around with a newer python, but if you can give it a quick go I'll push it to the tree.

This should suffice:

FEATURES="userpriv test" emerge -v dev-db/postgresql:9.2
Comment 2 Pacho Ramos gentoo-dev 2017-05-28 15:36:47 UTC
It seems that this affects also slots 9.1, 9.3 and 9.4

Anyway, is it enough for me to simply add the new python versions to COMPAT and run tests in the way you suggested? If that is the case, I can do it locally ;)
Comment 3 Aaron W. Swenson gentoo-dev 2017-05-28 18:33:21 UTC
(In reply to Pacho Ramos from comment #2)
> It seems that this affects also slots 9.1, 9.3 and 9.4
> 
> Anyway, is it enough for me to simply add the new python versions to COMPAT
> and run tests in the way you suggested? If that is the case, I can do it
> locally ;)

9.1 is going to be tossed as soon as the latest bumps to 9.2+ are stabled. I changed the COMPAT for 9.3 and 9.4, but if it works with 9.2 (tests pass) it'll work with the rest.

I changed the COMPAT in my overlay already for 9.3 and 9.4 as well.
Comment 4 Pacho Ramos gentoo-dev 2017-05-29 08:56:16 UTC
Just checked for all, they seem to pass tests fine. The only "issue" are this missing links problem with manpages... but that is probably unrelated with this bug:
QA: preinst
QA Notice: Symbolic link /usr/share/man/man1/clusterdb92.1 points to /usr/share/postgresql-9.2/man/man1/clusterdb.1 which does not exist.
QA Notice: Symbolic link /usr/share/man/man1/createdb92.1 points to /usr/share/postgresql-9.2/man/man1/createdb.1 which does not exist.
QA Notice: Symbolic link /usr/share/man/man1/createlang92.1 points to /usr/share/postgresql-9.2/man/man1/createlang.1 which does not exist.
...
Comment 5 Aaron W. Swenson gentoo-dev 2017-05-29 16:50:16 UTC
(In reply to Pacho Ramos from comment #4)
> Just checked for all, they seem to pass tests fine. The only "issue" are
> this missing links problem with manpages... but that is probably unrelated
> with this bug:
> QA: preinst
> QA Notice: Symbolic link /usr/share/man/man1/clusterdb92.1 points to
> /usr/share/postgresql-9.2/man/man1/clusterdb.1 which does not exist.
> QA Notice: Symbolic link /usr/share/man/man1/createdb92.1 points to
> /usr/share/postgresql-9.2/man/man1/createdb.1 which does not exist.
> QA Notice: Symbolic link /usr/share/man/man1/createlang92.1 points to
> /usr/share/postgresql-9.2/man/man1/createlang.1 which does not exist.
> ...

I'm not getting those warnings. The links are created during src_install(), and looks like Portage (re)creates the links after the man pages are compressed.

Definitely unrelated to the COMPAT changes.
Comment 6 Aaron W. Swenson gentoo-dev 2017-05-30 12:30:01 UTC
commit fa6251515c9c37e54bb80202fc5ceadb9561c137
Author: Aaron W. Swenson <titanofold@gentoo.org>
Date:   Tue May 30 08:28:58 2017 -0400

    dev-db/postgresql: Add Python 3.{5,6} to COMPAT
    
    Bug: https://bugs.gentoo.org/619986
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1