Add dev-python/pycomedi package.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 13:31:31 +0000 (09:31 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 13:31:31 +0000 (09:31 -0400)
dev-python/pycomedi/ChangeLog [new file with mode: 0644]
dev-python/pycomedi/Manifest [new file with mode: 0644]
dev-python/pycomedi/metadata.xml [new file with mode: 0644]
dev-python/pycomedi/pycomedi-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/pycomedi/ChangeLog b/dev-python/pycomedi/ChangeLog
new file mode 100644 (file)
index 0000000..f6942dc
--- /dev/null
@@ -0,0 +1,13 @@
+# ChangeLog for dev-python/pycomedi
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pycomedi-9999 (08 Feb 2011)
+  08 Feb 2011; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml, pycomedi-9999.ebuild :
+  - Created ebuild suite for pycomedi.
+  - Added initial ChangeLog which should be updated whenever the
+  package is updated in any way. This changelog is targetted to
+  users. This means that the comments should well explained and
+  written in clean English. The details about writing correct
+  changelogs are explained in the skel.ChangeLog file which you can
+  find in the root directory of the portage repository.
diff --git a/dev-python/pycomedi/Manifest b/dev-python/pycomedi/Manifest
new file mode 100644 (file)
index 0000000..9b9bf77
--- /dev/null
@@ -0,0 +1,3 @@
+EBUILD pycomedi-9999.ebuild 997 RMD160 6444bb475f1ad15e1ee24522f7bd411724f2bc11 SHA1 b721b3ceca05ce8c4069834228ba2eedb169584a SHA256 0c016ed266769695cfa94e4af9fec62fcfe38380762c11b97b39e20d9441bffd
+MISC ChangeLog 664 RMD160 1bbabb11b9b5a93f838dcecd6a533d2651053c23 SHA1 976c90d199f41da235efc18430faa3c8fd4d615a SHA256 e5f6dea06b92294a24dd3cc67877316481375614bd15c775c11555d223f83808
+MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
diff --git a/dev-python/pycomedi/metadata.xml b/dev-python/pycomedi/metadata.xml
new file mode 100644 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pycomedi/pycomedi-9999.ebuild b/dev-python/pycomedi/pycomedi-9999.ebuild
new file mode 100644 (file)
index 0000000..fa30d2f
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit eutils distutils
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git
+       EGIT_REPO_URI="http://www.physics.drexel.edu/~wking/code/git/${PN}.git"
+       SRC_URI=""
+else
+       SRC_URI="http://www.physics.drexel.edu/~wking/code/got/gitweb.cgi?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz"
+fi
+
+DESCRIPTION="Pythonic wrappers around the Comedilib device drivers."
+HOMEPAGE="http://http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="test"
+
+RDEPEND="sci-misc/comedilib[python]
+       dev-python/numpy
+       sci-libs/scipy"
+DEPEND="$RDEPEND
+       >=dev-python/cython-0.14
+       test? ( dev-python/nose )"
+
+src_unpack() {
+       if [[ ${PV} == "9999" ]] ; then
+               git_src_unpack
+       else
+               unpack ${A}
+       fi
+       cd "${S}"
+}
+
+src_install() {
+       distutils_src_install
+       dodoc README
+}