summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/.aeignore4
-rw-r--r--debian/changelog216
-rw-r--r--debian/control23
-rw-r--r--debian/copyright66
-rw-r--r--debian/dirs3
-rw-r--r--debian/docs1
-rw-r--r--debian/postinst19
-rw-r--r--debian/prerm12
-rw-r--r--debian/rules115
9 files changed, 459 insertions, 0 deletions
diff --git a/debian/.aeignore b/debian/.aeignore
new file mode 100644
index 000000000..877ac5346
--- /dev/null
+++ b/debian/.aeignore
@@ -0,0 +1,4 @@
+*,D
+.*.swp
+.consign
+.sconsign
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..a39a73bcd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,216 @@
+scons (2.3.4) unstable; urgency=low
+
+ * Maintenance release.
+
+ -- Gary Oberbrunner <garyo@oberbrunner.com> Sun, 27 Sep 2014 21:00:00 -0500
+
+scons (2.3.3) unstable; urgency=low
+
+ * Maintenance release.
+
+ -- Gary Oberbrunner <garyo@oberbrunner.com> Sun, 24 Aug 2014 21:00:00 -0500
+
+scons (2.3.2) unstable; urgency=low
+
+ * Maintenance release.
+
+ -- Gary Oberbrunner <garyo@oberbrunner.com> Fri, 4 July 2014 21:00:00 -0500
+
+scons (2.3.0) unstable; urgency=low
+
+ * Maintenance release.
+
+ -- Gary Oberbrunner <garyo@oberbrunner.com> Sat, 9 Feb 2013 21:00:00 -0500
+
+
+scons (2.2.0) unstable; urgency=low
+
+ * Maintenance release.
+
+ -- Gary Oberbrunner <garyo@oberbrunner.com> Sun, 12 Aug 2012 09:00:00 -0500
+
+
+scons (0.97) unstable; urgency=low
+
+ * Eighth beta release.
+
+ -- Steven Knight <knight@baldmt.com> Thu, 17 May 2007 08:59:41 -0500
+
+
+scons (0.96-1) unstable; urgency=low
+
+ * Seventh beta release.
+
+ -- Steven Knight <knight@baldmt.com> Wed, 18 Aug 2004 13:36:40 +0000
+
+
+scons (0.95-1) unstable; urgency=low
+
+ * Sixth beta release.
+
+ -- Steven Knight <knight@baldmt.com> Mon, 08 Mar 2004 06:43:20 -0600
+
+
+scons (0.94-1) unstable; urgency=low
+
+ * Fifth beta release.
+
+ -- Steven Knight <knight@baldmt.com> Fri, 07 Nov 2003 05:29:48 -0600
+
+
+scons (0.93-1) unstable; urgency=low
+
+ * Fourth beta release.
+
+ -- Steven Knight <knight@baldmt.com> Thu, 23 Oct 2003 07:26:55 -0500
+
+
+scons (0.92-1) unstable; urgency=low
+
+ * Third beta release.
+
+ -- Steven Knight <knight@baldmt.com> Wed, 20 Aug 2003 03:45:28 -0500
+
+
+scons (0.91-1) unstable; urgency=low
+
+ * Second beta release.
+
+ -- Steven Knight <knight@baldmt.com> Thu, 14 Aug 2003 13:00:44 -0500
+
+
+scons (0.90-1) unstable; urgency=low
+
+ * First beta release.
+
+ -- Steven Knight <knight@baldmt.com> Wed, 25 Jun 2003 14:24:52 -0500
+
+
+scons (0.14-1) unstable; urgency=low
+
+ * Eighth post-official-Debian build cycle
+
+ -- Steven Knight <knight@baldmt.com> Wed, 21 May 2003 05:16:32 -0500
+
+
+scons (0.13-1) unstable; urgency=low
+
+ * Seventh post-official-Debian build cycle
+
+ -- Steven Knight <knight@baldmt.com> Mon, 31 Mar 2003 20:22:00 -0600
+
+
+scons (0.12-1) unstable; urgency=low
+
+ * Sixth post-official-Debian build cycle
+
+ -- Steven Knight <knight@baldmt.com> Thu, 27 Mar 2003 23:52:09 -0600
+
+
+scons (0.11-1) unstable; urgency=low
+
+ * Fifth post-official-Debian build cycle
+
+ -- Steven Knight <knight@baldmt.com> Tue, 11 Feb 2003 05:24:33 -0600
+
+
+scons (0.10-1) unstable; urgency=low
+
+ * Fourth post-official-Debian build cycle
+
+ -- Steven Knight <knight@baldmt.com> Thu, 16 Jan 2003 04:11:46 -0600
+
+
+scons (0.09-1) unstable; urgency=low
+
+ * Third post-official-Debian build cycle
+
+ -- Steven Knight <knight@baldmt.com> Thu, 5 Dec 2002 04:48:25 -0600
+
+
+scons (0.08-1) unstable; urgency=low
+
+ * New upstream release (Closes: #158373)
+
+ -- Moshe Zadka <moshez@debian.org> Mon, 21 Oct 2002 16:52:11 +0200
+
+scons (0.07-3) unstable; urgency=low
+
+ * Removing /usr/doc links
+ * Python 2.1 -> Python 2.2
+
+ -- Moshe Zadka <moshez@debian.org> Tue, 27 Aug 2002 18:48:02 +0300
+
+scons (0.07-2) unstable; urgency=low
+
+ * Ugh, who would put distutils.core in python-dev? Changing build
+ dependancies (Closes: #146601)
+ * While we're at it, update Standards-Version
+
+ -- Moshe Zadka <moshez@debian.org> Sat, 11 May 2002 08:25:07 +0300
+
+scons (0.07-1) unstable; urgency=low
+
+ * New upstream version
+ * Packaging properly, instead of as debian native
+ * Modifying copyright to include upstream location (Closes: #144491)
+ * Fixing my e-mail address (Closes: #144490)
+ * Thanks for looking after my packages, tbm ;-)
+
+ -- Moshe Zadka <moshez@debian.org> Sat, 4 May 2002 13:05:53 +0300
+
+scons (0.06-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Moshe Zadka <moshez@debian.org> Mon, 15 Apr 2002 19:22:09 +0300
+
+scons (0.05-1) unstable; urgency=low
+
+ * First upload (closes: #140128)
+
+ -- Moshe Zadka <moshez@debian.org> Wed, 27 Mar 2002 10:40:42 +0200
+
+
+scons (0.06-1) unstable; urgency=low
+
+ * Sixth Release.
+
+ -- Steven Knight <knight@baldmt.com> Thu, 28 Mar 2002 01:24:29 -0600
+
+
+scons (0.05-1) unstable; urgency=low
+
+ * Fifth Release.
+
+ -- Steven Knight <knight@baldmt.com> Thu, 21 Feb 2002 16:50:03 -0600
+
+
+scons (0.04-1) unstable; urgency=low
+
+ * Fourth Release.
+
+ -- Steven Knight <knight@baldmt.com> Wed, 30 Jan 2002 11:09:42 -0600
+
+
+scons (0.03-1) unstable; urgency=low
+
+ * Third Release.
+
+ -- Steven Knight <knight@baldmt.com> Fri, 11 Jan 2002 01:09:30 -0600
+
+
+scons (0.02-1) unstable; urgency=low
+
+ * Second Release.
+
+ -- Steven Knight <knight@baldmt.com> Fri, 14 Dec 2001 13:23:03 -0600
+
+
+scons (0.01-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Anthony Roach <aroach@electriceyeball.com> Mon, 1 Oct 2001 23:24:45 -0500
+
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..c8ebf4c10
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: scons
+Section: devel
+Priority: optional
+Maintainer: Moshe Zadka <moshez@debian.org>
+Build-Depends-Indep: debhelper (>> 2.0.0), python-dev (>> 2.4)
+Standards-Version: 3.5.6
+
+Package: scons
+Architecture: all
+Depends: python (>> 2.4)
+Description: A replacement for Make
+ SCons is an Open Source software construction tool--that is, a build
+ tool; an improved substitute for the classic Make utility; a better
+ way to build software. SCons is based on the design which won the
+ Software Carpentry build tool design competition in August 2000. SCons
+ "configuration files" are Python scripts that call an API to establish
+ dependencies and specify how targets are built. SCons maintains a global
+ view of all dependencies in a tree, and can scan source (or other) files
+ for implicit dependencies, such as files specified on #include lines.
+ SCons uses MD5 signatures to rebuild only when the contents of a file
+ have really changed, not just when the timestamp has been touched.
+ SCons supports side-by-side variant builds, and is easily extended with
+ user-defined Builder and/or Scanner objects.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..c4cc1ef6a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+This package was debianized by Moshe Zadka <moshez@zadka.site.co.il> on
+Wed, 27 Mar 2002 10:40:28 +0200.
+
+Upstream Author(s):
+Steven Knight
+knight at baldmt dot com
+http://www.baldmt.com/~knight/
+
+With plenty of help from the SCons Development team:
+ Chad Austin
+ Charles Crain
+ Steve Leblanc
+ Anthony Roach
+
+
+Copyright:
+
+The software comes with the following notice in the file LICENSE.txt:
+__COPYRIGHT__
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+This package was debianized by Anthony Roach <aroach@electriceyeball.com>
+
+The package source can be downloaded from http://www.scons.org/
+
+Upstream Author: Steven Knight <knight@baldmt.com>
+
+__COPYRIGHT__
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 000000000..93a451b63
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/doc/scons
+usr/share/man/man1
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 000000000..09547ffc2
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+usr/share/doc/scons/*
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 000000000..6a7d33556
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+if [ "$1" = "configure" ]; then
+ if [ -d /usr/doc -a ! -e /usr/doc/scons -a -d /usr/share/doc/scons ]; then
+ ln -sf ../share/doc/scons /usr/doc/scons
+ fi
+fi
+
+NAME=scons
+PYTHON_VERSION=`python -V 2>&1| cut -d" " -f2 | cut -d"." -f1-2`
+PYTHON_EXE_NAME=`which python$PYTHON_VERSION`
+case "$1" in
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ dpkg --listfiles $NAME | grep '\.py$' | \
+ xargs -n 1 $PYTHON_EXE_NAME -c 'import py_compile,sys;py_compile.compile(sys.argv[1])'
+ dpkg --listfiles $NAME | grep '\.py$' | \
+ xargs -n 1 $PYTHON_EXE_NAME -O -c 'import py_compile,sys;py_compile.compile(sys.argv[1])'
+ ;;
+esac
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 000000000..62531a3e8
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+NAME=scons
+
+dpkg --listfiles $NAME |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scons ]; then
+ rm -f /usr/doc/scons
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 000000000..1effa02ec
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,115 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+########
+# Overridable variables added to support building test .deb files
+# as part of routine SCons builds. --SK
+BUILDDEB_OPTIONS=
+PYTHON_VERSION=`python -V 2>&1| cut -d" " -f2 | cut -d"." -f1-2`
+PYTHON_PATH=/usr/bin/python
+PYTHON=$(PYTHON_PATH)$(PYTHON_VERSION)
+#######
+
+# 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
+ $(PYTHON) setup.py build
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ rm -rf build/
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/scons.
+ @########
+ @# The SCons project uses Aegis for development, which requires
+ @# that targets be removed explicitly before they're created.
+ @# (They could be symlinks to checked-in read-only copies in the
+ @# repository.) We also can't assume that the proper directories
+ @# already exist on our non-Debian test build systems. Hence,
+ @# we do a lot of mkdir -p and rm -f here... --SK
+ @########
+ mkdir -p debian/scons/usr/lib/python$(PYTHON_VERSION)/site-packages/
+ rm -rf debian/scons/usr/lib/python$(PYTHON_VERSION)/site-packages/SCons
+ cp -r build/lib*/SCons debian/scons/usr/lib/python$(PYTHON_VERSION)/site-packages/
+
+ mkdir -p debian/scons/usr/bin/
+ rm -f debian/scons/usr/bin/scons
+ rm -f debian/scons/usr/bin/sconsign
+ifeq ($(PYTHON),python)
+ cp build/scripts/scons debian/scons/usr/bin/scons
+ cp build/scripts/sconsign debian/scons/usr/bin/sconsign
+else
+ sed '1s|.*|#!/usr/bin/python2.2|' build/scripts/scons > debian/scons/usr/bin/scons
+ sed '1s|.*|#!/usr/bin/python2.2|' build/scripts/sconsign > debian/scons/usr/bin/sconsign
+endif
+ chmod +x debian/scons/usr/bin/scons
+ chmod +x debian/scons/usr/bin/sconsign
+
+ mkdir -p debian/scons/usr/share/man/man1/
+ rm -f debian/scons/usr/share/man/man1/scons.1
+ rm -f debian/scons/usr/share/man/man1/sconsign.1
+ cp scons.1 debian/scons/usr/share/man/man1/
+ cp sconsign.1 debian/scons/usr/share/man/man1/
+
+ mkdir -p debian/scons/usr/share/doc/scons
+ rm -f debian/scons/usr/share/doc/scons/changelog
+ rm -f debian/scons/usr/share/doc/scons/README.txt
+ rm -f debian/scons/usr/share/doc/scons/CHANGES.txt
+ rm -f debian/scons/usr/share/doc/scons/*.gz
+ rm -f debian/scons/usr/share/doc/scons/copyright
+
+ cp README.txt debian/scons/usr/share/doc/scons/
+ cp CHANGES.txt debian/scons/usr/share/doc/scons/
+
+ gzip -9 debian/scons/usr/share/doc/scons/*
+
+ cp debian/changelog debian/scons/usr/share/doc/scons/changelog
+
+ cp debian/copyright debian/scons/usr/share/doc/scons/
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ #dh_installdocs
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ DH_COMPAT=$(DH_COMPAT) dh_builddeb $(BUILDDEB_OPTIONS)
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure