From 4b5da20d210354e30086556defda8712e8022bc3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 19 Apr 2011 09:44:01 -0400 Subject: [PATCH] Add sci-libs/pypiezo package. --- sci-libs/pypiezo/ChangeLog | 13 ++++++++ sci-libs/pypiezo/Manifest | 3 ++ sci-libs/pypiezo/metadata.xml | 9 ++++++ sci-libs/pypiezo/pypiezo-9999.ebuild | 47 ++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 sci-libs/pypiezo/ChangeLog create mode 100644 sci-libs/pypiezo/Manifest create mode 100644 sci-libs/pypiezo/metadata.xml create mode 100644 sci-libs/pypiezo/pypiezo-9999.ebuild diff --git a/sci-libs/pypiezo/ChangeLog b/sci-libs/pypiezo/ChangeLog new file mode 100644 index 0000000..b7b8561 --- /dev/null +++ b/sci-libs/pypiezo/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sci-libs/pypiezo +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*pypiezo-9999 (08 Feb 2011) + 08 Feb 2011; W. Trevor King ChangeLog, metadata.xml, pypiezo-9999.ebuild : + - Created ebuild suite for pypiezo. + - 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/sci-libs/pypiezo/Manifest b/sci-libs/pypiezo/Manifest new file mode 100644 index 0000000..65909f3 --- /dev/null +++ b/sci-libs/pypiezo/Manifest @@ -0,0 +1,3 @@ +EBUILD pypiezo-9999.ebuild 971 RMD160 851719a2bb0da500555fc6907adbd61b2f5b9d66 SHA1 c6ccb50fc625f868c29965491c1d6c836b2449ea SHA256 430be3b0a30f9fd4606799d8bd5e77f1b0fce04296f5172f51e64846eae4f5a4 +MISC ChangeLog 658 RMD160 f16bbbacb2f7ea4e6cc28632853f8e5477fd8f81 SHA1 14ddde94813234e0097812545d9202895c69870b SHA256 768939c014f1c2b71b1c8cae16e38ed686ccf4d133a78b8238b31294b6465599 +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/sci-libs/pypiezo/metadata.xml b/sci-libs/pypiezo/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/sci-libs/pypiezo/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/sci-libs/pypiezo/pypiezo-9999.ebuild b/sci-libs/pypiezo/pypiezo-9999.ebuild new file mode 100644 index 0000000..a09d2f3 --- /dev/null +++ b/sci-libs/pypiezo/pypiezo-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 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="Piezoelectric positioner control through Python." +HOMEPAGE="http://http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="test" + +RDEPEND="sci-libs/pycomedi + dev-python/matplotlib + dev-python/numpy + sci-libs/scipy" +DEPEND="$RDEPEND + 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