[ros-rospkg] 05/06: Repackage using pybuild

Jochen Sprickerhof jspricke at moszumanska.debian.org
Sat Jul 15 06:37:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch master
in repository ros-rospkg.

commit 833d07a64f10675614e9806ef219df9ecf0d1b92
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sat Jul 15 08:21:42 2017 +0200

    Repackage using pybuild
    
    - add python3-rospkg package
---
 debian/control        | 35 +++++++++++++++++++++++++----------
 debian/rules          | 15 +++------------
 debian/source/options |  1 +
 3 files changed, 29 insertions(+), 22 deletions(-)

diff --git a/debian/control b/debian/control
index 51043be..e29118c 100644
--- a/debian/control
+++ b/debian/control
@@ -1,24 +1,39 @@
 Source: ros-rospkg
-Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
-Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
-           Jochen Sprickerhof <jspricke at debian.org>,
-           Leopold Palomo-Avellaneda <leo at alaxarxa.net>
 Section: python
 Priority: optional
-Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 10), dh-python
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Thomas Moulard <thomas.moulard at gmail.com>, Jochen Sprickerhof <jspricke at debian.org>, Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 10), dh-python, python-all, python-setuptools, python3-all, python3-setuptools, python-mock, python-yaml, python3-mock, python3-yaml
 Standards-Version: 4.0.0
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-rospkg.git
+Homepage: http://wiki.ros.org/rospkg
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Vcs-Git: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-rospkg.git
-Homepage: http://wiki.ros.org/rosdistro
-X-Python-Version: >= 2.7
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-rospkg.git
+Testsuite: autopkgtest-pkg-python
 
 Package: python-rospkg
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Description: Robot OS package library
+Depends: ${python:Depends}, ${misc:Depends}
+Description: Robot OS package library (Python 2)
+ This package is part of Robot OS (ROS). It is a library for
+ retrieving information about ROS packages and stacks. The rospkg
+ Python module provides basic utilities for querying information about
+ ROS packages, stacks, and distributions. There are several basic
+ APIs: ROS environment, RosPack/RosStack, OS detection, and
+ distributions.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-rospkg
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Robot OS package library (Python 3)
  This package is part of Robot OS (ROS). It is a library for
  retrieving information about ROS packages and stacks. The rospkg
  Python module provides basic utilities for querying information about
  ROS packages, stacks, and distributions. There are several basic
  APIs: ROS environment, RosPack/RosStack, OS detection, and
  distributions.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/rules b/debian/rules
index 6757c58..0c16971 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,7 @@
 #!/usr/bin/make -f
 
-# This file was automatically generated by stdeb 0.6.0+git at
-# Fri, 28 Nov 2014 11:36:13 +0100
+export PYBUILD_NAME=rospkg
+export PYBUILD_AFTER_INSTALL=rm -rf 'debian/python3-rospkg/usr/bin'
 
 %:
-	dh $@ --with python2 --buildsystem=python_distutils
-
-
-override_dh_clean:
-	rm -rf src/rospkg.egg-info
-	dh_clean
-
-get-orig-source:
-	uscan --verbose --force-download --repack --compress xz
-
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-rospkg.git



More information about the debian-science-commits mailing list