summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-21 08:55:18 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-21 08:55:18 +0000
commitde3eb2c32045b5538caf14cfc1f4384f7b4cf684 (patch)
tree5f3c0c8e8a46bc6ce1eaf6696f841b8894ed0eed /dev-python/pyasn1
parentTemporary mask, because compatibility with recent tcl is not proven (diff)
downloadgentoo-2-de3eb2c32045b5538caf14cfc1f4384f7b4cf684.tar.gz
gentoo-2-de3eb2c32045b5538caf14cfc1f4384f7b4cf684.tar.bz2
gentoo-2-de3eb2c32045b5538caf14cfc1f4384f7b4cf684.zip
Make tests die on failure, clean up install.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643)
Diffstat (limited to 'dev-python/pyasn1')
-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
}