From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/
Date: Sat, 8 Jul 2023 21:22:24 +0000 (UTC) [thread overview]
Message-ID: <1688851336.0f25bc166471dfcbd63bd766139059769b7049a3.xgqt@gentoo> (raw)
commit: 0f25bc166471dfcbd63bd766139059769b7049a3
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 8 21:15:06 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jul 8 21:22:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f25bc16
app-emacs/pymacs: port to DISTUTILS_USE_PEP517
Closes: https://bugs.gentoo.org/909871
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/pymacs/pymacs-0.26-r4.ebuild | 62 ++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
new file mode 100644
index 000000000000..3f6d1c1d330d
--- /dev/null
+++ b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit elisp distutils-r1
+
+DESCRIPTION="A tool that allows both-side communication between Python and Emacs Lisp"
+HOMEPAGE="https://www.emacswiki.org/emacs/PyMacs
+ https://github.com/dgentry/Pymacs/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/dgentry/${PN^}.git"
+else
+ SRC_URI="https://github.com/dgentry/${PN^}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${P^}
+ KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="doc"
+
+BDEPEND="
+ doc? (
+ >=dev-python/docutils-0.7
+ virtual/latex-base
+ )
+"
+
+DOCS=( ${PN}.rst )
+SITEFILE="50${PN}-gentoo.el"
+
+python_configure() {
+ emake PYSETUP=: PYTHON=${EPYTHON} prepare
+}
+
+src_prepare() {
+ distutils-r1_src_prepare
+ elisp_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+ elisp_src_compile
+
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py ${PN}.pdf
+ fi
+}
+
+src_install() {
+ distutils-r1_src_install
+ elisp_src_install
+
+ use doc && dodoc ${PN}.pdf
+}
next reply other threads:[~2023-07-08 21:22 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-08 21:22 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-14 7:49 [gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/ Ulrich Müller
2023-08-15 3:17 Sam James
2023-08-11 3:26 Sam James
2023-08-11 3:26 Sam James
2023-08-11 3:26 Sam James
2023-08-11 3:26 Sam James
2023-02-27 0:05 Maciej Barć
2022-08-19 23:29 Sam James
2022-05-19 15:16 Maciej Barć
2022-04-20 21:30 Sam James
2021-05-23 17:11 Ulrich Müller
2021-03-04 6:46 Sam James
2021-01-06 13:07 Fabian Groffen
2020-09-25 10:21 Ulrich Müller
2020-05-28 17:13 Ulrich Müller
2020-05-28 15:45 Agostino Sarubbo
2020-05-28 15:42 Agostino Sarubbo
2020-05-28 15:40 Agostino Sarubbo
2020-05-28 15:39 Agostino Sarubbo
2020-05-25 6:28 Agostino Sarubbo
2020-04-26 13:56 Ulrich Müller
2020-04-19 13:39 Ulrich Müller
2020-02-11 11:38 Michał Górny
2019-12-07 7:58 Ulrich Müller
2019-11-27 13:08 Mikle Kolyada
2019-11-20 11:35 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-20 11:21 Agostino Sarubbo
2019-11-19 12:48 Agostino Sarubbo
2019-11-18 11:50 Agostino Sarubbo
2019-10-16 16:58 Ulrich Müller
2018-02-20 20:55 Patrice Clement
2017-09-30 3:14 Michael Palimaka
2017-07-06 5:02 Markus Meier
2017-06-25 8:25 Sergei Trofimovich
2017-04-21 17:36 Pacho Ramos
2017-01-29 14:49 Fabian Groffen
2016-10-09 7:56 Pacho Ramos
2016-01-25 8:58 Ulrich Müller
2016-01-25 8:31 Justin Lecher
2016-01-22 12:03 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1688851336.0f25bc166471dfcbd63bd766139059769b7049a3.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox