1 |
commit: 368698df2bc43a3244afe6733acc0e267b8a7df7 |
2 |
Author: Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 28 13:32:48 2013 +0000 |
4 |
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 28 13:32:48 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=368698df |
7 |
|
8 |
[dev-python/Forthon] version bump, add modified version of BSD license, port to distutils-r1 |
9 |
|
10 |
--- |
11 |
...Forthon-0.8.10.ebuild => Forthon-0.8.11.ebuild} | 20 +++---- |
12 |
licenses/LNLL-BSD | 57 ++++++++++++++++++++ |
13 |
2 files changed, 66 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/Forthon/Forthon-0.8.10.ebuild b/dev-python/Forthon/Forthon-0.8.11.ebuild |
16 |
similarity index 64% |
17 |
rename from dev-python/Forthon/Forthon-0.8.10.ebuild |
18 |
rename to dev-python/Forthon/Forthon-0.8.11.ebuild |
19 |
index f1fa4ed..2383f9b 100644 |
20 |
--- a/dev-python/Forthon/Forthon-0.8.10.ebuild |
21 |
+++ b/dev-python/Forthon/Forthon-0.8.11.ebuild |
22 |
@@ -2,32 +2,30 @@ |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
# $Header: $ |
25 |
|
26 |
-EAPI=4 |
27 |
+EAPI=5 |
28 |
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) |
29 |
|
30 |
-PYTHON_DEPEND="*" |
31 |
-SUPPORT_PYTHON_ABIS="1" |
32 |
- |
33 |
-inherit distutils |
34 |
+inherit distutils-r1 |
35 |
|
36 |
DESCRIPTION="Python interface generator for Fortran based codes" |
37 |
HOMEPAGE="http://hifweb.lbl.gov/Forthon http://pypi.python.org/pypi/Forthon" |
38 |
SRC_URI="http://hifweb.lbl.gov/${PN}/${P}.tgz" |
39 |
|
40 |
-LICENSE="BSD" |
41 |
+LICENSE="LLNL-BSD" |
42 |
SLOT="0" |
43 |
KEYWORDS="~amd64 ~x86" |
44 |
IUSE="examples" |
45 |
|
46 |
-src_prepare() { |
47 |
- sed -i -e "s/'Notice',//" setup.py || die |
48 |
- distutils_src_prepare |
49 |
+python_prepare_all() { |
50 |
+ sed -i -e "/data_files/ s/'License.txt',//" setup.py || die |
51 |
+ distutils-r1_python_prepare_all |
52 |
} |
53 |
|
54 |
-src_install() { |
55 |
- distutils_src_install |
56 |
+python_install_all() { |
57 |
dohtml docs/index.html |
58 |
if use examples ; then |
59 |
insinto /usr/share/doc/${PF} |
60 |
doins -r {example,example2,simpleexample} |
61 |
fi |
62 |
+ distutils-r1_python_install_all |
63 |
} |
64 |
|
65 |
diff --git a/licenses/LNLL-BSD b/licenses/LNLL-BSD |
66 |
new file mode 100644 |
67 |
index 0000000..5d9e892 |
68 |
--- /dev/null |
69 |
+++ b/licenses/LNLL-BSD |
70 |
@@ -0,0 +1,57 @@ |
71 |
+Copyright (c) 2012, Lawrence Livermore National Security, LLC. |
72 |
+Produced at the Lawrence Livermore National Laboratory |
73 |
+Written by David Grote, grote1@××××.gov. |
74 |
+LLNL-CODE-544231 |
75 |
+All rights reserved. |
76 |
+ |
77 |
+This file is part of Forthon. For details, see http://hifweb.lbl.gov/Forthon. |
78 |
+Please also read below, an Additional BSD Notice. |
79 |
+ |
80 |
+Redistribution and use in source and binary forms, with or without |
81 |
+modification, are permitted provided that the following conditions are met: |
82 |
+ |
83 |
+ * Redistributions of source code must retain the above copyright notice, |
84 |
+ this list of conditions and the disclaimer below. |
85 |
+ |
86 |
+ * Redistributions in binary form must reproduce the above copyright |
87 |
+ notice, this list of conditions and the disclaimer (as noted below) in |
88 |
+ the documentation and/or other materials provided with the distribution. |
89 |
+ |
90 |
+ * Neither the name of the LLNS/LLNL nor the names of its contributors may |
91 |
+ be used to endorse or promote products derived from this software |
92 |
+ without specific prior written permission. |
93 |
+ |
94 |
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
95 |
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
96 |
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
97 |
+ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY, LLC, |
98 |
+THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
99 |
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
100 |
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
101 |
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
102 |
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
103 |
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
104 |
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
105 |
+ |
106 |
+Additional BSD Notice |
107 |
+ |
108 |
+1. This notice is required to be provided under our contract with the U.S. |
109 |
+Department of Energy (DOE). This work was produced at Lawrence Livermore |
110 |
+National Laboratory under Contract No. DE-AC52-07NA27344 with the DOE. |
111 |
+ |
112 |
+2. Neither the United States Government nor Lawrence Livermore National |
113 |
+Security, LLC nor any of their employees, makes any warranty, express or |
114 |
+implied, or assumes any liability or responsibility for the accuracy, |
115 |
+completeness, or usefulness of any information, apparatus, product, or |
116 |
+process disclosed, or represents that its use would not infringe |
117 |
+privately-owned rights. |
118 |
+ |
119 |
+3. Also, reference herein to any specific commercial products, process, or |
120 |
+services by trade name, trademark, manufacturer or otherwise does not |
121 |
+necessarily constitute or imply its endorsement, recommendation, or favoring |
122 |
+by the United States Government or Lawrence Livermore National Security, LLC. |
123 |
+The views and opinions of authors expressed herein do not necessarily state |
124 |
+or reflect those of the United States Government or Lawrence Livermore |
125 |
+National Security, LLC, and shall not be used for advertising or product |
126 |
+endorsement purposes. |
127 |
+ |