From 14fd26499c6e7c000ff52239e978a2f40e75ca67 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Wed, 6 May 2020 15:26:10 -0500 Subject: [PATCH] app-crypt/certbot-apache: 1.4.0 bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthew Thode --- app-crypt/certbot-apache/Manifest | 1 + .../certbot-apache-1.4.0.ebuild | 38 +++++++++++++++++++ .../certbot-apache/certbot-apache-9999.ebuild | 1 - 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild diff --git a/app-crypt/certbot-apache/Manifest b/app-crypt/certbot-apache/Manifest index c6644fcb5db8..24824d6ddbee 100644 --- a/app-crypt/certbot-apache/Manifest +++ b/app-crypt/certbot-apache/Manifest @@ -1 +1,2 @@ DIST certbot-1.3.0.tar.gz 1362945 BLAKE2B bb36a7737275332f018d7f2283286e07e041892cc366f79e68df9eee7e57ca2186d36895d1923b032068a365878d09e49e17c1399a7418dbd8607c9a7efc1c26 SHA512 4205cdd1f3ddf500b9b952744db234636c086a856df80acd2d776305f4501eed07995e453e5c9b2c711fb0d1f1987d2bb8baaa13fccce8e000a38f486cfdc5d3 +DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261 diff --git a/app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild b/app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild new file mode 100644 index 000000000000..6a66d1858399 --- /dev/null +++ b/app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7}) + +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/${PN%-apache}/${PN%-apache}/archive/v${PV}.tar.gz -> ${PN%-apache}-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S=${WORKDIR}/${PN%-apache}-${PV}/${PN} +fi + +inherit distutils-r1 + +DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=app-crypt/acme-0.29.0[${PYTHON_USEDEP}] + >=app-crypt/certbot-1.1.0[${PYTHON_USEDEP}] + dev-python/python-augeas[${PYTHON_USEDEP}] + dev-python/zope-component[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test || die +} diff --git a/app-crypt/certbot-apache/certbot-apache-9999.ebuild b/app-crypt/certbot-apache/certbot-apache-9999.ebuild index 499084cf93b1..6a66d1858399 100644 --- a/app-crypt/certbot-apache/certbot-apache-9999.ebuild +++ b/app-crypt/certbot-apache/certbot-apache-9999.ebuild @@ -26,7 +26,6 @@ RESTRICT="!test? ( test )" RDEPEND=">=app-crypt/acme-0.29.0[${PYTHON_USEDEP}] >=app-crypt/certbot-1.1.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] dev-python/python-augeas[${PYTHON_USEDEP}] dev-python/zope-component[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}]" -- 2.26.2