[Pkg-nagios-changes] [pkg-check-mk] 01/01: put the private python libs in a separate package
Matt Taggart
taggart at moszumanska.debian.org
Thu Aug 3 20:51:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
taggart pushed a commit to branch master
in repository pkg-check-mk.
commit 7653b1d93040dbdde292263393e1395ebfa54d40
Author: Matt Taggart <taggart at debian.org>
Date: Thu Aug 3 13:50:26 2017 -0700
put the private python libs in a separate package
have setup.sh install the python stuff in the right place for dh_python
to find it
---
debian/control | 4 ++--
debian/rules | 6 ++----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index 515d828..471c6c9 100644
--- a/debian/control
+++ b/debian/control
@@ -117,11 +117,11 @@ Description: general purpose monitoring plugin for retrieving data (documentatio
.
This package contains the check_mk documentation.
-Package: python3-check-mk
+Package: check-mk-common
Architecture: all
Section: python
Depends: ${misc:Depends}, ${python3:Depends}
-Description: general purpose monitoring plugin for retrieving data (python libraries)
+Description: general purpose monitoring plugin for retrieving data (common libraries)
Check_mk adopts a new a approach for collecting data from operating systems
and network components. It obsoletes NRPE, check_by_ssh, NSClient and
check_snmp. It has many benefits, the most important of which are:
diff --git a/debian/rules b/debian/rules
index 7d67573..23eedca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,7 +56,7 @@ install: build
dh_installdirs
dh_installdebconf
mkdir -p debian/tmp
- DESTDIR=debian/tmp python_lib_dir=/usr/lib/python3/dist-packages ./setup.sh --yes
+ DESTDIR=debian/tmp python_lib_dir=/usr/share/check-mk-common ./setup.sh --yes
## clean up binaries shipped by upstream
# upstream agent deb and rpm
rm -rf debian/tmp/usr/share/check_mk/agent/check-mk-agent*.deb
@@ -87,8 +87,6 @@ install: build
## cleanup shipped byte-compiled python and regenerate it
#rm -rf debian/tmp/usr/lib/python2.7/dist-packages/cmk_base/*.pyc
#rm -rf debian/tmp/usr/lib/python2.7/dist-packages/cmk/*.pyc
- #FIXME: pycompile debian/tmp/usr/lib/python2.7/dist-packages/
- #dh_python3
## config files
# We need 2 different "defaults" files for Icinga and Nagios3
rm debian/tmp/usr/share/check_mk/modules/defaults
@@ -154,7 +152,7 @@ binary-arch: build install
# dh_installemacsen
# dh_installpam
# dh_installmime
-# dh_python
+ dh_python3
# dh_installinit
# dh_installcron
# dh_installinfo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-check-mk.git
More information about the Pkg-nagios-changes
mailing list