[Python-apps-commits] r14436 - in packages/clustershell/trunk/debian (6 files)
phantez-guest at users.alioth.debian.org
phantez-guest at users.alioth.debian.org
Thu Oct 26 14:26:18 UTC 2017
Date: Thursday, October 26, 2017 @ 14:26:16
Author: phantez-guest
Revision: 14436
Publish clustershell-1.8 and split into binary package and 2 lib packages
Modified:
packages/clustershell/trunk/debian/changelog
packages/clustershell/trunk/debian/control
packages/clustershell/trunk/debian/dirs
packages/clustershell/trunk/debian/install
packages/clustershell/trunk/debian/rules
packages/clustershell/trunk/debian/watch
Modified: packages/clustershell/trunk/debian/changelog
===================================================================
--- packages/clustershell/trunk/debian/changelog 2017-10-26 10:44:42 UTC (rev 14435)
+++ packages/clustershell/trunk/debian/changelog 2017-10-26 14:26:16 UTC (rev 14436)
@@ -1,3 +1,16 @@
+clustershell (1.8-1) unstable; urgency=medium
+
+ * New upstream release
+ * Debian policy 4.1.1.1, no changes required
+ * split into 3 packages:
+ - clustershell that contains the binaries and depend on python3-clustershell
+ - python3-clustershell that contains the library for python3
+ - python-clustershell that contains the library for python2
+ * Version supported of python are now :
+ - python (>= 2.6) and python (>= 3.4)
+
+ -- Stéphan Gorget <phantez at gmail.com> Wed, 25 Oct 2017 22:48:31 +0200
+
clustershell (1.7.3-2) unstable; urgency=medium
* Add dependency python-pkg-resources (closes: Bug#870359)
Modified: packages/clustershell/trunk/debian/control
===================================================================
--- packages/clustershell/trunk/debian/control 2017-10-26 10:44:42 UTC (rev 14435)
+++ packages/clustershell/trunk/debian/control 2017-10-26 14:26:16 UTC (rev 14436)
@@ -4,17 +4,40 @@
Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
Uploaders: Stéphan Gorget <phantez at gmail.com>
Homepage: http://cea-hpc.github.com/clustershell/
-Build-Depends: debhelper (>= 9), python-all(>= 2.6.6-3~), python-setuptools (>= 0.6), dh-python
-X-Python-Version: >= 2.4
-Standards-Version: 4.0.1
+Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python3-all (>= 3.4), python-setuptools (>= 0.6), python3-setuptools, dh-python
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.4
+Standards-Version: 4.1.1.1
Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/clustershell/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/clustershell/trunk/
-Package: clustershell
+Package: python-clustershell
Architecture: all
+Section: python
Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources
Suggests: vim-addon-manager
Recommends: python-yaml
+Description: clustershell python2 libraries
+ Event-based Python library to execute commands on local or distant
+ cluster nodes in parallel depending on the selected engine and
+ worker mechanisms.
+
+Package: python3-clustershell
+Architecture: all
+Section: python
+Depends: ${misc:Depends}, ${python3:Depends}, python3-pkg-resources
+Suggests: vim-addon-manager
+Recommends: python3-yaml
+Description: clustershell python3 libraries
+ Event-based Python library to execute commands on local or distant
+ cluster nodes in parallel depending on the selected engine and
+ worker mechanisms.
+
+Package: clustershell
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, python3-clustershell
+Suggests: vim-addon-manager
+Recommends: python-yaml
Description: Distributed shell that provides an efficient Python interface
Event-based Python library to execute commands on local or distant
cluster nodes in parallel depending on the selected engine and
Modified: packages/clustershell/trunk/debian/dirs
===================================================================
--- packages/clustershell/trunk/debian/dirs 2017-10-26 10:44:42 UTC (rev 14435)
+++ packages/clustershell/trunk/debian/dirs 2017-10-26 14:26:16 UTC (rev 14436)
@@ -1 +0,0 @@
-etc/clustershell/groups.conf.d
Modified: packages/clustershell/trunk/debian/install
===================================================================
--- packages/clustershell/trunk/debian/install 2017-10-26 10:44:42 UTC (rev 14435)
+++ packages/clustershell/trunk/debian/install 2017-10-26 14:26:16 UTC (rev 14436)
@@ -1,6 +0,0 @@
-conf/groups.conf etc/clustershell
-conf/clush.conf etc/clustershell
-doc/extras/vim/ftdetect/clustershell.vim usr/share/vim/addons/ftdetect
-doc/extras/vim/syntax/clushconf.vim usr/share/vim/addons/syntax
-doc/extras/vim/syntax/groupsconf.vim usr/share/vim/addons/syntax
-debian/clustershell.yaml usr/share/vim/registry
Modified: packages/clustershell/trunk/debian/rules
===================================================================
--- packages/clustershell/trunk/debian/rules 2017-10-26 10:44:42 UTC (rev 14435)
+++ packages/clustershell/trunk/debian/rules 2017-10-26 14:26:16 UTC (rev 14436)
@@ -1,11 +1,30 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
+export PYBUILD_NAME=clustershell
+export PYBUILD_DESTDIR_python3 = debian/python3-$(PYBUILD_NAME)
+export PYBUILD_AFTER_INSTALL_python2 = rm -rf {destdir}/usr/bin; rm -rf {destdir}/etc/clustershell
+export PYBUILD_AFTER_INSTALL_python3 = rm -rf {destdir}/etc/clustershell
+
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=pybuild
get-orig-tarball:
uscan --verbose --force-download
+override_dh_auto_install:
+ dh_auto_install
+ dh_movefiles --package=$(PYBUILD_NAME) --sourcedir=$(PYBUILD_DESTDIR_python3) usr/bin
+ dh_install --package=$(PYBUILD_NAME) conf/clush.conf etc/clustershell
+ dh_install --package=$(PYBUILD_NAME) conf/groups.conf etc/clustershell
+ dh_install --package=$(PYBUILD_NAME) conf/groups.conf.d etc/clustershell
+ dh_install --package=$(PYBUILD_NAME) conf/groups.d etc/clustershell
+ dh_install --package=$(PYBUILD_NAME) debian/clustershell.yaml usr/share/vim/registry
+ dh_install --package=$(PYBUILD_NAME) debian/clustershell.yaml usr/share/vim/registry
+ dh_install --package=$(PYBUILD_NAME) doc/extras/vim/ftdetect/clustershell.vim usr/share/vim/addons/ftdetect
+ dh_install --package=$(PYBUILD_NAME) doc/extras/vim/syntax/clushconf.vim usr/share/vim/addons/syntax
+ dh_install --package=$(PYBUILD_NAME) doc/extras/vim/syntax/groupsconf.vim usr/share/vim/addons/syntax
+
clean:
dh $@
rm -rf scripts/nodeset scripts/clush scripts/clubak scripts/cluset lib/ClusterShell.egg-info
Modified: packages/clustershell/trunk/debian/watch
===================================================================
--- packages/clustershell/trunk/debian/watch 2017-10-26 10:44:42 UTC (rev 14435)
+++ packages/clustershell/trunk/debian/watch 2017-10-26 14:26:16 UTC (rev 14436)
@@ -1,2 +1,2 @@
version=3
-http://pypi.debian.net/ClusterShell/clustershell-(.*).tar.gz
+http://pypi.debian.net/ClusterShell/ClusterShell-(.*).tar.gz
More information about the Python-apps-commits
mailing list