diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
commit | 34dea8e38f88007799629d0a56b12dec480b1d21 (patch) | |
tree | 6790873994b58030360328cf5897d934b3b03d16 /app-text/nfoview/nfoview-1.28-r1.ebuild | |
parent | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff) |
gentoo resync : 20.06.2021
Diffstat (limited to 'app-text/nfoview/nfoview-1.28-r1.ebuild')
-rw-r--r-- | app-text/nfoview/nfoview-1.28-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-text/nfoview/nfoview-1.28-r1.ebuild b/app-text/nfoview/nfoview-1.28-r1.ebuild new file mode 100644 index 000000000000..eccd3ea00f3e --- /dev/null +++ b/app-text/nfoview/nfoview-1.28-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 virtualx xdg + +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" + +BDEPEND="${PYTHON_DEPS} + sys-devel/gettext" +DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + media-fonts/cascadia-code + x11-libs/gtk+:3[introspection]" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + --deselect 'nfoview/test/test_util.py::TestModule::test_show_uri__unix' + --deselect 'nfoview/test/test_util.py::TestModule::test_show_uri__windows' + ) + virtx epytest "${deselect[@]}" +} |