From 93b64c0a5937f2033d32f0061a087cc616c7c7ee Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 28 Jul 2011 12:16:01 -0400 Subject: [PATCH 1/1] Add h5config package. --- ChangeLog | 14 ++++++++++++++ Manifest | 3 +++ h5config-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++ metadata.xml | 9 +++++++++ 4 files changed, 70 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 h5config-9999.ebuild create mode 100644 metadata.xml diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..24950c1 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-python/h5config +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*h5config-9999 (28 Jul 2011) + 28 Jul 2011; W. Trevor King ChangeLog, metadata.xml, h5config-9999.ebuild : + - Created ebuild suite for h5config. + - 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..aad6ea8 --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD h5config-9999.ebuild 921 RMD160 c792b6cbc8c9f9f4f0ed7b95bf2d8aa55a2436ba SHA1 c654ee2ac329d660017c8ac8a2ba171204c62fa4 SHA256 5e26b57852c440a50e7dccd2c85f2aa976fb49514ed052aff8c50528518b5e01 +MISC ChangeLog 701 RMD160 495d8fc9bed806f334d9364f1c6923e0c8493255 SHA1 0f5af06a41fb6e05c69d6b7c7e28aa072c569729 SHA256 f354685d2dd982b12096432841617d4640842137a3730ecacf6ad589f897e8ab +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/h5config-9999.ebuild b/h5config-9999.ebuild new file mode 100644 index 0000000..6478a6e --- /dev/null +++ b/h5config-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.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="Conveniently save and load config-options from HDF5 and YAML files." +HOMEPAGE="http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/${PN}/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="modbus serial" + +RDEPEND="dev-python/h5py + dev-python/h5py" +DEPEND="${RDEPEND}" + +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 + + -- 2.26.2