Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 52836

Summary: Ebuild for a new GMP wrapper library for Python (as GMPy and mxNumber aren't available in Gentoo)
Product: Gentoo Linux Reporter: Heiko Wundram <heikowu>
Component: [OLD] LibraryAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: sbriesen
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.heim-d.uni-sb.de/~heikowu/Crypto
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for the current version (may be unpacked directly in the dev-python directory of portage).
Ebuild for PyGMP 0.9p2 (will become 1.0 next week)

Description Heiko Wundram 2004-06-02 18:43:52 UTC
There is no GMP wrapper library in the Gentoo standard tree which offers bindings to the GMP library for Python (except the module which comes with the standard distribution, but this doesn't by far offer the functionality which GMP can actually offer).

The module presented herein is a GMP wrapper library written from scratch, currently offering bindings to the mpz_t and gmp_randstate_t types. The implementation is complete, as far as these two types go. The module has been announced on the Python Mailinglist tonight (by me too), and should be ready for production use.

Reproducible: Always
Steps to Reproduce:
1. Try to emerge a GMP wrapper for Python... ;)
2.
3.

Actual Results:  
None in the standard library (GMPy and mxNumber are both missing). 

Expected Results:  
Find something. ;) And PyGMP may be the answer to all this. ;)
Comment 1 Heiko Wundram 2004-06-02 18:45:32 UTC
Created attachment 32558 [details]
Ebuild for the current version (may be unpacked directly in the dev-python directory of portage).

Ebuild for the current version of PyGMP (0.9). The ebuild is masked as ~x86
only. A release 1.0 is forthcoming in the following week.
Comment 2 Heiko Wundram 2004-06-03 13:52:44 UTC
Created attachment 32612 [details]
Ebuild for PyGMP 0.9p2 (will become 1.0 next week)

Obsoletes the old ebuild. This downloads the current 0.9p2 version, and
installs it accordingly. Also updated the LICENSE (which is BSD), and the
headers of the ebuild.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2005-11-02 08:42:00 UTC
dev-python/gmpy-1.0 is in portage now. This is not PyGMP but also a 
python-wrapper for GMP. Try it! ;-) 
 
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2005-11-03 11:49:29 UTC
unless there's a real solid reason why we need two gmp python bindings, i think it is best we close this as 
won't fix for now.