Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/nfoview/
Date: Thu, 26 Apr 2018 10:19:07
Message-Id: 1524737926.64b7bf85dca6f37504846754a3f01bb8bc4b482c.soap@gentoo
1 commit: 64b7bf85dca6f37504846754a3f01bb8bc4b482c
2 Author: Till Schäfer <till2.schaefer <AT> uni-dortmund <DOT> de>
3 AuthorDate: Wed Apr 25 15:28:11 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 26 10:18:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b7bf85
7
8 app-text/nfoview: bump to 1.24
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11 Closes: https://github.com/gentoo/gentoo/pull/8132
12
13 app-text/nfoview/Manifest | 1 +
14 app-text/nfoview/nfoview-1.24.ebuild | 41 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/app-text/nfoview/Manifest b/app-text/nfoview/Manifest
18 index d5aa3037cca..c529440fbf6 100644
19 --- a/app-text/nfoview/Manifest
20 +++ b/app-text/nfoview/Manifest
21 @@ -1 +1,2 @@
22 DIST nfoview-1.23.tar.gz 83337 BLAKE2B d73cd6987bf7929c57e8acf0a24278272ea199bf980756ddb5da9a5eddf7760a8c05f0e48a287ee760d4bf4d2594fb08b43a77cef46d371a746629bf76955e91 SHA512 b94724e130cdf58b911634496c52361d008ebfafab3ac40a76612c4891737d4145596a6badc15fe4228c90c1cd7261e5a892e3e462070ebb55f71332b36345d7
23 +DIST nfoview-1.24.tar.gz 86037 BLAKE2B 5d565680864f1a73a64d9557e69eda0771dc164f12018ac8964fb1c2225005c1bb881c7b9035c7baed2021838e3a291e52fb5af84cf9c271c046cfddd684270c SHA512 91ad1f9f972b7681655b429c0910475012bd2231e51c6db5659b19fb869779d1de10dadc1d6461fa7d577c051af9b74f1d463543a429e1dca438a4ff17ac2293
24
25 diff --git a/app-text/nfoview/nfoview-1.24.ebuild b/app-text/nfoview/nfoview-1.24.ebuild
26 new file mode 100644
27 index 00000000000..5b1cf0483c6
28 --- /dev/null
29 +++ b/app-text/nfoview/nfoview-1.24.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python3_{4,5,6} )
37 +
38 +inherit distutils-r1 gnome2-utils xdg-utils
39 +
40 +if [[ ${PV} == *9999 ]] ; then
41 + EGIT_REPO_URI="https://github.com/otsaloma/nfoview.git"
42 + inherit git-r3
43 +else
44 + SRC_URI="https://github.com/otsaloma/nfoview/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 + KEYWORDS="~amd64 ~x86"
46 +fi
47 +
48 +DESCRIPTION="simple viewer for NFO files, which are ASCII art in the CP437 codepage"
49 +HOMEPAGE="https://otsaloma.io/nfoview/"
50 +
51 +LICENSE="GPL-3"
52 +SLOT="0"
53 +IUSE=""
54 +
55 +DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]"
56 +RDEPEND="${DEPEND}
57 + media-fonts/terminus-font"
58 +
59 +pkg_preinst() {
60 + gnome2_icon_savelist
61 +}
62 +
63 +pkg_postinst() {
64 + gnome2_icon_cache_update
65 + xdg_desktop_database_update
66 +}
67 +
68 +pkg_postrm() {
69 + gnome2_icon_cache_update
70 + xdg_desktop_database_update
71 +}