From: W. Trevor King Date: Wed, 27 Jul 2011 15:21:52 +0000 (-0400) Subject: Add pypid package. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=626c808a1b3c3c33dbc4491a4e4f7424f5a5fb7e;p=wtk-overlay.git Add pypid package. --- 626c808a1b3c3c33dbc4491a4e4f7424f5a5fb7e diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e00bb06 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-python/pypid +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*pypid-9999 (27 Jul 2011) + 27 Jul 2011; W. Trevor King ChangeLog, metadata.xml, pypid-9999.ebuild : + - Created ebuild suite for Pypid. + - 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..cd7aeb4 --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD pypid-9999.ebuild 1000 RMD160 a009c9d7478e039f782907dbfe66722ea6aa79dc SHA1 f8919c1cd82b0aa9ddeaab8f32f51e99d032f4c1 SHA256 c187e8aede465a266eb7e6feff0022177fca2f1b1a45243c996975baecc0ead4 +MISC ChangeLog 689 RMD160 3a386b334c2731092c1c0a8ee23655488d77746b SHA1 ed6e65e04750c748ef8b7ae59ec1536b2892910c SHA256 84cafc4ba4e8321f2ad27579c31938b5314a73156011fa792dd8ce59d2f38758 +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/pypid-9999.ebuild b/pypid-9999.ebuild new file mode 100644 index 0000000..86d9376 --- /dev/null +++ b/pypid-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" +PYTHON_DEPEND="2:2.7" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils distutils + +if [[ ${PV} == "9999" ]] ; then + inherit git + EGIT_REPO_URI="http://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="Modular PID control library." +HOMEPAGE="http://http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="serial twisted" + +RDEPEND="dev-python/numpy + >=media-libs/aubio-0.3.2-r1 + sci-libs/scipy + twisted? ( + dev-python/twisted[serial?] + )" +DEPEND="${RDEPEND}" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git_src_unpack + else + unpack ${A} + fi + cd "${S}" +} + +src_install() { + distutils_src_install + dodoc README + docinto examples + dodoc examples/* +}