net-mail/notmuch: Update for elisp-common.eclass changes.

Function elisp-need-emacs is deprecated, replace it by assigning
NEED_EMACS and calling elisp-check-emacs-version in pkg_setup.

Require emacs-24.1 as minimum version, because it is the first version
with libxml2 support.

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2019-12-21 12:22:41 +01:00
parent f75f885e0e
commit 46f58b50d4
3 changed files with 12 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
emacs? ( >=app-editors/emacs-23.1:* )
emacs? ( >=app-editors/emacs-24.1:* )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${CDEPEND}
@@ -49,7 +49,7 @@ DEPEND="${CDEPEND}
)
test? (
app-misc/dtach
|| ( >=app-editors/emacs-23[libxml2] >=app-editors/emacs-vcs-23[libxml2] )
>=app-editors/emacs-24.1:*[libxml2]
sys-devel/gdb
crypt? ( app-crypt/gnupg dev-libs/openssl )
)
@@ -72,6 +72,7 @@ RDEPEND="${CDEPEND}
"
DOCS=( AUTHORS NEWS README )
NEED_EMACS="24.1"
SITEFILE="50${PN}-gentoo.el"
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
PATCHES=(
@@ -104,9 +105,7 @@ pkg_pretend() {
}
pkg_setup() {
if use emacs; then
elisp-need-emacs 23 || die "Emacs version too low"
fi
use emacs && elisp-check-emacs-version
}
src_unpack() {

View File

@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
emacs? ( >=app-editors/emacs-23.1:* )
emacs? ( >=app-editors/emacs-24.1:* )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${CDEPEND}
@@ -49,7 +49,7 @@ DEPEND="${CDEPEND}
)
test? (
app-misc/dtach
|| ( >=app-editors/emacs-23[libxml2] >=app-editors/emacs-vcs-23[libxml2] )
>=app-editors/emacs-24.1:*[libxml2]
sys-devel/gdb
crypt? ( app-crypt/gnupg dev-libs/openssl )
)
@@ -72,6 +72,7 @@ RDEPEND="${CDEPEND}
"
DOCS=( AUTHORS NEWS README )
NEED_EMACS="24.1"
SITEFILE="50${PN}-gentoo.el"
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
PATCHES=(
@@ -103,9 +104,7 @@ pkg_pretend() {
}
pkg_setup() {
if use emacs; then
elisp-need-emacs 23 || die "Emacs version too low"
fi
use emacs && elisp-check-emacs-version
}
src_unpack() {

View File

@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
emacs? ( >=app-editors/emacs-23.1:* )
emacs? ( >=app-editors/emacs-24.1:* )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${CDEPEND}
@@ -49,7 +49,7 @@ DEPEND="${CDEPEND}
)
test? (
app-misc/dtach
|| ( >=app-editors/emacs-23[libxml2] >=app-editors/emacs-vcs-23[libxml2] )
>=app-editors/emacs-24.1:*[libxml2]
sys-devel/gdb
crypt? ( app-crypt/gnupg dev-libs/openssl )
)
@@ -72,6 +72,7 @@ RDEPEND="${CDEPEND}
"
DOCS=( AUTHORS NEWS README )
NEED_EMACS="24.1"
SITEFILE="50${PN}-gentoo.el"
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
PATCHES=(
@@ -103,9 +104,7 @@ pkg_pretend() {
}
pkg_setup() {
if use emacs; then
elisp-need-emacs 23 || die "Emacs version too low"
fi
use emacs && elisp-check-emacs-version
}
src_unpack() {