summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-08-08 07:09:17 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-08-08 07:09:17 +0000
commit90848b4d6e17e4dc1b311904dcaeaef517c9baca (patch)
treeec514aab1954375df480974ba965471ec7b1fefa /app-emacs/pymacs
parentStable on ppc64; bug #143093 (diff)
downloadgentoo-2-90848b4d6e17e4dc1b311904dcaeaef517c9baca.tar.gz
gentoo-2-90848b4d6e17e4dc1b311904dcaeaef517c9baca.tar.bz2
gentoo-2-90848b4d6e17e4dc1b311904dcaeaef517c9baca.zip
Correct character encoding in Python source files; Resolves Bug #97943.
(Portage version: 2.1.1_pre4-r3)
Diffstat (limited to 'app-emacs/pymacs')
-rw-r--r--app-emacs/pymacs/ChangeLog10
-rw-r--r--app-emacs/pymacs/files/0.22-character-encoding-gentoo.patch27
-rw-r--r--app-emacs/pymacs/files/digest-pymacs-0.222
-rw-r--r--app-emacs/pymacs/files/digest-pymacs-0.22-r13
-rw-r--r--app-emacs/pymacs/pymacs-0.22-r1.ebuild40
5 files changed, 80 insertions, 2 deletions
diff --git a/app-emacs/pymacs/ChangeLog b/app-emacs/pymacs/ChangeLog
index 62029c82c117..d63c0dd15093 100644
--- a/app-emacs/pymacs/ChangeLog
+++ b/app-emacs/pymacs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/pymacs
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/ChangeLog,v 1.9 2005/07/11 18:30:46 mkennedy Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/ChangeLog,v 1.10 2006/08/08 07:09:17 mkennedy Exp $
+
+*pymacs-0.22-r1 (08 Aug 2006)
+
+ 08 Aug 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/0.22-character-encoding-gentoo.patch, +pymacs-0.22-r1.ebuild:
+ Correct character encoding in Python source files; Resolves Bug #97943.
11 Jul 2005; Matthew Kennedy <mkennedy@gentoo.org>
files/50pymacs-gentoo.el:
diff --git a/app-emacs/pymacs/files/0.22-character-encoding-gentoo.patch b/app-emacs/pymacs/files/0.22-character-encoding-gentoo.patch
new file mode 100644
index 000000000000..0a5a7bfaf9c4
--- /dev/null
+++ b/app-emacs/pymacs/files/0.22-character-encoding-gentoo.patch
@@ -0,0 +1,27 @@
+diff -ur Pymacs-0.22.orig/Pymacs/Rebox/rebox.py Pymacs-0.22/Pymacs/Rebox/rebox.py
+--- Pymacs-0.22.orig/Pymacs/Rebox/rebox.py 2002-11-13 18:01:02.000000000 -0600
++++ Pymacs-0.22/Pymacs/Rebox/rebox.py 2006-08-08 02:04:47.000000000 -0500
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: Latin-1 -*-
+ # Copyright © 1991-1998, 2000, 2002 Progiciels Bourbeau-Pinard inc.
+ # François Pinard <pinard@iro.umontreal.ca>, April 1991.
+
+diff -ur Pymacs-0.22.orig/Pymacs/__init__.py Pymacs-0.22/Pymacs/__init__.py
+--- Pymacs-0.22.orig/Pymacs/__init__.py 2003-05-17 13:57:07.000000000 -0500
++++ Pymacs-0.22/Pymacs/__init__.py 2006-08-08 02:05:05.000000000 -0500
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: Latin-1 -*-
+ # Copyright © 2002, 2003 Progiciels Bourbeau-Pinard inc.
+ # François Pinard <pinard@iro.umontreal.ca>, 2002.
+
+diff -ur Pymacs-0.22.orig/Pymacs/pymacs.py Pymacs-0.22/Pymacs/pymacs.py
+--- Pymacs-0.22.orig/Pymacs/pymacs.py 2003-05-16 13:03:07.000000000 -0500
++++ Pymacs-0.22/Pymacs/pymacs.py 2006-08-08 02:05:12.000000000 -0500
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: Latin-1 -*-
+ # Copyright © 2001, 2002, 2003 Progiciels Bourbeau-Pinard inc.
+ # François Pinard <pinard@iro.umontreal.ca>, 2001.
+
diff --git a/app-emacs/pymacs/files/digest-pymacs-0.22 b/app-emacs/pymacs/files/digest-pymacs-0.22
index 28e0f2c4465f..c6be0e5cc046 100644
--- a/app-emacs/pymacs/files/digest-pymacs-0.22
+++ b/app-emacs/pymacs/files/digest-pymacs-0.22
@@ -1 +1,3 @@
MD5 73b7a641be100fd90a9be59ecf01fd98 Pymacs-0.22.tar.gz 363119
+RMD160 bb74fe8724f6c2a579724114356a2c49673d17fc Pymacs-0.22.tar.gz 363119
+SHA256 71b465f81366a4bea4a519781e1d9cb1ad067280e86f9b385d57b74c32bf7a75 Pymacs-0.22.tar.gz 363119
diff --git a/app-emacs/pymacs/files/digest-pymacs-0.22-r1 b/app-emacs/pymacs/files/digest-pymacs-0.22-r1
new file mode 100644
index 000000000000..c6be0e5cc046
--- /dev/null
+++ b/app-emacs/pymacs/files/digest-pymacs-0.22-r1
@@ -0,0 +1,3 @@
+MD5 73b7a641be100fd90a9be59ecf01fd98 Pymacs-0.22.tar.gz 363119
+RMD160 bb74fe8724f6c2a579724114356a2c49673d17fc Pymacs-0.22.tar.gz 363119
+SHA256 71b465f81366a4bea4a519781e1d9cb1ad067280e86f9b385d57b74c32bf7a75 Pymacs-0.22.tar.gz 363119
diff --git a/app-emacs/pymacs/pymacs-0.22-r1.ebuild b/app-emacs/pymacs/pymacs-0.22-r1.ebuild
new file mode 100644
index 000000000000..0299d3048a6c
--- /dev/null
+++ b/app-emacs/pymacs/pymacs-0.22-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/pymacs-0.22-r1.ebuild,v 1.1 2006/08/08 07:09:17 mkennedy Exp $
+
+inherit distutils elisp eutils
+
+DESCRIPTION="Pymacs is 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/${P/pymacs/Pymacs}.tar.gz"
+
+DEPEND="virtual/emacs
+ virtual/python"
+LICENSE="as-is"
+IUSE="doc"
+SLOT="0"
+KEYWORDS="~x86 ~ppc-macos ~amd64 ~ppc"
+
+S=${WORKDIR}/Pymacs-${PV}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-character-encoding-gentoo.patch
+}
+
+src_compile() {
+ distutils_src_compile
+ elisp-compile pymacs.el
+}
+
+src_install() {
+ elisp-install ${PN} pymacs.el pymacs.elc
+ elisp-site-file-install ${FILESDIR}/50pymacs-gentoo.el
+ distutils_src_install
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins ./pymacs.pdf
+ fi
+ cd ${S}
+ dodoc PKG-INFO MANIFEST README THANKS TODO THANKS-rebox ChangeLog ChangeLog-rebox
+}