From aaf2341f42392e2eba3815df17ab3a21640bb1c2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 19 Apr 2011 11:02:48 -0400 Subject: [PATCH] Add sci-libs/pyafm package. --- ChangeLog | 13 +++++++++++++ Manifest | 3 +++ metadata.xml | 9 +++++++++ pyafm-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 metadata.xml create mode 100644 pyafm-9999.ebuild diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..3fae23d --- /dev/null +++ b/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sci-libs/pyafm +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*pyafm-9999 (19 Apr 2011) + 19 Apr 2011; W. Trevor King ChangeLog, metadata.xml, pyafm-9999.ebuild : + - Created ebuild suite for pyafm. + - 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..60f114d --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD pyafm-9999.ebuild 912 RMD160 00fa305fed5c2334406c69f3b8dc0a286439fd49 SHA1 197f922716ad40df1c87c28bb639a9c82d2f2578 SHA256 42642e11d0934b70d6d264f6b658475f0ec2d511149ab88db4c6382062d12fd5 +MISC ChangeLog 650 RMD160 bdb2cf80cf57d24459d876d30fa67697f025a74b SHA1 9ff452309a1c72dc45eb1e2cbfbbc54a4d2e612a SHA256 e0eade86abc180c61a472a9fcbe23aa14332fd9efc7f1d17f15d1e8e4dcb4e40 +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/pyafm-9999.ebuild b/pyafm-9999.ebuild new file mode 100644 index 0000000..205b5de --- /dev/null +++ b/pyafm-9999.ebuild @@ -0,0 +1,44 @@ +# 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="Tools for controlling atomic force microscopes." +HOMEPAGE="http://http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="test" + +RDEPEND="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 +} -- 2.26.2