# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*pymodbus-9999 (19 Apr 2013)
+ 19 Apr 2013; W. Trevor King <wking@tremily.us> 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 <wking@drexel.edu> pymodbus-9999.ebuild :
Add ~amd64 keyword, now that I'm testing pymodbus on an AMD C-60.
+++ /dev/null
-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
# 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 )