From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0DBC6138334 for ; Wed, 16 Oct 2019 16:59:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 439BFE0969; Wed, 16 Oct 2019 16:59:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F404E0969 for ; Wed, 16 Oct 2019 16:59:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F423534BDA0 for ; Wed, 16 Oct 2019 16:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23AEE88D for ; Wed, 16 Oct 2019 16:58:59 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1571245128.c5a53853658b5f090600ddb8d99006a9f5cdbab4.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/pymacs/Manifest app-emacs/pymacs/metadata.xml app-emacs/pymacs/pymacs-0.26.ebuild X-VCS-Directories: app-emacs/pymacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c5a53853658b5f090600ddb8d99006a9f5cdbab4 X-VCS-Branch: master Date: Wed, 16 Oct 2019 16:58:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 94093acb-6832-4e49-9ba8-c897bd6dd397 X-Archives-Hash: 2ca128662bd660313934a0669da9222f commit: c5a53853658b5f090600ddb8d99006a9f5cdbab4 Author: Ulrich Müller gentoo org> AuthorDate: Wed Oct 16 16:38:00 2019 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Oct 16 16:58:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a53853 app-emacs/pymacs: Bump to version 0.26. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Ulrich Müller gentoo.org> app-emacs/pymacs/Manifest | 1 + app-emacs/pymacs/metadata.xml | 2 +- app-emacs/pymacs/pymacs-0.26.ebuild | 55 +++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) diff --git a/app-emacs/pymacs/Manifest b/app-emacs/pymacs/Manifest index 8609dde22a4..4be5e29baee 100644 --- a/app-emacs/pymacs/Manifest +++ b/app-emacs/pymacs/Manifest @@ -1 +1,2 @@ DIST pymacs-0.25.tar.gz 120597 BLAKE2B 837c67d862c11d2a9d74cb55a055f60627834a50717d5386ec604db70a62270aa2ad3e56942602dc10a5f997ab3ce6d7f91e29a8c5b959144286182ad861b3bb SHA512 e17f7ee754413e21403d23894ee263fb0edae180a60c746b02cf101b2f0c782116e7bb61215bd0a8c689a991e211d780d220d4672b58f43108e7218a6f0c8dc0 +DIST pymacs-0.26.tar.gz 123373 BLAKE2B 0c467435d18ebcbe7b263e90096363e201dd84ba770fa702beefac4318a713954c316f335ee005ea88370be29c3710a7df04fb05b6efd3816beedbb88e38126d SHA512 ae245de130f435d947788c5ac11d8ce6534df80f70a4e35fff903f22d2b79b0f66925059ebaf53bde45cd6660ac0a8a224490f4f9e256a84e3a08f6468c14dd2 diff --git a/app-emacs/pymacs/metadata.xml b/app-emacs/pymacs/metadata.xml index f928f5ea6cd..a5988115fbe 100644 --- a/app-emacs/pymacs/metadata.xml +++ b/app-emacs/pymacs/metadata.xml @@ -10,6 +10,6 @@ Python - pinard/Pymacs + dgentry/Pymacs diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild b/app-emacs/pymacs/pymacs-0.26.ebuild new file mode 100644 index 00000000000..77c813340ae --- /dev/null +++ b/app-emacs/pymacs/pymacs-0.26.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +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 ~s390 ~sh ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +#IUSE="doc" + +#BDEPEND="doc? ( +# >=dev-python/docutils-0.7 +# virtual/latex-base +# )" + +S="${WORKDIR}/${P^}" +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 + emake PYSETUP=: PYTHON=${EPYTHON} +} + +# called once +python_compile_all() { + elisp_src_compile + # "pdflatex pymacs.tex" fails with "undefined control sequence" + #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 +}