public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/
Date: Mon, 25 Jan 2016 08:31:02 +0000 (UTC)	[thread overview]
Message-ID: <1453708414.1e2643d7d16cf3d38cd125a2964feed3df78dca6.jlec@gentoo> (raw)

commit:     1e2643d7d16cf3d38cd125a2964feed3df78dca6
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 07:53:34 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 07:53:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2643d7

app-emacs/pymacs: Properly remove version from python command

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-emacs/pymacs/metadata.xml          | 22 +++++++++++-----------
 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 12 +++++++-----
 2 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/app-emacs/pymacs/metadata.xml b/app-emacs/pymacs/metadata.xml
index f928f5e..1a14634 100644
--- a/app-emacs/pymacs/metadata.xml
+++ b/app-emacs/pymacs/metadata.xml
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-  <email>gnu-emacs@gentoo.org</email>
-  <name>Gentoo GNU Emacs project</name>
-</maintainer>
-<maintainer type="project">
-  <email>python@gentoo.org</email>
-  <name>Python</name>
-</maintainer>
-<upstream>
-  <remote-id type="github">pinard/Pymacs</remote-id>
-</upstream>
+  <maintainer type="project">
+    <email>gnu-emacs@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>python@gentoo.org</email>
+    <name>Python</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">pinard/Pymacs</remote-id>
+  </upstream>
 </pkgmetadata>

diff --git a/app-emacs/pymacs/pymacs-0.25-r2.ebuild b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
index 15852ac..1ff5ae5 100644
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -23,6 +23,13 @@ RDEPEND=""
 DISTUTILS_IN_SOURCE_BUILD=1
 SITEFILE="50${PN}-gentoo.el"
 
+python_prepare_all() {
+	sed \
+		-e '/pymacs-python-command/s/@PYTHON@/python/' \
+		-i pymacs.el.in || die
+	distutils-r1_python_prepare_all
+}
+
 # called by distutils-r1 for every python implementation
 python_configure() {
 	# pre-process the files but don't run distutils
@@ -40,11 +47,6 @@ python_compile_all() {
 python_install_all() {
 	elisp_src_install
 
-	sed \
-		-e '/pymacs-python-command/s:"python.*:"python":g' \
-		-i "${ED}"/${SITELISP}/pymacs/pymacs.el || die
-	elisp-compile "${ED}"/${SITELISP}/pymacs/pymacs.el
-
 	distutils-r1_python_install_all
 	dodoc pymacs.rst
 	use doc && dodoc pymacs.pdf


             reply	other threads:[~2016-01-25  8:31 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25  8:31 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-19 20:52 [gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/ Maciej Barć
2024-04-14  7:49 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-07-08 21:22 Maciej Barć
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-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=1453708414.1e2643d7d16cf3d38cd125a2964feed3df78dca6.jlec@gentoo \
    --to=jlec@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