summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pyasn1/ChangeLog5
-rw-r--r--dev-python/pyasn1/pyasn1-0.1.6.ebuild13
2 files changed, 9 insertions, 9 deletions
diff --git a/dev-python/pyasn1/ChangeLog b/dev-python/pyasn1/ChangeLog
index 6f3cf370c47f..ce9928152d2a 100644
--- a/dev-python/pyasn1/ChangeLog
+++ b/dev-python/pyasn1/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pyasn1
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/ChangeLog,v 1.45 2013/01/15 16:42:13 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/ChangeLog,v 1.46 2013/02/21 08:55:18 mgorny Exp $
+
+ 21 Feb 2013; Michał Górny <mgorny@gentoo.org> pyasn1-0.1.6.ebuild:
+ Make tests die on failure, clean up install.
15 Jan 2013; Ian Delaney <idella4@gentoo.org> pyasn1-0.1.6.ebuild:
0.1.6 migrated to distutils-r1 eclass, requested by kensington
diff --git a/dev-python/pyasn1/pyasn1-0.1.6.ebuild b/dev-python/pyasn1/pyasn1-0.1.6.ebuild
index 4eca8b0fe3a8..43c14e264793 100644
--- a/dev-python/pyasn1/pyasn1-0.1.6.ebuild
+++ b/dev-python/pyasn1/pyasn1-0.1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.1.6.ebuild,v 1.2 2013/01/15 16:42:13 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.1.6.ebuild,v 1.3 2013/02/21 08:55:18 mgorny Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
@@ -20,15 +20,12 @@ RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
- "${PYTHON}" test/suite.py
+ "${PYTHON}" test/suite.py || die "Tests fail with ${EPYTHON}"
}
src_install() {
- distutils-r1_src_install
+ local HTML_DOCS=( doc/pyasn1-tutorial.html )
+ use doc && HTML_DOCS=( doc/. )
- if use doc; then
- dohtml doc/*
- else
- dohtml doc/pyasn1-tutorial.html
- fi
+ distutils-r1_src_install
}