public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/
Date: Fri, 25 May 2018 22:32:03 +0000 (UTC)	[thread overview]
Message-ID: <1527287510.4793b7b2677e4b1fa4764c944054b9065d03cad8.bman@gentoo> (raw)

commit:     4793b7b2677e4b1fa4764c944054b9065d03cad8
Author:     Nils Freydank <holgersson <AT> posteo <DOT> de>
AuthorDate: Thu May 24 19:35:06 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri May 25 22:31:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4793b7b2

app-editors/retext: Avoid duplicate files.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=626824
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8567

 app-editors/retext/retext-9999.ebuild | 32 +++++++++++++++++++++-----------
 1 file changed, 21 insertions(+), 11 deletions(-)

diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild
index 68382ad9fb7..b69ab5bac2a 100644
--- a/app-editors/retext/retext-9999.ebuild
+++ b/app-editors/retext/retext-9999.ebuild
@@ -1,25 +1,32 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python3_{4,5,6} )
 
 PLOCALES="ca cs cy da de es et eu fr hu it ja pl pt pt_BR ru sk sr sr@latin uk zh_TW"
 
-inherit distutils-r1 virtualx git-r3 l10n
+inherit distutils-r1 virtualx l10n xdg-utils
 
 MY_PN="ReText"
 MY_P="${MY_PN}-${PV/_/~}"
 
 DESCRIPTION="Simple editor for Markdown and reStructuredText"
 HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/retext-project/retext.git"
+
+if [[ ${PV} == *9999 ]]
+	then
+		inherit git-r3
+		EGIT_REPO_URI="https://github.com/retext-project/retext.git"
+	else
+		SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+		KEYWORDS="~amd64 ~x86"
+		S="${WORKDIR}"/${MY_P}
+fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE="+spell"
 
 RDEPEND="
@@ -28,7 +35,7 @@ RDEPEND="
 	>=dev-python/markups-2.0[${PYTHON_USEDEP}]
 	>=dev-python/chardet-2.3[${PYTHON_USEDEP}]
 	dev-python/pygments[${PYTHON_USEDEP}]
-	dev-python/PyQt5[gui,network,printsupport,webkit,widgets,${PYTHON_USEDEP}]
+	dev-python/PyQt5[gui,network,printsupport,webengine,widgets,${PYTHON_USEDEP}]
 	spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
 "
 
@@ -43,10 +50,13 @@ python_test() {
 python_install_all() {
 	distutils-r1_python_install_all
 
-	newicon {icons/,}${PN}.png
-	newicon {icons/,}${PN}.svg
-
 	l10n_for_each_disabled_locale_do remove_locale
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
 
-	make_desktop_entry ${PN} "${MY_PN} Editor" ${PN} "Development;Utility;TextEditor"
+pkg_postrm() {
+	xdg_desktop_database_update
 }


             reply	other threads:[~2018-05-25 22:32 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25 22:32 Aaron Bauman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-25  4:36 [gentoo-commits] repo/gentoo:master commit in: app-editors/retext/ Sam James
2025-03-25  4:36 Sam James
2025-03-25  4:36 Sam James
2024-11-24 22:16 Jakov Smolić
2024-11-23 14:15 Michał Górny
2024-04-27  3:46 Michał Górny
2024-04-27  3:46 Michał Górny
2024-03-18 20:04 Conrad Kostecki
2023-11-02  8:13 Joonas Niilola
2023-10-03 14:15 Sam James
2023-08-14  7:02 Joonas Niilola
2023-08-14  7:02 Joonas Niilola
2023-05-20  6:26 Michał Górny
2023-03-07 17:56 Jimi Huotari
2023-03-04  7:18 Sam James
2023-03-04  7:18 Sam James
2023-01-28  8:43 Joonas Niilola
2023-01-28  8:43 Joonas Niilola
2023-01-28  8:43 Joonas Niilola
2022-08-22  8:54 Agostino Sarubbo
2022-08-20 23:03 Sam James
2022-06-03  8:27 Sam James
2022-02-20  5:27 Sam James
2022-02-19 19:22 Sam James
2022-01-02  3:29 Sam James
2021-07-19  7:47 Joonas Niilola
2021-07-16  3:58 Sam James
2021-07-16  3:58 Sam James
2021-03-21  9:35 Joonas Niilola
2021-03-21  9:35 Joonas Niilola
2021-03-21  9:35 Joonas Niilola
2021-03-04  6:24 Sam James
2021-03-04  6:24 Sam James
2021-02-25 14:46 Joonas Niilola
2021-02-25 14:46 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2021-02-24  7:06 Joonas Niilola
2020-09-18 15:56 Michał Górny
2020-08-30  1:32 Thomas Deutschmann
2020-08-25 12:53 Agostino Sarubbo
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2019-12-13  5:23 Davide Pesavento
2019-12-12 16:01 Agostino Sarubbo
2019-12-11 10:47 Agostino Sarubbo
2019-05-15 23:02 Andreas Sturmlechner
2019-05-15 23:02 Andreas Sturmlechner
2018-11-22 20:25 Michał Górny
2018-11-22 20:25 Michał Górny
2018-08-17  0:14 Mikle Kolyada
2018-08-16  0:39 Thomas Deutschmann
2018-07-04 21:53 Patrice Clement
2018-05-25 22:32 Aaron Bauman
2018-05-25 22:32 Aaron Bauman
2018-05-25 22:32 Aaron Bauman
2018-04-30 16:08 Patrice Clement
2018-04-30 16:08 Patrice Clement
2018-04-30 16:08 Patrice Clement
2018-04-30 16:08 Patrice Clement
2017-11-21 18:02 Manuel Rüger
2017-09-02 15:04 Michael Palimaka
2017-06-26 17:31 Manuel Rüger
2017-06-08 11:38 Manuel Rüger
2017-05-06 17:39 Manuel Rüger
2017-05-06 17:20 Agostino Sarubbo
2017-05-05 14:10 Agostino Sarubbo
2017-05-04 15:17 Manuel Rüger
2017-03-13 11:32 Manuel Rüger
2017-03-13 11:32 Manuel Rüger
2017-03-13 11:32 Manuel Rüger
2016-10-10 22:50 Manuel Rüger
2016-09-04 23:18 Manuel Rüger
2016-09-04 22:05 Manuel Rüger
2016-09-04 22:05 Manuel Rüger
2016-04-10  0:08 Manuel Rüger
2016-04-10  0:08 Manuel Rüger
2016-02-17 21:28 Manuel Rüger
2016-02-17 21:28 Manuel Rüger
2015-12-20 16:35 Justin Lecher
2015-10-10 16:31 Justin Lecher
2015-09-23 15:58 Justin Lecher

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=1527287510.4793b7b2677e4b1fa4764c944054b9065d03cad8.bman@gentoo \
    --to=bman@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