Add pymodbus package.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Jul 2011 12:14:52 +0000 (08:14 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Jul 2011 12:14:52 +0000 (08:14 -0400)
ChangeLog [new file with mode: 0644]
Manifest [new file with mode: 0644]
metadata.xml [new file with mode: 0644]
pymodbus-9999.ebuild [new file with mode: 0644]

diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..c245de2
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for dev-python/pymodbus
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pymodbus-9999 (19 Jul 2011)
+  19 Jul 2011; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml, pymodbus-9999.ebuild :
+  - Created ebuild suite for pymodbus.
+  - 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 (file)
index 0000000..2d34241
--- /dev/null
+++ b/Manifest
@@ -0,0 +1,3 @@
+EBUILD pymodbus-9999.ebuild 726 RMD160 2a2926ed6e14d121db5fd0a494fb98a2096d79bf SHA1 441d4e89bf718f6e7536ec8f46b328f878847bad SHA256 b7aeacf9e7e2dfcf43a68c2bc8f1b31f590e4b7a1dcaaf7c24d7afd5dc3dcb3a
+MISC ChangeLog 664 RMD160 816af93aced975e0d1cf662a468daaf6b452a3c0 SHA1 406b39ba32517c593d6614628271eb771eb2e4a1 SHA256 e595d0c718c4175d6bc231a4bc216009d1f2f066d8a92c689bb3f2b2328d4d16
+MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
diff --git a/metadata.xml b/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/pymodbus-9999.ebuild b/pymodbus-9999.ebuild
new file mode 100644 (file)
index 0000000..5cf62ad
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit eutils distutils
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit subversion
+       ESVN_REPO_URI="http://${PN}.googlecode.com/svn/trunk/"
+       SRC_URI=""
+else
+       SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+fi
+
+DESCRIPTION="A Modbus protocol stack in Python"
+HOMEPAGE="http://code.google.com/${PN:1:1}/${PN}/"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="test"
+
+DEPENDS="
+       setuptools
+       twisted
+       nose
+       pyserial"
+RDEPENDS="${DEPENDS}"
+
+src_unpack() {
+       if [[ ${PV} == "9999" ]] ; then
+               subversion_src_unpack
+       else
+               unpack ${A}
+       fi
+       cd "${S}"
+}