Moved from sci overlay to tree
authorJustin Lecher <jlec@gentoo.org>
Fri, 6 Jan 2012 16:04:38 +0000 (16:04 +0000)
committerJustin Lecher <jlec@gentoo.org>
Fri, 6 Jan 2012 16:04:38 +0000 (16:04 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

dev-python/simpy/ChangeLog [new file with mode: 0644]
dev-python/simpy/Manifest [new file with mode: 0644]
dev-python/simpy/metadata.xml [new file with mode: 0644]
dev-python/simpy/simpy-2.3.ebuild [new file with mode: 0644]

diff --git a/dev-python/simpy/ChangeLog b/dev-python/simpy/ChangeLog
new file mode 100644 (file)
index 0000000..b41617c
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/simpy
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.1 2012/01/06 16:04:38 jlec Exp $
+
+*simpy-2.3 (06 Jan 2012)
+
+  06 Jan 2012; Justin Lecher <jlec@gentoo.org> +simpy-2.3.ebuild,
+  +metadata.xml:
+  Moved from sci overlay to tree
+
diff --git a/dev-python/simpy/Manifest b/dev-python/simpy/Manifest
new file mode 100644 (file)
index 0000000..32b1f21
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+DIST SimPy-2.3.tar.gz 4881530 RMD160 d392e8d47f6726f604ff0332bb41fd826ee7c29f SHA1 e4cf0d93dc0d20d8cb84c253ed241aadf83c71c9 SHA256 f08cc17476e7aeaf927f3cb03a0c0566dbcae7794cbecc4f32a21f7ab195cd78
+EBUILD simpy-2.3.ebuild 1070 RMD160 efac7e67a4a90c078ab6eb69a7f3b5f8f3b783e7 SHA1 98186a590ae2d0e457a2862000d486d840f00d28 SHA256 b1ecac31c2ca84b19b673111bae056c1ae4ccb2b5e4f08bd57cb7a5601a94fec
+MISC ChangeLog 346 RMD160 b02153dc653eac13e0a8bb09c68921573c080fe3 SHA1 fa18c7b04fdb70b4cdff9cd7a571e46022bf2976 SHA256 824dfc07745b458fef220c72358874521a327f04c0fed65b8978c8796d37c364
+MISC metadata.xml 219 RMD160 e9da2d4271f89b9dbac478d145a519318f0f3314 SHA1 6d4a101013d6a40cd61cb2d8c6b517c443013bc7 SHA256 0be94b46df4c9a73494034f33b1371769951f52890e5c857ebe1dc9bc729d0a8
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEAREKAAYFAk8HG5sACgkQgAnW8HDreRatugCgqdqtuZpT/+RMD/qxllOAonJt
+cHcAmwSMRPSOg9ZrnIeY0oarAa+3ROqE
+=ta0Q
+-----END PGP SIGNATURE-----
diff --git a/dev-python/simpy/metadata.xml b/dev-python/simpy/metadata.xml
new file mode 100644 (file)
index 0000000..210ad0d
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>sci</herd>
+       <maintainer>
+               <email>jlec@gentoo.org</email>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/simpy/simpy-2.3.ebuild b/dev-python/simpy/simpy-2.3.ebuild
new file mode 100644 (file)
index 0000000..7628bd6
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild,v 1.1 2012/01/06 16:04:38 jlec Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.6"
+PYTHON_USE_WITH="tk"
+SUPPORT_PYTHON_ABIS="1"
+# https://sourceforge.net/tracker/?func=detail&aid=3470332&group_id=62366&atid=500345
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_MODNAME="SimPy"
+
+inherit distutils
+
+MY_P="${P/simpy/SimPy}"
+
+DESCRIPTION="Simulation in Python is an object-oriented, process-based discrete-event simulation language"
+HOMEPAGE="http://simpy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="LGPL-2.1"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="test? ( dev-python/pytest )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_test() {
+       testing() {
+               PYTHONPATH="." $(PYTHON) -c "import SimPy; SimPy.test()" || die
+       }
+       python_execute_function testing
+}
+
+src_install() {
+       distutils_src_install
+
+       if use doc; then
+               dohtml -r SimPyDocs
+               dodoc SimPyModels/*
+       fi
+}