mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -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_SUBMODULES=()
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_PN}"
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_PN}"
|
||||||
else
|
else
|
||||||
|
# To rename with .gh.tar.gz extension once parent package also uses this naming.
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
-> ${PARENT_P}.tar.gz
|
-> ${PARENT_P}.tar.gz
|
||||||
@@ -46,12 +47,20 @@ RDEPEND="
|
|||||||
|
|
||||||
distutils_enable_tests pytest
|
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=(
|
PATCHES=(
|
||||||
)
|
)
|
||||||
|
|
||||||
python_prepare_all() {
|
python_prepare_all() {
|
||||||
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
||||||
default
|
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
|
||||||
|
eapply_user
|
||||||
popd > /dev/null || die
|
popd > /dev/null || die
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
distutils-r1_python_prepare_all
|
||||||
@@ -18,6 +18,7 @@ if [[ "${PV}" == *9999 ]]; then
|
|||||||
EGIT_SUBMODULES=()
|
EGIT_SUBMODULES=()
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_PN}"
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_PN}"
|
||||||
else
|
else
|
||||||
|
# To rename with .gh.tar.gz extension once parent package also uses this naming.
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
-> ${PARENT_P}.tar.gz
|
-> ${PARENT_P}.tar.gz
|
||||||
@@ -46,12 +47,20 @@ RDEPEND="
|
|||||||
|
|
||||||
distutils_enable_tests pytest
|
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=(
|
PATCHES=(
|
||||||
)
|
)
|
||||||
|
|
||||||
python_prepare_all() {
|
python_prepare_all() {
|
||||||
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
||||||
default
|
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
|
||||||
|
eapply_user
|
||||||
popd > /dev/null || die
|
popd > /dev/null || die
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
distutils-r1_python_prepare_all
|
||||||
@@ -20,7 +20,7 @@ if [[ "${PV}" == *9999 ]]; then
|
|||||||
else
|
else
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
-> ${PARENT_P}.tar.gz
|
-> ${PARENT_P}.gh.tar.gz
|
||||||
"
|
"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
fi
|
fi
|
||||||
@@ -46,12 +46,20 @@ RDEPEND="
|
|||||||
|
|
||||||
distutils_enable_tests pytest
|
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=(
|
PATCHES=(
|
||||||
)
|
)
|
||||||
|
|
||||||
python_prepare_all() {
|
python_prepare_all() {
|
||||||
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
|
||||||
default
|
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
|
||||||
|
eapply_user
|
||||||
popd > /dev/null || die
|
popd > /dev/null || die
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
distutils-r1_python_prepare_all
|
||||||
|
|||||||
Reference in New Issue
Block a user