From 526c56b4c3b14f50d8152a3381ff22afeb89f37c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 19 Apr 2011 09:31:31 -0400 Subject: [PATCH] Add dev-python/pycomedi package. --- ChangeLog | 13 ++++++++++++ Manifest | 3 +++ metadata.xml | 9 +++++++++ pycomedi-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 metadata.xml create mode 100644 pycomedi-9999.ebuild diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..f6942dc --- /dev/null +++ b/ChangeLog @@ -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 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/Manifest b/Manifest new file mode 100644 index 0000000..9b9bf77 --- /dev/null +++ b/Manifest @@ -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/metadata.xml b/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/pycomedi-9999.ebuild b/pycomedi-9999.ebuild new file mode 100644 index 0000000..fa30d2f --- /dev/null +++ b/pycomedi-9999.ebuild @@ -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 +} -- 2.26.2