[Pkg-libvirt-commits] [libvirt] 01/03: Remove unused python files
Guido Guenther
agx at moszumanska.debian.org
Tue Oct 14 17:15:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to annotated tag debian/1.2.9-3
in repository libvirt.
commit 114d77723de039a047b7034b3634e8c480ad86b1
Author: Guido Günther <agx at sigxcpu.org>
Date: Tue Oct 14 15:55:44 2014 +0200
Remove unused python files
We split out libvirt-python ages ago
---
debian/python-libvirt.install | 2 --
debian/python.mk | 38 --------------------------------------
2 files changed, 40 deletions(-)
diff --git a/debian/python-libvirt.install b/debian/python-libvirt.install
deleted file mode 100644
index eae0436..0000000
--- a/debian/python-libvirt.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/python*/*/*.so
-usr/lib/python*/*/*.py
diff --git a/debian/python.mk b/debian/python.mk
deleted file mode 100644
index cbe79ee..0000000
--- a/debian/python.mk
+++ /dev/null
@@ -1,38 +0,0 @@
-# Build python modules for all known python versions
-
-include /usr/share/python/python.mk
-ifeq (,$(py_sitename))
- py_libdir_sh = $$(_py_=$(strip $(1)); python$${_py_\#python*} -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
-endif
-
-PY_DIR := $(DEB_BUILDDIR)/python
-PYDEFAULTVER := $(shell pyversions --version --default)
-PYVERSIONS := $(shell pyversions --version --installed)
-
-otherpy = \
- set -e; for v in $(PYVERSIONS); do \
- $(RM) $(PY_DIR); \
- ln -sf $(PY_DIR)$$v $(PY_DIR); \
- $(MAKE) \
- -C $(PY_DIR) \
- pyexecdir=$(call py_libdir_sh, $$v) \
- PYTHON=python$$v \
- PYTHON_VERSION=$$v \
- PYTHON_INCLUDES=-I/usr/include/python$$v \
- $1; \
- $(RM) $(PY_DIR); \
- done; \
- ln -sf $(PY_DIR)$(PYDEFAULTVER) $(PY_DIR)
-
-configure::
- set -e; for v in $(PYVERSIONS); do \
- cp -la $(PY_DIR) $(PY_DIR)$$v; \
- done
- $(RM) -r $(PY_DIR)
- ln -sf $(PY_DIR)$(PYDEFAULTVER) $(PY_DIR)
-
-build::
- $(call otherpy, all)
-
-install::
- $(call otherpy, install DESTDIR=$(CURDIR)/debian/tmp)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git
More information about the Pkg-libvirt-commits
mailing list