Gentoo Archives: gentoo-commits

From: Kacper Kowalik <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/Forthon/
Date: Tue, 03 Apr 2012 04:13:23
Message-Id: 1333425947.4ad1b8c6aef579c2131440da363266537c024813.xarthisius@gentoo
1 commit: 4ad1b8c6aef579c2131440da363266537c024813
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:05:47 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4ad1b8c6
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>