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: Fri, 22 Jan 2016 12:03:17 +0000 (UTC)	[thread overview]
Message-ID: <1453464194.9fca248aac5224ebcaef59eb88a50d831eb3e495.jlec@gentoo> (raw)

commit:     9fca248aac5224ebcaef59eb88a50d831eb3e495
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 12:03:06 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 12:03:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fca248a

app-emacs/pymacs: Make python command unversioned

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572482

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

 app-emacs/pymacs/metadata.xml          | 10 +++----
 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 51 ++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 5 deletions(-)

diff --git a/app-emacs/pymacs/metadata.xml b/app-emacs/pymacs/metadata.xml
index 3f864cf..4f7be8f 100644
--- a/app-emacs/pymacs/metadata.xml
+++ b/app-emacs/pymacs/metadata.xml
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>emacs</herd>
-<herd>python</herd>
-<upstream>
-  <remote-id type="github">pinard/Pymacs</remote-id>
-</upstream>
+  <herd>emacs</herd>
+  <herd>python</herd>
+  <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
new file mode 100644
index 0000000..15852ac
--- /dev/null
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit elisp distutils-r1 vcs-snapshot
+
+DESCRIPTION="A tool that allows both-side communication beetween Python and Emacs Lisp"
+HOMEPAGE="http://www.emacswiki.org/emacs/PyMacs"
+SRC_URI="https://github.com/pinard/Pymacs/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc"
+
+DEPEND="doc? ( >=dev-python/docutils-0.7
+			virtual/latex-base )"
+RDEPEND=""
+
+DISTUTILS_IN_SOURCE_BUILD=1
+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
+
+	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-22 12:03 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22 12:03 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-25  8:31 [gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/ Justin Lecher
2016-01-25  8:58 Ulrich Müller
2016-10-09  7:56 Pacho Ramos
2017-01-29 14:49 Fabian Groffen
2017-04-21 17:36 Pacho Ramos
2017-06-25  8:25 Sergei Trofimovich
2017-07-06  5:02 Markus Meier
2017-09-30  3:14 Michael Palimaka
2018-02-20 20:55 Patrice Clement
2019-10-16 16:58 Ulrich Müller
2019-11-18 11:50 Agostino Sarubbo
2019-11-19 12:48 Agostino Sarubbo
2019-11-20 11:21 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-20 11:35 Agostino Sarubbo
2019-11-27 13:08 Mikle Kolyada
2019-12-07  7:58 Ulrich Müller
2020-02-11 11:38 Michał Górny
2020-04-19 13:39 Ulrich Müller
2020-04-26 13:56 Ulrich Müller
2020-05-25  6:28 Agostino Sarubbo
2020-05-28 15:39 Agostino Sarubbo
2020-05-28 15:40 Agostino Sarubbo
2020-05-28 15:42 Agostino Sarubbo
2020-05-28 15:45 Agostino Sarubbo
2020-05-28 17:13 Ulrich Müller
2020-09-25 10:21 Ulrich Müller
2021-01-06 13:07 Fabian Groffen
2021-03-04  6:46 Sam James
2021-05-23 17:11 Ulrich Müller
2022-04-20 21:30 Sam James
2022-05-19 15:16 Maciej Barć
2022-08-19 23:29 Sam James
2023-02-27  0:05 Maciej Barć
2023-07-08 21:22 Maciej Barć
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-08-15  3:17 Sam James
2024-04-14  7:49 Ulrich Müller
2025-03-19 20:52 Maciej Barć

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=1453464194.9fca248aac5224ebcaef59eb88a50d831eb3e495.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