diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-06-07 10:39:44 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-06-07 10:39:44 +0000 |
commit | 70f03419c209a2dd2b149d98cc762d534596956b (patch) | |
tree | f07e70b8f8ee9c3b98eb4f9c3d691581c8deb6a7 /dev-python/imdbpy | |
parent | Fix keywords, punt old (diff) | |
download | gentoo-2-70f03419c209a2dd2b149d98cc762d534596956b.tar.gz gentoo-2-70f03419c209a2dd2b149d98cc762d534596956b.tar.bz2 gentoo-2-70f03419c209a2dd2b149d98cc762d534596956b.zip |
Prevent installation of files in /usr/share/doc, bug 315983.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/imdbpy')
-rw-r--r-- | dev-python/imdbpy/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/imdbpy/files/4.5.1-no-docs.patch | 12 | ||||
-rw-r--r-- | dev-python/imdbpy/imdbpy-4.5.1.ebuild | 8 |
3 files changed, 23 insertions, 3 deletions
diff --git a/dev-python/imdbpy/ChangeLog b/dev-python/imdbpy/ChangeLog index eec65cb6a2be..cb5049f450c0 100644 --- a/dev-python/imdbpy/ChangeLog +++ b/dev-python/imdbpy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/imdbpy # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/ChangeLog,v 1.3 2010/03/01 22:19:42 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/ChangeLog,v 1.4 2010/06/07 10:39:44 djc Exp $ + + 07 Jun 2010; Dirkjan Ochtman <djc@gentoo.org> +files/4.5.1-no-docs.patch, + imdbpy-4.5.1.ebuild: + Prevent installation of files in /usr/share/doc directly (bug 315983). *imdbpy-4.5.1 (01 Mar 2010) diff --git a/dev-python/imdbpy/files/4.5.1-no-docs.patch b/dev-python/imdbpy/files/4.5.1-no-docs.patch new file mode 100644 index 000000000000..4b84a3cb0965 --- /dev/null +++ b/dev-python/imdbpy/files/4.5.1-no-docs.patch @@ -0,0 +1,12 @@ +--- setup.py.old 2010-06-07 12:26:43.000000000 +0200 ++++ setup.py 2010-06-07 12:26:59.000000000 +0200 +@@ -69,8 +69,7 @@ + + # XXX: I'm not sure that 'etc' is a good idea. Making it an absolute + # path seems a recipe for a disaster (with bdist_egg, at least). +-data_files = [('doc', [f for f in setuptools.findall('docs') +- if '.svn' not in f]), ('etc', ['docs/imdbpy.cfg'])] ++data_files = [('etc', ['docs/imdbpy.cfg'])] + + + # Defining these 'features', it's possible to run commands like: diff --git a/dev-python/imdbpy/imdbpy-4.5.1.ebuild b/dev-python/imdbpy/imdbpy-4.5.1.ebuild index aecf4c3f54c5..5312a250891d 100644 --- a/dev-python/imdbpy/imdbpy-4.5.1.ebuild +++ b/dev-python/imdbpy/imdbpy-4.5.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/imdbpy-4.5.1.ebuild,v 1.1 2010/03/01 22:19:42 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/imdbpy-4.5.1.ebuild,v 1.2 2010/06/07 10:39:44 djc Exp $ EAPI="2" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" -inherit distutils +inherit distutils eutils MY_PN="IMDbPY" MY_P="${MY_PN}-${PV}" @@ -28,6 +28,10 @@ S="${WORKDIR}/${MY_PN}-${PV}" PYTHON_MODNAME="imdb" +src_prepare() { + epatch "${FILESDIR}/${PV}-no-docs.patch" +} + src_install() { distutils_src_install dodoc docs/* |