Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437674 - >=dev-python/pycrypto-2.4.1 incorrectly disables Python3 support
Summary: >=dev-python/pycrypto-2.4.1 incorrectly disables Python3 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 06:42 UTC by Nobody
Modified: 2013-02-15 14:45 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 Nobody 2012-10-09 06:42:29 UTC
Ebuilds pycrypto-2.4.1.ebuild, pycrypto-2.5.ebuild, and pycrypto-2.6.ebuild all have:

RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"

except according to this changelog https://github.com/dlitz/pycrypto/commit/32114297da2450af00c4612596bc15da4f6256f2#diff-1 PyCrypto has supported Python 3 since PyCrypto-2.4.1. Please change to:

RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"

and restore joy to the land of Python 3 (at least up to and including 3.2.*).

Thanks to Stack Overflow: http://stackoverflow.com/questions/4583274/cryptography-tools-for-python-3

Reproducible: Always

Steps to Reproduce:
# emerge dev-python/pycrypto
Actual Results:  
Only optimizes and installs for my 2.7 installation.

$ python2
Python 2.7.3 (default, Jul 13 2012, 04:25:25) 
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Crypto
>>> 
$ python3
>>> import Crypto
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named Crypto
>>> 


Expected Results:  
Install for all my Pythons: 2.7 and 3.1.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-15 14:45:08 UTC
AFAICS this was fixed already.