mgorny      14/12/15 19:59:18

  Modified:             ChangeLog
  Added:                errorhandler-1.1.1-r2.ebuild
  Removed:              errorhandler-1.1.1-r1.ebuild
  Log:
  Fix the ebuild to actually install something.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.5                  dev-python/errorhandler/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/errorhandler/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   31 Mar 2014 21:36:09 -0000      1.4
+++ ChangeLog   15 Dec 2014 19:59:18 -0000      1.5
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/errorhandler
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/errorhandler/ChangeLog,v 1.4 
2014/03/31 21:36:09 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/errorhandler/ChangeLog,v 1.5 
2014/12/15 19:59:18 mgorny Exp $
+
+*errorhandler-1.1.1-r2 (15 Dec 2014)
+
+  15 Dec 2014; Michał Górny <[email protected]> +errorhandler-1.1.1-r2.ebuild,
+  -errorhandler-1.1.1-r1.ebuild:
+  Fix the ebuild to actually install something.
 
   31 Mar 2014; Michał Górny <[email protected]> errorhandler-1.1.1-r1.ebuild:
   Add support for the new PyPy slotting.



1.1                  dev-python/errorhandler/errorhandler-1.1.1-r2.ebuild

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

Index: errorhandler-1.1.1-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/errorhandler/errorhandler-1.1.1-r2.ebuild,v 
1.1 2014/12/15 19:59:18 mgorny Exp $

EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )

inherit distutils-r1

DESCRIPTION="A logging framework handler that tracks when messages above a 
certain level have been logged"
HOMEPAGE="http://pypi.python.org/pypi/errorhandler";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

KEYWORDS="~amd64 ~x86"
IUSE="doc"

LICENSE="MIT"
SLOT="0"

RDEPEND=""
DEPEND="
        dev-python/pkginfo[${PYTHON_USEDEP}]
        dev-python/setuptools[${PYTHON_USEDEP}]
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"

python_prepare_all() {
        sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile 
|| die
        epatch "${FILESDIR}"/${P}-test.patch \
                "${FILESDIR}"/docs.patch
        distutils-r1_python_prepare_all
}

python_compile_all() {
        use doc && emake -C docs html
}

python_test() {
        "${PYTHON}" -c "import errorhandler.tests as et, unittest; \
                unittest.TextTestRunner().run(et.test_suite())" \
                || die "Tests fail with ${EPYTHON}"
}

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




Reply via email to