diff options
Diffstat (limited to 'app-emacs/pymacs')
-rw-r--r-- | app-emacs/pymacs/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/pymacs/metadata.xml | 2 | ||||
-rw-r--r-- | app-emacs/pymacs/pymacs-0.26.ebuild | 55 |
3 files changed, 59 insertions, 2 deletions
diff --git a/app-emacs/pymacs/Manifest b/app-emacs/pymacs/Manifest index 828f22612724..14e536315ff7 100644 --- a/app-emacs/pymacs/Manifest +++ b/app-emacs/pymacs/Manifest @@ -1,4 +1,6 @@ AUX 50pymacs-gentoo.el 183 BLAKE2B f1a4b874bb339b653c4fb6fb186bd7e531151c34d1df58be6963288d4443438fcae0f82c92a1667b4e7cb739bc2f7c6fd8d8d5f6d4e91413ee5bec47a609cc2e SHA512 f59fed86f859b796c901088b38fb570a5e5527d774a15456105ce75598c31fd20d0afaa62ad9cbf12063810fa592dbbd7c33aaece5871b36b488e5af6de0fac2 DIST pymacs-0.25.tar.gz 120597 BLAKE2B 837c67d862c11d2a9d74cb55a055f60627834a50717d5386ec604db70a62270aa2ad3e56942602dc10a5f997ab3ce6d7f91e29a8c5b959144286182ad861b3bb SHA512 e17f7ee754413e21403d23894ee263fb0edae180a60c746b02cf101b2f0c782116e7bb61215bd0a8c689a991e211d780d220d4672b58f43108e7218a6f0c8dc0 +DIST pymacs-0.26.tar.gz 123373 BLAKE2B 0c467435d18ebcbe7b263e90096363e201dd84ba770fa702beefac4318a713954c316f335ee005ea88370be29c3710a7df04fb05b6efd3816beedbb88e38126d SHA512 ae245de130f435d947788c5ac11d8ce6534df80f70a4e35fff903f22d2b79b0f66925059ebaf53bde45cd6660ac0a8a224490f4f9e256a84e3a08f6468c14dd2 EBUILD pymacs-0.25-r2.ebuild 1262 BLAKE2B 6e4eeff552b27f35f431d4d6fef5f101b54c7bccd9d5611178ba8aeb923f7fd47010f5ac27ea6e3c99f5c19740a5fe0aca551211377ec66e26135a70b70b1afc SHA512 2645b4972956b8f8888b1fd4daec39016414e8969c6f7027dbb2755f897a0b47ae6268b8fdcd54ac6b7a53a415a3afc6748a1cbe5b45e9c489918bf6bb39f39a -MISC metadata.xml 434 BLAKE2B 11fe7bc8c9fa32f4762237f30e93ae5281b73b10a99e389d6cad284f6ba649b7f732fd07aefec8f50d7175af301e021ad34cfac65adfbfb7dc6133184725cbb2 SHA512 899211703ed0824e0b2dd26018e46854ab970d76ee12f169b99bc3a49f9e3bfb1d42757c35ac1ac21268b90b8536737aab61cf9dd4f7297b4e5360f1fe73f821 +EBUILD pymacs-0.26.ebuild 1348 BLAKE2B fb0d319688d2ffe7128cc527613b9b3c87c7b092af5e5170cf5fd5a193da136d45b9edfb13540fd92ee653ee0ba8286e0faea182c0a3d2b4fc5a416fd16a2ba0 SHA512 1f7c2b9a85eb7135ca64eef1b26d2d22a41268b6ca254c2e216c5c72e5369ae9bc68d0eff4bb4844a1036022f79c902316887e47d1fa4493f0dc9916ddcb08df +MISC metadata.xml 435 BLAKE2B 10ae4a8b61dfb10339404f38e37cafa1b66737a8f593bc4ba1c626b9d884ebb19dca555dbdf24b1418fec711f6b73865046cf50d58990980ab5115b1755ddd24 SHA512 bb1bdeb6695093fb0788f956059a6e081b98d8b769e2d336057954e85006dac277b756206f83565d52c2473dc45f3afb1087850e38843103f0ef7581a634eec0 diff --git a/app-emacs/pymacs/metadata.xml b/app-emacs/pymacs/metadata.xml index f928f5ea6cdb..a5988115fbe7 100644 --- a/app-emacs/pymacs/metadata.xml +++ b/app-emacs/pymacs/metadata.xml @@ -10,6 +10,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="github">pinard/Pymacs</remote-id> + <remote-id type="github">dgentry/Pymacs</remote-id> </upstream> </pkgmetadata> diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild b/app-emacs/pymacs/pymacs-0.26.ebuild new file mode 100644 index 000000000000..77c813340aeb --- /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 +} |