commit: 35a09f21d078122f928f3d3cd6a5c811c1e46184 Author: Till Schäfer <till2.schaefer <AT> uni-dortmund <DOT> de> AuthorDate: Wed Sep 25 14:34:50 2019 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Sep 27 05:05:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a09f21
app-text/nfoview: bump to version 1.27 migrate to EAPI 7 add gettext dependency Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Till Schäfer <till2.schaefer <AT> uni-dortmund.de> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-text/nfoview/Manifest | 1 + app-text/nfoview/nfoview-1.27.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/app-text/nfoview/Manifest b/app-text/nfoview/Manifest index 0db66da8ac0..16309ae8357 100644 --- a/app-text/nfoview/Manifest +++ b/app-text/nfoview/Manifest @@ -1,3 +1,4 @@ DIST nfoview-1.23.tar.gz 83337 BLAKE2B d73cd6987bf7929c57e8acf0a24278272ea199bf980756ddb5da9a5eddf7760a8c05f0e48a287ee760d4bf4d2594fb08b43a77cef46d371a746629bf76955e91 SHA512 b94724e130cdf58b911634496c52361d008ebfafab3ac40a76612c4891737d4145596a6badc15fe4228c90c1cd7261e5a892e3e462070ebb55f71332b36345d7 DIST nfoview-1.24.tar.gz 86037 BLAKE2B 5d565680864f1a73a64d9557e69eda0771dc164f12018ac8964fb1c2225005c1bb881c7b9035c7baed2021838e3a291e52fb5af84cf9c271c046cfddd684270c SHA512 91ad1f9f972b7681655b429c0910475012bd2231e51c6db5659b19fb869779d1de10dadc1d6461fa7d577c051af9b74f1d463543a429e1dca438a4ff17ac2293 DIST nfoview-1.26.tar.gz 117468 BLAKE2B 7fec761774ee66f1f5845d2d49cf99644d522c6fe402bdfd578e12371b58b3ac5a80b77959c92531ff54362c2234d043fa219b50730158c91310ba67b491f729 SHA512 2e697e3a49aa85fe0865ad9f281ea830e692335682658061f2aaaa1c5ed6ccb3dbd822dab244190ae0521ce237fbc3d91480da4c1229548f0fd5a74df712e336 +DIST nfoview-1.27.tar.gz 60094 BLAKE2B 3186de6d04b50aa4388f606a49f8c2f13a0fe3494d49a1dbbd2ffc84cc039f03f47223e3aed469c32c3fbb01d277cba7f53290056dbcc7fec8e0eeec7ebcb596 SHA512 157257f9f289bdeac140054320ad43893c73995e11e6ccc91ebd2ca53878f00d45945c4e3ac3c11ec2f589a0349598f96dfecad3b0e3cfbe06e5a036bcedc3b5 diff --git a/app-text/nfoview/nfoview-1.27.ebuild b/app-text/nfoview/nfoview-1.27.ebuild new file mode 100644 index 00000000000..3229ddf95d7 --- /dev/null +++ b/app-text/nfoview/nfoview-1.27.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +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 +}