mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-crypt/certbot-dns-rfc2136: fix patches handler
Signed-off-by: Thibaud CANALE <thican@thican.net>
This commit is contained in:
@@ -18,6 +18,7 @@ if [[ "${PV}" == *9999 ]]; then
|
||||
EGIT_SUBMODULES=()
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_PN}"
|
||||
else
|
||||
# To rename with .gh.tar.gz extension once parent package also uses this naming.
|
||||
SRC_URI="
|
||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||
-> ${PARENT_P}.tar.gz
|
||||
@@ -46,12 +47,20 @@ RDEPEND="
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Same than PATCHES but from repository's root directory,
|
||||
# please see function `python_prepare_all` below.
|
||||
# Simplier for users IMHO.
|
||||
PARENT_PATCHES=(
|
||||
)
|
||||
|
||||
# Here for patches within "${PN}" subdirectory.
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
||||
default
|
||||
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
@@ -18,6 +18,7 @@ if [[ "${PV}" == *9999 ]]; then
|
||||
EGIT_SUBMODULES=()
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_PN}"
|
||||
else
|
||||
# To rename with .gh.tar.gz extension once parent package also uses this naming.
|
||||
SRC_URI="
|
||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||
-> ${PARENT_P}.tar.gz
|
||||
@@ -46,12 +47,20 @@ RDEPEND="
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Same than PATCHES but from repository's root directory,
|
||||
# please see function `python_prepare_all` below.
|
||||
# Simplier for users IMHO.
|
||||
PARENT_PATCHES=(
|
||||
)
|
||||
|
||||
# Here for patches within "${PN}" subdirectory.
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
||||
default
|
||||
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
@@ -20,7 +20,7 @@ if [[ "${PV}" == *9999 ]]; then
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||
-> ${PARENT_P}.tar.gz
|
||||
-> ${PARENT_P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
@@ -46,12 +46,20 @@ RDEPEND="
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Same than PATCHES but from repository's root directory,
|
||||
# please see function `python_prepare_all` below.
|
||||
# Simplier for users IMHO.
|
||||
PARENT_PATCHES=(
|
||||
)
|
||||
|
||||
# Here for patches within "${PN}" subdirectory.
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
||||
default
|
||||
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
|
||||
eapply_user
|
||||
popd > /dev/null || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
Reference in New Issue
Block a user