[ros-resource-retriever] 01/01: add python3 support
Johannes Schauer
josch at moszumanska.debian.org
Mon Oct 26 13:57:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
josch pushed a commit to branch python3
in repository ros-resource-retriever.
commit 5b18dde928f17a104cee5a4432ac42d5c31431e6
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date: Sun Oct 18 12:04:53 2015 +0200
add python3 support
---
debian/control | 6 +++---
debian/python-resource-retriever.pyinstall | 1 -
debian/python3-resource-retriever.install | 1 +
debian/rules | 27 +++++++--------------------
4 files changed, 11 insertions(+), 24 deletions(-)
diff --git a/debian/control b/debian/control
index c89cfbd..665f91e 100644
--- a/debian/control
+++ b/debian/control
@@ -28,7 +28,7 @@ Package: libresource-retriever-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, libresource-retriever0d ( = ${binary:Version}),
- ${python:Depends}, python, libboost-thread-dev
+ ${python3:Depends}, python3, libboost-thread-dev
Description: ROS resource_retriever library - development files
This package retrieves data from url-format files such as http://, ftp://,
package:// file://, etc., and loads the data into memory. The package:// url
@@ -39,10 +39,10 @@ Description: ROS resource_retriever library - development files
.
This package contains the development files.
-Package: python-resource-retriever
+Package: python3-resource-retriever
Section: python
Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
Description: ROS resource_retriever library - Python
This package retrieves data from url-format files such as http://, ftp://,
package:// file://, etc., and loads the data into memory. The package:// url
diff --git a/debian/python-resource-retriever.pyinstall b/debian/python-resource-retriever.pyinstall
deleted file mode 100644
index 323db1f..0000000
--- a/debian/python-resource-retriever.pyinstall
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python2*/*/resource_retriever/*.py resource_retriever
diff --git a/debian/python3-resource-retriever.install b/debian/python3-resource-retriever.install
new file mode 100644
index 0000000..7972f0e
--- /dev/null
+++ b/debian/python3-resource-retriever.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/resource_retriever
diff --git a/debian/rules b/debian/rules
index 18789b3..42375e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,25 +1,12 @@
#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#DH_VERBOSE = 1
-
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
-
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-
-# main packaging script based on dh7 syntax
%:
- dh $@ --parallel --buildsystem=cmake --with python2
+ dh $@ --parallel --buildsystem=cmake --with python3
# test suite is broken atm.
override_dh_auto_test:
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DPython_ADDITIONAL_VERSIONS=3.4
+
+get-orig-source:
+ uscan --verbose --force-download --repack --compress xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-resource-retriever.git
More information about the debian-science-commits
mailing list