diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-11-23 20:15:46 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-11-23 20:15:46 +0000 |
commit | 47d99d74714bb07356f6077b5476656e64f50286 (patch) | |
tree | d7447a61c63d972b846b974e37f51154c7f0d735 /app-dicts/opendict | |
parent | Deprecate eapis 0 and 1 for gnome2.eclass (#530046) (diff) | |
download | historical-47d99d74714bb07356f6077b5476656e64f50286.tar.gz historical-47d99d74714bb07356f6077b5476656e64f50286.tar.bz2 historical-47d99d74714bb07356f6077b5476656e64f50286.zip |
Port to new python eclasses
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-dicts/opendict')
-rw-r--r-- | app-dicts/opendict/ChangeLog | 7 | ||||
-rw-r--r-- | app-dicts/opendict/Manifest | 13 | ||||
-rw-r--r-- | app-dicts/opendict/opendict-0.6.3-r1.ebuild | 92 |
3 files changed, 110 insertions, 2 deletions
diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog index 031240c7c270..3f177d703659 100644 --- a/app-dicts/opendict/ChangeLog +++ b/app-dicts/opendict/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-dicts/opendict # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.29 2014/08/10 02:33:07 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.30 2014/11/23 20:15:44 pacho Exp $ + +*opendict-0.6.3-r1 (23 Nov 2014) + + 23 Nov 2014; Pacho Ramos <pacho@gentoo.org> +opendict-0.6.3-r1.ebuild: + Port to new python eclasses 10 Aug 2014; Patrick Lauer <patrick@gentoo.org> opendict-0.6.3.ebuild: Fix description for more repoman happy diff --git a/app-dicts/opendict/Manifest b/app-dicts/opendict/Manifest index 4b31d23ba820..9a3715291797 100644 --- a/app-dicts/opendict/Manifest +++ b/app-dicts/opendict/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX opendict-0.6.3-pyxml.patch 4271 SHA256 57133ff36d363efbd999f19e66fd9ce85e00553132bad18f9b3d5a5a5fea5116 SHA512 f214ae06130f768811c74b5eadd51d6caa7b182d44d9423bf694b7a04e06a45fc1ffa3cb8f9551312cb75195184a8291a3dd55e12404e5a691814b97484c13e1 WHIRLPOOL b070e809110de43a0867dfbb4f0dbb113ec1338bef98f95dfb4bac630d137a76395ba98127b4800359702cae3c958cd0d11b9a1183d61674da3906a6407f0548 DIST opendict-0.6.3.tar.gz 132515 SHA256 dad7723512768aeae65fead0f06a3c973b161a86658b94a66c4945beb12f45dc SHA512 687afba45f9fd271acee9f72fd3971fbc624588fe0f4194ad4499e2e64259a59c516854a7b0b1c02b3e214bf6e77e52b5b0713430e3cd5e0127c5b3c8fc02f5c WHIRLPOOL 06a48141bb1da7557d616deda3c4c18500171d4c158cb5f5cc83ca9f1f8037584ade85a742c88a4b6ab667bd6586492fed075e6a4e69fa51c8e37ece75880a62 +EBUILD opendict-0.6.3-r1.ebuild 2266 SHA256 eb116941f6ac0ee57d799ea73019cf813ddac9776d1975e66616ceb5b7dbfe41 SHA512 3d07b78fa3184ad1e88acc261d21b6e5d83f056f3769d881f4a3fe2b8bed0a10b8fe90874b4d646e17c0775816887328657003db0dc89457a2e11fbe23a2f23e WHIRLPOOL 21719246015eabe3a6bfa9cf9d0382524c8892c5f43a22220eb45cd2af77ffd4e6b6cfb92c67d670ab0989bd58f3b7c5060ce75819e886768f7d639bdf53bbc0 EBUILD opendict-0.6.3.ebuild 2178 SHA256 0d7b78482a970f2e4257aef2de12e54e3a38ca227e979c1bd0f616d46e880c76 SHA512 011fb01a170f229b974ddd874bbd5508e801f9e5cfad5cadde359c8bd23861d07105ad9cc28346e3b75aa1535fffd4d7447bb65cf2079225749ffca2ebdc2cd7 WHIRLPOOL 9d0b696ee3614d1829a6511ae980a9a804d47b85b30500d2aba7c69f1bbf05d6f3cf98fd8a8bbda8907e2441b427e8ecc5ea97c002d2a56af3bcca23c4b53d14 -MISC ChangeLog 3880 SHA256 8b1feb6eef759793ede6b88e75beef5832784cf6ac89e9b2fae7264a7e043cd0 SHA512 a42524d5b58e9fa078c9f438e609244ac7a3404011fabfa46ddf73e7a849aae40044e1ec9eeaa5ee39a8463b83ea7fd0745603d2b9d2a45f94a9e88ad7d8e653 WHIRLPOOL 9e86c8280c101ea63c43913a4a5972f0ee6abfe21f68de7c6068890a26bc07f693e089e122b1098a1a607a1006bd81e44e305c58dbd8740f8cbe6a25f3ee0f7d +MISC ChangeLog 4016 SHA256 5f4c75e0b9180e7f0cab1cf68bd758bc7c8bafb3e6dd0565f710612cf992db98 SHA512 08e5ab0acde007095473988351d5a4b0433594605a7f7ae1ec42e16098ecee406a4034638fb3628df3f569e5d3961775b7182a697b2c228a1358cef2ece06bdf WHIRLPOOL a268106b2f31daf59be42a58e1c96cc489ac4e20862836046c5e625b1811c02ffed2e42af3506bec617f5085fcdfbfcd6f915c7f988f63fd405e41fdfe1a81cf MISC metadata.xml 162 SHA256 fab42f6a31209847529447a2bea2b9dd746521fe5d59d967470736120712f093 SHA512 54458e1e306dfb7f1018129fa314d3e5d17219807a0a210d78ccf98034eba020115e2aeca7ea4922074e52dcb748fe06fa616bd083f30ed905f4c2f323afedf0 WHIRLPOOL 70cdb6ff3e6e6a6c01049ca93d1ddd2e9976516c3de0e8dbc1ae76a133e01a715658fdb7dabeefa1c1d9f7388b059710d5174375b32d23d44424abc7f8dd277f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlRyQHEACgkQCaWpQKGI+9RxJQCfW3OAdNA9q82iFSJDcyrGJ89z +Fu4An3CNA9h1GiffiGKVqlq4GqE991u7 +=cA0t +-----END PGP SIGNATURE----- diff --git a/app-dicts/opendict/opendict-0.6.3-r1.ebuild b/app-dicts/opendict/opendict-0.6.3-r1.ebuild new file mode 100644 index 000000000000..664aaa940d8e --- /dev/null +++ b/app-dicts/opendict/opendict-0.6.3-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.3-r1.ebuild,v 1.1 2014/11/23 20:15:44 pacho Exp $ + +EAPI=5 +GCONF_DEBUG="no" # We skip gnome2_src_configure entirely +PYTHON_COMPAT=( python2_7 ) + +inherit eutils gnome2 python-single-r1 readme.gentoo + +DESCRIPTION="OpenDict is a free cross-platform dictionary program" +HOMEPAGE="http://opendict.sourceforge.net/" +SRC_URI="http://opendict.idiles.com/files/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/wxpython:2.8[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="If you want system-wide plugins, unzip them into +${ROOT}usr/share/${PN}/dictionaries/plugins + +Some are available from http://opendict.sourceforge.net/?cid=3" + +src_prepare() { + epatch "${FILESDIR}"/${P}-pyxml.patch + + sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \ + -i "${S}/lib/info.py" + + gnome2_src_prepare +} + +src_configure() { + # override gnome2_src_configure + default +} + +src_compile() { + # evil makefile + : +} + +src_install() { + # makefile is broken, do it manually + + dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder + + # Needed by GUI + insinto /usr/share/${PN} + doins "${S}"/copying.html + + insinto /usr/share/${PN}/pixmaps + doins "${S}"/pixmaps/* + + DHOME="$(python_get_sitedir)/opendict" + insinto "${DHOME}/lib" + doins -r "${S}"/lib/* + exeinto "${DHOME}" + python_fix_shebang opendict.py + doexe opendict.py + + dosym "${DHOME}/opendict.py" /usr/bin/opendict + + domenu misc/${PN}.desktop + + insinto /usr/share/icons/hicolor/24x24/apps/ + newins "${S}/pixmaps/icon-24x24.png" opendict.png + insinto /usr/share/icons/hicolor/32x32/apps/ + newins "${S}/pixmaps/icon-32x32.png" opendict.png + insinto /usr/share/icons/hicolor/48x48/apps/ + newins "${S}/pixmaps/icon-48x48.png" opendict.png + insinto /usr/share/icons/hicolor/scalable/apps/ + newins "${S}/pixmaps/SVG/icon-rune.svg" opendict.svg + + doman opendict.1 + dodoc README.txt TODO.txt doc/Plugin-HOWTO.html + + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} |