diff options
Diffstat (limited to '')
-rw-r--r-- | dev-python/pmw/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pmw/files/pmw-1.3.2-install-no-docs.patch | 12 | ||||
-rw-r--r-- | dev-python/pmw/pmw-1.3.2.ebuild | 38 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/pmw/Manifest b/dev-python/pmw/Manifest new file mode 100644 index 0000000..f9168df --- /dev/null +++ b/dev-python/pmw/Manifest @@ -0,0 +1,3 @@ +AUX pmw-1.3.2-install-no-docs.patch 354 RMD160 93e7b46f6ddf4aa9669227ccc91eceeb0c520831 SHA1 cf5a632ea648caf58d4880fdc7f1f6317ff23c8e SHA256 533ad91a3c7b1f308e189b24835300834d2ce36142ebdffc52b4a320ea911f99 +DIST Pmw.1.3.2.tar.gz 399262 RMD160 ad3fca73405a8c8a7e2ec81096b00665e2937964 SHA1 e2d8dd6eed7378acf8723c860107a12d7e808227 SHA256 0c9ab8f9cbd57f926e22253d73048fdccfb7e033c3482b083a6fb41848074a18 +EBUILD pmw-1.3.2.ebuild 956 RMD160 fb8698938bc550532a37fd66fce8a870fd1e051a SHA1 8cf45ea363f02342ed7d74dd50fc6f72ce0ff7d1 SHA256 1273c36a4874f66ffeafd99371b25477676fcf39ec5903e308109d69394e515d diff --git a/dev-python/pmw/files/pmw-1.3.2-install-no-docs.patch b/dev-python/pmw/files/pmw-1.3.2-install-no-docs.patch new file mode 100644 index 0000000..da292d2 --- /dev/null +++ b/dev-python/pmw/files/pmw-1.3.2-install-no-docs.patch @@ -0,0 +1,12 @@ +=== modified file 'setup.py' +--- setup.py 2008-08-01 19:46:50 +0000 ++++ setup.py 2008-08-01 19:46:57 +0000 +@@ -16,7 +16,6 @@ + 'Pmw.Pmw_1_3.lib',], + + package_data={'Pmw': ['Pmw_1_3/lib/Pmw.def', +- 'Pmw_1_3/doc/*', + 'Pmw_1_3/contrib/*', + 'Pmw_1_3/demos/*', + 'Pmw_1_3/tests/*', + diff --git a/dev-python/pmw/pmw-1.3.2.ebuild b/dev-python/pmw/pmw-1.3.2.ebuild new file mode 100644 index 0000000..57c3bdb --- /dev/null +++ b/dev-python/pmw/pmw-1.3.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.2.ebuild,v 1.14 2006/09/27 17:23:17 marienz Exp $ + +PYTHON_MODNAME="Pmw" + +inherit distutils python eutils + +DESCRIPTION="A toolkit for building high-level compound widgets in Python using the Tkinter module." +HOMEPAGE="http://pmw.sourceforge.net/" +SRC_URI="mirror://sourceforge/pmw/Pmw.${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +LICENSE="MIT" +IUSE="" + +DEPEND=">=dev-lang/python-2.1" +S="${WORKDIR}/Pmw.${PV}/src" + +pkg_setup() { + # check for Tkinter support in python + distutils_python_tkinter +} + +src_unpack() { + distutils_src_unpack + epatch "${FILESDIR}/${P}-install-no-docs.patch" +} + +src_install() { + distutils_src_install + + # remove installed docs from site-packages + local docdir=`find . -type d -name doc` + dohtml -a html,gif,py "${docdir}"/* + dodoc Pmw/README +} |