From: W. Trevor King Date: Thu, 21 Apr 2011 21:11:11 +0000 (-0400) Subject: Add sci-physics/calibcant package. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8889341658056b72fe177d03fff83b025e11486;p=wtk-overlay.git Add sci-physics/calibcant package. --- b8889341658056b72fe177d03fff83b025e11486 diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..862e9ca --- /dev/null +++ b/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/Manifest b/Manifest new file mode 100644 index 0000000..8f97230 --- /dev/null +++ b/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/calibcant-9999.ebuild b/calibcant-9999.ebuild new file mode 100644 index 0000000..a96dd36 --- /dev/null +++ b/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/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 + +