summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Schäfer <till2.schaefer@uni-dortmund.de>2020-04-13 13:01:13 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-04-21 15:44:48 +0300
commit30bb283628933bb6e0eaadd14e32a37fb4d4c8c1 (patch)
tree5a1cb8f131e24ae33d82c567adca8565b5b36fd1 /app-text/nfoview
parentsys-block/targetcli-fb: bump to 2.1.51 (diff)
downloadgentoo-30bb283628933bb6e0eaadd14e32a37fb4d4c8c1.tar.gz
gentoo-30bb283628933bb6e0eaadd14e32a37fb4d4c8c1.tar.bz2
gentoo-30bb283628933bb6e0eaadd14e32a37fb4d4c8c1.zip
app-text/nfoview: bump to version 1.27.1
PYTHON_COMPAT added python3_8 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de> Closes: https://github.com/gentoo/gentoo/pull/15329 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text/nfoview')
-rw-r--r--app-text/nfoview/Manifest1
-rw-r--r--app-text/nfoview/nfoview-1.27.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-text/nfoview/Manifest b/app-text/nfoview/Manifest
index 7bbfa1dafa16..9c10a725ed50 100644
--- a/app-text/nfoview/Manifest
+++ b/app-text/nfoview/Manifest
@@ -1,2 +1,3 @@
DIST nfoview-1.26.tar.gz 117468 BLAKE2B 7fec761774ee66f1f5845d2d49cf99644d522c6fe402bdfd578e12371b58b3ac5a80b77959c92531ff54362c2234d043fa219b50730158c91310ba67b491f729 SHA512 2e697e3a49aa85fe0865ad9f281ea830e692335682658061f2aaaa1c5ed6ccb3dbd822dab244190ae0521ce237fbc3d91480da4c1229548f0fd5a74df712e336
+DIST nfoview-1.27.1.tar.gz 60211 BLAKE2B 777d9f42a08a17d3790996ff76819a0b74c6e1f01625019259524e6e5cee9afc72ae463085071e4a23cefeebaf5b14f1bbeae949446356ed1aaebebaaf53e230 SHA512 7066995954997a20aec27ff820c0f0a067835e219f9029f696b2885a85c4714b32fc8d474291433f64d9b28e81e5f4c24989a6447affc7b206cef453342a05d2
DIST nfoview-1.27.tar.gz 60094 BLAKE2B 3186de6d04b50aa4388f606a49f8c2f13a0fe3494d49a1dbbd2ffc84cc039f03f47223e3aed469c32c3fbb01d277cba7f53290056dbcc7fec8e0eeec7ebcb596 SHA512 157257f9f289bdeac140054320ad43893c73995e11e6ccc91ebd2ca53878f00d45945c4e3ac3c11ec2f589a0349598f96dfecad3b0e3cfbe06e5a036bcedc3b5
diff --git a/app-text/nfoview/nfoview-1.27.1.ebuild b/app-text/nfoview/nfoview-1.27.1.ebuild
new file mode 100644
index 000000000000..cf88d0984798
--- /dev/null
+++ b/app-text/nfoview/nfoview-1.27.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1 xdg-utils
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/otsaloma/nfoview.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/otsaloma/nfoview/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Simple viewer for NFO files, which are ASCII art in the CP437 codepage"
+HOMEPAGE="https://otsaloma.io/nfoview/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+BDEPEND="${PYTHON_DEPS}
+ sys-devel/gettext"
+DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ media-fonts/terminus-font"
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}