commit:     14f1b20faf3889afd3830c80814f575273f9fa4a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 18 15:32:52 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 15:32:52 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=14f1b20f

app-admin/cctrl: Bump to new python eclasses; Version Bump

Package-Manager: portage-2.2.14

---
 app-admin/cctrl/ChangeLog                      |  8 +++++-
 app-admin/cctrl/cctrl-1.14.2.ebuild            | 35 ++++++++++++++++++++++++++
 app-admin/cctrl/cctrl-1.2.0-r1.ebuild          | 26 -------------------
 app-admin/cctrl/files/cctrl-1.14.2-tests.patch | 16 ++++++++++++
 app-admin/cctrl/metadata.xml                   |  8 +++---
 5 files changed, 62 insertions(+), 31 deletions(-)

diff --git a/app-admin/cctrl/ChangeLog b/app-admin/cctrl/ChangeLog
index 7c21eb4..f0e65d4 100644
--- a/app-admin/cctrl/ChangeLog
+++ b/app-admin/cctrl/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for app-admin/cctrl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*cctrl-1.14.2 (18 Nov 2014)
+
+  18 Nov 2014; Justin Lecher <[email protected]> -cctrl-1.2.0-r1.ebuild,
+  +cctrl-1.14.2.ebuild, +files/cctrl-1.14.2-tests.patch, metadata.xml:
+  Bump to new python eclasses; Version Bump
+
 *cctrl-1.2.0-r1 (14 Dec 2012)
 
   14 Dec 2012; Michał Górny <[email protected]> +cctrl-1.2.0-r1.ebuild,

diff --git a/app-admin/cctrl/cctrl-1.14.2.ebuild 
b/app-admin/cctrl/cctrl-1.14.2.ebuild
new file mode 100644
index 0000000..9b6458d
--- /dev/null
+++ b/app-admin/cctrl/cctrl-1.14.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="cloudControl command line utilities"
+HOMEPAGE="http://cloudcontrol.com";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-python/ecdsa[${PYTHON_USEDEP}]
+       dev-python/paramiko[${PYTHON_USEDEP}]
+       >=dev-python/pycclib-1.0.1[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+               )
+       "
+
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+
+python_test() {
+       nosetests
+}

diff --git a/app-admin/cctrl/cctrl-1.2.0-r1.ebuild 
b/app-admin/cctrl/cctrl-1.2.0-r1.ebuild
deleted file mode 100644
index f69d1f9..0000000
--- a/app-admin/cctrl/cctrl-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils
-
-DESCRIPTION="cloudControl command line utilities"
-HOMEPAGE="http://cloudcontrol.com";
-SRC_URI="http://launchpad.net/cctrl/trunk/${PV}/+download/${P}.tar.bz2";
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/paramiko
-       >=dev-python/pycclib-1.0.1
-       virtual/python-argparse"
-RDEPEND="${DEPEND}"
-
-DOCS="README"

diff --git a/app-admin/cctrl/files/cctrl-1.14.2-tests.patch 
b/app-admin/cctrl/files/cctrl-1.14.2-tests.patch
new file mode 100644
index 0000000..c6c7fe2
--- /dev/null
+++ b/app-admin/cctrl/files/cctrl-1.14.2-tests.patch
@@ -0,0 +1,16 @@
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 1f0f818..f8abc93 100644
+--- a/setup.py
++++ b/setup.py
+@@ -66,7 +66,7 @@ else:
+     extra_options = dict(
+         scripts=srcscripts,
+         package_data={"cctrl": ["cacerts.txt"]},
+-        packages=find_packages()
++              packages=find_packages(exclude=['tests']),
+     )
+ 
+ setup(

diff --git a/app-admin/cctrl/metadata.xml b/app-admin/cctrl/metadata.xml
index 91bcbcf..894dc83 100644
--- a/app-admin/cctrl/metadata.xml
+++ b/app-admin/cctrl/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer>
-               <email>[email protected]</email>
-               <name>MATSUU Takuto</name>
-       </maintainer>
+  <maintainer>
+    <email>[email protected]</email>
+    <name>MATSUU Takuto</name>
+  </maintainer>
 </pkgmetadata>

Reply via email to