Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416185 - <=www-servers/uwsgi-1.2.3 - ?
Summary: <=www-servers/uwsgi-1.2.3 - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-16 01:47 UTC by Martin Scholz
Modified: 2012-05-20 20:42 UTC (History)
4 users (show)

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


Attachments
updated ebuild for 1.2.3 block caused by missing 2.4 (uwsgi-1.2.3-r1.ebuild,8.08 KB, text/plain)
2012-05-16 01:47 UTC, Martin Scholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Scholz 2012-05-16 01:47:22 UTC
Created attachment 311921 [details]
updated ebuild for 1.2.3 block caused by missing 2.4

uwsgi-1.2.3 and lower fails to build cause of missing minimal python 2.4, fix would be to update ebuilds and do a revbumb to -r1 with minimal python version of 2.6, as this is the minimalist stable version. ebuild for 1.2.3-r1 is attached. Blocking error is:

 * ERROR: www-servers/uwsgi-1.2.3 failed (depend phase):
 *   Invalid syntax of PYTHON_DEPEND: Unrecognized minimal version '2.4'
 * 
 * Call stack:
 *            ebuild.sh, line 535:  Called source '/var/portdir/portage/www-servers/uwsgi/uwsgi-1.2.3.ebuild'
 *   uwsgi-1.2.3.ebuild, line  19:  Called inherit 'apache-module' 'eutils' 'python' 'multilib' 'pax-utils' 'php-ext-source-r2' 'ruby-ng'
 *            ebuild.sh, line 283:  Called qa_source '/var/portdir/portage/eclass/python.eclass'
 *            ebuild.sh, line  72:  Called source '/var/portdir/portage/eclass/python.eclass'
 *        python.eclass, line 553:  Called _python_parse_dependencies_in_old_EAPIs 'PYTHON_DEPEND' 'DEPEND RDEPEND'
 *        python.eclass, line 346:  Called _python_parse_versions_range '2:2.4:2.7 3:3.1:3.2' 'PYTHON_DEPEND' '_PYTHON_ATOMS'
 *        python.eclass, line 267:  Called die
 * The specific snippet of code:
 *                              die "Invalid syntax of ${input_variable}: Unrecognized minimal version '${minimal_version}'"
 * 
 * If you need support, post the output of 'emerge --info =www-servers/uwsgi-1.2.3',
 * the complete build log and the output of 'emerge -pqv =www-servers/uwsgi-1.2.3'.
 * S: '/var/tmp/portage/www-servers/uwsgi-1.2.3/work/uwsgi-1.2.3'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-16 03:13:32 UTC
Comment on attachment 311921 [details]
updated ebuild for 1.2.3 block caused by missing 2.4

--- uwsgi-1.2.3.ebuild  2012-05-15 13:32:55.000000000 +0200
+++ -   2012-05-16 05:13:16.071520641 +0200
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-1.2.3.ebuild,v 1.3 2012/05/15 11:32:55 ultrabug Exp $
 
 EAPI="4"
-PYTHON_DEPEND="python? 2:2.4:2.7 3:3.1:3.2"
+PYTHON_DEPEND="python? 2:2.6:2.7 3:3.1:3.2"
 PYTHON_MODNAME="uwsgidecorators"
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-16 03:14:56 UTC
Please fix metadata.xml:
CC: 	sterkrig@home.se did not match anything
Comment 3 Nikolaj Šujskij 2012-05-16 17:42:07 UTC
Why Python >= 2.6? 2.5 is still in tree.
Comment 4 Mike Gilbert gentoo-dev 2012-05-20 20:42:07 UTC
I simplified it to PYTHON_DEPEND="python? *".