prometheanfire    15/02/16 20:23:45

  Modified:             ChangeLog
  Added:                hacking-0.10.1.ebuild
  Log:
  new hacking, we'll see how it likes a diferent flake8 though...
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.14                 dev-python/hacking/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/ChangeLog?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/ChangeLog?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/hacking/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog   24 Nov 2014 21:14:59 -0000      1.13
+++ ChangeLog   16 Feb 2015 20:23:45 -0000      1.14
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/hacking
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/ChangeLog,v 1.13 
2014/11/24 21:14:59 pacho Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/ChangeLog,v 1.14 
2015/02/16 20:23:45 prometheanfire Exp $
+
+*hacking-0.10.1 (16 Feb 2015)
+
+  16 Feb 2015; Matthew Thode <[email protected]> 
+hacking-0.10.1.ebuild:
+  new hacking, we'll see how it likes a diferent flake8 though...
 
   24 Nov 2014; Pacho Ramos <[email protected]> hacking-0.9.2.ebuild:
   Support python 3.4



1.1                  dev-python/hacking/hacking-0.10.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/hacking-0.10.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/hacking-0.10.1.ebuild?rev=1.1&content-type=text/plain

Index: hacking-0.10.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/hacking-0.10.1.ebuild,v 
1.1 2015/02/16 20:23:45 prometheanfire Exp $

EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

DESCRIPTION="A client for the OpenStack Nova API"
HOMEPAGE="https://github.com/openstack-dev/hacking";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"

DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
        <dev-python/pbr-1.0[${PYTHON_USEDEP}]
        test? (
                >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
                >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
                >=dev-python/mock-1.0[${PYTHON_USEDEP}]
                >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
                >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
                >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
                >=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
                <dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
                ${RDEPEND}
        )
        doc? (
                >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
                <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
                $(python_gen_cond_dep 
'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 )
        )"
RDEPEND="
        ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
        ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
        ~dev-python/flake8-2.2.5[${PYTHON_USEDEP}]
        ~dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
        >=dev-python/six-1.7.0[${PYTHON_USEDEP}]"

DISTUTILS_IN_SOURCE_BUILD=1

python_prepare_all() {
        # Prevent d'loading and correct ?typo to oslosphinx in conf.py
        sed -e 's:intersphinx_mapping:#&:' \
                -e 's:oslosphinx:oslo.sphinx:' \
                -i doc/source/conf.py || die

        distutils-r1_python_prepare_all
}

python_compile_all() {
        use doc && sphinx-build -b html -c doc/source/ doc/source/ 
doc/source/html
}

python_test() {
        testr init || die "testr init died"
        testr run || die "testsuite failed under ${EPYTHON}"
        flake8 "${PN}"/tests || die "flake8 drew error on a run over 
${PN}/tests folder"
}

python_install_all() {
        use doc && local HTML_DOCS=( doc/source/html/. )
        distutils-r1_python_install_all
}




Reply via email to