[Python-modules-commits] r29771 - in packages/pymacs/trunk/debian (24 files)
arnau at users.alioth.debian.org
arnau at users.alioth.debian.org
Wed Jul 16 09:15:50 UTC 2014
Date: Wednesday, July 16, 2014 @ 09:15:49
Author: arnau
Revision: 29771
New pymacs upstream release (0.25).
Added:
packages/pymacs/trunk/debian/dirs
packages/pymacs/trunk/debian/docs
packages/pymacs/trunk/debian/emacsen-compat
packages/pymacs/trunk/debian/emacsen-install
packages/pymacs/trunk/debian/emacsen-remove
packages/pymacs/trunk/debian/emacsen-startup
packages/pymacs/trunk/debian/install
packages/pymacs/trunk/debian/source/
packages/pymacs/trunk/debian/source/format
Modified:
packages/pymacs/trunk/debian/changelog
packages/pymacs/trunk/debian/compat
packages/pymacs/trunk/debian/control
packages/pymacs/trunk/debian/copyright
packages/pymacs/trunk/debian/rules
packages/pymacs/trunk/debian/watch
Deleted:
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
Modified: packages/pymacs/trunk/debian/changelog
===================================================================
--- packages/pymacs/trunk/debian/changelog 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/changelog 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,3 +1,34 @@
+pymacs (0.25-1) unstable; urgency=low
+
+ * New upstream release. Closes: #673219.
+ * d/control:
+ + Update Homepage field.
+ + Take over maintainership with previous maintainer ACK.
+ + Add Python Modules Team to Uploaders and corresponding Vcs-* fields.
+ + Bump Standards-Version to 3.9.5.
+ - d/copyright: Switch to machine-readable format.
+ + Add missing X-Python-Version.
+ + Add ${misc:Depends} to Depends (lintian).
+ + Use python-all rather than python-dev (no extension being built).
+ * d/source/format: Added and now using 3.0 (quilt).
+ * d/pymacs.postinst,d/pymacs.prerm: Useless (empty).
+ * d/emacs_startup: Dropped (not used).
+ * d/rules:
+ + Switch to dh.
+ - d/control,d/compat: Require debhelper >= 8.
+ + Use pybuild.
+ - d/control: Add Build-Depends against dh-python.
+ * debian/watch: Update download URL.
+ * Follow Debian Emacs Policy:
+ + d/emacsen-compat: Set emacsen-common compat level to 0.
+ + d/emacsen-startup: Properly set up load-path. Thanks to Darren
+ Hoo. Closes: #565173.
+ + d/emacsen-install: Use symlinks rather than copying *.el and do not
+ delete them after byte-compilation (required for the help
+ system). Thanks to Kevin Ryde. Closes: #689464.
+
+ -- Arnaud Fontaine <arnau at debian.org> Wed, 05 Feb 2014 17:00:33 +0900
+
pymacs (0.23-1.2) unstable; urgency=low
* Non-maintainer upload.
@@ -68,7 +99,7 @@
* new upstream release
* new maintainer
- * reverted to manually installing pymacs.el
+ * reverted to manually installing pymacs.el
* added documentation to pymacs package
* first actual upload to Debian (closes: #254960)
Modified: packages/pymacs/trunk/debian/compat
===================================================================
--- packages/pymacs/trunk/debian/compat 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/compat 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1 +1 @@
-6
+8
Modified: packages/pymacs/trunk/debian/control
===================================================================
--- packages/pymacs/trunk/debian/control 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/control 2014-07-16 09:15:49 UTC (rev 29771)
@@ -2,13 +2,23 @@
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
+Maintainer: Arnaud Fontaine <arnau at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 8),
+ python (>= 2.6.6-3~),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-docutils
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pymacs/trunk/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pymacs/trunk/
+X-Python-Version: >= 2.5
Package: pymacs
Architecture: all
-Depends: ${python:Depends}, emacsen-common
+Depends: ${python:Depends},
+ ${misc:Depends},
+ emacsen-common (>= 2.0.8)
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
@@ -17,6 +27,3 @@
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.
-
-
-
Modified: packages/pymacs/trunk/debian/copyright
===================================================================
--- packages/pymacs/trunk/debian/copyright 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/copyright 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,35 +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.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Pymacs
+Upstream-Contact: François Pinard <pinard at iro.umontreal.ca>
+Source: https://github.com/pinard/Pymacs/releases
-It was taken over by Alexandre Fayolle <afayolle at debian.org>
-on Tue, 20 Jul 2004 10:06:51 +0200
+Files: *
+Copyright: 2002-2003 Progiciels Bourbeau-Pinard inc. François Pinard <pinard at iro.umontreal.ca>, 2002.
+License: GPL-2+
-It was downloaded from http://pymacs.progiciels-bpi.ca/archives/
+Files: contrib/Giorgi/Pymacs/utility.py
+Copyright: 2007 Giovanni Giorgi <jj at objectsroot.com>
+License: GPL-2+
-Upstream Author:
+Files: debian/*
+Copyright: 2003-2004 Sylvain Thénault <sylvain.thenault at logilab.fr>
+ 2004-2014 Alexandre Fayolle <afayolle at debian.org>
+ 2014 Arnaud Fontaine <arnau at debian.org>
+License: GPL-2+
- 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'.
-
+License: GPL-2+
+ 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-2'.
Added: packages/pymacs/trunk/debian/dirs
===================================================================
--- packages/pymacs/trunk/debian/dirs (rev 0)
+++ packages/pymacs/trunk/debian/dirs 2014-07-16 09:15:49 UTC (rev 29771)
@@ -0,0 +1 @@
+usr/share/emacs/site-lisp/pymacs
Added: packages/pymacs/trunk/debian/docs
===================================================================
--- packages/pymacs/trunk/debian/docs (rev 0)
+++ packages/pymacs/trunk/debian/docs 2014-07-16 09:15:49 UTC (rev 29771)
@@ -0,0 +1,4 @@
+THANKS
+TODO
+README
+contrib
Deleted: packages/pymacs/trunk/debian/emacs_startup
===================================================================
--- packages/pymacs/trunk/debian/emacs_startup 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/emacs_startup 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,22 +0,0 @@
-;; -*-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/emacsen-compat
===================================================================
--- packages/pymacs/trunk/debian/emacsen-compat (rev 0)
+++ packages/pymacs/trunk/debian/emacsen-compat 2014-07-16 09:15:49 UTC (rev 29771)
@@ -0,0 +1 @@
+0
Added: packages/pymacs/trunk/debian/emacsen-install
===================================================================
--- packages/pymacs/trunk/debian/emacsen-install (rev 0)
+++ packages/pymacs/trunk/debian/emacsen-install 2014-07-16 09:15:49 UTC (rev 29771)
@@ -0,0 +1,47 @@
+#! /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`
+cd ${ELCDIR}
+for i in ${FILES}; do
+ ln -fs "/usr/share/emacs/site-lisp/${PACKAGE}/${i}"
+done
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f path.el
+
+exit 0
Property changes on: packages/pymacs/trunk/debian/emacsen-install
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pymacs/trunk/debian/emacsen-remove
===================================================================
--- packages/pymacs/trunk/debian/emacsen-remove (rev 0)
+++ packages/pymacs/trunk/debian/emacsen-remove 2014-07-16 09:15:49 UTC (rev 29771)
@@ -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/emacsen-startup
===================================================================
--- packages/pymacs/trunk/debian/emacsen-startup (rev 0)
+++ packages/pymacs/trunk/debian/emacsen-startup 2014-07-16 09:15:49 UTC (rev 29771)
@@ -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:
+
+(let ((package-dir (concat "/usr/share/"
+ (symbol-name flavor)
+ "/site-lisp/emms")))
+ (when (file-directory-p package-dir)
+ (debian-pkg-add-load-path-item package-dir)
+ (autoload 'pymacs-load "pymacs" nil t)
+ (autoload 'pymacs-eval "pymacs" nil t)
+ (autoload 'pymacs-apply "pymacs")))
Added: packages/pymacs/trunk/debian/install
===================================================================
--- packages/pymacs/trunk/debian/install (rev 0)
+++ packages/pymacs/trunk/debian/install 2014-07-16 09:15:49 UTC (rev 29771)
@@ -0,0 +1,2 @@
+pymacs.el usr/share/emacs/site-lisp/pymacs
+pymacs.html usr/share/doc/pymacs/html
\ No newline at end of file
Deleted: packages/pymacs/trunk/debian/pymacs.dirs
===================================================================
--- packages/pymacs/trunk/debian/pymacs.dirs 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.dirs 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1 +0,0 @@
-usr/share/emacs/site-lisp/pymacs
Deleted: packages/pymacs/trunk/debian/pymacs.docs
===================================================================
--- packages/pymacs/trunk/debian/pymacs.docs 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.docs 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,3 +0,0 @@
-THANKS
-TODO
-README
Deleted: packages/pymacs/trunk/debian/pymacs.emacsen-install
===================================================================
--- packages/pymacs/trunk/debian/pymacs.emacsen-install 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.emacsen-install 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,45 +0,0 @@
-#! /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
Deleted: packages/pymacs/trunk/debian/pymacs.emacsen-remove
===================================================================
--- packages/pymacs/trunk/debian/pymacs.emacsen-remove 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.emacsen-remove 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,14 +0,0 @@
-#!/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
Deleted: packages/pymacs/trunk/debian/pymacs.emacsen-startup
===================================================================
--- packages/pymacs/trunk/debian/pymacs.emacsen-startup 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.emacsen-startup 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,22 +0,0 @@
-;; -*-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")
Deleted: packages/pymacs/trunk/debian/pymacs.install
===================================================================
--- packages/pymacs/trunk/debian/pymacs.install 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.install 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,4 +0,0 @@
-pymacs.el usr/share/emacs/site-lisp/pymacs
-contrib usr/share/doc/pymacs
-pymacs.html usr/share/doc/pymacs/html
-
Deleted: packages/pymacs/trunk/debian/pymacs.postinst
===================================================================
--- packages/pymacs/trunk/debian/pymacs.postinst 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.postinst 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,5 +0,0 @@
-#! /bin/sh -e
-
-#DEBHELPER#
-
-exit 0
Deleted: packages/pymacs/trunk/debian/pymacs.prerm
===================================================================
--- packages/pymacs/trunk/debian/pymacs.prerm 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/pymacs.prerm 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,9 +0,0 @@
-#! /bin/sh -e
-#
-# sample prerm script for Debian python packages.
-# Written 1998 by Gregor Hoffleit <flight at debian.org>.
-#
-
-#DEBHELPER#
-
-exit 0
Modified: packages/pymacs/trunk/debian/rules
===================================================================
--- packages/pymacs/trunk/debian/rules 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/rules 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,60 +1,37 @@
#!/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
+export PYBUILD_NAME=pymacs
-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
+%:
+ dh $@ --with python2 --buildsystem=pybuild
-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
+override_dh_auto_configure:
+ python pppp -C ppppconfig.py \
+ pymacs.el.in \
+ pymacs.rst.in \
+ Pymacs.py.in \
+ contrib \
+ tests
+ dh_auto_configure
-# 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
+override_dh_install:
+ rst2html pymacs.rst pymacs.html
+ dh_install -X.in --list-missing
-binary-arch:
+override_dh_installdocs:
+ dh_installdocs -X.in
-binary: binary-indep
-.PHONY: build clean binary-indep binary binary-arch
+override_dh_clean:
+ make clean
+ rm -f pymacs.html
+ dh_clean
+override_dh_compress:
+ dh_compress -X.py -X.el
+
+# TODO
+override_dh_auto_test:
Added: packages/pymacs/trunk/debian/source/format
===================================================================
--- packages/pymacs/trunk/debian/source/format (rev 0)
+++ packages/pymacs/trunk/debian/source/format 2014-07-16 09:15:49 UTC (rev 29771)
@@ -0,0 +1 @@
+3.0 (quilt)
Modified: packages/pymacs/trunk/debian/watch
===================================================================
--- packages/pymacs/trunk/debian/watch 2014-07-16 08:53:30 UTC (rev 29770)
+++ packages/pymacs/trunk/debian/watch 2014-07-16 09:15:49 UTC (rev 29771)
@@ -1,2 +1,3 @@
version=2
-http://pymacs.progiciels-bpi.ca/archives/Pymacs-(.*)\.tar\.gz debian uupdate
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/Pymacs-$1\.tar\.gz/ \
+ https://github.com/pinard/Pymacs/tags .*/v?(\d\S*)\.tar\.gz
More information about the Python-modules-commits
mailing list