summaryrefslogtreecommitdiff
path: root/debian/python-sh/DEBIAN
diff options
context:
space:
mode:
Diffstat (limited to 'debian/python-sh/DEBIAN')
-rw-r--r--debian/python-sh/DEBIAN/control13
-rw-r--r--debian/python-sh/DEBIAN/md5sums6
-rwxr-xr-xdebian/python-sh/DEBIAN/postinst9
-rwxr-xr-xdebian/python-sh/DEBIAN/prerm14
4 files changed, 42 insertions, 0 deletions
diff --git a/debian/python-sh/DEBIAN/control b/debian/python-sh/DEBIAN/control
new file mode 100644
index 0000000..e530b7b
--- /dev/null
+++ b/debian/python-sh/DEBIAN/control
@@ -0,0 +1,13 @@
+Package: python-sh
+Version: 1.07-1
+Architecture: all
+Maintainer: Ben Carrillo <ben@futeisha.org>
+Installed-Size: 109
+Depends: python (>= 2.6.6-7~), python (<< 2.8)
+Section: python
+Priority: optional
+Homepage: https://github.com/amoffat/sh
+Description: Python subprocess interface
+ sh (previously pbs) is a full-fledged subprocess interface for
+ Python 2.6 - 3.2 that allows you to call any program as if it
+ were a function.
diff --git a/debian/python-sh/DEBIAN/md5sums b/debian/python-sh/DEBIAN/md5sums
new file mode 100644
index 0000000..83778ac
--- /dev/null
+++ b/debian/python-sh/DEBIAN/md5sums
@@ -0,0 +1,6 @@
+7293643b0f122a5edfb6107110f6392e usr/share/doc/python-sh/AUTHORS.md
+6408d9bab327702e5d3eb8379e63b06e usr/share/doc/python-sh/README.md
+d71b839fa155aabdd48114d059c0f56d usr/share/doc/python-sh/changelog.Debian.gz
+1e7c7101fc2af784c75fe00987acfeff usr/share/doc/python-sh/copyright
+71456e107fec6ffe2706ea157947c165 usr/share/pyshared/sh-1.07.egg-info
+55daae0274c9a0992efa0c75e505d6b1 usr/share/pyshared/sh.py
diff --git a/debian/python-sh/DEBIAN/postinst b/debian/python-sh/DEBIAN/postinst
new file mode 100755
index 0000000..b2edcda
--- /dev/null
+++ b/debian/python-sh/DEBIAN/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+# Automatically added by dh_python2:
+if which pycompile >/dev/null 2>&1; then
+ pycompile -p python-sh
+fi
+
+# End automatically added section
diff --git a/debian/python-sh/DEBIAN/prerm b/debian/python-sh/DEBIAN/prerm
new file mode 100755
index 0000000..761dd27
--- /dev/null
+++ b/debian/python-sh/DEBIAN/prerm
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+# Automatically added by dh_python2:
+if which pyclean >/dev/null 2>&1; then
+ pyclean -p python-sh
+else
+ dpkg -L python-sh | grep \.py$ | while read file
+ do
+ rm -f "${file}"[co] >/dev/null
+ done
+fi
+
+# End automatically added section