diff options
author | Christian Heim <phreak@gentoo.org> | 2008-03-14 10:54:33 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2008-03-14 10:54:33 +0000 |
commit | b93b0dfd0af27069f8e3d8eae10e4b15f21b6085 (patch) | |
tree | 47f52706cd45e5b716aa777a0958d205df5c287b /sci-mathematics/fann | |
parent | Removing Christian Andreetta (satya, #48841) from metadata.xml. (diff) | |
download | historical-b93b0dfd0af27069f8e3d8eae10e4b15f21b6085.tar.gz historical-b93b0dfd0af27069f8e3d8eae10e4b15f21b6085.tar.bz2 historical-b93b0dfd0af27069f8e3d8eae10e4b15f21b6085.zip |
Fixing the minor syntax errors. Adding some style.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-mathematics/fann')
-rw-r--r-- | sci-mathematics/fann/ChangeLog | 6 | ||||
-rw-r--r-- | sci-mathematics/fann/Manifest | 14 | ||||
-rw-r--r-- | sci-mathematics/fann/fann-1.2.0-r1.ebuild | 55 | ||||
-rw-r--r-- | sci-mathematics/fann/fann-1.2.0.ebuild | 53 | ||||
-rw-r--r-- | sci-mathematics/fann/fann-2.0.0.ebuild | 18 |
5 files changed, 75 insertions, 71 deletions
diff --git a/sci-mathematics/fann/ChangeLog b/sci-mathematics/fann/ChangeLog index f32134b207ea..fc64e40ac21a 100644 --- a/sci-mathematics/fann/ChangeLog +++ b/sci-mathematics/fann/ChangeLog @@ -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. diff --git a/sci-mathematics/fann/Manifest b/sci-mathematics/fann/Manifest index 4b48c3e01cac..6401b4be1b6f 100644 --- a/sci-mathematics/fann/Manifest +++ b/sci-mathematics/fann/Manifest @@ -7,15 +7,15 @@ AUX fann-2.0.0-benchmark.patch 1986 RMD160 9660044ab4fadc476cda8653ad171ef7b0d5e AUX fann-2.0.0-shared-libs-gentoo.patch 1193 RMD160 b7e70b62187fe81363406fad1cabffbd9c98349c SHA1 c2d27d013e11d7bf0098dccf6ad619a32d25a1c8 SHA256 788faf6fde0ee954581b95e2630b265aeb3e88c3bb2fd696bc98e470b87b30f3 DIST fann-1.2.0.tar.bz2 2082660 RMD160 672dd909d05f3a42517f938f6145c81ab421adeb SHA1 b3ffe2bef832256b89af80a4843f760ed2d63fca SHA256 3ddd93bfc0dfbe1a223edcf86e79b4a325e966ffbafa000bd0c86d25fdf717b1 DIST fann-2.0.0.tar.bz2 2310853 RMD160 9d7268eaf06ab177eafb72359a1cf73a70e5a886 SHA1 af4d4efe2362e68929bee73cde85bca10c48df43 SHA256 762a1313a9b935300cb66ebf052d469d04823ca721fe6dd2a49c01e13e8ab30a -EBUILD fann-1.2.0-r1.ebuild 2501 RMD160 b5bcfd94e0b3be283f7f36917ea9860299f3b2b8 SHA1 1ac45b1791462e44e964b63925a546ff8d394223 SHA256 6d55a5bb9191d3706134e56c068dfbea549f8ac1328820decd44b49e84ea00f9 -EBUILD fann-1.2.0.ebuild 2433 RMD160 38be9b0d09ae1efa31e25c03ae7320925a43b22c SHA1 709cbc681832f740320c140451a7ab5b8daa2adc SHA256 1695601fb31bd3898cea816d202cd41124a8c3cb9f31dabc58d1d25dbc7bae08 -EBUILD fann-2.0.0.ebuild 1809 RMD160 6a17b6fe2deae978860593bdab6efb50b909c162 SHA1 d7962d2634b979043a222eca26f2d3b16ef00f4f SHA256 f3fc74b6c4ae6a94d8180770d4d8015e6bb40605014a31db4252f221ffa4aaea -MISC ChangeLog 1617 RMD160 e71bee131de1b1e720341d53f8d83e0c8cab9d2a SHA1 bd0456c12ad74e3918a923bb151780ca4c69c7b9 SHA256 2d9c9969bafd46ae46f36194484c3402ce0360cc653ffe60eb2f3e65accb5cc5 +EBUILD fann-1.2.0-r1.ebuild 1826 RMD160 617712cea8fc670517b56a6a9f1dd2cd57866f7d SHA1 ee68fe1ec72ade3ddb842333158fa76f02168a11 SHA256 e5e87338b36c2eaf4386003e19646c523d182199546266d4a0f3f795b22be8dc +EBUILD fann-1.2.0.ebuild 1805 RMD160 5228877a5f83fc8e4d0b77d215f4fdf616096701 SHA1 05964a41050d4b852157f9b2f621eea59433dc25 SHA256 9b021d5994df22667a368e7dd68dda61454514a5013414fa0b84aab9ae8fec37 +EBUILD fann-2.0.0.ebuild 1801 RMD160 032a8ce66879d50f2d7a517bd9ad34e3d9e7bc08 SHA1 a516d98b11bbea9429fb4a0f2fb991771bb71e9e SHA256 8d561314a2f42d0bce81d92c56f9f154af6450a9591ad593432977ceb96d91cc +MISC ChangeLog 1784 RMD160 fcb09ed70d6dd0b6cc79caa8785c2fe9c5e6ea65 SHA1 d4bb503fc424b12af440a7f253b08316e203a49d SHA256 2f498531e00d1eb946386bd6acd11a8a00067ec4a0ef779a90f49cae21a142ef MISC metadata.xml 643 RMD160 61b3ae59ede7fc938b2d0db3ab938d5c7c1a89d4 SHA1 d508eed27842ebf2f6e1284c88106ffdb3c001ac SHA256 f0225c318a45203347920ea563a1f79247b5a158ce1c422ea027899cf3c4c837 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFH2lakyuNVb5qfaOYRAokXAJ4+MFDm45nHsodORl2vNq4pz2hb0QCgr2KY -0Ep72e+9vjQd476DdqzfqpE= -=8Wsf +iD8DBQFH2ll0yuNVb5qfaOYRAv1YAJ4n+2cdJcyIh8WR1EB+dV5GHgz2QgCglyCr +/3g7yNU0Vuc6suqiSrfsOjM= +=g+H4 -----END PGP SIGNATURE----- diff --git a/sci-mathematics/fann/fann-1.2.0-r1.ebuild b/sci-mathematics/fann/fann-1.2.0-r1.ebuild index 618aefcaa7b3..cc47a0416a8d 100644 --- a/sci-mathematics/fann/fann-1.2.0-r1.ebuild +++ b/sci-mathematics/fann/fann-1.2.0-r1.ebuild @@ -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} diff --git a/sci-mathematics/fann/fann-1.2.0.ebuild b/sci-mathematics/fann/fann-1.2.0.ebuild index a068afed8cd5..34cfae29e23f 100644 --- a/sci-mathematics/fann/fann-1.2.0.ebuild +++ b/sci-mathematics/fann/fann-1.2.0.ebuild @@ -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} diff --git a/sci-mathematics/fann/fann-2.0.0.ebuild b/sci-mathematics/fann/fann-2.0.0.ebuild index 2c0370c88d98..2e736fce38c1 100644 --- a/sci-mathematics/fann/fann-2.0.0.ebuild +++ b/sci-mathematics/fann/fann-2.0.0.ebuild @@ -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 @@ IUSE="doc python" 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 @@ src_compile() { 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 @@ src_install() { 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" |