Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:ccp4 commit in: sci-libs/ssm/files/, sci-libs/ssm/
Date: Thu, 30 May 2013 13:55:35
Message-Id: 1369920361.fc09720cd90ccc7e9295697f21531383498ed31a.jlec@gentoo
1 commit: fc09720cd90ccc7e9295697f21531383498ed31a
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 30 13:26:01 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu May 30 13:26:01 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fc09720c
7
8 sci-libs/ssm: Version Bump
9
10 Package-Manager: portage-2.2.0_alpha177
11
12 ---
13 sci-libs/ssm/ChangeLog | 37 ++++++++++++++++++++++++++++
14 sci-libs/ssm/files/ssm-1.3-pc.patch | 49 +++++++++++++++++++++++++++++++++++++
15 sci-libs/ssm/metadata.xml | 11 +++++++++
16 sci-libs/ssm/ssm-1.3.ebuild | 30 +++++++++++++++++++++++
17 4 files changed, 127 insertions(+)
18
19 diff --git a/sci-libs/ssm/ChangeLog b/sci-libs/ssm/ChangeLog
20 new file mode 100644
21 index 0000000..e26d57a
22 --- /dev/null
23 +++ b/sci-libs/ssm/ChangeLog
24 @@ -0,0 +1,37 @@
25 +# ChangeLog for sci-libs/ssm
26 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ssm/ChangeLog,v 1.8 2012/05/21 19:14:47 ranger Exp $
28 +
29 +*ssm-1.3 (30 May 2013)
30 +
31 + 30 May 2013; Justin Lecher <jlec@g.o> +ssm-1.3.ebuild,
32 + +files/ssm-1.3-pc.patch, +metadata.xml:
33 + Version Bump
34 +
35 + 21 May 2012; Brent Baude <ranger@g.o> ssm-1.1.ebuild:
36 + Marking ssm-1.1 ppc for bug 413815
37 +
38 + 15 Aug 2011; Kacper Kowalik <xarthisius@g.o> ssm-1.1.ebuild:
39 + Marked ~ppc for sci-chemistry/pointless
40 +
41 + 01 Aug 2011; Markus Meier <maekke@g.o> ssm-1.1.ebuild:
42 + x86 stable, bug #375905
43 +
44 + 24 Jul 2011; Markos Chandras <hwoarang@g.o> ssm-1.1.ebuild:
45 + Stable on amd64 wrt bug #375905
46 +
47 + 23 Jul 2011; Justin Lecher <jlec@g.o> ssm-1.1.ebuild:
48 + Add blocker against <sci-libs/ccp4-libs-6.1.3-r10, #376131
49 +
50 + 19 Jul 2011; Justin Lecher <jlec@g.o> ssm-1.1.ebuild:
51 + Keyworded for *-linux prefix
52 +
53 + 16 Jul 2011; Justin Lecher <jlec@g.o> files/ssm-1.1-pc.patch:
54 + Correct pc file because include/ssm was missing in Cflags
55 +
56 +*ssm-1.1 (16 Jul 2011)
57 +
58 + 16 Jul 2011; Justin Lecher <jlec@g.o> +ssm-1.1.ebuild,
59 + +files/ssm-1.1-mmdb.patch, +files/ssm-1.1-pc.patch, +metadata.xml:
60 + Import from sci-overlay
61 +
62
63 diff --git a/sci-libs/ssm/files/ssm-1.3-pc.patch b/sci-libs/ssm/files/ssm-1.3-pc.patch
64 new file mode 100644
65 index 0000000..271a7a7
66 --- /dev/null
67 +++ b/sci-libs/ssm/files/ssm-1.3-pc.patch
68 @@ -0,0 +1,49 @@
69 + Makefile.am | 3 +++
70 + configure.ac | 5 ++++-
71 + ssm.pc.in | 12 ++++++++++++
72 + 3 files changed, 19 insertions(+), 1 deletion(-)
73 +
74 +diff --git a/Makefile.am b/Makefile.am
75 +index ae84dd1..018b4d1 100644
76 +--- a/Makefile.am
77 ++++ b/Makefile.am
78 +@@ -1,5 +1,8 @@
79 + ACLOCAL_AMFLAGS = -I m4
80 +
81 ++pkgconfigdir = $(libdir)/pkgconfig
82 ++pkgconfig_DATA = ssm.pc
83 ++
84 + lib_LTLIBRARIES = libssm.la
85 + libssm_la_SOURCES = ssm_superpose.cpp ssm_csia.cpp ssm_vxedge.cpp \
86 + ssm_align.cpp ssm_malign.cpp ssm_graph.cpp
87 +diff --git a/configure.ac b/configure.ac
88 +index 25fc0ab..2d73ac4 100644
89 +--- a/configure.ac
90 ++++ b/configure.ac
91 +@@ -33,4 +33,7 @@ if test "x$enable_ccp4" = "xyes"; then
92 + fi
93 + AM_CONDITIONAL([USE_LIBCCP4], [test "x$enable_ccp4" = "xyes"])
94 +
95 +-AC_OUTPUT([Makefile])
96 ++AC_OUTPUT([
97 ++ Makefile
98 ++ ssm.pc
99 ++])
100 +diff --git a/ssm.pc.in b/ssm.pc.in
101 +new file mode 100644
102 +index 0000000..a6ac635
103 +--- /dev/null
104 ++++ b/ssm.pc.in
105 +@@ -0,0 +1,12 @@
106 ++prefix=@prefix@
107 ++exec_prefix=@exec_prefix@
108 ++libdir=@libdir@
109 ++includedir=@includedir@/ssm
110 ++
111 ++Name: ssm
112 ++Description: Macromolecular superposition library
113 ++Version: @VERSION@
114 ++Requires: mmdb
115 ++Conflicts:
116 ++Libs: -L${libdir} -lssm
117 ++Cflags: -I${includedir}
118
119 diff --git a/sci-libs/ssm/metadata.xml b/sci-libs/ssm/metadata.xml
120 new file mode 100644
121 index 0000000..cd4344f
122 --- /dev/null
123 +++ b/sci-libs/ssm/metadata.xml
124 @@ -0,0 +1,11 @@
125 +<?xml version="1.0" encoding="UTF-8"?>
126 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
127 +<pkgmetadata>
128 + <herd>sci</herd>
129 + <maintainer>
130 + <email>sci@g.o</email>
131 + </maintainer>
132 + <use>
133 + <flag name="ccp4">Enable necessary ouput to use superpose with ccp4</flag>
134 + </use>
135 +</pkgmetadata>
136
137 diff --git a/sci-libs/ssm/ssm-1.3.ebuild b/sci-libs/ssm/ssm-1.3.ebuild
138 new file mode 100644
139 index 0000000..348851d
140 --- /dev/null
141 +++ b/sci-libs/ssm/ssm-1.3.ebuild
142 @@ -0,0 +1,30 @@
143 +# Copyright 1999-2013 Gentoo Foundation
144 +# Distributed under the terms of the GNU General Public License v2
145 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ssm/ssm-1.1.ebuild,v 1.7 2012/05/21 19:14:47 ranger Exp $
146 +
147 +EAPI=5
148 +
149 +AUTOTOOLS_AUTORECONF=true
150 +
151 +inherit autotools-utils
152 +
153 +DESCRIPTION="A macromolecular coordinate superposition library"
154 +HOMEPAGE="https://launchpad.net/ssm"
155 +SRC_URI="ftp://ftp.ccp4.ac.uk/opensource/${P}.tar.bz2"
156 +
157 +LICENSE="GPL-3 LGPL-3"
158 +SLOT="0"
159 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
160 +IUSE="+ccp4 static-libs"
161 +
162 +DEPEND="
163 + >=sci-libs/mmdb-1.23
164 + ccp4? ( sci-libs/libccp4 )"
165 +RDEPEND="${DEPEND}"
166 +
167 +PATCHES=( "${FILESDIR}"/${P}-pc.patch )
168 +
169 +src_configure() {
170 + local myeconfargs=( $(use_enable ccp4) )
171 + autotools-utils_src_configure
172 +}