diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-07-10 01:32:44 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-07-10 01:32:44 +0000 |
commit | 2559c2ec4e44f7664263e1f539a87a68d9408d82 (patch) | |
tree | cd04400c3f99041d9bdde8e3ee70ee9842cb41d7 /dev-python | |
parent | setuptools is needed at runtime as well. (diff) | |
download | gentoo-2-2559c2ec4e44f7664263e1f539a87a68d9408d82.tar.gz gentoo-2-2559c2ec4e44f7664263e1f539a87a68d9408d82.tar.bz2 gentoo-2-2559c2ec4e44f7664263e1f539a87a68d9408d82.zip |
Don't install tests directory.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/storm/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/storm/files/storm-0.20-exclude-tests.patch | 11 | ||||
-rw-r--r-- | dev-python/storm/storm-0.20.ebuild | 6 |
3 files changed, 20 insertions, 3 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog index 9d976b9183b1..1d231cb2667c 100644 --- a/dev-python/storm/ChangeLog +++ b/dev-python/storm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/storm # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.13 2013/07/08 05:35:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.14 2013/07/10 01:32:44 floppym Exp $ + + 10 Jul 2013; Mike Gilbert <floppym@gentoo.org> + +files/storm-0.20-exclude-tests.patch, storm-0.20.ebuild: + Don't install tests directory. *storm-0.20 (08 Jul 2013) diff --git a/dev-python/storm/files/storm-0.20-exclude-tests.patch b/dev-python/storm/files/storm-0.20-exclude-tests.patch new file mode 100644 index 000000000000..f3be491947d0 --- /dev/null +++ b/dev-python/storm/files/storm-0.20-exclude-tests.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -32,7 +32,7 @@ + license="LGPL", + url="https://storm.canonical.com", + download_url="https://launchpad.net/storm/+download", +- packages=find_packages(), ++ packages=find_packages(exclude=['tests']), + package_data={"": ["*.zcml"]}, + classifiers=[ + "Development Status :: 5 - Production/Stable", diff --git a/dev-python/storm/storm-0.20.ebuild b/dev-python/storm/storm-0.20.ebuild index 8828178678ff..6a7a101d0591 100644 --- a/dev-python/storm/storm-0.20.ebuild +++ b/dev-python/storm/storm-0.20.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/storm/storm-0.20.ebuild,v 1.1 2013/07/08 05:35:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.20.ebuild,v 1.2 2013/07/10 01:32:44 floppym Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -8,7 +8,7 @@ SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.*" PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython" -inherit distutils +inherit distutils eutils DESCRIPTION="An object-relational mapper for Python developed at Canonical." HOMEPAGE="https://storm.canonical.com/ http://pypi.python.org/pypi/storm" @@ -32,6 +32,8 @@ DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" DOCS="tests/tutorial.txt" src_prepare() { + epatch "${FILESDIR}/storm-0.20-exclude-tests.patch" + distutils_src_prepare preparation() { |