Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/simpson/files/, sci-chemistry/simpson/
Date: Tue, 29 Nov 2011 14:41:11
Message-Id: 85c49f7d25ad36be2ee4ed276874aab260ba15da.jlec@gentoo
1 commit: 85c49f7d25ad36be2ee4ed276874aab260ba15da
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 14:27:41 2011 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 14:27:41 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=85c49f7d
7
8 Version BUmp, added missing dep, found by louic and reported in irc
9
10 (Portage version: 2.2.0_alpha79/git/Linux x86_64, signed Manifest commit with key 70EB7916)
11
12 ---
13 sci-chemistry/simpson/ChangeLog | 6 ++++
14 sci-chemistry/simpson/files/3.1.0-gentoo.patch | 32 ++++++++++++++++++++
15 sci-chemistry/simpson/simpson-3.0.1.ebuild | 1 +
16 .../{simpson-3.0.1.ebuild => simpson-3.1.0.ebuild} | 5 ++-
17 4 files changed, 42 insertions(+), 2 deletions(-)
18
19 diff --git a/sci-chemistry/simpson/ChangeLog b/sci-chemistry/simpson/ChangeLog
20 index cc55b16..33b30cf 100644
21 --- a/sci-chemistry/simpson/ChangeLog
22 +++ b/sci-chemistry/simpson/ChangeLog
23 @@ -2,6 +2,12 @@
24 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
25 # $Header: $
26
27 +*simpson-3.1.0 (29 Nov 2011)
28 +
29 + 29 Nov 2011; Justin Lecher <jlec@g.o> +files/3.1.0-gentoo.patch,
30 + simpson-3.0.1.ebuild, +simpson-3.1.0.ebuild:
31 + Version BUmp, added missing dep, found by louic and reported in irc
32 +
33 25 Oct 2011; Justin Lecher <jlec@g.o> metadata.xml:
34 Removed no-herd from herd tag in metadata.xml
35
36
37 diff --git a/sci-chemistry/simpson/files/3.1.0-gentoo.patch b/sci-chemistry/simpson/files/3.1.0-gentoo.patch
38 new file mode 100644
39 index 0000000..f8133cb
40 --- /dev/null
41 +++ b/sci-chemistry/simpson/files/3.1.0-gentoo.patch
42 @@ -0,0 +1,32 @@
43 + Makefile | 10 +++++-----
44 + 1 files changed, 5 insertions(+), 5 deletions(-)
45 +
46 +diff --git a/Makefile b/Makefile
47 +index 7206ba5..832e76a 100644
48 +--- a/Makefile
49 ++++ b/Makefile
50 +@@ -11,9 +11,9 @@ BINDIR = /usr/bin
51 + #LIBRARIES = -lm *.dll
52 +
53 + # Linux
54 +-#INCLUDES = -I/usr/include/tcl8.4
55 +-#LIBRARIES = -lm -llapack -lblas -ltcl8.4
56 +-#BINDIR = /usr/local/bin
57 ++INCLUDES = -I@GENTOO_PORTAGE_EPREFIX@/usr/include/
58 ++BLASLIBS = `pkg-config --libs blas lapack`
59 ++LIBRARIES = -lm ${BLASLIBS} -ltcl
60 +
61 + # Linux MPI
62 + #INCLUDES = -I/usr/include/tcl8.4 -I/com/intel/mkl/10.1.1.019/include/
63 +@@ -38,9 +38,9 @@ TAR = tar
64 + MKDIR = mkdir
65 +
66 + simpson: $(OBJ)
67 +- $(CC) $(LIBRARIES) $(OBJ) -o simpson
68 ++ $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBRARIES)
69 + .c.o:
70 +- $(CC) $(FLAGS) $(EXTRA_FLAGS) $(INCLUDES) -DVERSION=\"$(VERSION)\" $<
71 ++ $(CC) $(CFLAGS) $(EXTRA_FLAGS) $(INCLUDES) -DVERSION=\"$(VERSION)\" -c $<
72 + clean:
73 + $(RM) -f *.o simpson
74 + dist:
75
76 diff --git a/sci-chemistry/simpson/simpson-3.0.1.ebuild b/sci-chemistry/simpson/simpson-3.0.1.ebuild
77 index 3a7f745..b2d5a0e 100644
78 --- a/sci-chemistry/simpson/simpson-3.0.1.ebuild
79 +++ b/sci-chemistry/simpson/simpson-3.0.1.ebuild
80 @@ -18,6 +18,7 @@ IUSE="gtk threads tk"
81 RDEPEND="
82 dev-libs/libf2c
83 virtual/blas
84 + virtual/cblas
85 virtual/lapack
86 gtk? ( x11-libs/gtk+:1 )
87 tk? ( dev-lang/tk )"
88
89 diff --git a/sci-chemistry/simpson/simpson-3.0.1.ebuild b/sci-chemistry/simpson/simpson-3.1.0.ebuild
90 similarity index 85%
91 copy from sci-chemistry/simpson/simpson-3.0.1.ebuild
92 copy to sci-chemistry/simpson/simpson-3.1.0.ebuild
93 index 3a7f745..b46c559 100644
94 --- a/sci-chemistry/simpson/simpson-3.0.1.ebuild
95 +++ b/sci-chemistry/simpson/simpson-3.1.0.ebuild
96 @@ -8,7 +8,7 @@ inherit eutils prefix
97
98 DESCRIPTION="General-purpose software package for simulation virtually all kinds of solid-state NMR experiments"
99 HOMEPAGE="http://bionmr.chem.au.dk/bionmr/software/index.php"
100 -SRC_URI="http://www.bionmr.chem.au.dk/download/${PN}/3.0/${PN}-source-${PV}.tgz"
101 +SRC_URI="http://www.bionmr.chem.au.dk/download/${PN}/3.1/${PN}-source-${PV}.tbz2"
102
103 SLOT="0"
104 KEYWORDS="~amd64 ~x86 ~amd64-linux"
105 @@ -18,6 +18,7 @@ IUSE="gtk threads tk"
106 RDEPEND="
107 dev-libs/libf2c
108 virtual/blas
109 + virtual/cblas
110 virtual/lapack
111 gtk? ( x11-libs/gtk+:1 )
112 tk? ( dev-lang/tk )"
113 @@ -28,7 +29,7 @@ S="${WORKDIR}"/${PN}-source-${PV}
114 src_prepare() {
115 edos2unix Makefile
116 epatch "${FILESDIR}"/${PV}-gentoo.patch
117 - epatch "${FILESDIR}"/${PV}-type.patch
118 + epatch "${FILESDIR}"/3.0.1-type.patch
119 eprefixify Makefile
120 }