diff options
Diffstat (limited to 'app-crypt/acmebot/acmebot-2.3.0-r1.ebuild')
-rw-r--r-- | app-crypt/acmebot/acmebot-2.3.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-crypt/acmebot/acmebot-2.3.0-r1.ebuild b/app-crypt/acmebot/acmebot-2.3.0-r1.ebuild new file mode 100644 index 000000000000..a179ed4c74a8 --- /dev/null +++ b/app-crypt/acmebot/acmebot-2.3.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python3_{5,6}) +EGIT_REPO_URI="https://github.com/plinss/${PN}.git" +[[ $PV == 9999 ]] && _scm=git-r3 + +inherit ${_scm} python-r1 + +DESCRIPTION="Certificate manager bot using ACME protocol" +HOMEPAGE="https://github.com/plinss/acmebot" +if [[ $PV != 9999 ]]; then + SRC_URI="https://github.com/plinss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-3" +SLOT="0" +[[ $PV != 9999 ]] && KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CDEPEND="${PYTHON_DEPS} + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/packaging-16.8[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}] + >=dev-python/pydns-3.1.0:3[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}] + >=app-crypt/acme-0.25.1[${PYTHON_USEDEP}] + " +RDEPEND="${CDEPEND}" +DEPEND="" + +src_install() { + python_foreach_impl python_doscript acmebot + insinto /etc/logrotate.d + doins logrotate.d/acmebot + insinto /etc/acmebot + doins acmebot.example.json + dodoc README.rst +} |