diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-10-01 23:05:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-10-01 23:05:41 +0100 |
commit | 2e34d110f164bf74d55fced27fe0000201b3eec5 (patch) | |
tree | f00ae60197c58f84ad51f60b210738d9b70f555b /app-portage/gemato/gemato-16.2.ebuild | |
parent | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (diff) |
gentoo resync : 01.10.2020
Diffstat (limited to 'app-portage/gemato/gemato-16.2.ebuild')
-rw-r--r-- | app-portage/gemato/gemato-16.2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-portage/gemato/gemato-16.2.ebuild b/app-portage/gemato/gemato-16.2.ebuild new file mode 100644 index 000000000000..4f34edba07fc --- /dev/null +++ b/app-portage/gemato/gemato-16.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} pypy3 ) +PYTHON_REQ_USE='threads(+)' + +inherit distutils-r1 + +DESCRIPTION="Stand-alone Manifest generation & verification tool" +HOMEPAGE="https://github.com/mgorny/gemato" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" +IUSE="+gpg tools" + +RDEPEND=" + gpg? ( + >=app-crypt/gnupg-2.2.20-r1 + dev-python/requests[${PYTHON_USEDEP}] + )" +BDEPEND=" + test? ( + >=app-crypt/gnupg-2.2.20-r1 + >=dev-python/pytest-5[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + if use tools; then + exeinto /usr/share/gemato + doexe utils/*.{bash,py} + fi +} |