Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - python26

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: python26 2.6.9-10

Git Clone URL: https://aur-dev.archlinux.org/python26.git (read-only)
Package Base: python26
Description: Legacy version Python 2.6 of the high-level scripting language
Upstream URL: http://www.python.org/
Licenses: PSF
Provides: python2=2.6.9
Submitter: None
Maintainer: SpotlightKid (yan12125)
Last Packager: yan12125
Votes: 56
Popularity: 0.406103
First Submitted: 2010-10-14 18:27
Last Updated: 2016-11-26 13:10

Dependencies (13)

Required by (1000)

Sources (16)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

SpotlightKid commented on 2014-06-21 09:39

New package release 2.6.9-4:
* add patch for test_distutils for http://bugs.python.org/issue10126
* source package and .AURINFO are now generated with mkaurball (thanks to Kwpolska for the tip)
* fix version number variable substitution in provides

Kwpolska commented on 2014-06-20 16:14

@SpotlightKid, have you used `mkaurball` (from the package `pkgbuild-introspection`) instead of `makepkg --source`?

SpotlightKid commented on 2014-06-20 16:10

I've added a patch for the issue but AUR rejects my updated source package upload with "Invalid name: only lowercase letters are allowed.", though changed nothing else. No idea why, I'll have to investigate.

In the meantime, you can find the updated package here:

http://trac.chrisarndt.de/code/browser/projects/aur/python26

SpotlightKid commented on 2014-06-20 14:23

This is probably http://bugs.python.org/issue10126. Occurs only when there is no pre-existing Python 2.6 installation on the build system. I'll add a patch later.

SpotlightKid commented on 2014-06-20 14:13

Can you build C-extension modules with this version and distutils after you installed it?

s_m commented on 2014-06-20 13:56

Unfortunately the distutils fails for me. With '--nocheck' I was able to build and install the package. This was the error output:
/usr/bin/ld: cannot find -lpython2.6
collect2: fout: ld gaf exit-status 1 terug
test test_distutils failed -- Traceback (most recent call last):
File "/home/stani/tmp/py26aur/python26/src/Python-2.6.9/Lib/distutils/tests/test_build_ext.py", line 261, in test_get_outputs
cmd.run()
File "/home/stani/tmp/py26aur/python26/src/Python-2.6.9/Lib/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/stani/tmp/py26aur/python26/src/Python-2.6.9/Lib/distutils/command/build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "/home/stani/tmp/py26aur/python26/src/Python-2.6.9/Lib/distutils/command/build_ext.py", line 531, in build_extension
target_lang=language)
File "/home/stani/tmp/py26aur/python26/src/Python-2.6.9/Lib/distutils/ccompiler.py", line 769, in link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
File "/home/stani/tmp/py26aur/python26/src/Python-2.6.9/Lib/distutils/unixccompiler.py", line 258, in link
raise LinkError, msg
LinkError: command 'gcc' failed with exit status 1

Kwpolska commented on 2014-05-24 11:40

@SpotlightKid oh, I had a leftover old thing around, somehow.

SpotlightKid commented on 2014-05-24 11:13

Can't reproduce this here, sys.path is correcct. Are you sure, you are using the binary that results from building with this PKGBUILD? As you can see, it is built with './configure --prefix=/usr ...'.

Kwpolska commented on 2014-05-24 11:07

@SpotlightKid

$ python2.6
>>> '/usr/lib/python2.6' in sys.path
False
>>>

SpotlightKid commented on 2014-05-24 11:06

What are you talking about? What do mean by "it" and "believe"?