summaryrefslogtreecommitdiffstats
path: root/debian/pyrex/pyrex-0.9.9/bin
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pyrex/pyrex-0.9.9/bin')
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/pyrexc8
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/pyrexc2.58
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/pyrexc2.68
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/pyxcc15
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/run_tests_2.57
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/run_tests_2.67
-rwxr-xr-xdebian/pyrex/pyrex-0.9.9/bin/update_references49
7 files changed, 0 insertions, 102 deletions
diff --git a/debian/pyrex/pyrex-0.9.9/bin/pyrexc b/debian/pyrex/pyrex-0.9.9/bin/pyrexc
deleted file mode 100755
index b604d4d0..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/pyrexc
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env python
-
-#
-# Pyrex -- Main Program, Unix
-#
-
-from Pyrex.Compiler.Main import main
-main(command_line = 1)
diff --git a/debian/pyrex/pyrex-0.9.9/bin/pyrexc2.5 b/debian/pyrex/pyrex-0.9.9/bin/pyrexc2.5
deleted file mode 100755
index 766631c1..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/pyrexc2.5
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env python2.5
-
-#
-# Pyrex -- Main Program, Unix
-#
-
-from Pyrex.Compiler.Main import main
-main(command_line = 1)
diff --git a/debian/pyrex/pyrex-0.9.9/bin/pyrexc2.6 b/debian/pyrex/pyrex-0.9.9/bin/pyrexc2.6
deleted file mode 100755
index 4c34f547..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/pyrexc2.6
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env python2.6
-
-#
-# Pyrex -- Main Program, Unix
-#
-
-from Pyrex.Compiler.Main import main
-main(command_line = 1)
diff --git a/debian/pyrex/pyrex-0.9.9/bin/pyxcc b/debian/pyrex/pyrex-0.9.9/bin/pyxcc
deleted file mode 100755
index d1f96df2..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/pyxcc
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-export MACOSX_DEPLOYMENT_TARGET=10.3
-ver=2.3
-if [ $1 == -p ]; then
- ver=$2
- shift 2
-fi
-base=$1
-gcc -g -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp \
- -mno-fused-madd -fno-common -dynamic -Wno-long-long \
- -Wno-unused-function \
- -I/Library/Frameworks/Python.framework/Versions/$ver/Headers \
- $base.c
-gcc -Wl,-F.,-w -bundle -undefined dynamic_lookup \
- $base.o -o $base.so
diff --git a/debian/pyrex/pyrex-0.9.9/bin/run_tests_2.5 b/debian/pyrex/pyrex-0.9.9/bin/run_tests_2.5
deleted file mode 100755
index f478aaa7..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/run_tests_2.5
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env python2.5
-#
-# runtests -- Run all the tests.
-#
-
-from Pyrex.Testing import Testing
-Testing.run_tests()
diff --git a/debian/pyrex/pyrex-0.9.9/bin/run_tests_2.6 b/debian/pyrex/pyrex-0.9.9/bin/run_tests_2.6
deleted file mode 100755
index 3cca59e7..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/run_tests_2.6
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env python2.6
-#
-# runtests -- Run all the tests.
-#
-
-from Pyrex.Testing import Testing
-Testing.run_tests()
diff --git a/debian/pyrex/pyrex-0.9.9/bin/update_references b/debian/pyrex/pyrex-0.9.9/bin/update_references
deleted file mode 100755
index 70277781..00000000
--- a/debian/pyrex/pyrex-0.9.9/bin/update_references
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-#
-# Go through the Tests directory and its subdirectories
-# copying the latest versions of the test outputs into
-# the Reference directories.
-#
-
-import os, sys
-
-ignore_names = [".DS_Store", "Icon\r"]
-
-def copy_file(from_path, to_path):
- # We copy the contents from one file to the other
- # so as to preserve metadata on the Mac.
- #print from_path, "-->", to_path
- f = open(from_path)
- g = open(to_path, "w+")
- g.write(f.read())
- f.close()
- g.close()
-
-def update_references(out_dir, ref_dir):
- for name in os.listdir(ref_dir):
- if name not in ignore_names:
- out_file = os.path.join(out_dir, name)
- ref_file = os.path.join(ref_dir, name)
- if os.path.isfile(out_file):
- print "Updating", name
- copy_file(out_file, ref_file)
-
-def update_references_in_dir(dir):
- print "Updating references in", dir
- for name in os.listdir(dir):
- if name <> "Reference" and not name.startswith("("):
- item_path = os.path.join(dir, name)
- if os.path.isdir(item_path):
- update_references_in_dir(item_path)
- ref_dir = os.path.join(dir, "Reference")
- if os.path.isdir(ref_dir):
- update_references(dir, ref_dir)
-
-def main():
- bin_dir = os.path.dirname(sys.argv[0])
- source_dir = os.path.dirname(bin_dir)
- tests_dir = os.path.join(source_dir, "Tests")
- update_references_in_dir(tests_dir)
-
-if __name__ == "__main__":
- main()