1 |
commit: 342205d7ac78c3a100b5535bd9e70ab56045b6eb |
2 |
Author: Kacper Kowalik (Xarthisius) <xarthisius.kk <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Apr 3 04:02:10 2012 +0000 |
4 |
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 3 04:02:10 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=342205d7 |
7 |
|
8 |
[dev-python/Forthon] re-add as it is now released under BSD terms |
9 |
|
10 |
--- |
11 |
dev-python/Forthon/Forthon-0.8.8.ebuild | 33 +++++++++++++++++++++++++++++++ |
12 |
dev-python/Forthon/metadata.xml | 8 +++++++ |
13 |
2 files changed, 41 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/Forthon/Forthon-0.8.8.ebuild b/dev-python/Forthon/Forthon-0.8.8.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..f1fa4ed |
18 |
--- /dev/null |
19 |
+++ b/dev-python/Forthon/Forthon-0.8.8.ebuild |
20 |
@@ -0,0 +1,33 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+EAPI=4 |
26 |
+ |
27 |
+PYTHON_DEPEND="*" |
28 |
+SUPPORT_PYTHON_ABIS="1" |
29 |
+ |
30 |
+inherit distutils |
31 |
+ |
32 |
+DESCRIPTION="Python interface generator for Fortran based codes" |
33 |
+HOMEPAGE="http://hifweb.lbl.gov/Forthon http://pypi.python.org/pypi/Forthon" |
34 |
+SRC_URI="http://hifweb.lbl.gov/${PN}/${P}.tgz" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="examples" |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ sed -i -e "s/'Notice',//" setup.py || die |
43 |
+ distutils_src_prepare |
44 |
+} |
45 |
+ |
46 |
+src_install() { |
47 |
+ distutils_src_install |
48 |
+ dohtml docs/index.html |
49 |
+ if use examples ; then |
50 |
+ insinto /usr/share/doc/${PF} |
51 |
+ doins -r {example,example2,simpleexample} |
52 |
+ fi |
53 |
+} |
54 |
|
55 |
diff --git a/dev-python/Forthon/metadata.xml b/dev-python/Forthon/metadata.xml |
56 |
new file mode 100644 |
57 |
index 0000000..6629da3 |
58 |
--- /dev/null |
59 |
+++ b/dev-python/Forthon/metadata.xml |
60 |
@@ -0,0 +1,8 @@ |
61 |
+<?xml version="1.0" encoding="UTF-8"?> |
62 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
63 |
+<pkgmetadata> |
64 |
+ <maintainer> |
65 |
+ <email>xarthisius@g.o</email> |
66 |
+ <name>Kacper Kowalik</name> |
67 |
+ </maintainer> |
68 |
+</pkgmetadata> |