diff options
author | 2012-05-09 02:31:15 +0000 | |
---|---|---|
committer | 2012-05-09 02:31:15 +0000 | |
commit | 8fb65712086465c8255c07919cce30e99f30d919 (patch) | |
tree | e6d33f6c3cad6a72e5db6a29953908fff73df4fd /dev-python/oauthlib/oauthlib-0.1.3.ebuild | |
parent | unmask useflags depending on fontforge (diff) | |
download | historical-8fb65712086465c8255c07919cce30e99f30d919.tar.gz historical-8fb65712086465c8255c07919cce30e99f30d919.tar.bz2 historical-8fb65712086465c8255c07919cce30e99f30d919.zip |
Implement alternate solution to avoid installing tests.
Package-Manager: portage-2.2.0_alpha102/cvs/Linux x86_64
Diffstat (limited to 'dev-python/oauthlib/oauthlib-0.1.3.ebuild')
-rw-r--r-- | dev-python/oauthlib/oauthlib-0.1.3.ebuild | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/dev-python/oauthlib/oauthlib-0.1.3.ebuild b/dev-python/oauthlib/oauthlib-0.1.3.ebuild index 063eb70432bd..5104e0ac51da 100644 --- a/dev-python/oauthlib/oauthlib-0.1.3.ebuild +++ b/dev-python/oauthlib/oauthlib-0.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oauthlib/oauthlib-0.1.3.ebuild,v 1.2 2012/05/09 02:08:21 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/oauthlib/oauthlib-0.1.3.ebuild,v 1.3 2012/05/09 02:31:15 floppym Exp $ EAPI="4" @@ -26,15 +26,8 @@ DEPEND="${RDEPEND} dev-python/setuptools test? ( dev-python/unittest2 )" -src_prepare() { +src_test() { touch tests/__init__.py - distutils_src_prepare -} - -src_install() { - distutils_src_install - cleanup() { - rm -rv "${ED}$(python_get_sitedir -b)/tests" - } - python_execute_function -q cleanup + distutils_src_test + rm tests/__init__.py } |