diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2005-05-18 06:32:57 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2005-05-18 06:32:57 +0000 |
commit | 8a1be565f59d77d4ed341760fa2acc9e039a79b8 (patch) | |
tree | 13d0f58009e03936f255cf4d16ee7c2cd8b67769 /app-dicts/opendict | |
parent | Version bump. (diff) | |
download | gentoo-2-8a1be565f59d77d4ed341760fa2acc9e039a79b8.tar.gz gentoo-2-8a1be565f59d77d4ed341760fa2acc9e039a79b8.tar.bz2 gentoo-2-8a1be565f59d77d4ed341760fa2acc9e039a79b8.zip |
Version bump.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'app-dicts/opendict')
-rw-r--r-- | app-dicts/opendict/ChangeLog | 8 | ||||
-rw-r--r-- | app-dicts/opendict/Manifest | 7 | ||||
-rw-r--r-- | app-dicts/opendict/files/digest-opendict-0.5.7 | 1 | ||||
-rw-r--r-- | app-dicts/opendict/files/opendict-0.5.7-gentoo-wxversion.patch | 12 | ||||
-rw-r--r-- | app-dicts/opendict/opendict-0.5.7.ebuild | 49 |
5 files changed, 74 insertions, 3 deletions
diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog index 29418ff387b3..993630cadd64 100644 --- a/app-dicts/opendict/ChangeLog +++ b/app-dicts/opendict/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-dicts/opendict # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.5 2005/01/01 12:56:58 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.6 2005/05/18 06:32:57 pythonhead Exp $ + +*opendict-0.5.7 (18 May 2005) + + 18 May 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/opendict-0.5.7-gentoo-wxversion.patch, +opendict-0.5.7.ebuild: + Version bump. 31 Aug 2004; David Holm <dholm@gentoo.org> opendict-0.5.4.ebuild: Added to ~ppc. diff --git a/app-dicts/opendict/Manifest b/app-dicts/opendict/Manifest index 781236012f45..0ff528ef70ac 100644 --- a/app-dicts/opendict/Manifest +++ b/app-dicts/opendict/Manifest @@ -1,4 +1,7 @@ -MD5 1a37405a31d86529579d64d01fc5e989 ChangeLog 682 -MD5 4fca175f747a090fd2b7b8ce22fbc06d metadata.xml 162 MD5 c41909e2f45b077d38c87550da961680 opendict-0.5.4.ebuild 1646 +MD5 4fca175f747a090fd2b7b8ce22fbc06d metadata.xml 162 +MD5 3468650e2454091b03903a85576f305a ChangeLog 855 +MD5 357d445cf82c188b2354af7cdd7eb131 opendict-0.5.7.ebuild 1418 MD5 ee4c1ac428684b6ea366b2075a5b705e files/digest-opendict-0.5.4 66 +MD5 0ec83c511505ad8b0e2bbc14afe71046 files/opendict-0.5.7-gentoo-wxversion.patch 256 +MD5 3e348abb954b61c89bd537557412eaf4 files/digest-opendict-0.5.7 67 diff --git a/app-dicts/opendict/files/digest-opendict-0.5.7 b/app-dicts/opendict/files/digest-opendict-0.5.7 new file mode 100644 index 000000000000..0b7edac3f5cf --- /dev/null +++ b/app-dicts/opendict/files/digest-opendict-0.5.7 @@ -0,0 +1 @@ +MD5 9976f4a06727ecadfd17366357f92c2e OpenDict-0.5.7.tar.bz2 168491 diff --git a/app-dicts/opendict/files/opendict-0.5.7-gentoo-wxversion.patch b/app-dicts/opendict/files/opendict-0.5.7-gentoo-wxversion.patch new file mode 100644 index 000000000000..e884fbd8c2bd --- /dev/null +++ b/app-dicts/opendict/files/opendict-0.5.7-gentoo-wxversion.patch @@ -0,0 +1,12 @@ +--- ./opendict.py 2005-04-23 11:14:18.000000000 -0700 ++++ /tmp/tmpwg7Jmk/opendict.py 2005-05-17 22:54:06.465119416 -0700 +@@ -25,6 +25,9 @@ + import string + import time + ++import wxversion ++wxversion.select("2.6") ++ + try: + import wx + except ImportError: diff --git a/app-dicts/opendict/opendict-0.5.7.ebuild b/app-dicts/opendict/opendict-0.5.7.ebuild new file mode 100644 index 000000000000..ed219a147197 --- /dev/null +++ b/app-dicts/opendict/opendict-0.5.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.5.7.ebuild,v 1.1 2005/05/18 06:32:57 pythonhead Exp $ + +inherit eutils python + +DESCRIPTION="OpenDict is a free cross-platform dictionary program." +HOMEPAGE="http://opendict.sourceforge.net/" +SRC_URI="mirror://sourceforge/opendict/OpenDict-${PV}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" +DEPEND=">=dev-python/wxpython-2.6* + sys-devel/gettext" +S=${WORKDIR}/OpenDict-${PV} + +src_unpack() { + unpack ${A} + cd ${S} + rm Makefile + epatch ${FILESDIR}/${P}-gentoo-wxversion.patch +} + +src_install() { + python_version + DHOME="${D}/usr/lib/python${PYVER}/site-packages/opendict" + dodir /usr/share/locale/lt/LC_MESSAGES + dodir /usr/share/applications + dodir /usr/share/opendict + mkdir -p ${DHOME}/lib + cp -r lib/* ${DHOME}/lib/ || die "Couldn't cp lib/" + cp -r pixmaps/ ${DHOME} || die "Couldn't cp pixmaps/" + cp opendict.py ${DHOME} + dodir /usr/bin + fperms 755 /usr/lib/python${PYVER}/site-packages/opendict/opendict.py + dosym /usr/lib/python${PYVER}/site-packages/opendict/opendict.py \ + /usr/bin/opendict || die "dosym failed" + + cp misc/opendict.desktop ${D}/usr/share/applications/ + dodoc README.txt TODO.txt doc/OpenDict_plugin_dev.txt +} + +pkg_postinst() { + einfo "You can download plugins from:" + einfo "http://kebil.ghost.lt/OpenDict_plugins.html" + einfo "Put them in /usr/share/${PN} for system-wide use or" + einfo "~/.opendict/plugins/" +} |