From: Olivier Fisette Date: Tue, 28 Dec 2004 15:30:44 +0000 (+0000) Subject: Moving to sci-mathematics/snns X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31c762bdd8e8f97efc2221c948b612db31f1c2dc;p=gentoo.git Moving to sci-mathematics/snns --- diff --git a/app-sci/snns/ChangeLog b/app-sci/snns/ChangeLog deleted file mode 100644 index e2fff8a0219e..000000000000 --- a/app-sci/snns/ChangeLog +++ /dev/null @@ -1,63 +0,0 @@ -# ChangeLog for app-sci/snns -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/ChangeLog,v 1.17 2004/07/01 19:38:48 eradicator Exp $ - - 01 Jul 2004; Jeremy Huddleston snns-4.2-r4.ebuild: - virtual/glibc -> virtual/libc - -*snns-4.2-r6 (05 Jun 2004) - - 05 Jun 2004; Patrick Kursawe snns-4.2-r6.ebuild: - Documentation of the python extension is in a usable state now. - - 02 Jun 2004; Aron Griffis snns-4.2-r4.ebuild: - Fix use invocation - -*snns-4.2-r5 (01 Jun 2004) - - 01 Jun 2004; Patrick Kursawe snns-4.2-r5.ebuild: - Integrated the python bindings from the snns-dev project. - - 25 Apr 2004; Aron Griffis snns-4.2-r4.ebuild: - Add die following econf for bug 48950 - - 19 Apr 2004; Patrick Kursawe snns-4.2-r3.ebuild, - snns-4.2-r4.ebuild, files/snns-4.2-gentoo.patch: - Bump to stable, cleanup. - - 01 Apr 2004; Patrick Kursawe snns-4.2-r3.ebuild: - replacing patch by epatch - - 17 Mar 2004; David Holm snns-4.2-r4.ebuild: - Added to ~ppc. - -*snns-4.2-r4 (17 Mar 2004) - - 17 Mar 2004; Patrick Kursawe snns-4.2-r2.ebuild, - snns-4.2-r4.ebuild: - Getting external patch from snns-dev project. - -*snns-4.2-r3 (22 Sep 2003) - - 22 Sep 2003; Patrick Kursawe snns-4.2-r3.ebuild: - Fixing bug 25429 by linking with Xaw3d instead of Xaw. Increased some static - buffer sizes to make crashes a bit less likely. - - 30 Jul 2003; Patrick Kursawe snns-4.2-r1.ebuild, - snns-4.2.ebuild: - Cleanup - -*snns-4.2-r2 (11 Nov 2002) - - 11 Nov 2002; Mike Frysinger : - Tweaked ebuild a little bit more per #10390 - -*snns-4.2-r1 (08 Nov 2002) - - 08 Nov 2002; Mike Frysinger : - Added ability to use X or not ... #10390 - -*snns-4.2 (08 Nov 2002) - - 08 Nov 2002; Mike Frysinger : - Initial import. Ebuild submitted by Patrick Kursawe . diff --git a/app-sci/snns/Manifest b/app-sci/snns/Manifest deleted file mode 100644 index aaaae618ecf5..000000000000 --- a/app-sci/snns/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -MD5 965a49cb6e92cb30aa26a1397e1f34ed snns-4.2-r4.ebuild 1633 -MD5 3f45feb1ab7562379faba5558b15a226 snns-4.2-r6.ebuild 2518 -MD5 9316c9bef19882d7d4d764aa031ea4cf ChangeLog 2097 -MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220 -MD5 409a7ed863845a91ab923aee9873a062 files/digest-snns-4.2-r4 196 -MD5 13bc6c016dc3aa799a25598dead6346e files/digest-snns-4.2-r6 262 diff --git a/app-sci/snns/files/digest-snns-4.2-r4 b/app-sci/snns/files/digest-snns-4.2-r4 deleted file mode 100644 index 58ea19932b04..000000000000 --- a/app-sci/snns/files/digest-snns-4.2-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4609dfd61714bfbb0842d4e8e905e584 SNNSv4.2.tar.gz 2170375 -MD5 73a999a41bb91a4f8b5653ddddfcc527 snns-4.2-20040227.patch.gz 55476 -MD5 e91242fdc43877013ade3b5f2213659a SNNSv4.2.Manual.pdf 2103861 diff --git a/app-sci/snns/files/digest-snns-4.2-r6 b/app-sci/snns/files/digest-snns-4.2-r6 deleted file mode 100644 index d3e961a5e2c2..000000000000 --- a/app-sci/snns/files/digest-snns-4.2-r6 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 4609dfd61714bfbb0842d4e8e905e584 SNNSv4.2.tar.gz 2170375 -MD5 73a999a41bb91a4f8b5653ddddfcc527 snns-4.2-20040227.patch.gz 55476 -MD5 e91242fdc43877013ade3b5f2213659a SNNSv4.2.Manual.pdf 2103861 -MD5 fd63676eabeab8c633b176c01cbf8d44 PySNNS-20040605.tar.gz 20158 diff --git a/app-sci/snns/metadata.xml b/app-sci/snns/metadata.xml deleted file mode 100644 index b50113d200ac..000000000000 --- a/app-sci/snns/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - -sci - - phosphan@gentoo.org - - diff --git a/app-sci/snns/snns-4.2-r4.ebuild b/app-sci/snns/snns-4.2-r4.ebuild deleted file mode 100644 index bfd43937af76..000000000000 --- a/app-sci/snns/snns-4.2-r4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r4.ebuild,v 1.7 2004/07/01 11:54:39 eradicator Exp $ - -inherit eutils - -MY_P="SNNSv${PV}" -MYPATCH="${P}-20040227" -DESCRIPTION="Stuttgart Neural Network Simulator" -HOMEPAGE="http://www-ra.informatik.uni-tuebingen.de/SNNS/" -SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz - http://download.berlios.de/snns-dev/${MYPATCH}.patch.gz - doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf )" - -LICENSE="SNNS-${PV}" -KEYWORDS="x86 ppc" -SLOT="0" -IUSE="X doc" - -DEPEND="X? ( virtual/x11 - x11-libs/Xaw3d ) - >=sys-apps/sed-4 - virtual/libc" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${MY_P}.tar.gz - unpack ${MYPATCH}.patch.gz - epatch ${MYPATCH}.patch -} - -src_compile() { - local myconf="--enable-global" - local compileopts="compile-kernel compile-tools" - - if use X ; then - myconf="${myconf} --with-x" - compileopts="${compileopts} compile-xgui" - else - myconf="${myconf} --without-x" - fi - - econf ${myconf} || die "econf failed" - emake ${compileopts} || die "emake failed" -} - -src_install() { - for file in `find tools -type f -perm +100`; do - dobin $file - done - - if use X ; then - newbin xgui/sources/xgui snns - - dodir /etc/env.d - echo XGUILOADPATH=/usr/share/doc/${PF}/ > ${D}/etc/env.d/99snns - - insinto /usr/share/doc/${PF} - doins default.cfg help.hdoc - fi - - insinto /usr/share/doc/${PF} - use doc && doins ${DISTDIR}/${MY_P}.Manual.pdf - - insinto /usr/share/doc/${PF}/examples - doins examples/* - - doman man/man*/* -} diff --git a/app-sci/snns/snns-4.2-r6.ebuild b/app-sci/snns/snns-4.2-r6.ebuild deleted file mode 100644 index 0211606f6d77..000000000000 --- a/app-sci/snns/snns-4.2-r6.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r6.ebuild,v 1.3 2004/11/04 12:46:49 phosphan Exp $ - -inherit eutils python - -MY_P="SNNSv${PV}" -MYPATCH="${P}-20040227" -MYPYTHONEXT="PySNNS-20040605" - -DESCRIPTION="Stuttgart Neural Network Simulator" -HOMEPAGE="http://www-ra.informatik.uni-tuebingen.de/SNNS/" -SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz - http://download.berlios.de/snns-dev/${MYPATCH}.patch.gz - doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf ) - python? ( http://download.berlios.de/snns-dev/${MYPYTHONEXT}.tar.gz )" - -LICENSE="SNNS-${PV}" -KEYWORDS="x86" -SLOT="0" -IUSE="X doc python" - -DEPEND="X? ( virtual/x11 - x11-libs/Xaw3d ) - >=sys-apps/sed-4 - python? ( >=dev-lang/python-2.3 )" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${MY_P}.tar.gz - unpack ${MYPATCH}.patch.gz - epatch ${MYPATCH}.patch - use python && unpack ${MYPYTHONEXT}.tar.gz -} - -src_compile() { - local myconf="--enable-global" - local compileopts="compile-kernel compile-tools" - - if use X; then - myconf="${myconf} --with-x" - compileopts="${compileopts} compile-xgui" - else - myconf="${myconf} --without-x" - fi - - econf ${myconf} || die "econf failed" - emake ${compileopts} || die "emake failed" - - if use python; then - cd python - python setup.py build || die "could not build python extension" - fi -} - -src_install() { - for file in `find tools -type f -perm +100`; do - dobin $file - done - - if use X; then - newbin xgui/sources/xgui snns - - dodir /etc/env.d - echo XGUILOADPATH=/usr/share/doc/${PF}/ > ${D}/etc/env.d/99snns - - insinto /usr/share/doc/${PF} - doins default.cfg help.hdoc - fi - - if use python; then - cd python - python setup.py install --prefix=${D}/usr || die "could not install python module" - cp -a examples ${D}/usr/share/doc/${PF}/python-examples - chmod +x ${D}/usr/share/doc/${PF}/python-examples/*.py - newdoc README README.python - cd ${S} - fi - - insinto /usr/share/doc/${PF} - use doc && doins ${DISTDIR}/${MY_P}.Manual.pdf - - insinto /usr/share/doc/${PF}/examples - doins examples/* - - doman man/man*/* -} - -pkg_postinst() { - if use python; then - einfo "Pre-compiling Python module" - python_version - for file in __init__.py util.py; do - python_mod_compile \ - ${ROOT}/usr/lib/python${PYVER}/site-packages/snns/${file} - done - fi -} - -pkg_postrm() { - if use python; then - einfo "Cleaning up python stuff" - python_mod_cleanup - fi -}