2023-02-17 02:34:56 +01:00
|
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2019-05-18 08:06:19 +02:00
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
2022-12-23 16:20:02 +01:00
|
|
|
|
EAPI=8
|
2021-08-12 00:26:06 +02:00
|
|
|
|
|
2023-05-02 16:02:06 +02:00
|
|
|
|
PYTHON_COMPAT=( python3_{10..11} )
|
2023-02-17 02:34:56 +01:00
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2019-05-18 08:06:19 +02:00
|
|
|
|
|
2023-02-17 02:34:56 +01:00
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
|
|
PARENT_PN="${PN%-dns-rfc2136}"
|
|
|
|
|
PARENT_P="${PARENT_PN}-${PV}"
|
|
|
|
|
|
|
|
|
|
if [[ "${PV}" == *9999 ]]; then
|
2019-05-18 08:06:19 +02:00
|
|
|
|
inherit git-r3
|
2023-02-17 02:34:56 +01:00
|
|
|
|
|
|
|
|
|
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
|
|
|
|
EGIT_SUBMODULES=()
|
|
|
|
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
2019-05-18 08:06:19 +02:00
|
|
|
|
else
|
2023-02-17 02:34:56 +01:00
|
|
|
|
SRC_URI="
|
|
|
|
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
|
|
|
|
-> ${PARENT_P}.gh.tar.gz
|
|
|
|
|
"
|
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
2019-05-18 08:06:19 +02:00
|
|
|
|
fi
|
|
|
|
|
|
2023-02-17 02:34:56 +01:00
|
|
|
|
DESCRIPTION="RFC2136 DNS plugin for Certbot (Let’s Encrypt client)"
|
|
|
|
|
HOMEPAGE="
|
|
|
|
|
https://github.com/certbot/certbot
|
|
|
|
|
https://letsencrypt.org/
|
|
|
|
|
"
|
2019-05-18 08:06:19 +02:00
|
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
|
SLOT="0"
|
2023-02-17 02:34:56 +01:00
|
|
|
|
|
|
|
|
|
S="${WORKDIR}/${PARENT_P}/${PN}"
|
|
|
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
|
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
|
|
|
|
"
|
2019-05-18 08:06:19 +02:00
|
|
|
|
|
2020-12-07 16:28:34 +01:00
|
|
|
|
RDEPEND="
|
2021-08-12 00:26:06 +02:00
|
|
|
|
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
|
|
|
|
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
2023-02-17 02:34:56 +01:00
|
|
|
|
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
|
|
|
"
|
2021-08-12 00:26:06 +02:00
|
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|