diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-05-19 17:12:34 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-05-19 17:14:35 +0200 |
commit | b34ceae84affdfcde1758a760afbe85cf2dc02ca (patch) | |
tree | 6f80393a41987ce4b42d1fd871ccaa423198c434 /app-emacs/pymacs/pymacs-0.26-r2.ebuild | |
parent | dev-util/rinstall: bump to 0.2.0 (diff) | |
download | gentoo-b34ceae84affdfcde1758a760afbe85cf2dc02ca.tar.gz gentoo-b34ceae84affdfcde1758a760afbe85cf2dc02ca.tar.bz2 gentoo-b34ceae84affdfcde1758a760afbe85cf2dc02ca.zip |
app-emacs/pymacs: drop py3.7 and add py3.10 compat
Closes: https://bugs.gentoo.org/845453
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/pymacs/pymacs-0.26-r2.ebuild')
-rw-r--r-- | app-emacs/pymacs/pymacs-0.26-r2.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild b/app-emacs/pymacs/pymacs-0.26-r2.ebuild deleted file mode 100644 index 6969000e028c..000000000000 --- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_IN_SOURCE_BUILD=1 -DISTUTILS_USE_SETUPTOOLS="no" - -inherit elisp distutils-r1 - -DESCRIPTION="A tool that allows both-side communication beetween Python and Emacs Lisp" -HOMEPAGE="https://www.emacswiki.org/emacs/PyMacs" -SRC_URI="https://github.com/dgentry/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc" - -BDEPEND="doc? ( - >=dev-python/docutils-0.7 - virtual/latex-base - )" - -S="${WORKDIR}/${P^}" - -SITEFILE="50${PN}-gentoo.el" - -# called by distutils-r1 for every python implementation -python_configure() { - # pre-process the files but don't run distutils - emake PYSETUP=: PYTHON=${EPYTHON} -} - -# called once -python_compile_all() { - elisp_src_compile - if use doc; then - VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py pymacs.pdf - fi -} - -python_install_all() { - elisp_src_install - distutils-r1_python_install_all - dodoc pymacs.rst - use doc && dodoc pymacs.pdf -} |