diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2021-05-05 20:17:25 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2021-05-05 20:27:57 -0500 |
commit | 0f2b51087b636c816748bed8d919d1e8aed11313 (patch) | |
tree | 4c99b54c8742a15cf407898d3ff5b94f30bf9efb /app-crypt/acme/acme-1.15.0.ebuild | |
parent | www-client/opera-developer: remove old (diff) | |
download | gentoo-0f2b51087b636c816748bed8d919d1e8aed11313.tar.gz gentoo-0f2b51087b636c816748bed8d919d1e8aed11313.tar.bz2 gentoo-0f2b51087b636c816748bed8d919d1e8aed11313.zip |
app-crypt/acme: 1.15.0 bump
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'app-crypt/acme/acme-1.15.0.ebuild')
-rw-r--r-- | app-crypt/acme/acme-1.15.0.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/app-crypt/acme/acme-1.15.0.ebuild b/app-crypt/acme/acme-1.15.0.ebuild new file mode 100644 index 000000000000..6e86a07321fd --- /dev/null +++ b/app-crypt/acme/acme-1.15.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_7,3_8,3_9}) +DISTUTILS_USE_SETUPTOOLS=rdepend + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + S=${WORKDIR}/certbot-${PV}/acme +fi + +inherit distutils-r1 + +DESCRIPTION="An implementation of the ACME protocol" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.3.0[${PYTHON_USEDEP}] + dev-python/pyrfc3339[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.10[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] +" +DEPEND=" + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +src_compile() { + python_foreach_impl run_in_build_dir default + distutils-r1_src_compile + if use doc ; then + cd docs || die + sphinx-build -b html -d _build/doctrees . _build/html + fi +} + +python_test() { + nosetests -w ${PN} || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |