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
commitcd67f012c1c7c59d5b3e9d94bb7bb6479539b15e (patch)
treeb924556ad08572516907ad36ad9272b3141f69bb /dev-python/cgal-python
parentCleanup (diff)
downloadgentoo-2-cd67f012c1c7c59d5b3e9d94bb7bb6479539b15e.tar.gz
gentoo-2-cd67f012c1c7c59d5b3e9d94bb7bb6479539b15e.tar.bz2
gentoo-2-cd67f012c1c7c59d5b3e9d94bb7bb6479539b15e.zip
Initial import
(Portage version: 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/Manifest4
-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, 69 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..064bf4a4f3b2
--- /dev/null
+++ b/dev-python/cgal-python/Manifest
@@ -0,0 +1,4 @@
+DIST cgal-python-0.9.3.tar.gz 144786 RMD160 e309a610761681806090bfca91695d981a8336e8 SHA1 3012c1ab0c923d2f6178b7a5b5d6e93eb91ed093 SHA256 1bd2f0d21a81f60eb05a6af8d888b5a2fe45f687dcc869365a2f47d94032d50d
+EBUILD cgal-python-0.9.3.ebuild 1149 RMD160 e3cd7a8ca62ef17d1b01f72ea9dacf0a9cf8647a SHA1 856165ec328548f662acf13db5bab060dfc3482d SHA256 100b02361ff552169169c5773d5ce7fb4fbc01aa14be9e341f0d330f9091208b
+MISC ChangeLog 274 RMD160 e01a8d73f95b6f6939f2fb4f5fff44e875382699 SHA1 83522c5418781a09a099f6a8b6a6e5af7a47bd8a SHA256 0f93919ec37c0057fa4b5042e6ae302f90c45d25ad35a7cb20a14a4cbc7cee84
+MISC metadata.xml 169 RMD160 e1db75ae5d177dffc400468c7d76a7e1fe41876d SHA1 0c953712f9b97d5ab3f95ae71997ffbc96c4007d SHA256 36837b011d26f0b83477c7a8632cb0099aedbcba5a3e45c61f20292e079f6180
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>