summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-10-12 11:28:30 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-10-12 11:28:30 +0000
commit16433eda14456bc1bd5df837af8483f3db8c53bb (patch)
tree57bd3f1b089a5ce6d307486e5a45e8a86ffecb51 /dev-python/pmw
parentversion bump (diff)
downloadhistorical-16433eda14456bc1bd5df837af8483f3db8c53bb.tar.gz
historical-16433eda14456bc1bd5df837af8483f3db8c53bb.tar.bz2
historical-16433eda14456bc1bd5df837af8483f3db8c53bb.zip
version bump
Diffstat (limited to 'dev-python/pmw')
-rw-r--r--dev-python/pmw/Manifest4
-rw-r--r--dev-python/pmw/files/digest-pmw-1.21
-rw-r--r--dev-python/pmw/pmw-1.2.ebuild56
3 files changed, 59 insertions, 2 deletions
diff --git a/dev-python/pmw/Manifest b/dev-python/pmw/Manifest
index f162cd6f6f00..0cb866d4d3f2 100644
--- a/dev-python/pmw/Manifest
+++ b/dev-python/pmw/Manifest
@@ -1,8 +1,8 @@
-MD5 f733b2e492911c93a899a4c40da08a86 ChangeLog 765
+MD5 7b9eddb0ac8312e3dbc0638c18ea836c ChangeLog 870
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
MD5 0951738b901527d2ed85af262e18938b pmw-0.8.5.ebuild 1365
MD5 e13f56c3726cb930f44578493e93529b pmw-1.1.ebuild 1458
-MD5 0fbc4a458f8ceeda27a6b3eeeb46e6db pmw-1.2.ebuild 1342
+MD5 6936a425cadbffe1e2e1a6aad1a75e79 pmw-1.2.ebuild 1349
MD5 068778ac365cde0694d7ea0c78ff939d files/digest-pmw-0.8.5 61
MD5 c9fe948e037016e8a1a6b9d57c4ae674 files/digest-pmw-1.1 59
MD5 635a2916c304a229f3e576f9413cb664 files/digest-pmw-1.2 59
diff --git a/dev-python/pmw/files/digest-pmw-1.2 b/dev-python/pmw/files/digest-pmw-1.2
new file mode 100644
index 000000000000..feafe54ff5a3
--- /dev/null
+++ b/dev-python/pmw/files/digest-pmw-1.2
@@ -0,0 +1 @@
+MD5 75c49c30595217c8d9376c36aa5426aa Pmw.1.2.tar.gz 396404
diff --git a/dev-python/pmw/pmw-1.2.ebuild b/dev-python/pmw/pmw-1.2.ebuild
new file mode 100644
index 000000000000..71969a0744cf
--- /dev/null
+++ b/dev-python/pmw/pmw-1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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.1 2003/10/12 11:26:31 liquidx Exp $
+
+inherit distutils python
+
+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="~x86 ~ppc ~sparc"
+LICENSE="MIT"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.1"
+S="${WORKDIR}/Pmw"
+
+pkg_setup() {
+ # check for Tkinter support in python
+ if ! python_mod_exists Tkinter; then
+ eerror "This package requires Tkinter support in Python. You'll need"
+ eerror "to recompile Python with:"
+ eerror "USE=\"tcltk\" emerge python"
+ die "Tkinter support missing"
+ fi
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ python_version
+
+ local pmwdir="/usr/lib/python${PYVER}/site-packages/Pmw"
+
+ local dir
+ for dir in `find . -type d` ; do
+ # Skip the doc directory
+ [ `basename "${dir}"` = "doc" ] && continue
+
+ insinto "${pmwdir}/${dir}"
+ cd "${dir}"
+ # Install all regular files in this dir
+ local file
+ for file in * ; do
+ [ -f "${file}" ] && doins "${file}"
+ done
+ cd "${S}"
+ done
+
+ dodoc README
+ local docdir=`find . -type d -name doc`
+ dohtml -a html,gif,py "${docdir}"/*
+}