summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-10-27 15:31:27 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-10-27 15:31:27 +0000
commit4d3c5503cc0e35a1f0b6cbcf7ca24a5348d4f478 (patch)
tree4e054201ea1cf5bd64c10db388cd1c5d7e375819 /dev-python/cgal-python
parentCleanup (diff)
downloadhistorical-4d3c5503cc0e35a1f0b6cbcf7ca24a5348d4f478.tar.gz
historical-4d3c5503cc0e35a1f0b6cbcf7ca24a5348d4f478.tar.bz2
historical-4d3c5503cc0e35a1f0b6cbcf7ca24a5348d4f478.zip
Initial import
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'dev-python/cgal-python')
-rw-r--r--dev-python/cgal-python/ChangeLog10
-rw-r--r--dev-python/cgal-python/Manifest14
-rw-r--r--dev-python/cgal-python/cgal-python-0.9.3.ebuild50
-rw-r--r--dev-python/cgal-python/metadata.xml5
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/cgal-python/ChangeLog b/dev-python/cgal-python/ChangeLog
new file mode 100644
index 000000000000..fa812a767cc5
--- /dev/null
+++ b/dev-python/cgal-python/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/cgal-python
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cgal-python/ChangeLog,v 1.1 2008/10/27 15:31:27 bicatali Exp $
+
+*cgal-python-0.9.3 (27 Oct 2008)
+
+ 27 Oct 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +cgal-python-0.9.3.ebuild:
+ Initial import
+
diff --git a/dev-python/cgal-python/Manifest b/dev-python/cgal-python/Manifest
new file mode 100644
index 000000000000..20bf9604b0f4
--- /dev/null
+++ b/dev-python/cgal-python/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST cgal-python-0.9.3.tar.gz 144786 RMD160 e309a610761681806090bfca91695d981a8336e8 SHA1 3012c1ab0c923d2f6178b7a5b5d6e93eb91ed093 SHA256 1bd2f0d21a81f60eb05a6af8d888b5a2fe45f687dcc869365a2f47d94032d50d
+EBUILD cgal-python-0.9.3.ebuild 1260 RMD160 72435416f4a1232593867540127a2c91980a75ff SHA1 8e2d003474c327bcac77cf91c4685b4a01e37f8b SHA256 4066c02b8a0ca97107c390150809abef73f41ea1c0d3507892d0b5176ff93060
+MISC ChangeLog 370 RMD160 5c4d5e083929fa9257ec9e826ae6a221f901928a SHA1 acad6783b635a6d0abb2f7415fbd2a400986ca2c SHA256 ad9d052a278164bdd2ef5f90d76806ba0a926c45fece1ea1d9766d26b25bf35b
+MISC metadata.xml 169 RMD160 e1db75ae5d177dffc400468c7d76a7e1fe41876d SHA1 0c953712f9b97d5ab3f95ae71997ffbc96c4007d SHA256 36837b011d26f0b83477c7a8632cb0099aedbcba5a3e45c61f20292e079f6180
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkkF3tgACgkQ1ycZbhPLE2Cy0ACeODnDQ+q6rfV0+G7eVHcGXIiI
+lQIAn1nxZp66/KQVn9pf6NemFjURtRdN
+=UCOv
+-----END PGP SIGNATURE-----
diff --git a/dev-python/cgal-python/cgal-python-0.9.3.ebuild b/dev-python/cgal-python/cgal-python-0.9.3.ebuild
new file mode 100644
index 000000000000..4338169f4373
--- /dev/null
+++ b/dev-python/cgal-python/cgal-python-0.9.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cgal-python/cgal-python-0.9.3.ebuild,v 1.1 2008/10/27 15:31:27 bicatali Exp $
+
+EAPI=2
+inherit toolchain-funcs python
+
+INRIAID=3521
+
+DESCRIPTION="Python bindings for the CGAL library"
+HOMEPAGE="http://cgal-python.gforge.inria.fr/"
+SRC_URI="http://gforge.inria.fr/frs/download.php/${INRIAID}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="sci-mathematics/cgal"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ python_version
+ sed -i \
+ -e "s:-I../.. -O2:-I/usr/include/python${PYVER} -I../..:g" \
+ bindings/makefile.inc || die
+ for i in $(find bindings -name Makefile); do
+ sed -i -e "s:@g++:@$(tc-getCXX):g" ${i} || die
+ done
+}
+
+src_test() {
+ emake -j1 tests || die "emake tests failed"
+}
+
+
+src_install(){
+ python_need_rebuild
+ emake package || die "emake package failed"
+ insinto "$(${python} -c 'from distutils.sysconfig import get_python_lib;print get_python_lib()')"
+ doins -r cgal_package/CGAL || die "python lib install failed"
+ dodoc README.txt CHANGES
+ if use examples; then
+ cd tests
+ make clean
+ insinto /usr/share/doc/${PF}/examples
+ cp -r * || die
+ fi
+}
diff --git a/dev-python/cgal-python/metadata.xml b/dev-python/cgal-python/metadata.xml
new file mode 100644
index 000000000000..3190fbf9c377
--- /dev/null
+++ b/dev-python/cgal-python/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-geosciences</herd>
+</pkgmetadata>