[Python-modules-commits] r29769 - in packages/pymacs/trunk (16 files)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Wed Jul 16 08:52:27 UTC 2014


    Date: Wednesday, July 16, 2014 @ 08:52:26
  Author: arnau
Revision: 29769

[svn-inject] Applying Debian modifications (0.23-1.2) to trunk

Added:
  packages/pymacs/trunk/debian/
  packages/pymacs/trunk/debian/changelog
  packages/pymacs/trunk/debian/compat
  packages/pymacs/trunk/debian/control
  packages/pymacs/trunk/debian/copyright
  packages/pymacs/trunk/debian/emacs_startup
  packages/pymacs/trunk/debian/pymacs.dirs
  packages/pymacs/trunk/debian/pymacs.docs
  packages/pymacs/trunk/debian/pymacs.emacsen-install
  packages/pymacs/trunk/debian/pymacs.emacsen-remove
  packages/pymacs/trunk/debian/pymacs.emacsen-startup
  packages/pymacs/trunk/debian/pymacs.install
  packages/pymacs/trunk/debian/pymacs.postinst
  packages/pymacs/trunk/debian/pymacs.prerm
  packages/pymacs/trunk/debian/rules
  packages/pymacs/trunk/debian/watch


Property changes on: packages/pymacs/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/pymacs/trunk/debian/changelog
===================================================================
--- packages/pymacs/trunk/debian/changelog	                        (rev 0)
+++ packages/pymacs/trunk/debian/changelog	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,100 @@
+pymacs (0.23-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Convert to dh_python2. (Closes: #616970)
+
+ -- Andrea Colangelo <warp10 at ubuntu.com>  Fri, 28 Jun 2008 17:48:12 +0200
+
+pymacs (0.23-1.1) unstable; urgency=low
+
+  * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490489.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 18 Jul 2008 15:47:17 +0000
+
+pymacs (0.23-1) unstable; urgency=low
+
+  * New upstream release
+    - fixes the debian/watch issue (closes: #449704)
+    - updates the documentation (closes: #306459)
+    - fix an issue with callback functions (closes: 374709)
+  * Updated to new policy (no changes required)
+  * dropped versioned packages (pythonX.X-pymacs) stanzas in
+    debian/control (they are only in old-stable) (closes: #399936)
+  * moved Homepage to source package header
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Mon, 18 Feb 2008 12:46:15 +0100
+
+pymacs (0.22-6) unstable; urgency=low
+
+  * Updated to new Python policy
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Thu, 15 Jun 2006 15:21:07 +0200
+
+pymacs (0.22-5) unstable; urgency=low
+
+  * updated standards to 3.7.2
+  * use debhelper 5.0
+  * add missing dependency on emacsen-common
+  * fixed a few lintian warnings and errors
+  * fixed package short description
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Tue, 30 May 2006 14:54:29 +0200
+
+pymacs (0.22-4) unstable; urgency=low
+
+  * Removed python2.X-pymacs packages in favor of a single package
+    installing in /usr/lib/site-python, and thus available through any
+    version of the python interpreter (closes: #351132, #334253)
+  * Changed executable shebangs in diff.gz rather than in debian/rules
+  * Added encoding declaration in Pymacs/__init__.py and Pymacs/pymacs.py
+  * updated FSF address in debian/copyright
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Tue,  7 Feb 2006 18:14:47 +0100
+
+pymacs (0.22-3) unstable; urgency=low
+
+  * added debian/watch file
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Wed,  6 Oct 2004 19:45:10 +0200
+
+pymacs (0.22-2) unstable; urgency=low
+
+  * fixed typo in package description (closes: #265417)
+  * updated maintainer email address
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Sun, 15 Aug 2004 08:52:06 +0200
+
+pymacs (0.22-1) unstable; urgency=low
+
+  * new upstream release
+  * new maintainer
+  * reverted to manually installing pymacs.el 
+  * added documentation to pymacs package
+  * first actual upload to Debian (closes: #254960)
+
+ -- Alexandre Fayolle <alexandre.fayolle at logilab.fr>  Thu, 29 Jul 2004 14:39:29 +0200
+
+pymacs (0.21-4) unstable; urgency=low
+
+  * remove old emacsen files
+  * minor style changes in postinst and prerm
+
+ -- Sylvain Thénault <sylvain.thenault at logilab.fr>  Mon,  6 Oct 2003 10:28:32 +0200
+
+pymacs (0.21-3) unstable; urgency=low
+
+  * install pymacs.el using the provided setup script
+
+ -- Sylvain Thénault <sylvain.thenault at logilab.fr>  Tue, 18 Sep 2003 14:16:07 +0200
+
+pymacs (0.21.0-2) unstable; urgency=low
+
+  * Update packaging information
+
+ -- Sylvain Thénault <sylvain.thenault at logilab.fr>  Tue, 10 Jun 2003 15:39:04 +0200
+
+pymacs (0.21.0-1) unstable; urgency=low
+
+  * Debian packaging
+
+ -- Sylvain Thénault <sylvain.thenault at logilab.fr>  Tue, 25 Feb 2003 15:32:16 +0100

Added: packages/pymacs/trunk/debian/compat
===================================================================
--- packages/pymacs/trunk/debian/compat	                        (rev 0)
+++ packages/pymacs/trunk/debian/compat	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1 @@
+6

Added: packages/pymacs/trunk/debian/control
===================================================================
--- packages/pymacs/trunk/debian/control	                        (rev 0)
+++ packages/pymacs/trunk/debian/control	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,22 @@
+Source: pymacs
+Section: python
+Priority: optional
+Homepage: http://pymacs.progiciels-bpi.ca/
+Maintainer: Alexandre Fayolle <afayolle at debian.org> 
+Build-Depends: debhelper (>= 5.0.37.1), python (>=2.6.6-3~), python-dev (>=2.6.6-3~), python-docutils
+Standards-Version: 3.7.3
+
+Package: pymacs
+Architecture: all
+Depends: ${python:Depends}, emacsen-common
+Description: interface between Emacs Lisp and Python
+ Pymacs is a powerful tool which, once started from Emacs, allows
+ both-way communication between Emacs Lisp and Python. Pymacs aims
+ Python as an extension language for Emacs rather than the other way
+ around, and this asymmetry is reflected in some design
+ choices. Within Emacs Lisp code, one may load and use Python
+ modules. Python functions may themselves use Emacs services, and
+ handle Emacs Lisp objects kept in Emacs Lisp space.
+
+ 
+

Added: packages/pymacs/trunk/debian/copyright
===================================================================
--- packages/pymacs/trunk/debian/copyright	                        (rev 0)
+++ packages/pymacs/trunk/debian/copyright	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,35 @@
+-*- coding: utf-8 -*-
+This package was debianized by Sylvain Thénault
+<sylvain.thenault at logilab.fr> Sat, 13 Apr 2002 19:05:23 +0200.
+
+It was taken over by Alexandre Fayolle <afayolle at debian.org>
+on Tue, 20 Jul 2004 10:06:51 +0200
+
+It was downloaded from http://pymacs.progiciels-bpi.ca/archives/
+
+Upstream Author: 
+
+  François Pinard <pinard at iro.umontreal.ca>
+
+Copyright:
+
+Copyright © 2001-2003 Progiciels Bourbeau-Pinard inc.
+-François Pinard <pinard at iro.umontreal.ca>, 2001.
+
+
+This program is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation; either version 2 of the License, or (at your option) any later
+version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public License
+may be found in '/usr/share/common-licenses/GPL'.
+

Added: packages/pymacs/trunk/debian/emacs_startup
===================================================================
--- packages/pymacs/trunk/debian/emacs_startup	                        (rev 0)
+++ packages/pymacs/trunk/debian/emacs_startup	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,22 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux %PACKAGE% package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The %PACKAGE% package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (cons (concat "/usr/share/"
+                              (symbol-name flavor)
+                              "/site-lisp/%PACKAGE%") load-path))
+
+;; Pymacs
+
+(autoload 'pymacs-load "pymacs" nil t) 
+(autoload 'pymacs-eval "pymacs" nil t) 
+(autoload 'pymacs-apply "pymacs") 

Added: packages/pymacs/trunk/debian/pymacs.dirs
===================================================================
--- packages/pymacs/trunk/debian/pymacs.dirs	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.dirs	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1 @@
+usr/share/emacs/site-lisp/pymacs

Added: packages/pymacs/trunk/debian/pymacs.docs
===================================================================
--- packages/pymacs/trunk/debian/pymacs.docs	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.docs	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,3 @@
+THANKS
+TODO
+README

Added: packages/pymacs/trunk/debian/pymacs.emacsen-install
===================================================================
--- packages/pymacs/trunk/debian/pymacs.emacsen-install	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.emacsen-install	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/#PACKAGE#
+
+# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=pymacs
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0

Added: packages/pymacs/trunk/debian/pymacs.emacsen-remove
===================================================================
--- packages/pymacs/trunk/debian/pymacs.emacsen-remove	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.emacsen-remove	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+FLAVOR=$1
+PACKAGE=pymacs
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi

Added: packages/pymacs/trunk/debian/pymacs.emacsen-startup
===================================================================
--- packages/pymacs/trunk/debian/pymacs.emacsen-startup	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.emacsen-startup	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,22 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux pymacs package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The pymacs follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (cons (concat "/usr/share/"
+                              (symbol-name flavor)
+                              "/site-lisp/pymacs") load-path))
+
+;; Pymacs
+
+(autoload 'pymacs-load "pymacs" nil t) 
+(autoload 'pymacs-eval "pymacs" nil t) 
+(autoload 'pymacs-apply "pymacs") 

Added: packages/pymacs/trunk/debian/pymacs.install
===================================================================
--- packages/pymacs/trunk/debian/pymacs.install	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.install	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,4 @@
+pymacs.el usr/share/emacs/site-lisp/pymacs
+contrib usr/share/doc/pymacs
+pymacs.html usr/share/doc/pymacs/html
+

Added: packages/pymacs/trunk/debian/pymacs.postinst
===================================================================
--- packages/pymacs/trunk/debian/pymacs.postinst	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.postinst	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,5 @@
+#! /bin/sh -e
+
+#DEBHELPER#
+
+exit 0

Added: packages/pymacs/trunk/debian/pymacs.prerm
===================================================================
--- packages/pymacs/trunk/debian/pymacs.prerm	                        (rev 0)
+++ packages/pymacs/trunk/debian/pymacs.prerm	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,9 @@
+#! /bin/sh -e
+#
+# sample prerm script for Debian python packages.
+# Written 1998 by Gregor Hoffleit <flight at debian.org>.
+#
+
+#DEBHELPER#
+
+exit 0

Added: packages/pymacs/trunk/debian/rules
===================================================================
--- packages/pymacs/trunk/debian/rules	                        (rev 0)
+++ packages/pymacs/trunk/debian/rules	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: DH_OPTIONS=
+build: build-stamp
+build-stamp: 
+	dh_testdir
+	python setup.py -q build
+	rst2html pymacs.rst pymacs.html
+	touch build-stamp
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	rm -rf build
+	rm -rf debian/pymacs/
+	find . -name "*.pyc" | xargs rm -f
+	rm -f Pymacs/__init__.py pymacs.el pymacs.rst pymacs.html
+	rm -f contrib/Giorgi/setup.py contrib/Giorgi/Pymacs/__init__.py 
+	rm -f contrib/rebox/setup.py contrib/rebox/Pymacs/__init__.py 
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	python setup.py -q install --no-compile --prefix=debian/pymacs/usr 
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i 
+	dh_testroot -i
+	dh_install -i
+	for f in `find debian/pymacs -name "*.py"` ; do if head -1 $$f | grep -q '^\#\!' ; then echo $$f ; tail -n +2 $$f > dummy ; mv dummy $$f ; fi ; done
+	dh_installemacsen -i
+#	gzip -9 -c ChangeLog > changelog.gz
+	dh_installdocs -i 
+	dh_installchangelogs -i ChangeLog
+	dh_python2 -i
+	dh_link -i
+	dh_compress -i -X.py
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch:
+
+binary: binary-indep 
+.PHONY: build clean  binary-indep binary binary-arch
+


Property changes on: packages/pymacs/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/pymacs/trunk/debian/watch
===================================================================
--- packages/pymacs/trunk/debian/watch	                        (rev 0)
+++ packages/pymacs/trunk/debian/watch	2014-07-16 08:52:26 UTC (rev 29769)
@@ -0,0 +1,2 @@
+version=2
+http://pymacs.progiciels-bpi.ca/archives/Pymacs-(.*)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list