diff options
-rw-r--r-- | dev-python/oauthlib/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/oauthlib/oauthlib-0.1.3.ebuild | 15 |
2 files changed, 8 insertions, 12 deletions
diff --git a/dev-python/oauthlib/ChangeLog b/dev-python/oauthlib/ChangeLog index b77ec0bacad8..0911f44e3fc4 100644 --- a/dev-python/oauthlib/ChangeLog +++ b/dev-python/oauthlib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/oauthlib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oauthlib/ChangeLog,v 1.2 2012/05/09 02:08:21 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/oauthlib/ChangeLog,v 1.3 2012/05/09 02:31:15 floppym Exp $ + + 09 May 2012; Mike Gilbert <floppym@gentoo.org> oauthlib-0.1.3.ebuild: + Implement alternate solution to avoid installing tests. 09 May 2012; Mike Gilbert <floppym@gentoo.org> oauthlib-0.1.3.ebuild: Remove tests directory from sitedir. 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 } |