Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgcheck/
Date: Tue, 16 Aug 2022 18:18:59
Message-Id: 1660673931.bc6bb42842fd357b0a06042f073e5f242cdbd9ef.ulm@gentoo
1 commit: bc6bb42842fd357b0a06042f073e5f242cdbd9ef
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 16 18:18:18 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 18:18:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc6bb428
7
8 dev-util/pkgcheck: Drop Emacs support in 0.10.13
9
10 Fails to build because contrib/emacs is missing from the tarball.
11
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 dev-util/pkgcheck/pkgcheck-0.10.13.ebuild | 31 +------------------------------
15 1 file changed, 1 insertion(+), 30 deletions(-)
16
17 diff --git a/dev-util/pkgcheck/pkgcheck-0.10.13.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.13.ebuild
18 index a8ce557ca15d..e5703d13feb6 100644
19 --- a/dev-util/pkgcheck/pkgcheck-0.10.13.ebuild
20 +++ b/dev-util/pkgcheck/pkgcheck-0.10.13.ebuild
21 @@ -5,7 +5,7 @@ EAPI=8
22
23 PYTHON_COMPAT=( python3_{8..11} )
24 DISTUTILS_IN_SOURCE_BUILD=1
25 -inherit elisp-common distutils-r1 optfeature
26 +inherit distutils-r1 optfeature
27
28 if [[ ${PV} == *9999 ]] ; then
29 EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git"
30 @@ -20,7 +20,6 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck"
31
32 LICENSE="BSD MIT"
33 SLOT="0"
34 -IUSE="emacs"
35
36 if [[ ${PV} == *9999 ]]; then
37 RDEPEND="
38 @@ -39,11 +38,6 @@ RDEPEND+="
39 dev-python/lxml[${PYTHON_USEDEP}]
40 dev-python/pathspec[${PYTHON_USEDEP}]
41 >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}]
42 - emacs? (
43 - >=app-editors/emacs-24.1:*
44 - app-emacs/ebuild-mode
45 - app-emacs/flycheck
46 - )
47 "
48 BDEPEND="
49 ${RDEPEND}
50 @@ -54,22 +48,10 @@ BDEPEND="
51 )
52 "
53
54 -SITEFILE="50${PN}-gentoo.el"
55 -
56 distutils_enable_tests setup.py
57
58 export USE_SYSTEM_TREE_SITTER_BASH=1
59
60 -src_compile() {
61 - distutils-r1_src_compile
62 -
63 - if use emacs ; then
64 - pushd "${S}"/contrib/emacs >/dev/null || die
65 - elisp-compile *.el
66 - popd >/dev/null || die
67 - fi
68 -}
69 -
70 src_test() {
71 local -x PYTHONDONTWRITEBYTECODE=
72 distutils-r1_src_test
73 @@ -79,20 +61,9 @@ python_install_all() {
74 local DOCS=( NEWS.rst )
75 [[ ${PV} == *9999 ]] || doman man/*
76 distutils-r1_python_install_all
77 -
78 - if use emacs ; then
79 - elisp-install ${PN} "${S}"/contrib/emacs/*.el{,c}
80 - elisp-site-file-install "${FILESDIR}/${SITEFILE}"
81 - fi
82 }
83
84 pkg_postinst() {
85 - use emacs && elisp-site-regen
86 -
87 optfeature "Network check support" dev-python/requests
88 optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version
89 }
90 -
91 -pkg_postrm() {
92 - use emacs && elisp-site-regen
93 -}