[med-svn] [cnrun] 13/14: spruce up gentoo files

andrei zavada hmmr-guest at moszumanska.debian.org
Sat Feb 21 15:07:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository cnrun.

commit 6cf1a034806cb07418e40775883300270e1c9d88
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Wed Feb 18 03:13:48 2015 +0200

    spruce up gentoo files
---
 gentoo/ChangeLog    |  6 ++++++
 gentoo/cnrun.ebuild | 21 ++++++++-------------
 gentoo/metadata.xml | 29 +++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 13 deletions(-)

diff --git a/gentoo/ChangeLog b/gentoo/ChangeLog
new file mode 100644
index 0000000..34e6696
--- /dev/null
+++ b/gentoo/ChangeLog
@@ -0,0 +1,6 @@
+# ChangeLog for sci-biology/cnrun
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  18 Jan 2015; Andrei Zavada <johnhommer at gmail.com> cnrun-2.0.2.ebuild:
+  Initial packaging for gentoo.
diff --git a/gentoo/cnrun.ebuild b/gentoo/cnrun.ebuild
index 3abd01b..dd02af2 100644
--- a/gentoo/cnrun.ebuild
+++ b/gentoo/cnrun.ebuild
@@ -1,28 +1,23 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI="5"
-inherit eutils
 
 DESCRIPTION="A NeuroML-enabled, neuronal network simulator w/ conductance- and rate-based HH neurons"
 HOMEPAGE="http://johnhommer.com/academic/code/cnrun"
-SRC_URI="http://johnhommer.com/academic/code/cnrun/source/${PN}-${PV}.tar.xz"
+SRC_URI="http://johnhommer.com/academic/code/cnrun/source/${P}.tar.xz"
 
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND="sci-libs/gsl
-	dev-libs/libxml2
-	dev-lang/lua"
+RDEPEND="dev-libs/libxml2
+	 dev-lang/lua
+	 sci-libs/gsl"
 
-src_configure() {
-        econf \
-                --bindir="${EPREFIX}"/bin
-}
+DEPEND="${RDEPEND}"
 
-src_install() {
-	emake DESTDIR="${D}" install || die "make install failed"
-	dodoc AUTHORS ChangeLog* README || die "dodoc failed"
+src_configure() {
+	econf --bindir="${EPREFIX}"/bin
 }
diff --git a/gentoo/metadata.xml b/gentoo/metadata.xml
new file mode 100644
index 0000000..48dcd97
--- /dev/null
+++ b/gentoo/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>sci-biology</herd>
+  <maintainer>
+    <email>johnhommer at gmail.com</email>
+    <name>Andrei Zavada</name>
+  </maintainer>
+  <longdescription>
+    CNrun is a neuronal network simulator, with these features:
+
+    * a conductance- and rate-based Hodgkin-Huxley neurons, a Rall and
+      Alpha-Beta synapses;
+    * a 6-5 Runge-Kutta integration method: slow but precise, adjustable;
+    * Poisson, Van der Pol, Colpitts oscillators and interface for
+      external stimulation sources;
+    * NeuroML network topology import/export;
+    * logging state variables, spikes;
+    * implemented as a Lua module, for scripting model behaviour (e.g.,
+      to enable plastic processes regulated by model state);
+    * interaction (topology push/pull, async connections) with other
+      cnrun models running elsewhere on a network, with interactions
+      (planned).
+
+    Note that there is no `cnrun' executable, which existed in cnrun-1.*.
+    Instead, you write a script for your simulation in Lua, and execute
+    it as detailed in /usr/share/lua-cnrun/examples/example1.lua.
+  </longdescription>
+</pkgmetadata>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cnrun.git



More information about the debian-med-commit mailing list