Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 52836 - Ebuild for a new GMP wrapper library for Python (as GMPy and mxNumber aren't available in Gentoo)
Summary: Ebuild for a new GMP wrapper library for Python (as GMPy and mxNumber aren't ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL: http://www.heim-d.uni-sb.de/~heikowu/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 18:43 UTC by Heiko Wundram
Modified: 2005-11-03 11:49 UTC (History)
1 user (show)

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


Attachments
Ebuild for the current version (may be unpacked directly in the dev-python directory of portage). (PyGMP-ebuild.tar.bz2,954 bytes, application/x-tbz)
2004-06-02 18:45 UTC, Heiko Wundram
Details
Ebuild for PyGMP 0.9p2 (will become 1.0 next week) (PyGMP-ebuild.tar.bz2,866 bytes, application/x-tbz)
2004-06-03 13:52 UTC, Heiko Wundram
Details

Note You need to log in before you can comment on or make changes to this bug.
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.