From 00a0f72f11434eb42d1f0080f08646357ee83b16 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 31 Mar 2011 16:08:53 -0400 Subject: [PATCH] Add sci-libs/stepper package. --- ChangeLog | 13 +++++++++++++ Manifest | 3 +++ metadata.xml | 9 +++++++++ stepper-9999.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 metadata.xml create mode 100644 stepper-9999.ebuild diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..82b404b --- /dev/null +++ b/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sci-libs/stepper +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*Stepper-9999 (31 Mar 2011) + 31 Mar 2011; W. Trevor King ChangeLog, metadata.xml, stepper-9999.ebuild : + - Created ebuild suite for stepper. + - 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..6816887 --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD stepper-9999.ebuild 900 RMD160 1adac15d267dab4c2c8941e34cf7741dd2ff26dd SHA1 ea53c2f4e2b75ca5cfe5cf6bf23746cac160d6cc SHA256 a71f72ffe297a6ab2889ebb8a5a58f863dff9d4d000e98284f9330c6c14202fe +MISC ChangeLog 658 RMD160 2e6f34bfadf8d7476fe5e7b1233a491f32e0a2ce SHA1 fcd776b00dd91bd41c00cded582a8977da9a51ba SHA256 809e10c4d723cacb919f80c21aa536c4c3ba26c993c78995085cee2db99d290e +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/stepper-9999.ebuild b/stepper-9999.ebuild new file mode 100644 index 0000000..4c1b609 --- /dev/null +++ b/stepper-9999.ebuild @@ -0,0 +1,46 @@ +# 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="Python control of stepper motors" +HOMEPAGE="http://http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="test" + +DEPEND="test? ( + >=sci-libs/pycomedi-0.3 + dev-python/nose + )" +RDEPEND="" + +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