Hi guys, can you please update SchemaObject ebuild? It request a helper python script on URL which is currently unavailable: http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg Available script URL: https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg Thank you very much! emerge dev-python/SchemaObject * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. * IMPORTANT: 3 config files in '/etc/portage' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/SchemaObject-0.5.3 * SchemaObject-0.5.3.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking SchemaObject-0.5.3.tar.gz to /var/tmp/portage/dev-python/SchemaObject-0.5.3/work >>> Source unpacked in /var/tmp/portage/dev-python/SchemaObject-0.5.3/work >>> Preparing source in /var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject ... * Converting shebang in 'schemaobject/__init__.py' * Converting shebang in 'ez_setup.py' * Converting shebang in 'setup.py' * Converting shebang in 'tests/test_all.py' * Converting shebang in 'tests/test_option.py' * Converting shebang in 'tests/test_index.py' * Converting shebang in 'tests/test_collections.py' * Converting shebang in 'tests/test_database.py' * Converting shebang in 'tests/test_schema.py' * Converting shebang in 'tests/test_column.py' * Converting shebang in 'tests/test_table.py' * Converting shebang in 'tests/test_connection.py' * Converting shebang in 'tests/test_foreignkey.py' >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject ... python2.7 setup.py build --------------------------------------------------------------------------- This script requires setuptools version 0.6c9 to run (even to display help). I will attempt to download it for you (from http://pypi.python.org/packages/2.7/s/setuptools/), but you may need to enable firewall access for this script first. I will start the download in 15 seconds. (Note: if this machine does not have network access, please obtain the file http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg and place it in this directory before rerunning this script.) --------------------------------------------------------------------------- Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg Traceback (most recent call last): File "setup.py", line 3, in <module> ez_setup.use_setuptools() File "/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject/ez_setup.py", line 95, in use_setuptools return do_download() File "/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject/ez_setup.py", line 89, in do_download egg = download_setuptools(version, download_base, to_dir, download_delay) File "/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject/ez_setup.py", line 150, in download_setuptools src = urllib2.urlopen(url) File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 404: Not Found * ERROR: dev-python/SchemaObject-0.5.3::gentoo failed (compile phase): * Building failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3630: Called distutils_src_compile * environment, line 976: Called die * The specific snippet of code: * "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed"; * * If you need support, post the output of `emerge --info '=dev-python/SchemaObject-0.5.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/SchemaObject-0.5.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/SchemaObject-0.5.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/SchemaObject-0.5.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject' * S: '/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject' >>> Failed to emerge dev-python/SchemaObject-0.5.3, Log file: >>> '/var/tmp/portage/dev-python/SchemaObject-0.5.3/temp/build.log' * Messages for package dev-python/SchemaObject-0.5.3: * ERROR: dev-python/SchemaObject-0.5.3::gentoo failed (compile phase): * Building failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3630: Called distutils_src_compile * environment, line 976: Called die * The specific snippet of code: * "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed"; * * If you need support, post the output of `emerge --info '=dev-python/SchemaObject-0.5.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/SchemaObject-0.5.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/SchemaObject-0.5.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/SchemaObject-0.5.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject' * S: '/var/tmp/portage/dev-python/SchemaObject-0.5.3/work/schemaobject'
It would be very helpful. Please let me ask you also for some hints how to apply it while emerging SchemaObject package. As URL to script is hardcoded in ebuild I don`t know some trivial way how to force ebuild to use script you provide me with. Thank you very very much in advance.
Dear Jeroen, thank you very much for your quick reaction. I solved issue by emerging dev-python/setuptools first. It should be great idea to add dev-python/setuptools as dependency of dev-python/SchemaObject? Cheers.
(In reply to petko3000 from comment #2) > Dear Jeroen, thank you very much for your quick reaction. > > I solved issue by emerging dev-python/setuptools first. It should be great > idea to add dev-python/setuptools as dependency of dev-python/SchemaObject? > > Cheers. Sorry this bug slipped under the radar. I just added DEPEND="dev-python/setuptools" That was a silly oversight on my part.