[gentoo-commits] proj/sci:master commit in: sci-chemistry/almost/, sci-chemistry/almost/files/

2015-09-21 Thread Justin Lecher
commit: a2fff58ef4b54fde37926e16f080d7cd781d9f0a
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Sep 21 13:56:02 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Sep 21 13:56:02 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=a2fff58e

Drop obsolete package  Sources unavailable

Signed-off-by: Justin Lecher  gentoo.org>

 sci-chemistry/almost/ChangeLog  |  21 ---
 sci-chemistry/almost/almost-1.0.3-r2.ebuild |  67 
 sci-chemistry/almost/files/Makefile.patch   |  44 --
 sci-chemistry/almost/files/configure.patch  | 226 --
 sci-chemistry/almost/files/configure2.patch | 235 
 sci-chemistry/almost/files/gcc-4.3.patch|  70 -
 sci-chemistry/almost/metadata.xml   |   9 --
 7 files changed, 672 deletions(-)

diff --git a/sci-chemistry/almost/ChangeLog b/sci-chemistry/almost/ChangeLog
deleted file mode 100644
index 206d8c1..000
--- a/sci-chemistry/almost/ChangeLog
+++ /dev/null
@@ -1,21 +0,0 @@
-# ChangeLog for sci-chemistry/almost
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Id$
-
-  10 Nov 2014; Justin Lecher  almost-1.0.3-r2.ebuild:
-  Bump to EAPI=5
-
-*almost-1.0.3-r1 (11 May 2009)
-
-  11 May 2009; Justin Lecher (jlec) 
-  +almost-1.0.3-r1.ebuild:
-  make use of boost-1.3.6
-  Use updated code from upstream
-
-  15 Feb 2009; justin Lecher (jlec) 
-  Fixed installation of missing headers
-
-  07 Nov 2008; justin Lecher  +metadata.xml,
-  +almost-1.0.3.ebuild:
-  Setup sci-chemistry/almost
-

diff --git a/sci-chemistry/almost/almost-1.0.3-r2.ebuild 
b/sci-chemistry/almost/almost-1.0.3-r2.ebuild
deleted file mode 100644
index 0ea8c53..000
--- a/sci-chemistry/almost/almost-1.0.3-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic
-
-DATE="090822"
-
-DESCRIPTION="all atom molecular simulation toolkit"
-HOMEPAGE="http://www-almost.ch.cam.ac.uk/site;
-#SRC_URI="http://www-almost.ch.cam.ac.uk/site/downloads/${P}.tar.gz;
-## Upstream changes tarballs w/o revision bump so I host a copy
-SRC_URI="http://dev.gentooexperimental.org/~jlec/distfiles/${P}-${DATE}.tar.gz;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-RDEPEND=""
-
-## dev-libs/boost-1.3.6, once it is in the tree soft masked
-## until then we use the shipped one
-# Upstream has to fix its code so that  it compiles with mpicxx
-## Upstream only uses sys-cluster/mpich2, so we should first get this to work.
-#DEPEND="mpi? ( sys-cluster/mpich2 )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-src_prepare(){
-   rm -rf ./include/almost/boost src/lib/iostreams || die
-#  rm -rf ./include/almost/boost ./include/almost/boost_1_30 
#src/lib/iostreams
-
-   sed -e 's:boost boost_1_30::g' \
-   -i ./include/almost/Makefile.am || die
-
-   epatch \
-   "${FILESDIR}"/configure2.patch \
-   "${FILESDIR}"/Makefile.patch
-
-   sed \
-   -e '/include\/almost\/boost/d' \
-   -e '/include\/almost\/tinyxml/d' \
-   -i configure.in || die
-
-#  find include \
-#  -name "*.h" \
-#  -exec sed 's:boost_1_30:boost:g' -i '{}' \;
-
-   epatch "${FILESDIR}"/gcc-4.3.patch
-   eautoreconf
-}
-
-src_compile(){
-   emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" -j1
-
-}
-
-src_install() {
-   default
-
-   insinto /usr/include/${PN}
-   doins {almost,config}.h
-}

diff --git a/sci-chemistry/almost/files/Makefile.patch 
b/sci-chemistry/almost/files/Makefile.patch
deleted file mode 100644
index cdaf0aa..000
--- a/sci-chemistry/almost/files/Makefile.patch
+++ /dev/null
@@ -1,44 +0,0 @@
 src/Makefile.am2008-06-06 01:15:31.0 +0200
-+++ src/Makefile.am.new2009-08-22 22:38:00.0 +0200
-@@ -1,3 +1,3 @@
- #SUBDIRS =  #io param pdb molecules util moveset system forcefield zeta mpi 
dcdtools analysis modules  tests
- 
--SUBDIRS= lib tinyxml libxml   forcefield  examples tests
-+SUBDIRS= lib forcefield  examples tests
 src/lib/Makefile.am2008-07-17 17:57:14.0 +0200
-+++ src/lib/Makefile.am.new2009-08-23 20:45:00.0 +0200
-@@ -1,6 +1,7 @@
- INCLUDES = -I../../include/almost -I../rose -I../zeta/ -Imodules
- SUBDIRS=modules
- lib_LIBRARIES=libAlm.a
-+libAlm_la_LIBADD=libboost_iostreams.a
- REGEXSOURCES= regex/c_regex_traits.cpp   \
-   regex/cpp_regex_traits.cpp \
-   regex/cregex.cpp \
-@@ -19,15 +20,6 @@
-   regex/wide_posix_api.cpp \
-   regex/winstances.cpp
- 
--IOSTREAMSSOURCES = iostreams/bzip2.cpp \
--  iostreams/file_descriptor.cpp \
--  iostreams/mapped_file.cpp \
--   

[gentoo-commits] proj/sci:master commit in: sci-chemistry/almost/

2014-11-11 Thread Justin Lecher
commit: b234d373f3ba31dc9bcac60b3ab03842b864997d
Author: Justin Lecher jlec AT gentoo DOT org
AuthorDate: Mon Nov 10 15:43:10 2014 +
Commit: Justin Lecher jlec AT gentoo DOT org
CommitDate: Mon Nov 10 15:43:10 2014 +
URL:http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b234d373

sci-chemistry/almost: Bump to EAPI=5

Package-Manager: portage-2.2.14

---
 sci-chemistry/almost/ChangeLog  |  5 +++-
 sci-chemistry/almost/almost-1.0.3-r2.ebuild | 37 ++---
 2 files changed, 17 insertions(+), 25 deletions(-)

diff --git a/sci-chemistry/almost/ChangeLog b/sci-chemistry/almost/ChangeLog
index b8f81ee..e68b99e 100644
--- a/sci-chemistry/almost/ChangeLog
+++ b/sci-chemistry/almost/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-chemistry/almost
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Nov 2014; Justin Lecher j...@gentoo.org almost-1.0.3-r2.ebuild:
+  Bump to EAPI=5
+
 *almost-1.0.3-r1 (11 May 2009)
 
   11 May 2009; Justin Lecher (jlec) j...@j-schmitz.net

diff --git a/sci-chemistry/almost/almost-1.0.3-r2.ebuild 
b/sci-chemistry/almost/almost-1.0.3-r2.ebuild
index 314a5d3..47e6815 100644
--- a/sci-chemistry/almost/almost-1.0.3-r2.ebuild
+++ b/sci-chemistry/almost/almost-1.0.3-r2.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI=5
+
 inherit autotools eutils flag-o-matic
 
 DATE=090822
@@ -28,51 +30,38 @@ DEPEND=${RDEPEND}
 
 RESTRICT=mirror
 
-src_unpack(){
-   unpack ${A}
-
-   cd ${S}
-
-   rm -rf ./include/almost/boost src/lib/iostreams
+src_prepare(){
+   rm -rf ./include/almost/boost src/lib/iostreams || die
 #  rm -rf ./include/almost/boost ./include/almost/boost_1_30 
#src/lib/iostreams
 
sed -e 's:boost boost_1_30::g' \
-   -i ./include/almost/Makefile.am
+   -i ./include/almost/Makefile.am || die
 
-   epatch ${FILESDIR}/configure2.patch
-   epatch ${FILESDIR}/Makefile.patch
+   epatch \
+   ${FILESDIR}/configure2.patch \
+   ${FILESDIR}/Makefile.patch
 
sed \
-e '/include\/almost\/boost/d' \
-e '/include\/almost\/tinyxml/d' \
-   -i configure.in
+   -i configure.in || die
 
 #  find include \
 #  -name *.h \
 #  -exec sed 's:boost_1_30:boost:g' -i '{}' \;
 
epatch ${FILESDIR}/gcc-4.3.patch
-   eautoreconf || die Reconfiguration failed
+   eautoreconf
 }
 
 src_compile(){
+   emake CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} LDFLAGS=${LDFLAGS} -j1
 
-   econf || die configure failed
-
-   emake CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} LDFLAGS=${LDFLAGS} 
-j1 || \
-   die make failed
-
-}
-
-src_test() {
-   emake check || die test failed
 }
 
 src_install() {
-   emake DESTDIR=${D} install || die Install failed
+   default
 
insinto /usr/include/${PN}
-   doins {almost,config}.h || die failed to install missing headers
-
-   dodoc README NEWS TODO ChangeLog AUTHORS
+   doins {almost,config}.h
 }