* [gentoo-commits] gentoo-x86 commit in sci-mathematics/fann: fann-2.0.0.ebuild fann-1.2.0.ebuild ChangeLog fann-1.2.0-r1.ebuild
@ 2008-03-14 10:54 Christian Heim (phreak)
0 siblings, 0 replies; 2+ messages in thread
From: Christian Heim (phreak) @ 2008-03-14 10:54 UTC (permalink / raw
To: gentoo-commits
phreak 08/03/14 10:54:34
Modified: fann-2.0.0.ebuild fann-1.2.0.ebuild ChangeLog
fann-1.2.0-r1.ebuild
Log:
Fixing the minor syntax errors. Adding some style.
(Portage version: 2.1.4.4)
Revision Changes Path
1.5 sci-mathematics/fann/fann-2.0.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild?r1=1.4&r2=1.5
Index: fann-2.0.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fann-2.0.0.ebuild 13 Jul 2007 05:28:09 -0000 1.4
+++ fann-2.0.0.ebuild 14 Mar 2008 10:54:33 -0000 1.5
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild,v 1.4 2007/07/13 05:28:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild,v 1.5 2008/03/14 10:54:33 phreak Exp $
inherit eutils
@@ -16,8 +16,8 @@
DEPEND="python? ( dev-lang/python dev-lang/swig )"
src_unpack() {
- unpack ${A} || die
- cd "${S}" || die
+ unpack ${A}
+ cd "${S}"
epatch "${FILESDIR}"/${P}-shared-libs-gentoo.patch
epatch "${FILESDIR}"/${P}-benchmark.patch
}
@@ -26,15 +26,15 @@
econf ${myconf} || die "configure failed"
emake || die "failed to build src"
if use python; then
- cd ${S}/python || \
+ cd "${S}"/python || \
die "failed to step into python subdirectory"
emake || die "failed to build python wrappers"
+ cd "${S}"
fi
}
src_install() {
- cd "${S}"
- make install DESTDIR=${D} || die "install failed"
+ make install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
if use doc; then
@@ -52,9 +52,9 @@
fi
if use python; then
- cd ${S}/python || \
+ cd "${S}"/python || \
die "Faild to step into python subdirectory"
- make install ROOT=${D} || \
+ make install ROOT="${D}" || \
die "failed to install python wrappers"
if use doc; then
local python_doc_dir="/usr/share/${PN}/examples/python"
1.5 sci-mathematics/fann/fann-1.2.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild?r1=1.4&r2=1.5
Index: fann-1.2.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fann-1.2.0.ebuild 13 Jul 2007 05:28:09 -0000 1.4
+++ fann-1.2.0.ebuild 14 Mar 2008 10:54:33 -0000 1.5
@@ -1,66 +1,65 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild,v 1.4 2007/07/13 05:28:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild,v 1.5 2008/03/14 10:54:33 phreak Exp $
inherit eutils
-#-----------------------------------------------------------------------------
+
DESCRIPTION="Fast Artificial Neural Network Library implements multilayer artificial neural networks in C"
HOMEPAGE="http://fann.sourceforge.net/"
SRC_URI="mirror://sourceforge/fann/${PF}.tar.bz2"
-#-----------------------------------------------------------------------------
+
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc python"
-#-----------------------------------------------------------------------------
+
DEPEND="sys-devel/autoconf
sys-apps/sed
doc? ( app-text/docbook-sgml-utils )
python? ( dev-lang/python dev-lang/swig )"
-#-----------------------------------------------------------------------------
+
S=${WORKDIR}/${PF}
-#=============================================================================
+
src_unpack() {
- unpack ${A} || die
- cd ${S} || die
- cp ${FILESDIR}/${PF}-setup.py ${S}/python/setup.py
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}"/${PF}-setup.py "${S}"/python/setup.py
}
-#=============================================================================
+
src_compile() {
local myconf
myconf="--prefix=/usr"
- cd ${S} || die
- econf ${myconf} || die
- emake || die
+
+ cd "${S}"
+ econf ${myconf} || die "econf failed!"
+ emake || die "emake failed!"
if use python; then
- einfo "python ------------------------------"
- cd ${S}/python || die
+ cd "${S}"/python || die
mkdir fann
for f in `ls *py |grep -v setup.py`; do
mv $f fann || die
done
+ cd "${S}"
fi
}
-#=============================================================================
+
src_install() {
- cd ${S}
- make install DESTDIR=${D} || die
+ make install DESTDIR="${D}" || die "make install failed!"
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+
if use doc; then
- einfo "doc ---------------------------------"
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
insinto /usr/share/doc/${PF}/benchmarks
- cp -pPR ${S}/benchmarks/* ${D}/usr/share/doc/${PF}/benchmarks
+ cp -pPR "${S}"/benchmarks/* "${D}"/usr/share/doc/${PF}/benchmarks
insinto /usr/share/doc/${PF}/examples/c
- doins ${S}/examples/*
+ doins "${S}"/examples/*
insinto /usr/share/doc/${PF}/html
- cp -pPR doc/html/* ${D}/usr/share/doc/${PF}/html
+ cp -pPR doc/html/* "${D}"/usr/share/doc/${PF}/html
insinto /usr/share/doc/${PF}/pdf
doins doc/*pdf
fi
if use python; then
- einfo "python ------------------------------"
- cd ${S}/python || die
- python setup.py install --root=${D} || die "No python"
+ cd "${S}"/python || die
+ python setup.py install --root="${D}" || die "python setup failed!"
if use doc; then
local python_doc_dir="/usr/share/doc/${PF}/examples/python"
insinto ${python_doc_dir}
1.10 sci-mathematics/fann/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?r1=1.9&r2=1.10
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog 14 Mar 2008 10:42:39 -0000 1.9
+++ ChangeLog 14 Mar 2008 10:54:33 -0000 1.10
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/fann
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v 1.9 2008/03/14 10:42:39 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v 1.10 2008/03/14 10:54:33 phreak Exp $
+
+ 14 Mar 2008; Christian Heim <phreak@gentoo.org> fann-1.2.0.ebuild,
+ fann-1.2.0-r1.ebuild, fann-2.0.0.ebuild:
+ Fixing the minor syntax errors. Adding some style.
14 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Christian Andreetta (satya, #48841) from metadata.xml.
1.4 sci-mathematics/fann/fann-1.2.0-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild?r1=1.3&r2=1.4
Index: fann-1.2.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- fann-1.2.0-r1.ebuild 13 Jul 2007 05:28:09 -0000 1.3
+++ fann-1.2.0-r1.ebuild 14 Mar 2008 10:54:33 -0000 1.4
@@ -1,68 +1,69 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild,v 1.3 2007/07/13 05:28:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild,v 1.4 2008/03/14 10:54:33 phreak Exp $
inherit eutils
-#-----------------------------------------------------------------------------
+
MY_PKG_NAME=${PN}-${PV/-.*/}
DESCRIPTION="Fast Artificial Neural Network Library implements multilayer artificial neural networks in C"
HOMEPAGE="http://fann.sourceforge.net/"
SRC_URI="mirror://sourceforge/fann/${MY_PKG_NAME}.tar.bz2"
-#-----------------------------------------------------------------------------
+
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc python"
-#-----------------------------------------------------------------------------
+
DEPEND="sys-devel/autoconf
sys-apps/sed
doc? ( app-text/docbook-sgml-utils )
python? ( dev-lang/python dev-lang/swig )"
-#-----------------------------------------------------------------------------
+
S=${WORKDIR}/${MY_PKG_NAME}
-#=============================================================================
+
src_unpack() {
- unpack ${A} || die
- cd ${S} || die
- epatch ${FILESDIR}/${PF}.patch
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PF}.patch
}
-#=============================================================================
+
src_compile() {
local myconf
myconf="--prefix=/usr"
- cd ${S} || die
- econf ${myconf} || die
- emake || die
+
+ econf ${myconf} || die "econf failed!"
+ emake || die "emake failed!"
+
if use python; then
- einfo "python ------------------------------"
- cd ${S}/python || die
+ cd "${S}"/python
#mkdir fann
#for f in `ls *py |grep -v setup.py`; do
# mv $f fann || die
#done
python setup_unix.py build
+ cd "${S}"
fi
}
-#=============================================================================
+
src_install() {
- cd ${S}
- make install DESTDIR=${D} || die
+ make install DESTDIR="${D}" || die
+
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+
if use doc; then
- einfo "doc ---------------------------------"
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
insinto /usr/share/doc/${PF}/benchmarks
- cp -pPR ${S}/benchmarks/* ${D}/usr/share/doc/${PF}/benchmarks
+ cp -pPR "${S}"/benchmarks/* "${D}"/usr/share/doc/${PF}/benchmarks
insinto /usr/share/doc/${PF}/examples/c
- doins ${S}/examples/*
+ doins "${S}"/examples/*
insinto /usr/share/doc/${PF}/html
- cp -pPR doc/html/* ${D}/usr/share/doc/${PF}/html
+ cp -pPR doc/html/* "${D}"/usr/share/doc/${PF}/html
insinto /usr/share/doc/${PF}/pdf
doins doc/*pdf
fi
+
if use python; then
- einfo "python ------------------------------"
- cd ${S}/python || die
- python setup_unix.py install --root=${D} || die "No python"
+ cd "${S}"/python
+ python setup_unix.py install --root="${D}" || die "python setup failed!"
if use doc; then
local python_doc_dir="/usr/share/doc/${PF}/examples/python"
insinto ${python_doc_dir}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/fann: fann-2.0.0.ebuild fann-1.2.0.ebuild ChangeLog fann-1.2.0-r1.ebuild
@ 2008-05-12 13:10 Markus Dittrich (markusle)
0 siblings, 0 replies; 2+ messages in thread
From: Markus Dittrich (markusle) @ 2008-05-12 13:10 UTC (permalink / raw
To: gentoo-commits
markusle 08/05/12 13:10:18
Modified: fann-2.0.0.ebuild fann-1.2.0.ebuild ChangeLog
fann-1.2.0-r1.ebuild
Log:
Removed runtime dependencies on dev-lang/swig (see bug #221495).
(Portage version: 2.1.5_rc7)
Revision Changes Path
1.6 sci-mathematics/fann/fann-2.0.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild?r1=1.5&r2=1.6
Index: fann-2.0.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fann-2.0.0.ebuild 14 Mar 2008 10:54:33 -0000 1.5
+++ fann-2.0.0.ebuild 12 May 2008 13:10:17 -0000 1.6
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild,v 1.5 2008/03/14 10:54:33 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.0.0.ebuild,v 1.6 2008/05/12 13:10:17 markusle Exp $
inherit eutils
@@ -13,7 +13,9 @@
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc python"
-DEPEND="python? ( dev-lang/python dev-lang/swig )"
+RDEPEND="python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )"
src_unpack() {
unpack ${A}
1.6 sci-mathematics/fann/fann-1.2.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild?r1=1.5&r2=1.6
Index: fann-1.2.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fann-1.2.0.ebuild 14 Mar 2008 10:54:33 -0000 1.5
+++ fann-1.2.0.ebuild 12 May 2008 13:10:17 -0000 1.6
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild,v 1.5 2008/03/14 10:54:33 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0.ebuild,v 1.6 2008/05/12 13:10:17 markusle Exp $
inherit eutils
@@ -13,10 +13,12 @@
KEYWORDS="~x86"
IUSE="doc python"
-DEPEND="sys-devel/autoconf
+RDEPEND="python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
sys-apps/sed
doc? ( app-text/docbook-sgml-utils )
- python? ( dev-lang/python dev-lang/swig )"
+ python? ( dev-lang/swig )"
S=${WORKDIR}/${PF}
1.11 sci-mathematics/fann/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?r1=1.10&r2=1.11
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog 14 Mar 2008 10:54:33 -0000 1.10
+++ ChangeLog 12 May 2008 13:10:17 -0000 1.11
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/fann
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v 1.10 2008/03/14 10:54:33 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v 1.11 2008/05/12 13:10:17 markusle Exp $
+
+ 12 May 2008; Markus Dittrich <markusle@gentoo.org> fann-1.2.0.ebuild,
+ fann-1.2.0-r1.ebuild, fann-2.0.0.ebuild:
+ Removed runtime dependencies on dev-lang/swig (see bug #221495).
14 Mar 2008; Christian Heim <phreak@gentoo.org> fann-1.2.0.ebuild,
fann-1.2.0-r1.ebuild, fann-2.0.0.ebuild:
1.5 sci-mathematics/fann/fann-1.2.0-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild?r1=1.4&r2=1.5
Index: fann-1.2.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fann-1.2.0-r1.ebuild 14 Mar 2008 10:54:33 -0000 1.4
+++ fann-1.2.0-r1.ebuild 12 May 2008 13:10:17 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild,v 1.4 2008/03/14 10:54:33 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-1.2.0-r1.ebuild,v 1.5 2008/05/12 13:10:17 markusle Exp $
inherit eutils
@@ -14,10 +14,12 @@
KEYWORDS="~x86"
IUSE="doc python"
-DEPEND="sys-devel/autoconf
+RDEPEND="python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
sys-apps/sed
doc? ( app-text/docbook-sgml-utils )
- python? ( dev-lang/python dev-lang/swig )"
+ python? ( dev-lang/swig )"
S=${WORKDIR}/${MY_PKG_NAME}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-12 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 13:10 [gentoo-commits] gentoo-x86 commit in sci-mathematics/fann: fann-2.0.0.ebuild fann-1.2.0.ebuild ChangeLog fann-1.2.0-r1.ebuild Markus Dittrich (markusle)
-- strict thread matches above, loose matches on Subject: below --
2008-03-14 10:54 Christian Heim (phreak)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox