From 505b5741d14c94d3c20059547562bdbd59eee4c7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 19 Apr 2013 08:54:12 -0400 Subject: [PATCH] dev-python/pymodbus: Pymodbus is now (v1.2.0) versioned in Git on GitHub Also bump to EAPI 5 and distutils-r1. --- dev-python/pymodbus/ChangeLog | 5 +++ dev-python/pymodbus/Manifest | 3 -- dev-python/pymodbus/metadata.xml | 2 +- dev-python/pymodbus/pymodbus-9999.ebuild | 42 ++++++++++++------------ 4 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 dev-python/pymodbus/Manifest diff --git a/dev-python/pymodbus/ChangeLog b/dev-python/pymodbus/ChangeLog index ecf44dc..9132524 100644 --- a/dev-python/pymodbus/ChangeLog +++ b/dev-python/pymodbus/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*pymodbus-9999 (19 Apr 2013) + 19 Apr 2013; W. Trevor King pymodbus-9999.ebuild : + Pymodbus is now (v1.2.0) versioned in Git on GitHub :). + Also update to EAPI 5. + *pymodbus-9999 (09 Dec 2011) 09 Dec 2011; W. Trevor King pymodbus-9999.ebuild : Add ~amd64 keyword, now that I'm testing pymodbus on an AMD C-60. diff --git a/dev-python/pymodbus/Manifest b/dev-python/pymodbus/Manifest deleted file mode 100644 index 50927a5..0000000 --- a/dev-python/pymodbus/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -EBUILD pymodbus-9999.ebuild 759 RMD160 b436d5a922ca210c36e623833868c236f4ab7198 SHA1 40f648a5fb1e1cffb1c4602577adfb90a62225ee SHA256 f8d8fc8e7fe688563d4f4b7cec3a4c1261d77d564d3bd4b5ee356c8c8b13d119 -MISC ChangeLog 986 RMD160 192aaf14fb2cc604584e2ff8826e6e4eeffd1cb7 SHA1 d2a35be91305d603e2810631a2c8efb4fc00f337 SHA256 ad1747a7650fabed7d5e80aa1776875d6d1cb72062e3cd00dede09a071f667db -MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/dev-python/pymodbus/metadata.xml b/dev-python/pymodbus/metadata.xml index d124928..7b35910 100644 --- a/dev-python/pymodbus/metadata.xml +++ b/dev-python/pymodbus/metadata.xml @@ -3,7 +3,7 @@ - wking@drexel.edu + wking@tremily.us W. Trevor King diff --git a/dev-python/pymodbus/pymodbus-9999.ebuild b/dev-python/pymodbus/pymodbus-9999.ebuild index 1024f20..223a309 100644 --- a/dev-python/pymodbus/pymodbus-9999.ebuild +++ b/dev-python/pymodbus/pymodbus-9999.ebuild @@ -2,38 +2,38 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="4" +EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7} ) -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit eutils distutils +inherit eutils distutils-r1 if [[ ${PV} == "9999" ]] ; then - inherit subversion - ESVN_REPO_URI="http://${PN}.googlecode.com/svn/trunk/" + inherit git-2 + EGIT_BRANCH="master" + EGIT_REPO_URI="git://github.com/bashwork/${PN}.git" SRC_URI="" else - SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi DESCRIPTION="A Modbus protocol stack in Python" -HOMEPAGE="http://code.google.com/p/${PN}/" +HOMEPAGE="https://github.com/jiffyclub/ipythonblocks/" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="test serial" +IUSE="doc serial test" -DEPEND="dev-python/setuptools +RDEPEND="dev-python/setuptools dev-python/twisted[serial?] - dev-python/nose" -RDEPEND="${DEPEND}" + " +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx ) + test? ( + dev-python/coverage + dev-python/mock + dev-python/nose + dev-python/pep8 + ) + " -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - subversion_src_unpack - else - unpack ${A} - fi - cd "${S}" -} +DOCS=( README.rst ) -- 2.26.2