Python 2.7 dependency in ufw-frontends in overlay [Solved]

Anything that pertains to Portage

Moderator: Moderators

Python 2.7 dependency in ufw-frontends in overlay [Solved]

Postby Fitzcarraldo » Mon Jul 04, 2011 13:37

The ufw-0.30.1-r2.ebuild in the Sabayon overlay has:

Code: Select all
PYTHON_DEPEND="2:2.5"

The ufw-frontends-0.2.0.ebuild in the Sabayon overlay has:

Code: Select all
PYTHON_DEPEND="2:2.7"

I was wondering if the dependency on Python 2.7 in ufw-frontends-0.2.0.ebuild was done for a specific reason, or just because SL migrated to Python 2.7 recently?

At the moment I don't want to migrate to Python 2.7 on one of my machines, and the following allows ufw-frontends-0.2.0.ebuild in my local overlay to merge and run without apparent problems on that machine:

Code: Select all
PYTHON_DEPEND="2:2.6"

So, is there is a specific reason, other than the SL migration to Python 2.7, why Python 2.7 is required for ufw-frontends version 0.2.0?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Python 2.7 dependency in ufw-frontends in Sabayon overla

Postby joost » Mon Jul 04, 2011 14:01

You better ask such questions on our devel mailinglist.

:D

http://lists.sabayon.org/cgi-bin/mailman/listinfo/devel
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Python 2.7 dependency in ufw-frontends in Sabayon overla

Postby Fitzcarraldo » Tue Jul 05, 2011 1:42

Thanks for your reply, but I was hoping you or one of the other developers who frequent these forums as a matter of course would know the answer, thus avoiding me joining a developers' mailing list to spam all its members with a question which is irrelevant to their development work and would distract them from it.

As no one has answered my question here, I have studied the ebuild and the source code of ufw-frontends. In the file setup.py I noticed the line:

Code: Select all
        'Programming Language :: Python :: 2.6'

from which I take it that forcing a dependency on Python 2.7 in the ebuild is unnecessary and the change I mentioned earlier will have no detrimental effects. I will therefore mark the thread as solved.

EDIT (July 6, 2011 12:20 BST): For the sake of completeness, I have now noticed in the SL Git repository that the person who committed the ufw-frontends ebuild to the Sabayon overlay repository on 26 May 2011 is named Sławomir Nizio, so he would have been the person who could have answered my question.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Python 2.7 dependency in ufw-frontends in overlay [Solve

Postby Thev00d00 » Wed Jul 06, 2011 22:04

Ive plinged Enlik to get him to double check that dep.
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Python 2.7 dependency in ufw-frontends in overlay [Solve

Postby Fitzcarraldo » Thu Jul 07, 2011 23:40

Thanks, Thev00d00. I notice that yesterday the dependency was lowered to Python 2.6 in net-firewall/ufw-frontends/ufw-frontends-0.2.0.ebuild in the Sabayon overlay repository:

http://gitweb.sabayon.org/?p=overlay.gi ... 6d40387d3e
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests