summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2005-11-02 12:48:54 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2005-11-02 12:48:54 +0000
commitba945b98ed0e382ca51e40287e823a64560765bc (patch)
tree8191153b12284de011ee3e3d1b1cbb11d4ede076 /dev-python/gmpy
parentStable on sparc (diff)
downloadgentoo-2-ba945b98ed0e382ca51e40287e823a64560765bc.tar.gz
gentoo-2-ba945b98ed0e382ca51e40287e823a64560765bc.tar.bz2
gentoo-2-ba945b98ed0e382ca51e40287e823a64560765bc.zip
initial commit, using ~x86 and ~amd64 keywords.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r--dev-python/gmpy/ChangeLog10
-rw-r--r--dev-python/gmpy/Manifest3
-rw-r--r--dev-python/gmpy/files/digest-gmpy-1.01
-rw-r--r--dev-python/gmpy/gmpy-1.0.ebuild46
-rw-r--r--dev-python/gmpy/metadata.xml13
5 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/gmpy/ChangeLog b/dev-python/gmpy/ChangeLog
new file mode 100644
index 000000000000..442dac957914
--- /dev/null
+++ b/dev-python/gmpy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/gmpy
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.1 2005/11/02 12:48:54 sbriesen Exp $
+
+*gmpy-1.0 (02 Nov 2005)
+
+ 02 Nov 2005; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +gmpy-1.0.ebuild:
+ initial commit, using ~x86 and ~amd64 keywords.
+
diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest
new file mode 100644
index 000000000000..8891bd42d83e
--- /dev/null
+++ b/dev-python/gmpy/Manifest
@@ -0,0 +1,3 @@
+MD5 8f4e986aa861a30bee52e72d8295610b files/digest-gmpy-1.0 63
+MD5 c655a1afe36fca391aaee699682fb57e gmpy-1.0.ebuild 858
+MD5 edfeced968244165de95fe65a73d45a2 metadata.xml 414
diff --git a/dev-python/gmpy/files/digest-gmpy-1.0 b/dev-python/gmpy/files/digest-gmpy-1.0
new file mode 100644
index 000000000000..599b4f99f0dd
--- /dev/null
+++ b/dev-python/gmpy/files/digest-gmpy-1.0
@@ -0,0 +1 @@
+MD5 a34de2f217f89d82e8d9dd1abe4f1122 gmpy-sources-10.zip 74004
diff --git a/dev-python/gmpy/gmpy-1.0.ebuild b/dev-python/gmpy/gmpy-1.0.ebuild
new file mode 100644
index 000000000000..160f90dcffcf
--- /dev/null
+++ b/dev-python/gmpy/gmpy-1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.0.ebuild,v 1.1 2005/11/02 12:48:54 sbriesen Exp $
+
+inherit distutils
+
+MY_PV=${PV//.}
+
+DESCRIPTION="Python bindings for dev-libs/gmp"
+HOMEPAGE="http://gmpy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gmpy/${PN}-sources-${MY_PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+DEPEND="virtual/python
+ dev-libs/gmp"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # HACK: distutils only support 'setup.py', so
+ # we symlink what we need to 'setup.py' later
+ mv setup.py setmp.py
+}
+
+src_compile() {
+ local i
+ for i in mp es; do
+ ln -snf "set${i}.py" "setup.py" && distutils_src_compile
+ done
+}
+
+src_install() {
+ local i
+ for i in mp es; do
+ ln -snf "set${i}.py" "setup.py" && distutils_src_install
+ done
+ dohtml doc/index.html
+ dodoc doc/gmpydoc.txt
+}
diff --git a/dev-python/gmpy/metadata.xml b/dev-python/gmpy/metadata.xml
new file mode 100644
index 000000000000..15eead1a109a
--- /dev/null
+++ b/dev-python/gmpy/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+ <longdescription lang="en">
+ General MultiPrecision arithmetic for Python -- i.e.,
+ Python 2.3 interface module for library GMP 4.
+ </longdescription>
+</pkgmetadata>