[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue common/MANIFEST.in common/setup.py common/...
From: |
Jason Cater |
Subject: |
gnue common/MANIFEST.in common/setup.py common/... |
Date: |
Sat, 05 Oct 2002 03:16:49 -0400 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/10/05 03:16:48
Modified files:
common : MANIFEST.in setup.py
common/packaging/debian: README.Debian changelog control
copyright postinst prerm rules
common/packaging/debian: README.Debian changelog control
copyright postinst prerm rules
common/src : GConfig.py
designer : setup.py
forms : setup.py
forms/packaging/debian: README.Debian changelog control
copyright dirs postinst prerm rules
Added files:
common/packaging/debian: README.cvs README.maintainers files
postrm setup.cfg.debian site.cfg.debian
common/packaging/debian: README.cvs README.maintainers files
postrm setup.cfg.debian site.cfg.debian
designer/packaging/debian: README.Debian README.cvs
README.maintainers changelog control
copyright dirs files postinst prerm
rules setup.cfg.debian
forms/packaging/debian: README.cvs README.maintainers files
setup.cfg.debian
Removed files:
common/packaging/debian: dirs docs
common/packaging/debian: dirs docs
forms/packaging/debian: docs
Log message:
Changes needed to create .debs for the 0.4.0 release
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/MANIFEST.in.diff?cvsroot=OldCVS&tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/setup.py.diff?cvsroot=OldCVS&tr1=1.43&tr2=1.44&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/README.cvs?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/README.maintainers?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/files?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/postrm?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/setup.cfg.debian?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/site.cfg.debian?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/README.Debian.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/changelog.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/control.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/copyright.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/postinst.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/prerm.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/rules.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/README.cvs?cvsroot=OldCVS&rev=1.2
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/README.maintainers?cvsroot=OldCVS&rev=1.2
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/files?cvsroot=OldCVS&rev=1.2
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/postrm?cvsroot=OldCVS&rev=1.2
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/setup.cfg.debian?cvsroot=OldCVS&rev=1.2
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/site.cfg.debian?cvsroot=OldCVS&rev=1.2
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/README.Debian.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/changelog.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/control.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/copyright.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/postinst.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/prerm.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/packaging/debian/rules.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/GConfig.py.diff?cvsroot=OldCVS&tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/setup.py.diff?cvsroot=OldCVS&tr1=1.36&tr2=1.37&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/README.Debian?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/README.cvs?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/README.maintainers?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/changelog?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/control?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/copyright?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/dirs?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/files?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/postinst?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/prerm?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/rules?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/packaging/debian/setup.cfg.debian?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/setup.py.diff?cvsroot=OldCVS&tr1=1.72&tr2=1.73&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/README.cvs?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/README.maintainers?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/files.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/setup.cfg.debian?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/README.Debian.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/changelog.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/control.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/copyright.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/dirs.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/postinst.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/prerm.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/packaging/debian/rules.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gnue/common/MANIFEST.in
diff -c gnue/common/MANIFEST.in:1.8 gnue/common/MANIFEST.in:1.9
*** gnue/common/MANIFEST.in:1.8 Sun Jun 2 18:21:41 2002
--- gnue/common/MANIFEST.in Sat Oct 5 03:16:47 2002
***************
*** 15,18 ****
--- 15,19 ----
include doc/*
include scripts/*
recursive-include translations *
+ recursive-include packaging *
Index: gnue/common/packaging/debian/README.Debian
diff -c gnue/common/packaging/debian/README.Debian:1.1
gnue/common/packaging/debian/README.Debian:1.3
*** gnue/common/packaging/debian/README.Debian:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/README.Debian Sat Oct 5 03:16:47 2002
***************
*** 1,6 ****
- python-gnue-forms for Debian
- ----------------------
- <possible notes regarding this package - if none, delete this file>
-
- -- Jade Meskill <address@hidden>, Mon, 6 Nov 2000 22:31:13 -0700
--- 1 ----
Index: gnue/common/packaging/debian/README.Debian
diff -c gnue/common/packaging/debian/README.Debian:1.1
gnue/common/packaging/debian/README.Debian:1.3
*** gnue/common/packaging/debian/README.Debian:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/README.Debian Sat Oct 5 03:16:47 2002
***************
*** 1,6 ****
- python-gnue-forms for Debian
- ----------------------
- <possible notes regarding this package - if none, delete this file>
-
- -- Jade Meskill <address@hidden>, Mon, 6 Nov 2000 22:31:13 -0700
--- 1 ----
Index: gnue/common/packaging/debian/changelog
diff -c gnue/common/packaging/debian/changelog:1.1
gnue/common/packaging/debian/changelog:1.3
*** gnue/common/packaging/debian/changelog:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/changelog Sat Oct 5 03:16:47 2002
***************
*** 1,10 ****
! python-gnue-base (0.0.1-1) unstable; urgency=low
! * Initial Release.
! -- Jade Meskill <address@hidden> Mon, 20 Nov 2000 22:06:02 -0700
!
! Local variables:
! mode: debian-changelog
! add-log-mailing-address: "address@hidden"
! End:
--- 1,5 ----
! gnue-common (0.4.0-1) unstable; urgency=low
! * Initial release.
! -- Jason Cater <address@hidden> Fri, 4 Oct 2002 23:28:05 -0500
Index: gnue/common/packaging/debian/changelog
diff -c gnue/common/packaging/debian/changelog:1.1
gnue/common/packaging/debian/changelog:1.3
*** gnue/common/packaging/debian/changelog:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/changelog Sat Oct 5 03:16:47 2002
***************
*** 1,10 ****
! python-gnue-base (0.0.1-1) unstable; urgency=low
! * Initial Release.
! -- Jade Meskill <address@hidden> Mon, 20 Nov 2000 22:06:02 -0700
!
! Local variables:
! mode: debian-changelog
! add-log-mailing-address: "address@hidden"
! End:
--- 1,5 ----
! gnue-common (0.4.0-1) unstable; urgency=low
! * Initial release.
! -- Jason Cater <address@hidden> Fri, 4 Oct 2002 23:28:05 -0500
Index: gnue/common/packaging/debian/control
diff -c gnue/common/packaging/debian/control:1.1
gnue/common/packaging/debian/control:1.3
*** gnue/common/packaging/debian/control:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/control Sat Oct 5 03:16:47 2002
***************
*** 1,12 ****
! Source: python-gnue-base
! Section: devel
Priority: optional
! Maintainer: Jade Meskill <address@hidden>
! Build-Depends: debhelper
! Standards-Version: 3.1.1
! Package: python-gnue-base
Architecture: any
! Depends: python-base
! Description: GNU Enterprise base python package
! GNU Enterprise base python package to provide basis for other GNUE python
packages.
--- 1,12 ----
! Source: gnue-common
! Section: python
Priority: optional
! Maintainer: Jason Cater <address@hidden>
! Build-Depends: debhelper (>= 3), python2.1-dev (>= 2.1.1-7)
! Standards-Version: 3.5.6
! Package: gnue-common
Architecture: any
! Depends: python2.1 (>= 2.1.3-1), ${shlibs:Depends}
! Suggests: gnue-reports, gnue-forms
! Description: A Free enterprise tool system.
Index: gnue/common/packaging/debian/control
diff -c gnue/common/packaging/debian/control:1.1
gnue/common/packaging/debian/control:1.3
*** gnue/common/packaging/debian/control:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/control Sat Oct 5 03:16:47 2002
***************
*** 1,12 ****
! Source: python-gnue-base
! Section: devel
Priority: optional
! Maintainer: Jade Meskill <address@hidden>
! Build-Depends: debhelper
! Standards-Version: 3.1.1
! Package: python-gnue-base
Architecture: any
! Depends: python-base
! Description: GNU Enterprise base python package
! GNU Enterprise base python package to provide basis for other GNUE python
packages.
--- 1,12 ----
! Source: gnue-common
! Section: python
Priority: optional
! Maintainer: Jason Cater <address@hidden>
! Build-Depends: debhelper (>= 3), python2.1-dev (>= 2.1.1-7)
! Standards-Version: 3.5.6
! Package: gnue-common
Architecture: any
! Depends: python2.1 (>= 2.1.3-1), ${shlibs:Depends}
! Suggests: gnue-reports, gnue-forms
! Description: A Free enterprise tool system.
Index: gnue/common/packaging/debian/copyright
diff -c gnue/common/packaging/debian/copyright:1.1
gnue/common/packaging/debian/copyright:1.3
*** gnue/common/packaging/debian/copyright:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/copyright Sat Oct 5 03:16:47 2002
***************
*** 1,7 ****
! This package was debianized by Jade Meskill <address@hidden> on
! Mon, 6 Nov 2000 22:31:13 -0700.
! It was downloaded from http://www.gnue.org
Copyright:
--- 1,7 ----
! This package was debianized by Jason Cater <address@hidden> on
! Fri Oct 4 22:22:30 CDT 2002.
! It was downloaded from http://www.gnue.org/downloads/
Copyright:
Index: gnue/common/packaging/debian/copyright
diff -c gnue/common/packaging/debian/copyright:1.1
gnue/common/packaging/debian/copyright:1.3
*** gnue/common/packaging/debian/copyright:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/copyright Sat Oct 5 03:16:47 2002
***************
*** 1,7 ****
! This package was debianized by Jade Meskill <address@hidden> on
! Mon, 6 Nov 2000 22:31:13 -0700.
! It was downloaded from http://www.gnue.org
Copyright:
--- 1,7 ----
! This package was debianized by Jason Cater <address@hidden> on
! Fri Oct 4 22:22:30 CDT 2002.
! It was downloaded from http://www.gnue.org/downloads/
Copyright:
Index: gnue/common/packaging/debian/postinst
diff -c gnue/common/packaging/debian/postinst:1.1
gnue/common/packaging/debian/postinst:1.3
*** gnue/common/packaging/debian/postinst:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/postinst Sat Oct 5 03:16:47 2002
***************
*** 1,46 ****
! #! /bin/sh -e
! # postinst script for python-gnue-base
#
! # see: dh_installdeb(1)
!
! # summary of how this script can be called:
! # * <postinst> `configure' <most-recently-configured-version>
! # * <old-postinst> `abort-upgrade' <new version>
! # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
! # <new-version>
! # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
! # <failed-install-package> <version> `removing'
! # <conflicting-package> <version>
! # for details, see /usr/share/doc/packaging-manual/
#
- # quoting from the policy:
- # Any necessary prompting should almost always be confined to the
- # post-installation script, and should be protected with a conditional
- # so that unnecessary prompting doesn't happen if a package's
- # installation fails and the `postinst' is called with `abort-upgrade',
- # `abort-remove' or `abort-deconfigure'.
! DIRLIST="/usr/lib/python1.5/site-packages/gnue"
case "$1" in
! configure|abort-upgrade|abort-remove|abort-deconfigure)
! for i in $DIRLIST ; do
! python -O /usr/lib/python1.5/compileall.py -q $i
! python /usr/lib/python1.5/compileall.py -q $i
! done
;;
! *)
! echo "postinst called with unknown argument \`$1'" >&2
! exit 1
;;
esac
- # dh_installdeb will replace this with shell code automatically
- # generated by other debhelper scripts.
-
#DEBHELPER#
exit 0
-
-
--- 1,32 ----
! #! /bin/bash -e
#
! # postinst script for Debian python packages.
! # Written 1998 by Gregor Hoffleit <address@hidden>.
#
! PACKAGE=gnue-common
! DIRLIST="/usr/lib/gnue/lib/python/gnue"
case "$1" in
! configure|abort-upgrade|abort-remove|abort-deconfigure)
!
! # byte-compile the Python source files
! for i in $DIRLIST ; do
! /usr/bin/python2.1 /usr/lib/python2.1/compileall.py -q $i
! done
!
! # If we don't have a connections.conf, create one from the template
! if [ ! -f /etc/gnue/connections.conf ]; then
! cp /etc/gnue/sample.connections.conf /etc/gnue/connections.conf
! fi
;;
! *)
! echo "postinst called with unknown argument \`$1'" >&2
! exit 1
;;
esac
#DEBHELPER#
exit 0
Index: gnue/common/packaging/debian/postinst
diff -c gnue/common/packaging/debian/postinst:1.1
gnue/common/packaging/debian/postinst:1.3
*** gnue/common/packaging/debian/postinst:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/postinst Sat Oct 5 03:16:47 2002
***************
*** 1,46 ****
! #! /bin/sh -e
! # postinst script for python-gnue-base
#
! # see: dh_installdeb(1)
!
! # summary of how this script can be called:
! # * <postinst> `configure' <most-recently-configured-version>
! # * <old-postinst> `abort-upgrade' <new version>
! # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
! # <new-version>
! # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
! # <failed-install-package> <version> `removing'
! # <conflicting-package> <version>
! # for details, see /usr/share/doc/packaging-manual/
#
- # quoting from the policy:
- # Any necessary prompting should almost always be confined to the
- # post-installation script, and should be protected with a conditional
- # so that unnecessary prompting doesn't happen if a package's
- # installation fails and the `postinst' is called with `abort-upgrade',
- # `abort-remove' or `abort-deconfigure'.
! DIRLIST="/usr/lib/python1.5/site-packages/gnue"
case "$1" in
! configure|abort-upgrade|abort-remove|abort-deconfigure)
! for i in $DIRLIST ; do
! python -O /usr/lib/python1.5/compileall.py -q $i
! python /usr/lib/python1.5/compileall.py -q $i
! done
;;
! *)
! echo "postinst called with unknown argument \`$1'" >&2
! exit 1
;;
esac
- # dh_installdeb will replace this with shell code automatically
- # generated by other debhelper scripts.
-
#DEBHELPER#
exit 0
-
-
--- 1,32 ----
! #! /bin/bash -e
#
! # postinst script for Debian python packages.
! # Written 1998 by Gregor Hoffleit <address@hidden>.
#
! PACKAGE=gnue-common
! DIRLIST="/usr/lib/gnue/lib/python/gnue"
case "$1" in
! configure|abort-upgrade|abort-remove|abort-deconfigure)
!
! # byte-compile the Python source files
! for i in $DIRLIST ; do
! /usr/bin/python2.1 /usr/lib/python2.1/compileall.py -q $i
! done
!
! # If we don't have a connections.conf, create one from the template
! if [ ! -f /etc/gnue/connections.conf ]; then
! cp /etc/gnue/sample.connections.conf /etc/gnue/connections.conf
! fi
;;
! *)
! echo "postinst called with unknown argument \`$1'" >&2
! exit 1
;;
esac
#DEBHELPER#
exit 0
Index: gnue/common/packaging/debian/prerm
diff -c gnue/common/packaging/debian/prerm:1.1
gnue/common/packaging/debian/prerm:1.3
*** gnue/common/packaging/debian/prerm:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/prerm Sat Oct 5 03:16:47 2002
***************
*** 1,15 ****
! #! /bin/bash -e
#
! # Debian prerm script for Python x.y hierarchical modules
! # Written by Gregor Hoffleit <address@hidden>
! # Extended by Matthias Klose <address@hidden>
#
! PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
! PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
! s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
! q
! }'`
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
--- 1,10 ----
! #! /bin/sh -e
#
! # sample prerm script for Debian python packages.
! # Written 1998 by Gregor Hoffleit <address@hidden>.
#
! PACKAGE=gnue-common
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
Index: gnue/common/packaging/debian/prerm
diff -c gnue/common/packaging/debian/prerm:1.1
gnue/common/packaging/debian/prerm:1.3
*** gnue/common/packaging/debian/prerm:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/prerm Sat Oct 5 03:16:47 2002
***************
*** 1,15 ****
! #! /bin/bash -e
#
! # Debian prerm script for Python x.y hierarchical modules
! # Written by Gregor Hoffleit <address@hidden>
! # Extended by Matthias Klose <address@hidden>
#
! PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
! PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
! s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
! q
! }'`
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
--- 1,10 ----
! #! /bin/sh -e
#
! # sample prerm script for Debian python packages.
! # Written 1998 by Gregor Hoffleit <address@hidden>.
#
! PACKAGE=gnue-common
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
Index: gnue/common/packaging/debian/rules
diff -c gnue/common/packaging/debian/rules:1.1
gnue/common/packaging/debian/rules:1.3
*** gnue/common/packaging/debian/rules:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/rules Sat Oct 5 03:16:47 2002
***************
*** 1,83 ****
#!/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
! # This is the debhelper compatability version to use.
! export DH_COMPAT=2
! configure: configure-stamp
! configure-stamp:
! dh_testdir
! # Add here commands to configure the package.
!
! touch configure-stamp
! build: configure-stamp build-stamp
build-stamp:
dh_testdir
!
! # Add here commands to compile the package.
! ./setup.py build
! #/usr/bin/docbook-to-man debian/python-ldc-db.sgml > python-ldc-db.1
!
touch build-stamp
clean:
dh_testdir
dh_testroot
! rm -f build-stamp configure-stamp
!
! ./setup.py clean --all
!
! # Add here commands to clean up after the build process.
dh_clean
! install: build
dh_testdir
dh_testroot
dh_clean -k
! #dh_installdirs
!
! # Add here commands to install the package into debian/tmp.
! #$(MAKE) install prefix=`pwd`/debian/tmp/usr
! ./setup.py install --prefix=`pwd`/debian/tmp/usr
! -find debian/tmp -name '*.py[co]' | xargs rm -rf
# Build architecture-independent files here.
binary-indep: build install
! # we have nothing to do by default
! # Build architecture-dependent files here
! binary-arch: build
# dh_testversion
! dh_testdir -a
! dh_testroot -a
! dh_installdirs usr/lib/python1.5/site-packages/gnue
! dh_installdocs -a
! # dh_installexamples -a
! dh_installmenu -a
! # dh_installinit -a
! # dh_installcron -a
! # dh_installmanpages -a
! # dh_undocumented -a
! dh_installchangelogs -a
! dh_strip -a
! dh_compress -a
! cp -rf `pwd`/debian/tmp/usr/lib/python1.5
`pwd`/debian/python-gnue-base/usr/lib/
! dh_fixperms -a
! # dh_suidregister -a
! dh_installdeb -a
! dh_shlibdeps -a
! dh_gencontrol -a
! # dh_makeshlibs -a
! dh_md5sums -a
! dh_builddeb -a
binary: binary-indep binary-arch
! .PHONY: build clean binary-indep binary-arch binary install configure
--- 1,142 ----
#!/usr/bin/make -f
! # Made with the aid of dh_make, by Craig Small
! # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
! # Also some stuff taken from debmake scripts, by Cristopt Lameter.
# Uncomment this to turn on verbose mode.
! #export DH_VERBOSE=1
! export GNUEDIR=/usr/lib/gnue
! export GNUEBINDIR=/usr/bin
! export GNUEVARDIR=/var/lib/gnue
! export GNUEETCDIR=/etc/gnue
! export GNUESHAREDIR=/usr/lib/share/gnue
! export GNUEDOCDIR=/usr/lib/share/doc/gnue-common
! python = python
! d = debian/tmp
! build: build-stamp
build-stamp:
dh_testdir
! $(python) setup.py install ##--cfg-file $(GNUEDIR)/site.cfg
touch build-stamp
clean:
dh_testdir
dh_testroot
! rm -f build-stamp install-stamp
+ # -$(MAKE) -C lib/python clean
+ # -$(MAKE) -C lib/python/gnue clean
+ # -$(MAKE) -C lib/python/gnue/common clean
+ find . -regex ".+\.pyc" -o -regex ".+\.so" -o -regex ".+\.o" \
+ | xargs rm -f
+ find lib/python -name Makefile -o -name Makefile.pre \
+ -o -name Makefile.pre.in \
+ -o -name sedscript -o -name config.c \
+ | xargs rm -f
+ rm -f setup.cfg gnue_sys.py
+ rm -rf stage
dh_clean
! install: install-stamp
! install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
! dh_installdirs
! # Installing GNUe's lib/python in the $(d) area
! install -d $(d)$(GNUEDIR)/lib/python
! cp -a stage/lib/python/gnue $(d)$(GNUEDIR)/lib/python/gnue
!
! # ..system control file
! install site.cfg.debian $(d)$(GNUEDIR)/site.cfg
!
! # Installing translations
! install -d $(d)$(GNUESHAREDIR)
! cp -a translations $(d)$(GNUESHAREDIR)/translations
!
! # ..images
! cp -a stage/shared/images $(d)$(GNUESHAREDIR)/images
!
! # ..scripts
! ## install -d $(d)$(GNUEBINDIR)/
! ## cp -a stage/bin/* $(d)$(GNUEBINDIR)/
!
! # ..docs
! install -d $(d)$(GNUEDOCDIR)/
! cp -a doc/*.txt $(d)$(GNUEBINDIR)/
! ## cp -a doc/*.html $(d)$(GNUEBINDIR)/
!
! # ..etc
! install -d $(d)$(GNUEETCDIR)/
! install etc/sample.* $(d)$(GNUEETCDIR)/
!
!
! # We don't need those relicts from building GNUe
! find $(d)$(GNUEDIR) -name .cvsignore \
! | xargs rm -f
!
! find $(d)$(GNUEDIR) -name "Makefile.*" \
! -o -regex ".+\.[cho]" -o -regex ".+\.pyc" \
! -o -name setup.cfg -o -name setup.cfg.in \
! | xargs rm -f
!
!
! : # Replace all '#!' calls to python with $(python)
! : # and make them executable
! ## cd debian && \
! ## for i in `find tmp/$(GNUEBINDIR) -type f`; do \
! ## sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/$(python)\1,' \
! ## $$i > $$i.temp; \
! ## if cmp --quiet $$i $$i.temp; then \
! ## rm -f $$i.temp; \
! ## else \
! ## mv -f $$i.temp $$i; \
! ## chmod 755 $$i; \
! ## echo "fixed interpreter: $$i"; \
! ## fi; \
! ## done
+ touch install-stamp
# Build architecture-independent files here.
binary-indep: build install
! # We have nothing to do by default.
! # Build architecture-dependent files here.
! binary-arch: build install
# dh_testversion
! dh_testdir
! dh_testroot
! ##rm -f debian/*.debhelper
! dh_installdocs README* debian/README* \
! doc/*.txt \
! ## doc/*.html
! # dh_installmenu
! # dh_installemacsen
! # dh_installpam
! # dh_installinit
! # dh_installcron
! # dh_installmanpages
! # dh_undocumented
! # cat doc/CHANGES.txt doc/HISTORY.txt >ChangeLog
! dh_installchangelogs ChangeLog
! dh_link
! dh_strip
! dh_compress -X.zexp
! dh_fixperms
! # dh_makeshlibs
! dh_installdeb
! dh_shlibdeps
! dh_gencontrol
! dh_md5sums
! dh_builddeb
!
! source diff:
! @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
! .PHONY: build clean binary-indep binary-arch binary install
Index: gnue/common/packaging/debian/rules
diff -c gnue/common/packaging/debian/rules:1.1
gnue/common/packaging/debian/rules:1.3
*** gnue/common/packaging/debian/rules:1.1 Wed Apr 11 12:43:44 2001
--- gnue/common/packaging/debian/rules Sat Oct 5 03:16:47 2002
***************
*** 1,83 ****
#!/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
! # This is the debhelper compatability version to use.
! export DH_COMPAT=2
! configure: configure-stamp
! configure-stamp:
! dh_testdir
! # Add here commands to configure the package.
!
! touch configure-stamp
! build: configure-stamp build-stamp
build-stamp:
dh_testdir
!
! # Add here commands to compile the package.
! ./setup.py build
! #/usr/bin/docbook-to-man debian/python-ldc-db.sgml > python-ldc-db.1
!
touch build-stamp
clean:
dh_testdir
dh_testroot
! rm -f build-stamp configure-stamp
!
! ./setup.py clean --all
!
! # Add here commands to clean up after the build process.
dh_clean
! install: build
dh_testdir
dh_testroot
dh_clean -k
! #dh_installdirs
!
! # Add here commands to install the package into debian/tmp.
! #$(MAKE) install prefix=`pwd`/debian/tmp/usr
! ./setup.py install --prefix=`pwd`/debian/tmp/usr
! -find debian/tmp -name '*.py[co]' | xargs rm -rf
# Build architecture-independent files here.
binary-indep: build install
! # we have nothing to do by default
! # Build architecture-dependent files here
! binary-arch: build
# dh_testversion
! dh_testdir -a
! dh_testroot -a
! dh_installdirs usr/lib/python1.5/site-packages/gnue
! dh_installdocs -a
! # dh_installexamples -a
! dh_installmenu -a
! # dh_installinit -a
! # dh_installcron -a
! # dh_installmanpages -a
! # dh_undocumented -a
! dh_installchangelogs -a
! dh_strip -a
! dh_compress -a
! cp -rf `pwd`/debian/tmp/usr/lib/python1.5
`pwd`/debian/python-gnue-base/usr/lib/
! dh_fixperms -a
! # dh_suidregister -a
! dh_installdeb -a
! dh_shlibdeps -a
! dh_gencontrol -a
! # dh_makeshlibs -a
! dh_md5sums -a
! dh_builddeb -a
binary: binary-indep binary-arch
! .PHONY: build clean binary-indep binary-arch binary install configure
--- 1,142 ----
#!/usr/bin/make -f
! # Made with the aid of dh_make, by Craig Small
! # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
! # Also some stuff taken from debmake scripts, by Cristopt Lameter.
# Uncomment this to turn on verbose mode.
! #export DH_VERBOSE=1
! export GNUEDIR=/usr/lib/gnue
! export GNUEBINDIR=/usr/bin
! export GNUEVARDIR=/var/lib/gnue
! export GNUEETCDIR=/etc/gnue
! export GNUESHAREDIR=/usr/lib/share/gnue
! export GNUEDOCDIR=/usr/lib/share/doc/gnue-common
! python = python
! d = debian/tmp
! build: build-stamp
build-stamp:
dh_testdir
! $(python) setup.py install ##--cfg-file $(GNUEDIR)/site.cfg
touch build-stamp
clean:
dh_testdir
dh_testroot
! rm -f build-stamp install-stamp
+ # -$(MAKE) -C lib/python clean
+ # -$(MAKE) -C lib/python/gnue clean
+ # -$(MAKE) -C lib/python/gnue/common clean
+ find . -regex ".+\.pyc" -o -regex ".+\.so" -o -regex ".+\.o" \
+ | xargs rm -f
+ find lib/python -name Makefile -o -name Makefile.pre \
+ -o -name Makefile.pre.in \
+ -o -name sedscript -o -name config.c \
+ | xargs rm -f
+ rm -f setup.cfg gnue_sys.py
+ rm -rf stage
dh_clean
! install: install-stamp
! install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
! dh_installdirs
! # Installing GNUe's lib/python in the $(d) area
! install -d $(d)$(GNUEDIR)/lib/python
! cp -a stage/lib/python/gnue $(d)$(GNUEDIR)/lib/python/gnue
!
! # ..system control file
! install site.cfg.debian $(d)$(GNUEDIR)/site.cfg
!
! # Installing translations
! install -d $(d)$(GNUESHAREDIR)
! cp -a translations $(d)$(GNUESHAREDIR)/translations
!
! # ..images
! cp -a stage/shared/images $(d)$(GNUESHAREDIR)/images
!
! # ..scripts
! ## install -d $(d)$(GNUEBINDIR)/
! ## cp -a stage/bin/* $(d)$(GNUEBINDIR)/
!
! # ..docs
! install -d $(d)$(GNUEDOCDIR)/
! cp -a doc/*.txt $(d)$(GNUEBINDIR)/
! ## cp -a doc/*.html $(d)$(GNUEBINDIR)/
!
! # ..etc
! install -d $(d)$(GNUEETCDIR)/
! install etc/sample.* $(d)$(GNUEETCDIR)/
!
!
! # We don't need those relicts from building GNUe
! find $(d)$(GNUEDIR) -name .cvsignore \
! | xargs rm -f
!
! find $(d)$(GNUEDIR) -name "Makefile.*" \
! -o -regex ".+\.[cho]" -o -regex ".+\.pyc" \
! -o -name setup.cfg -o -name setup.cfg.in \
! | xargs rm -f
!
!
! : # Replace all '#!' calls to python with $(python)
! : # and make them executable
! ## cd debian && \
! ## for i in `find tmp/$(GNUEBINDIR) -type f`; do \
! ## sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/$(python)\1,' \
! ## $$i > $$i.temp; \
! ## if cmp --quiet $$i $$i.temp; then \
! ## rm -f $$i.temp; \
! ## else \
! ## mv -f $$i.temp $$i; \
! ## chmod 755 $$i; \
! ## echo "fixed interpreter: $$i"; \
! ## fi; \
! ## done
+ touch install-stamp
# Build architecture-independent files here.
binary-indep: build install
! # We have nothing to do by default.
! # Build architecture-dependent files here.
! binary-arch: build install
# dh_testversion
! dh_testdir
! dh_testroot
! ##rm -f debian/*.debhelper
! dh_installdocs README* debian/README* \
! doc/*.txt \
! ## doc/*.html
! # dh_installmenu
! # dh_installemacsen
! # dh_installpam
! # dh_installinit
! # dh_installcron
! # dh_installmanpages
! # dh_undocumented
! # cat doc/CHANGES.txt doc/HISTORY.txt >ChangeLog
! dh_installchangelogs ChangeLog
! dh_link
! dh_strip
! dh_compress -X.zexp
! dh_fixperms
! # dh_makeshlibs
! dh_installdeb
! dh_shlibdeps
! dh_gencontrol
! dh_md5sums
! dh_builddeb
!
! source diff:
! @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
! .PHONY: build clean binary-indep binary-arch binary install
Index: gnue/common/setup.py
diff -c gnue/common/setup.py:1.43 gnue/common/setup.py:1.44
*** gnue/common/setup.py:1.43 Tue Sep 17 15:36:38 2002
--- gnue/common/setup.py Sat Oct 5 03:16:47 2002
***************
*** 1,7 ****
#!/usr/bin/env python
#
- # Copyright 2001 Free Software Foundation
- #
# This file is part of GNU Enterprise.
#
# GNU Enterprise is free software; you can redistribute it
--- 1,5 ----
***************
*** 19,24 ****
--- 17,24 ----
# write to the Free Software Foundation, Inc., 59 Temple Place
# - Suite 330, Boston, MA 02111-1307, USA.
#
+ # Copyright 2001-2002 Free Software Foundation
+ #
import sys
import string
***************
*** 52,59 ****
#
if not 'sdist' in sys.argv:
if sys.platform != 'win32':
! os.system ("""cp setup.cfg.in setup.cfg""")
else:
try:
os.remove('setup.cfg')
--- 52,70 ----
#
if not 'sdist' in sys.argv:
+ setupcfg = "setup.cfg.in"
+ # Was setup.cfg specified on the command line?
+ try:
+ index = sys.argv.index('--setup-cfg')
+ setupcfg = sys.argv[index+1]
+ sys.argv.pop(index)
+ sys.argv.pop(index)
+
+ except ValueError:
+ pass
+
if sys.platform != 'win32':
! os.system ("""cp %s setup.cfg""" % setupcfg)
else:
try:
os.remove('setup.cfg')
Index: gnue/common/src/GConfig.py
diff -c gnue/common/src/GConfig.py:1.27 gnue/common/src/GConfig.py:1.28
*** gnue/common/src/GConfig.py:1.27 Wed Sep 18 01:13:01 2002
--- gnue/common/src/GConfig.py Sat Oct 5 03:16:48 2002
***************
*** 206,212 ****
# This evaluates the text file as a python script (hope you secured it)
# The resulting namespace is stored as a dict in _site_config.
! eval (text, _site_config)
elif os.environ.has_key('INSTALL_PREFIX'):
--- 206,212 ----
# This evaluates the text file as a python script (hope you secured it)
# The resulting namespace is stored as a dict in _site_config.
! eval (compile(text, '<string>', 'exec'), _site_config)
elif os.environ.has_key('INSTALL_PREFIX'):
Index: gnue/designer/setup.py
diff -c gnue/designer/setup.py:1.36 gnue/designer/setup.py:1.37
*** gnue/designer/setup.py:1.36 Sun Sep 29 20:19:17 2002
--- gnue/designer/setup.py Sat Oct 5 03:16:48 2002
***************
*** 78,84 ****
! if 'build' in sys.argv:
# # Verify that PyXML is installed
# try:
# print "Checking for PyXML....",
--- 78,96 ----
! # Skip dependency checks?
! try:
! index = sys.argv.index('--skip-tests')
! print "Skipping dependency checks..."
! doTests = 0
! sys.argv.pop(index)
!
! except ValueError:
! doTests = 1
!
!
!
! if doTests and 'build' in sys.argv:
# # Verify that PyXML is installed
# try:
# print "Checking for PyXML....",
Index: gnue/forms/packaging/debian/README.Debian
diff -c gnue/forms/packaging/debian/README.Debian:1.1
gnue/forms/packaging/debian/README.Debian:1.2
*** gnue/forms/packaging/debian/README.Debian:1.1 Tue Nov 7 14:14:58 2000
--- gnue/forms/packaging/debian/README.Debian Sat Oct 5 03:16:48 2002
***************
*** 1,6 ****
- gnue-forms for Debian
- ----------------------
- <possible notes regarding this package - if none, delete this file>
-
- -- Jade Meskill <address@hidden>, Mon, 6 Nov 2000 22:31:13 -0700
--- 1 ----
Index: gnue/forms/packaging/debian/changelog
diff -c gnue/forms/packaging/debian/changelog:1.2
gnue/forms/packaging/debian/changelog:1.3
*** gnue/forms/packaging/debian/changelog:1.2 Tue Nov 21 00:30:28 2000
--- gnue/forms/packaging/debian/changelog Sat Oct 5 03:16:48 2002
***************
*** 1,18 ****
! python-gnue-forms (0.0.4-2) unstable; urgency=medium
!
! * Added better dependencies
! * Removed installation of gnue package now that it has been moved to another
! package
!
! -- Jade Meskill <address@hidden> Mon, 20 Nov 2000 22:15:20 -0700
!
! python-gnue-forms (0.0.4-1) unstable; urgency=low
! * Initial Release.
! -- Jade Meskill <address@hidden> Mon, 6 Nov 2000 22:31:13 -0700
!
! Local variables:
! mode: debian-changelog
! add-log-mailing-address: "address@hidden"
! End:
--- 1,5 ----
! gnue-forms-wxgtk (0.4.0-1) unstable; urgency=low
! * Initial release.
! -- Jason Cater <address@hidden> Fri, 4 Oct 2002 23:28:05 -0500
Index: gnue/forms/packaging/debian/control
diff -c gnue/forms/packaging/debian/control:1.2
gnue/forms/packaging/debian/control:1.3
*** gnue/forms/packaging/debian/control:1.2 Tue Nov 21 00:30:28 2000
--- gnue/forms/packaging/debian/control Sat Oct 5 03:16:48 2002
***************
*** 1,12 ****
! Source: python-gnue-forms
! Section: devel
Priority: optional
! Maintainer: Jade Meskill <address@hidden>
! Build-Depends: debhelper
! Standards-Version: 3.1.1
! Package: python-gnue-forms
Architecture: any
! Depends: python-base, python-gnue-base
! Description: GNU Enterprise forms
! GNU Enterprise forms are used to make client applications for GNU
Enterprise.
--- 1,12 ----
! Source: gnue-forms-wxgtk
! Section: python
Priority: optional
! Maintainer: Jason Cater <address@hidden>
! Build-Depends: debhelper (>= 3), python2.1-dev (>= 2.1.1-7)
! Standards-Version: 3.5.6
! Package: gnue-forms-wxgtk
Architecture: any
! Depends: gnue-common (>= 0.4.0-1), libwxgtk2.2-python (>=
2.2.9)|libwxgtk2.3-python, ${shlibs:Depends}
! Provides: gnue-forms
! Description: A Free enterprise tool system.
Index: gnue/forms/packaging/debian/copyright
diff -c gnue/forms/packaging/debian/copyright:1.1
gnue/forms/packaging/debian/copyright:1.2
*** gnue/forms/packaging/debian/copyright:1.1 Tue Nov 7 14:14:58 2000
--- gnue/forms/packaging/debian/copyright Sat Oct 5 03:16:48 2002
***************
*** 1,7 ****
! This package was debianized by Jade Meskill <address@hidden> on
! Mon, 6 Nov 2000 22:31:13 -0700.
! It was downloaded from http://www.gnue.org
Copyright:
--- 1,7 ----
! This package was debianized by Jason Cater <address@hidden> on
! Fri Oct 4 22:22:30 CDT 2002.
! It was downloaded from http://www.gnue.org/downloads/
Copyright:
Index: gnue/forms/packaging/debian/dirs
diff -c gnue/forms/packaging/debian/dirs:1.2
gnue/forms/packaging/debian/dirs:1.3
*** gnue/forms/packaging/debian/dirs:1.2 Tue Nov 21 00:30:28 2000
--- gnue/forms/packaging/debian/dirs Sat Oct 5 03:16:48 2002
***************
*** 1,2 ****
usr/bin
! usr/lib/python1.5/site-packages
--- 1,2 ----
usr/bin
! usr/lib/gnue/lib/python/gnue
Index: gnue/forms/packaging/debian/postinst
diff -c gnue/forms/packaging/debian/postinst:1.2
gnue/forms/packaging/debian/postinst:1.3
*** gnue/forms/packaging/debian/postinst:1.2 Tue Nov 21 00:30:28 2000
--- gnue/forms/packaging/debian/postinst Sat Oct 5 03:16:48 2002
***************
*** 1,46 ****
! #! /bin/sh -e
! # postinst script for python-gnue-forms
#
! # see: dh_installdeb(1)
!
! # summary of how this script can be called:
! # * <postinst> `configure' <most-recently-configured-version>
! # * <old-postinst> `abort-upgrade' <new version>
! # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
! # <new-version>
! # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
! # <failed-install-package> <version> `removing'
! # <conflicting-package> <version>
! # for details, see /usr/share/doc/packaging-manual/
#
- # quoting from the policy:
- # Any necessary prompting should almost always be confined to the
- # post-installation script, and should be protected with a conditional
- # so that unnecessary prompting doesn't happen if a package's
- # installation fails and the `postinst' is called with `abort-upgrade',
- # `abort-remove' or `abort-deconfigure'.
! DIRLIST="/usr/lib/python1.5/site-packages/gnue/forms"
case "$1" in
! configure|abort-upgrade|abort-remove|abort-deconfigure)
! for i in $DIRLIST ; do
! python -O /usr/lib/python1.5/compileall.py -q $i
! python /usr/lib/python1.5/compileall.py -q $i
! done
;;
! *)
! echo "postinst called with unknown argument \`$1'" >&2
! exit 1
;;
esac
- # dh_installdeb will replace this with shell code automatically
- # generated by other debhelper scripts.
-
#DEBHELPER#
exit 0
-
-
--- 1,27 ----
! #! /bin/bash -e
#
! # postinst script for Debian python packages.
! # Written 1998 by Gregor Hoffleit <address@hidden>.
#
! PACKAGE=gnue-forms-wxgtk
! DIRLIST="/usr/lib/gnue/lib/python/gnue/forms"
case "$1" in
! configure|abort-upgrade|abort-remove|abort-deconfigure)
!
! # byte-compile the Python source files
! for i in $DIRLIST ; do
! /usr/bin/python2.1 /usr/lib/python2.1/compileall.py -q $i
! done
;;
! *)
! echo "postinst called with unknown argument \`$1'" >&2
! exit 1
;;
esac
#DEBHELPER#
exit 0
Index: gnue/forms/packaging/debian/prerm
diff -c gnue/forms/packaging/debian/prerm:1.1
gnue/forms/packaging/debian/prerm:1.2
*** gnue/forms/packaging/debian/prerm:1.1 Tue Nov 7 14:14:58 2000
--- gnue/forms/packaging/debian/prerm Sat Oct 5 03:16:48 2002
***************
*** 1,15 ****
! #! /bin/bash -e
#
! # Debian prerm script for Python x.y hierarchical modules
! # Written by Gregor Hoffleit <address@hidden>
! # Extended by Matthias Klose <address@hidden>
#
! PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
! PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
! s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
! q
! }'`
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
--- 1,10 ----
! #! /bin/sh -e
#
! # sample prerm script for Debian python packages.
! # Written 1998 by Gregor Hoffleit <address@hidden>.
#
! PACKAGE=gnue-forms-wxgtk
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
Index: gnue/forms/packaging/debian/rules
diff -c gnue/forms/packaging/debian/rules:1.3
gnue/forms/packaging/debian/rules:1.4
*** gnue/forms/packaging/debian/rules:1.3 Tue Nov 21 00:30:28 2000
--- gnue/forms/packaging/debian/rules Sat Oct 5 03:16:48 2002
***************
*** 1,87 ****
#!/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
! # This is the debhelper compatability version to use.
! export DH_COMPAT=2
! configure: configure-stamp
! configure-stamp:
! dh_testdir
! # Add here commands to configure the package.
! #./configure --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info
!
! touch configure-stamp
! build: configure-stamp build-stamp
build-stamp:
dh_testdir
!
! # Add here commands to compile the package.
! #$(MAKE)
! ./setup.py build
! #/usr/bin/docbook-to-man debian/gnue-forms.sgml > gnue-forms.1
!
touch build-stamp
clean:
dh_testdir
dh_testroot
! rm -f build-stamp configure-stamp
!
! ./setup.py clean --all
!
! # Add here commands to clean up after the build process.
! #-$(MAKE) distclean
dh_clean
! install: build
dh_testdir
dh_testroot
dh_clean -k
! #dh_installdirs
!
! # Add here commands to install the package into debian/tmp.
! #$(MAKE) install prefix=`pwd`/debian/tmp/usr
! ./setup.py install --prefix=`pwd`/debian/tmp/usr
! -find debian/tmp -name '*.py[co]' | xargs rm -rf
# Build architecture-independent files here.
binary-indep: build install
! # we have nothing to do by default
! # Build architecture-dependent files here
! binary-arch: build
# dh_testversion
! dh_testdir -a
! dh_testroot -a
! dh_installdirs usr/lib/python1.5/site-packages/gnue/forms
! dh_installdocs -a
! # dh_installexamples -a
! dh_installmenu -a
! # dh_installinit -a
! # dh_installcron -a
! # dh_installmanpages -a
! # dh_undocumented -a
! dh_installchangelogs -a
! dh_strip -a
! dh_compress -a
! cp -f `pwd`/debian/tmp/usr/bin/gfclient
`pwd`/debian/python-gnue-forms/usr/bin
! cp -rf `pwd`/debian/tmp/usr/lib/python1.5
`pwd`/debian/python-gnue-forms/usr/lib/
! dh_fixperms -a
! # dh_suidregister -a
! dh_installdeb -a
! dh_shlibdeps -a
! dh_gencontrol -a
! # dh_makeshlibs -a
! dh_md5sums -a
! dh_builddeb -a
binary: binary-indep binary-arch
! .PHONY: build clean binary-indep binary-arch binary install configure
--- 1,132 ----
#!/usr/bin/make -f
! # Made with the aid of dh_make, by Craig Small
! # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
! # Also some stuff taken from debmake scripts, by Cristopt Lameter.
# Uncomment this to turn on verbose mode.
! #export DH_VERBOSE=1
! export GNUEDIR=/usr/lib/gnue
! export GNUEBINDIR=/usr/bin
! export GNUEVARDIR=/var/lib/gnue
! export GNUEETCDIR=/etc/gnue
! export GNUESHAREDIR=/usr/lib/share/gnue
! export GNUEDOCDIR=/usr/lib/share/doc/gnue-forms-wxgtk
! python = python
! d = debian/tmp
! build: build-stamp
build-stamp:
dh_testdir
! $(python) setup.py install --skip-tests --cfg-file $(GNUEDIR)/site.cfg
touch build-stamp
clean:
dh_testdir
dh_testroot
! rm -f build-stamp install-stamp
+ # -$(MAKE) -C lib/python clean
+ # -$(MAKE) -C lib/python/gnue clean
+ # -$(MAKE) -C lib/python/gnue/common clean
+ find . -regex ".+\.pyc" -o -regex ".+\.so" -o -regex ".+\.o" \
+ | xargs rm -f
+ find lib/python -name Makefile -o -name Makefile.pre \
+ -o -name Makefile.pre.in \
+ -o -name sedscript -o -name config.c \
+ | xargs rm -f
+ rm -f setup.cfg
+ rm -rf stage
+ rm -rf build
dh_clean
! install: install-stamp
! install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
! dh_installdirs
! # Installing GNUe's lib/python in the $(d) area
! install -d $(d)$(GNUEDIR)/lib/python/gnue
! # ARGH!!! gtk2 driver causes issues... it's not ready anyways, so ....
! rm -rf stage/lib/python/gnue/forms/uidrivers/gtk2
! cp -a stage/lib/python/gnue/forms $(d)$(GNUEDIR)/lib/python/gnue/forms
!
! # ..scripts
! install -d $(d)$(GNUEBINDIR)/
! cp -a stage/bin/* $(d)$(GNUEBINDIR)/
!
! # ..docs
! install -d $(d)$(GNUEDOCDIR)/
! cp -a doc/*.txt $(d)$(GNUEDOCDIR)/
! ## cp -a doc/*.html $(d)$(GNUEDOCDIR)/
!
!
! # We don't need those relicts from building GNUe
! ind $(d)$(GNUEDIR) -name .cvsignore \
! | xargs rm -f
!
! find $(d)$(GNUEDIR) -name "Makefile.*" \
! -o -regex ".+\.[cho]" -o -regex ".+\.pyc" \
! -o -name setup.cfg -o -name setup.cfg.in \
! | xargs rm -f
!
!
! : # Replace all '#!' calls to python with $(python)
! : # and make them executable
! cd debian && \
! for i in `find tmp/$(GNUEBINDIR) -type f`; do \
! sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/$(python)\1,' \
! $$i > $$i.temp; \
! if cmp --quiet $$i $$i.temp; then \
! rm -f $$i.temp; \
! else \
! cat $$i.temp |sed "s,'stage,'/usr/lib/gnue," > $$i; \
! rm -f $$i.temp; \
! chmod 755 $$i; \
! echo "fixed interpreter: $$i"; \
! fi; \
! done
+ touch install-stamp
# Build architecture-independent files here.
binary-indep: build install
! # We have nothing to do by default.
! # Build architecture-dependent files here.
! binary-arch: build install
# dh_testversion
! dh_testdir
! dh_testroot
! ##rm -f debian/*.debhelper
! dh_installdocs README* debian/README* \
! doc/*.txt \
! ## doc/*.html
! # dh_installmenu
! # dh_installemacsen
! # dh_installpam
! # dh_installinit
! # dh_installcron
! dh_installmanpages
! # dh_undocumented
! # cat doc/CHANGES.txt doc/HISTORY.txt >ChangeLog
! dh_installchangelogs ChangeLog
! dh_link
! dh_strip
! dh_compress -X.zexp
! dh_fixperms
! # dh_makeshlibs
! dh_installdeb
! dh_shlibdeps
! dh_gencontrol
! dh_md5sums
! dh_builddeb
!
! source diff:
! @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
! .PHONY: build clean binary-indep binary-arch binary install
Index: gnue/forms/setup.py
diff -c gnue/forms/setup.py:1.72 gnue/forms/setup.py:1.73
*** gnue/forms/setup.py:1.72 Sat Sep 7 10:59:44 2002
--- gnue/forms/setup.py Sat Oct 5 03:16:48 2002
***************
*** 83,89 ****
! if ('build' in sys.argv) or ('install' in sys.argv):
#
# Verify at least one UI is installed
#
--- 83,100 ----
! # Skip dependency checks?
! try:
! index = sys.argv.index('--skip-tests')
! print "Skipping dependency checks..."
! doTests = 0
! sys.argv.pop(index)
!
! except ValueError:
! doTests = 1
!
!
! if doTests and (('build' in sys.argv) or ('install' in sys.argv)):
#
# Verify at least one UI is installed
#
***************
*** 147,153 ****
you can get it from http://www.lemburg.com/files/python/mxDateTime.html
"""
sys.exit()
-
--- 158,163 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue common/MANIFEST.in common/setup.py common/...,
Jason Cater <=