commit: 7ab3a69ccc2bef6752e6b9c98c5ab58ac996295c Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Mar 25 03:32:09 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 25 03:32:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab3a69c
dev-python/cython: drop USE=emacs from 3.0.0_beta1 It's now in a separate repo: https://github.com/cython/emacs-cython-mode, not yet packaged. Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/cython/cython-3.0.0_beta1-r2.ebuild | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/dev-python/cython/cython-3.0.0_beta1-r2.ebuild b/dev-python/cython/cython-3.0.0_beta1-r2.ebuild index 1eb336a03196..3765013cc291 100644 --- a/dev-python/cython/cython-3.0.0_beta1-r2.ebuild +++ b/dev-python/cython/cython-3.0.0_beta1-r2.ebuild @@ -25,12 +25,9 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="emacs test" +IUSE="test" RESTRICT="!test? ( test )" -RDEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) -" BDEPEND=" ${RDEPEND} test? ( @@ -46,8 +43,6 @@ PATCHES=( "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" ) -SITEFILE=50cython-gentoo.el - distutils_enable_sphinx docs \ dev-python/jinja \ dev-python/sphinx-issues \ @@ -60,10 +55,6 @@ python_compile() { distutils-r1_python_compile } -python_compile_all() { - use emacs && elisp-compile Tools/cython-mode.el -} - python_test() { if has "${EPYTHON}" pypy3 python3.11; then einfo "Skipping tests on ${EPYTHON} (xfail)" @@ -80,17 +71,4 @@ python_test() { python_install_all() { local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) distutils-r1_python_install_all - - if use emacs; then - elisp-install ${PN} Tools/cython-mode.* - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen }
