net-dns/tlsa_rdata: new live ebuild (compatible with python3)

This commit is contained in:
nemunaire 2020-10-19 00:15:06 +02:00
commit 3d4f4637a4
2 changed files with 29 additions and 3 deletions

View file

@ -0,0 +1,25 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/shuque/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/shuque/${PN}/archive/${MY_PV}.tar.gz"
fi
inherit distutils-r1
DESCRIPTION="TLSA record rdata generator from X.509 certificate"
HOMEPAGE="https://github.com/shuque/tlsa_rdata"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
RDEPEND="dev-python/m2crypto[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"