From b58d2e2e764e68612dbad9d43b15065c1a8604a2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 21 Apr 2011 17:11:11 -0400 Subject: [PATCH] Add sci-physics/calibcant package. --- sci-physics/calibcant/ChangeLog | 14 ++++++ sci-physics/calibcant/Manifest | 3 ++ sci-physics/calibcant/calibcant-9999.ebuild | 50 +++++++++++++++++++++ sci-physics/calibcant/metadata.xml | 9 ++++ 4 files changed, 76 insertions(+) create mode 100644 sci-physics/calibcant/ChangeLog create mode 100644 sci-physics/calibcant/Manifest create mode 100644 sci-physics/calibcant/calibcant-9999.ebuild create mode 100644 sci-physics/calibcant/metadata.xml diff --git a/sci-physics/calibcant/ChangeLog b/sci-physics/calibcant/ChangeLog new file mode 100644 index 0000000..862e9ca --- /dev/null +++ b/sci-physics/calibcant/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for sci-physics/calibcant +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*calibcant-9999 (28 Jan 2011) + 27 Jan 2011; W. Trevor King ChangeLog, metadata.xml, calibcant-9999.ebuild : + - Created ebuild suite for calibcant. + - 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-physics/calibcant/Manifest b/sci-physics/calibcant/Manifest new file mode 100644 index 0000000..8f97230 --- /dev/null +++ b/sci-physics/calibcant/Manifest @@ -0,0 +1,3 @@ +EBUILD calibcant-9999.ebuild 989 RMD160 f68e0a88e4f7cb462af16c3e791fb7dbe84d57a1 SHA1 2f1f56829e4c389f39cb80b0707dbc26a18d3f90 SHA256 7596e27d956059b5f6cc567b5e183673852342aa038ebbe4edc7926cc15f771c +MISC ChangeLog 706 RMD160 04caeb2b8547def36813a297f6ed1b69a099753f SHA1 3d653b104caa232b8103a1397ea193f962f16e8f SHA256 e49b1597e3c47747ac5b661bb5e7b0a67ba618ebe56903f03ae8cd9a2117960a +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/sci-physics/calibcant/calibcant-9999.ebuild b/sci-physics/calibcant/calibcant-9999.ebuild new file mode 100644 index 0000000..a96dd36 --- /dev/null +++ b/sci-physics/calibcant/calibcant-9999.ebuild @@ -0,0 +1,50 @@ +# 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_BRANCH="master" + 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/python/${P}.tar.gz" +fi + +DESCRIPTION="AFM cantilever thermal-tune calibration." +HOMEPAGE="http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc test X" + +RDEPEND="dev-python/numpy + sci-libs/scipy + dev-python/h5py + dev-python/matplotlib + dev-python/FFT-tools + sci-libs/pypiezo" +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 +} diff --git a/sci-physics/calibcant/metadata.xml b/sci-physics/calibcant/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/sci-physics/calibcant/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + -- 2.26.2