public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-dicts/opendict/
Date: Mon,  5 Jun 2017 09:50:21 +0000 (UTC)	[thread overview]
Message-ID: <1496656188.2c6765dcb5d7f66054d0d2a04219df35faf4c607.pacho@gentoo> (raw)

commit:     2c6765dcb5d7f66054d0d2a04219df35faf4c607
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  5 09:49:48 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Jun  5 09:49:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6765dc

app-dicts/opendict: Version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-dicts/opendict/Manifest              |  1 +
 app-dicts/opendict/opendict-0.6.7.ebuild | 89 ++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/app-dicts/opendict/Manifest b/app-dicts/opendict/Manifest
index c953cafe80c..15a8892d430 100644
--- a/app-dicts/opendict/Manifest
+++ b/app-dicts/opendict/Manifest
@@ -1 +1,2 @@
 DIST opendict-0.6.3.tar.gz 132515 SHA256 dad7723512768aeae65fead0f06a3c973b161a86658b94a66c4945beb12f45dc SHA512 687afba45f9fd271acee9f72fd3971fbc624588fe0f4194ad4499e2e64259a59c516854a7b0b1c02b3e214bf6e77e52b5b0713430e3cd5e0127c5b3c8fc02f5c WHIRLPOOL 06a48141bb1da7557d616deda3c4c18500171d4c158cb5f5cc83ca9f1f8037584ade85a742c88a4b6ab667bd6586492fed075e6a4e69fa51c8e37ece75880a62
+DIST opendict-0.6.7.tar.gz 169580 SHA256 d376c8a81e5747e40775214177df9d0f04d6441acaea7435e0cb7e770b6c460f SHA512 ef97ec84591bda4d8d4746fa4532de109cf03d89dfd5aa20e1775224c687b503759c020b2286e5cedd395ebce5db3b2a10495adc31fcc31dbd4fddfca6fee1f8 WHIRLPOOL 215a3f9ec80bf07c662f5cc35f1e698cfabbb74edd8c641681b562bc6a4a47b4b2fe1e889288abb8e5f213441cd501cf9c6d2ad4581501a5c90bb0048623c3d7

diff --git a/app-dicts/opendict/opendict-0.6.7.ebuild b/app-dicts/opendict/opendict-0.6.7.ebuild
new file mode 100644
index 00000000000..026546d1524
--- /dev/null
+++ b/app-dicts/opendict/opendict-0.6.7.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome2 python-single-r1 readme.gentoo-r1
+
+DESCRIPTION="OpenDict is a free cross-platform dictionary program"
+HOMEPAGE="http://opendict.sourceforge.net/"
+SRC_URI="mirror://sourceforge/opendict/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:3.0[${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() {
+	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
+}


             reply	other threads:[~2017-06-05  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05  9:50 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-15 18:37 [gentoo-commits] repo/gentoo:master commit in: app-dicts/opendict/ Sergei Trofimovich
2017-10-23 17:45 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496656188.2c6765dcb5d7f66054d0d2a04219df35faf4c607.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox