[Python-modules-commits] [pytest] 01/04: Remove versioned entry points
Sebastian Ramacher
sramacher at moszumanska.debian.org
Sun Aug 21 15:34:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
sramacher pushed a commit to branch master
in repository pytest.
commit 2ff1f42fcc6bf3a3b67dc33033d2ad66f496ba45
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Sun Aug 21 16:28:23 2016 +0200
Remove versioned entry points
Upstream dropped them too.
---
debian/python-pytest.links | 2 --
debian/python3-pytest.postinst | 39 ---------------------------------------
debian/python3-pytest.prerm | 29 -----------------------------
debian/python3-pytest.rtinstall | 7 -------
debian/python3-pytest.rtremove | 3 ---
5 files changed, 80 deletions(-)
diff --git a/debian/python-pytest.links b/debian/python-pytest.links
deleted file mode 100644
index f4833e0..0000000
--- a/debian/python-pytest.links
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin/py.test usr/bin/py.test-2.7
-usr/share/man/man1/py.test.1.gz usr/share/man/man1/py.test-2.7.1.gz
diff --git a/debian/python3-pytest.postinst b/debian/python3-pytest.postinst
deleted file mode 100644
index 6e6f726..0000000
--- a/debian/python3-pytest.postinst
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-set -e
-
-# 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>
-# * <postinst> `abort-remove'
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- configure|abort-upgrade|abort-remove|abort-deconfigure)
- # Just in case, recreate all scripts
- for version in `py3versions -vi`; do
- if [ $version ]; then
- cp /usr/bin/py.test-3 /usr/bin/py.test-$version
- sed -i "s,#! */usr/bin/python3,#!/usr/bin/python$version," "/usr/bin/py.test-$version"
- fi
- 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
diff --git a/debian/python3-pytest.prerm b/debian/python3-pytest.prerm
deleted file mode 100644
index d354019..0000000
--- a/debian/python3-pytest.prerm
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-set -e
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-
-case "$1" in
- remove|upgrade|deconfigure|failed-upgrade)
- rm -f /usr/bin/py.test-3.[0-9]
- ;;
-
- *)
- echo "prerm 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
diff --git a/debian/python3-pytest.rtinstall b/debian/python3-pytest.rtinstall
deleted file mode 100755
index dbb8e66..0000000
--- a/debian/python3-pytest.rtinstall
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -e
-PYVERSION="${2##*python}"
-if [ ! -e "/usr/bin/py.test-$PYVERSION" ]; then
- cp /usr/bin/py.test-3 /usr/bin/py.test-$PYVERSION
- sed -i "s,#! */usr/bin/python3,#!/usr/bin/$2," /usr/bin/py.test-$PYVERSION
-fi
diff --git a/debian/python3-pytest.rtremove b/debian/python3-pytest.rtremove
deleted file mode 100755
index 656e1ce..0000000
--- a/debian/python3-pytest.rtremove
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-set -e
-rm -f "/usr/bin/py.test-${2##*python}"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest.git
More information about the Python-modules-commits
mailing list