Add sci-libs/pyafm package.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 15:02:48 +0000 (11:02 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 15:02:48 +0000 (11:02 -0400)
sci-libs/pyafm/ChangeLog [new file with mode: 0644]
sci-libs/pyafm/Manifest [new file with mode: 0644]
sci-libs/pyafm/metadata.xml [new file with mode: 0644]
sci-libs/pyafm/pyafm-9999.ebuild [new file with mode: 0644]

diff --git a/sci-libs/pyafm/ChangeLog b/sci-libs/pyafm/ChangeLog
new file mode 100644 (file)
index 0000000..3fae23d
--- /dev/null
@@ -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 <wking@drexel.edu> 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/sci-libs/pyafm/Manifest b/sci-libs/pyafm/Manifest
new file mode 100644 (file)
index 0000000..60f114d
--- /dev/null
@@ -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/sci-libs/pyafm/metadata.xml b/sci-libs/pyafm/metadata.xml
new file mode 100644 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/sci-libs/pyafm/pyafm-9999.ebuild b/sci-libs/pyafm/pyafm-9999.ebuild
new file mode 100644 (file)
index 0000000..205b5de
--- /dev/null
@@ -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
+}