[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2024-04-14 Thread Ulrich Müller
commit: 4f7ce08c648151e5b872a13be98b493b74d7e670
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Apr 14 07:38:06 2024 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Apr 14 07:48:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f7ce08c

app-emacs/pymacs: Locate rst2latex{,.py} command

Closes: https://bugs.gentoo.org/929979
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r5.ebuild | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r5.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r5.ebuild
index 0cc4eacd125b..5d51948e9238 100644
--- a/app-emacs/pymacs/pymacs-0.26-r5.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r5.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="A tool that allows both-side communication 
between Python and Emacs
 HOMEPAGE="https://www.emacswiki.org/emacs/PyMacs
https://github.com/dgentry/Pymacs/;
 
-if [[ "${PV}" == ** ]] ; then
+if [[ ${PV} == ** ]]; then
inherit git-r3
 
EGIT_REPO_URI="https://github.com/dgentry/${PN^}.git;
@@ -35,7 +35,7 @@ BDEPEND="
)
 "
 
-PATCHES=( "${FILESDIR}/${PN}-0.26-setup.patch"  )
+PATCHES=( "${FILESDIR}/${PN}-0.26-setup.patch" )
 
 DOCS=( "${PN}.rst" )
 SITEFILE="50${PN}-gentoo.el"
@@ -49,7 +49,9 @@ src_compile() {
elisp_src_compile
 
if use doc; then
-   VARTEXFONTS="${T}/fonts" emake RST2LATEX="rst2latex.py" 
"${PN}.pdf"
+   # docutils 0.21.1 renamed rst2latex.py to rst2latex
+   local r2l=$(command -v rst2latex || command -v rst2latex.py || 
die)
+   VARTEXFONTS="${T}"/fonts emake RST2LATEX="${r2l}" ${PN}.pdf
fi
 }
 
@@ -57,5 +59,5 @@ src_install() {
distutils-r1_src_install
elisp_src_install
 
-   use doc && dodoc "${PN}.pdf"
+   use doc && dodoc ${PN}.pdf
 }



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/files/, app-emacs/pymacs/

2024-04-13 Thread Maciej Barć
commit: 83e926029ae787486fc19a30d517b7f6682b21f7
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 13:58:53 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e92602

app-emacs/pymacs: port to py3.12

Closes: https://bugs.gentoo.org/929304
Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/pymacs/files/pymacs-0.26-setup.patch | 11 ++
 ...pymacs-0.26-r4.ebuild => pymacs-0.26-r5.ebuild} | 25 +++---
 2 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/app-emacs/pymacs/files/pymacs-0.26-setup.patch 
b/app-emacs/pymacs/files/pymacs-0.26-setup.patch
new file mode 100644
index ..5d774b7d4dfb
--- /dev/null
+++ b/app-emacs/pymacs/files/pymacs-0.26-setup.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
 b/setup.py
+@@ -70,7 +70,7 @@ def cfg_to_args(path='setup.cfg'):
+ config = RawConfigParser()
+ f = codecs.open(path, encoding='utf-8')
+ try:
+-config.readfp(f)
++config.read_file(f)
+ finally:
+ f.close()
+ 

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r5.ebuild
similarity index 71%
rename from app-emacs/pymacs/pymacs-0.26-r4.ebuild
rename to app-emacs/pymacs/pymacs-0.26-r5.ebuild
index bebfd8782b42..0cc4eacd125b 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit elisp distutils-r1
 
@@ -12,13 +12,15 @@ DESCRIPTION="A tool that allows both-side communication 
between Python and Emacs
 HOMEPAGE="https://www.emacswiki.org/emacs/PyMacs
https://github.com/dgentry/Pymacs/;
 
-if [[ ${PV} == ** ]] ; then
+if [[ "${PV}" == ** ]] ; 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^}
+   S="${WORKDIR}/${P^}"
+
KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
@@ -33,16 +35,13 @@ BDEPEND="
)
 "
 
-DOCS=( ${PN}.rst )
+PATCHES=( "${FILESDIR}/${PN}-0.26-setup.patch"  )
+
+DOCS=( "${PN}.rst" )
 SITEFILE="50${PN}-gentoo.el"
 
 python_configure() {
-   emake PYSETUP=: PYTHON=${EPYTHON} prepare
-}
-
-src_prepare() {
-   distutils-r1_src_prepare
-   elisp_src_prepare
+   emake PYSETUP=":" PYTHON="${EPYTHON}" prepare
 }
 
 src_compile() {
@@ -50,7 +49,7 @@ src_compile() {
elisp_src_compile
 
if use doc; then
-   VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py ${PN}.pdf
+   VARTEXFONTS="${T}/fonts" emake RST2LATEX="rst2latex.py" 
"${PN}.pdf"
fi
 }
 
@@ -58,5 +57,5 @@ src_install() {
distutils-r1_src_install
elisp_src_install
 
-   use doc && dodoc ${PN}.pdf
+   use doc && dodoc "${PN}.pdf"
 }



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-08-14 Thread Sam James
commit: f8601cd3e174f06724ea99863f0796327363a255
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 15 03:17:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 15 03:17:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8601cd3

app-emacs/pymacs: Stabilize 0.26-r4 ppc, #912044

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
index b2d733c8de55..bebfd8782b42 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
@@ -19,7 +19,7 @@ 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"
+   KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
 LICENSE="GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-08-10 Thread Sam James
commit: 7d4d01b84fe575b15bd2bb3c6bb51ccebbed2386
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 11 03:25:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 11 03:25:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4d01b8

app-emacs/pymacs: Stabilize 0.26-r4 ppc64, #912044

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
index 3f6d1c1d330d..fe737fdc02b8 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
@@ -19,7 +19,7 @@ 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"
+   KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~x86 ~amd64-linux 
~x86-linux ~ppc-macos"
 fi
 
 LICENSE="GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-08-10 Thread Sam James
commit: fe3424d9d8cb4512796c46c6b40f9858a8467a7c
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 11 03:26:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 11 03:26:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe3424d9

app-emacs/pymacs: Stabilize 0.26-r4 amd64, #912044

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
index 5a1736ed8e93..b2d733c8de55 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
@@ -19,7 +19,7 @@ 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"
+   KEYWORDS="amd64 arm ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
 LICENSE="GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-08-10 Thread Sam James
commit: ac5e8ed4a68c81c22035a01d37cd8b5ab86eeb0b
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 11 03:25:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 11 03:25:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5e8ed4

app-emacs/pymacs: Stabilize 0.26-r4 arm, #912044

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
index 3f931cb08aa5..5a1736ed8e93 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
@@ -19,7 +19,7 @@ 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"
+   KEYWORDS="~amd64 arm ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
 LICENSE="GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-08-10 Thread Sam James
commit: e7de904f108f1f540e4bca2289b212332d801293
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 11 03:25:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 11 03:25:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7de904f

app-emacs/pymacs: Stabilize 0.26-r4 x86, #912044

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
index fe737fdc02b8..3f931cb08aa5 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r4.ebuild
@@ -19,7 +19,7 @@ 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"
+   KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux 
~x86-linux ~ppc-macos"
 fi
 
 LICENSE="GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-07-08 Thread Maciej Barć
commit: 0f25bc166471dfcbd63bd766139059769b7049a3
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Jul  8 21:15:06 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Jul  8 21:22:16 2023 +
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ć  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 ..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} == ** ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2023-02-26 Thread Maciej Barć
commit: 73cc7110fe1f2bf40e3373a5ee3055da27db7cf3
Author: Maciej Barć  gentoo  org>
AuthorDate: Sun Feb 26 23:55:57 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Feb 27 00:05:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73cc7110

app-emacs/pymacs: enable python 3.11

Closes: https://bugs.gentoo.org/896536
Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r3.ebuild | 19 +--
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r3.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r3.ebuild
index 648ad8f83a57..b17150d95bb4 100644
--- a/app-emacs/pymacs/pymacs-0.26-r3.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r3.ebuild
@@ -3,26 +3,29 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+# Can not use "DISTUTILS_USE_PEP517" because we need 
"DISTUTILS_IN_SOURCE_BUILD".
 DISTUTILS_IN_SOURCE_BUILD=1
+PYTHON_COMPAT=( python3_{9..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;
-SRC_URI="https://github.com/dgentry/${PN^}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/dgentry/${PN^}/archive/v${PV}.tar.gz
+   -> ${P}.tar.gz"
+S="${WORKDIR}"/${P^}
 
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="doc"
 
-BDEPEND="doc? (
+BDEPEND="
+   doc? (
>=dev-python/docutils-0.7
virtual/latex-base
-   )"
-
-S="${WORKDIR}/${P^}"
+   )
+"
 
 SITEFILE="50${PN}-gentoo.el"
 
@@ -35,6 +38,7 @@ python_configure() {
 # called once
 python_compile_all() {
elisp_src_compile
+
if use doc; then
VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py pymacs.pdf
fi
@@ -42,7 +46,10 @@ python_compile_all() {
 
 python_install_all() {
elisp_src_install
+
distutils-r1_python_install_all
+
dodoc pymacs.rst
+
use doc && dodoc pymacs.pdf
 }



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2022-08-19 Thread Sam James
commit: 2d3315a2c4a7f29474bcfccb6d45959e02545a9f
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 19 23:29:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 19 23:29:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3315a2

app-emacs/pymacs: update DESCRIPTION

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r3.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r3.ebuild
index d68770ec00be..fe50b3975672 100644
--- a/app-emacs/pymacs/pymacs-0.26-r3.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r3.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_IN_SOURCE_BUILD=1
 
 inherit elisp distutils-r1
 
-DESCRIPTION="A tool that allows both-side communication beetween Python and 
Emacs Lisp"
+DESCRIPTION="A tool that allows both-side communication between 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"
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2022-05-19 Thread Maciej Barć
commit: b34ceae84affdfcde1758a760afbe85cf2dc02ca
Author: Maciej Barć  gentoo  org>
AuthorDate: Thu May 19 15:12:34 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu May 19 15:14:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34ceae8

app-emacs/pymacs: drop py3.7 and add py3.10 compat

Closes: https://bugs.gentoo.org/845453
Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/pymacs/{pymacs-0.26-r2.ebuild => pymacs-0.26-r3.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r3.ebuild
similarity index 93%
rename from app-emacs/pymacs/pymacs-0.26-r2.ebuild
rename to app-emacs/pymacs/pymacs-0.26-r3.ebuild
index 6969000e028c..d68770ec00be 100644
--- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r3.ebuild
@@ -1,11 +1,10 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 DISTUTILS_IN_SOURCE_BUILD=1
-DISTUTILS_USE_SETUPTOOLS="no"
 
 inherit elisp distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2022-04-20 Thread Sam James
commit: 950a37dcd88d5769412fac0f91c987803717f80a
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 20 21:26:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 20 21:30:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950a37dc

app-emacs/pymacs: drop ~s390

Emacs not keyworded here.

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
index 55d247626659..6969000e028c 100644
--- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ 
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 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
+KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2021-05-23 Thread Ulrich Müller
commit: 16c38e9916bcd02cfff5d842d3b298af9361567f
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun May 23 08:14:57 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun May 23 17:11:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c38e99

app-emacs/pymacs: Support python-3.9

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
index d4393702f09..55d24762665 100644
--- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
@@ -3,9 +3,10 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 DISTUTILS_IN_SOURCE_BUILD=1
 DISTUTILS_USE_SETUPTOOLS="no"
+
 inherit elisp distutils-r1
 
 DESCRIPTION="A tool that allows both-side communication beetween Python and 
Emacs Lisp"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2021-03-03 Thread Sam James
commit: e8c14f917f1a7c6443be60bc55c735f96883e495
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  4 06:43:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar  4 06:43:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c14f91

app-emacs/pymacs: fix MisplacedEclassVar

We should set variables before inheriting eclasses
in case they take action at source-time.

Signed-off-by: Sam James  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r2.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
index 490525cd0be..d4393702f09 100644
--- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
@@ -2,8 +2,10 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
 
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_IN_SOURCE_BUILD=1
+DISTUTILS_USE_SETUPTOOLS="no"
 inherit elisp distutils-r1
 
 DESCRIPTION="A tool that allows both-side communication beetween Python and 
Emacs Lisp"
@@ -21,8 +23,7 @@ BDEPEND="doc? (
)"
 
 S="${WORKDIR}/${P^}"
-DISTUTILS_IN_SOURCE_BUILD=1
-DISTUTILS_USE_SETUPTOOLS="no"
+
 SITEFILE="50${PN}-gentoo.el"
 
 # called by distutils-r1 for every python implementation



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2021-01-06 Thread Fabian Groffen
commit: b107c721a9c5a6326a8895f040e74f274a983e7b
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 13:06:54 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 13:06:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b107c721

app-emacs/pymacs: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
index 9d7f7be117f..4efcb122740 100644
--- a/app-emacs/pymacs/pymacs-0.26-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
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 x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
+KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-09-25 Thread Ulrich Müller
commit: 56079616a2a2545803d68c415d6315e14b2e7f77
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Sep 25 10:21:15 2020 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Sep 25 10:21:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56079616

app-emacs/pymacs: Drop dependency on Python 2.

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/{pymacs-0.26-r1.ebuild => pymacs-0.26-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
similarity index 96%
rename from app-emacs/pymacs/pymacs-0.26-r1.ebuild
rename to app-emacs/pymacs/pymacs-0.26-r2.ebuild
index e2c7ce61bb1..9d7f7be117f 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit elisp distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-05-28 Thread Ulrich Müller
commit: d3731aab29de7dee98b1df80fbee31e1376cc0a3
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu May 28 17:13:12 2020 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu May 28 17:13:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3731aab

app-emacs/pymacs: Remove old.

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 55 -
 1 file changed, 55 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
deleted file mode 100644
index 729dc0e0a76..000
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_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 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-05-28 Thread Agostino Sarubbo
commit: 62bf930aac90f147f8c57eee6098c52ccf694451
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 28 15:44:18 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 28 15:45:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62bf930a

app-emacs/pymacs: x86 stable wrt bug #721740

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
index 2f776715501..e2c7ce61bb1 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -12,7 +12,7 @@ 
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 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
+KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-05-28 Thread Agostino Sarubbo
commit: e050c03f59110900eea4cf258c4059d1252a31a5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 28 15:41:49 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 28 15:41:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e050c03f

app-emacs/pymacs: ppc64 stable wrt bug #721740

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
index 71bc0961846..2f776715501 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -12,7 +12,7 @@ 
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 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
+KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-05-28 Thread Agostino Sarubbo
commit: f78252ed3f2278ed8f6d33ffdbcbf7e49d1f7f53
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 28 15:40:31 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 28 15:40:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78252ed

app-emacs/pymacs: ppc stable wrt bug #721740

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
index 310410cfb01..71bc0961846 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -12,7 +12,7 @@ 
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 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
+KEYWORDS="amd64 arm ~hppa ~ia64 ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-05-28 Thread Agostino Sarubbo
commit: 55a7f9f22b66156897071c43621c0e031fafc853
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 28 15:39:05 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 28 15:39:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a7f9f2

app-emacs/pymacs: arm stable wrt bug #721740

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
index c1468a077be..310410cfb01 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -12,7 +12,7 @@ 
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 ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-05-25 Thread Agostino Sarubbo
commit: 13aa4809996f070d9427774b06ed11467a664fe5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 25 06:28:40 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 25 06:28:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13aa4809

app-emacs/pymacs: amd64 stable wrt bug #721740

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
index 4cf124e76ef..c1468a077be 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -12,7 +12,7 @@ 
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 ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 IUSE="doc"
 
 BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-04-26 Thread Ulrich Müller
commit: c40d720a7d50a8ce5bf24de06c9c04fb2b9e98f0
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Apr 26 13:47:44 2020 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Apr 26 13:48:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40d720a

app-emacs/pymacs: Readd support for python 2.7.

Acked-by: Michał Górny  gentoo.org>
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
index 0ff10a4675c..4cf124e76ef 100644
--- a/app-emacs/pymacs/pymacs-0.26-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
 
 inherit elisp distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-04-19 Thread Ulrich Müller
commit: f290e6b53c2707d45bd6079c373ea99d7a896896
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Apr 19 13:37:44 2020 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Apr 19 13:38:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f290e6b5

app-emacs/pymacs: Add python 3.7 and 3.8 support.

Don't remove the version in pymacs-python-command.
Build PDF documentation with USE=doc (which was commented out).

Closes: https://bugs.gentoo.org/718206
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/pymacs-0.26-r1.ebuild | 47 ++
 1 file changed, 47 insertions(+)

diff --git a/app-emacs/pymacs/pymacs-0.26-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
new file mode 100644
index 000..0ff10a4675c
--- /dev/null
+++ b/app-emacs/pymacs/pymacs-0.26-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~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
+DISTUTILS_USE_SETUPTOOLS="no"
+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
+   distutils-r1_python_install_all
+   dodoc pymacs.rst
+   use doc && dodoc pymacs.pdf
+}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2020-02-11 Thread Michał Górny
commit: 3a4250138992ab31760a55261466c95f58b014ab
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 11:28:00 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 11:38:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a425013

app-emacs/pymacs: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index 43044eefa0f..ee22b01797b 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 inherit elisp distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-12-06 Thread Ulrich Müller
commit: 32a0d9b32d4f4b75130e4dfb6f244fc8eea6ad4d
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Dec  7 07:51:14 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Dec  7 07:56:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a0d9b3

app-emacs/pymacs: Remove old.

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/pymacs/Manifest  |  1 -
 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/app-emacs/pymacs/Manifest b/app-emacs/pymacs/Manifest
index 4be5e29baee..62665456d40 100644
--- a/app-emacs/pymacs/Manifest
+++ b/app-emacs/pymacs/Manifest
@@ -1,2 +1 @@
-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/pymacs-0.25-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
deleted file mode 100644
index e3a1c7e9908..000
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit elisp distutils-r1 vcs-snapshot
-
-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/pinard/Pymacs/tarball/v${PV} -> ${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"
-
-DEPEND="doc? (
-   >=dev-python/docutils-0.7
-   virtual/latex-base )
-"
-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
-   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
-
-   distutils-r1_python_install_all
-   dodoc pymacs.rst
-   use doc && dodoc pymacs.pdf
-}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-11-27 Thread Mikle Kolyada
commit: 69ffcc3860a60c53db6e56ec8ced79b826c1f6fe
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Nov 27 13:07:27 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Nov 27 13:07:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69ffcc38

app-emacs/pymacs: arm stable wrt bug #700156

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index 7198c2b1428..74a77c24337 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 arm ~hppa ia64 ppc ppc64 ~s390 ~sh x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
 #IUSE="doc"
 
 #BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-11-20 Thread Agostino Sarubbo
commit: fa09eda169e610bf27118d823bd4cc17e7cce721
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:34:43 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:34:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa09eda1

app-emacs/pymacs: ia64 stable wrt bug #700156

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index 31e6017358b..7198c2b1428 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm ~hppa ia64 ppc ppc64 ~s390 ~sh x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 #IUSE="doc"
 
 #BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-11-20 Thread Agostino Sarubbo
commit: 41cb8519dcf7b3eeb1ff1e81a631ae612138557f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:27:39 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:27:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41cb8519

app-emacs/pymacs: ppc stable wrt bug #700156

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index db0dd2a52c3..31e6017358b 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 #IUSE="doc"
 
 #BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-11-20 Thread Agostino Sarubbo
commit: cbb846b08a970a889d246f18659e78e5f93990ee
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:20:22 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:20:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb846b0

app-emacs/pymacs: ppc64 stable wrt bug #700156

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index 06354420278..db0dd2a52c3 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~s390 ~sh x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 #IUSE="doc"
 
 #BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-11-19 Thread Agostino Sarubbo
commit: 6f1f5f6980f65170c8ba4955083095a28bde996f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 19 12:48:39 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 19 12:48:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1f5f69

app-emacs/pymacs: x86 stable wrt bug #700156

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index df7a7f94a96..06354420278 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 #IUSE="doc"
 
 #BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-11-18 Thread Agostino Sarubbo
commit: 3054d902555e726a708b4f940e2ad8586b79393f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Nov 18 11:49:36 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Nov 18 11:49:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3054d902

app-emacs/pymacs: amd64 stable wrt bug #700156

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emacs/pymacs/pymacs-0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.26.ebuild 
b/app-emacs/pymacs/pymacs-0.26.ebuild
index 77c813340ae..df7a7f94a96 100644
--- a/app-emacs/pymacs/pymacs-0.26.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 #IUSE="doc"
 
 #BDEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2019-10-16 Thread Ulrich Müller
commit: c5a53853658b5f090600ddb8d99006a9f5cdbab4
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed Oct 16 16:38:00 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed Oct 16 16:58:48 2019 +
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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2018-02-20 Thread Patrice Clement
commit: 50cc464408c3d890c5cea53644af6cc867e47a7d
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Feb 15 11:58:17 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Feb 20 20:54:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50cc4644

app-emacs/pymacs: use HTTPS.

 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.25-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
index 0addbbfa34d..edc51a95f82 100644
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 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;
+HOMEPAGE="https://www.emacswiki.org/emacs/PyMacs;
 SRC_URI="https://github.com/pinard/Pymacs/tarball/v${PV} -> ${P}.tar.gz"
 
 LICENSE="GPL-2+"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2017-09-29 Thread Michael Palimaka
commit: 67544df2ff115da1423aa7fb52c38e471a9fbbe4
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Sep 30 03:14:24 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep 30 03:14:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67544df2

app-emacs/pymacs: remove 0.25-r1

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-emacs/pymacs/pymacs-0.25-r1.ebuild | 44 --
 1 file changed, 44 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.25-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
deleted file mode 100644
index f95fc39af8c..000
--- a/app-emacs/pymacs/pymacs-0.25-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,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 ~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
-   distutils-r1_python_install_all
-   dodoc pymacs.rst
-   use doc && dodoc pymacs.pdf
-}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2017-07-05 Thread Markus Meier
commit: 8c2f82df513427c738682363e7828e3dab126de8
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Jul  6 05:01:53 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Jul  6 05:01:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2f82df

app-emacs/pymacs: arm stable, bug #616230

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.25-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
index 5b002cc5e14..efc09de59cb 100644
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -12,7 +12,7 @@ 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 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 arm ~hppa ia64 ~ppc ~ppc64 ~s390 ~sh x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="doc"
 
 DEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2017-06-25 Thread Sergei Trofimovich
commit: d1d2c0fa1ff79fef93817a2f877476a6ce481277
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 25 08:20:52 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 25 08:25:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d2c0fa

app-emacs/pymacs: ia64 stable, bug #616230

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/pymacs/pymacs-0.25-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
index 447e72f1819..d195e590b04 100644
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -12,7 +12,7 @@ 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 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="doc"
 
 DEPEND="doc? (



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2017-04-21 Thread Pacho Ramos
commit: ba2de7dab3dee7419cfe6209020f1b55d4f01756
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Apr 21 16:47:50 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Apr 21 17:36:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2de7da

app-emacs/pymacs: Support newer python

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.25-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
index b9eb60f4916..447e72f1819 100644
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit elisp distutils-r1 vcs-snapshot
 
@@ -15,8 +15,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="doc"
 
-DEPEND="doc? ( >=dev-python/docutils-0.7
-   virtual/latex-base )"
+DEPEND="doc? (
+   >=dev-python/docutils-0.7
+   virtual/latex-base )
+"
 RDEPEND=""
 
 DISTUTILS_IN_SOURCE_BUILD=1



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2017-01-29 Thread Fabian Groffen
commit: bdf2d14b832646b775a0a4d233c07b48241810ed
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 14:41:47 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 14:41:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf2d14b

app-emacs/pymacs: dropped ~x86-freebsd

Package-Manager: portage-2.3.3

 app-emacs/pymacs/pymacs-0.25-r1.ebuild | 4 ++--
 app-emacs/pymacs/pymacs-0.25-r2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-emacs/pymacs/pymacs-0.25-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
index 21b4cc8..6332854 100644
--- a/app-emacs/pymacs/pymacs-0.25-r1.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos"
 IUSE="doc"
 
 DEPEND="doc? ( >=dev-python/docutils-0.7

diff --git a/app-emacs/pymacs/pymacs-0.25-r2.ebuild 
b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
index 07a2fe9..a039a68 100644
--- a/app-emacs/pymacs/pymacs-0.25-r2.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="doc"
 
 DEPEND="doc? ( >=dev-python/docutils-0.7



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2016-10-09 Thread Pacho Ramos
commit: 2082ee15bb57dcb23d1043d18e7f6a0ce56f585c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Oct  9 07:49:43 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Oct  9 07:55:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2082ee15

app-emacs/pymacs: Drop old

Package-Manager: portage-2.3.1

 app-emacs/pymacs/Manifest  |  1 -
 app-emacs/pymacs/pymacs-0.23-r1.ebuild | 53 --
 2 files changed, 54 deletions(-)

diff --git a/app-emacs/pymacs/Manifest b/app-emacs/pymacs/Manifest
index 0ad92dc..e9bd827 100644
--- a/app-emacs/pymacs/Manifest
+++ b/app-emacs/pymacs/Manifest
@@ -1,2 +1 @@
-DIST Pymacs-0.23.tar.gz 92161 SHA256 
eb419e307c9670ac5ad76de44c8803bd91ff0a1a8d6b6035fa4d0427a85f5163 SHA512 
c07cc4fa75ca3f03a517563172c9647f1f8402bfe7cdac45aa285c838fe15ab4fd08cb2a0364d985fc4d0ad5670436c4f2c6fa81efe1424b10d2a430699308d3
 WHIRLPOOL 
5477b4eaf9c134f80101be9a83c2285d8105aeaa189e4f39190abb024073e942c660fe74eff2defb42f5422d64fe73cb24b8e206c53f624aec0e1a9795db4f58
 DIST pymacs-0.25.tar.gz 120597 SHA256 
51dc21b33316e6e244e78e5e88d8ae9a88afc0dcef34ba702ea9be589839bec2 SHA512 
e17f7ee754413e21403d23894ee263fb0edae180a60c746b02cf101b2f0c782116e7bb61215bd0a8c689a991e211d780d220d4672b58f43108e7218a6f0c8dc0
 WHIRLPOOL 
90a211d1b62387e05deb759786fd82eeed23c1800307f1345e1c06c579c0455480433c24fda34a881f887595e169076a6ed56f6e8774933f0431aa96940e0152

diff --git a/app-emacs/pymacs/pymacs-0.23-r1.ebuild 
b/app-emacs/pymacs/pymacs-0.23-r1.ebuild
deleted file mode 100644
index 3172e9a..
--- a/app-emacs/pymacs/pymacs-0.23-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit distutils elisp
-
-MY_P=Pymacs-${PV}
-DESCRIPTION="A tool that allows both-side communication beetween Python and 
Emacs Lisp"
-HOMEPAGE="http://pymacs.progiciels-bpi.ca/;
-SRC_URI="http://pymacs.progiciels-bpi.ca/archives/${MY_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"
-
-# additional doc? dependencies for multirow.sty and aeguill.sty (bug 247703)
-DEPEND="
-   doc? ( dev-python/docutils
-   virtual/latex-base
-   dev-texlive/texlive-latexextra
-   dev-texlive/texlive-langfrench )"
-RDEPEND=""
-
-SITEFILE=50${PN}-gentoo.el
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   python_set_active_version 2
-}
-
-src_compile() {
-   emake || die "emake failed"
-   elisp-compile pymacs.el || die "elisp-compile failed"
-   if use doc; then
-   VARTEXFONTS="${T}"/fonts \
-   emake pymacs.pdf || die "emake pymacs.pdf failed"
-   fi
-}
-
-src_install() {
-   elisp_src_install
-   distutils_src_install
-   dodoc THANKS pymacs.rst
-   if use doc; then
-   insinto /usr/share/doc/${PF}
-   doins pymacs.pdf
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2016-01-25 Thread Justin Lecher
commit: 1e2643d7d16cf3d38cd125a2964feed3df78dca6
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Jan 25 07:53:34 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Jan 25 07:53:34 2016 +
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  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 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-  gnu-em...@gentoo.org
-  Gentoo GNU Emacs project
-
-
-  pyt...@gentoo.org
-  Python
-
-
-  pinard/Pymacs
-
+  
+gnu-em...@gentoo.org
+Gentoo GNU Emacs project
+  
+  
+pyt...@gentoo.org
+Python
+  
+  
+pinard/Pymacs
+  
 

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



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2016-01-25 Thread Ulrich Müller
commit: fcd72c6bc56511683f652f78f8601df30e6f7799
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Jan 25 08:58:23 2016 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Jan 25 08:58:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd72c6b

app-emacs/pymacs: Whitespace.

Package-Manager: portage-2.2.26

 app-emacs/pymacs/metadata.xml | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/app-emacs/pymacs/metadata.xml b/app-emacs/pymacs/metadata.xml
index 1a14634..f928f5e 100644
--- a/app-emacs/pymacs/metadata.xml
+++ b/app-emacs/pymacs/metadata.xml
@@ -1,15 +1,15 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-gnu-em...@gentoo.org
-Gentoo GNU Emacs project
-  
-  
-pyt...@gentoo.org
-Python
-  
-  
-pinard/Pymacs
-  
+
+  gnu-em...@gentoo.org
+  Gentoo GNU Emacs project
+
+
+  pyt...@gentoo.org
+  Python
+
+
+  pinard/Pymacs
+
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/

2016-01-22 Thread Justin Lecher
commit: 9fca248aac5224ebcaef59eb88a50d831eb3e495
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Jan 22 12:03:06 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Jan 22 12:03:14 2016 +
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  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 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-emacs
-python
-
-  pinard/Pymacs
-
+  emacs
+  python
+  
+pinard/Pymacs
+  
 

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 000..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
+}