[Python-modules-commits] [pyside] 06/06: releasing package pyside version 1.2.2+source1-1

Luke Faraone lfaraone at moszumanska.debian.org
Wed May 17 03:23:08 UTC 2017


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

lfaraone pushed a commit to branch master
in repository pyside.

commit 2b05cab6c08bf0023ed368a72d96cfa0137344f5
Author: Luke W Faraone <lfaraone at debian.org>
Date:   Wed May 17 02:29:22 2017 +0000

    releasing package pyside version 1.2.2+source1-1
---
 debian/changelog              | 10 ++++++++--
 debian/control                |  3 ++-
 debian/control.in             |  3 ++-
 debian/python-pyside.install  |  1 +
 debian/python-pyside3.install |  1 +
 debian/rules                  |  5 ++++-
 6 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 214c318..4a6faed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
-pyside (1.2.2-3) UNRELEASED; urgency=medium
+pyside (1.2.2+source1-1) unstable; urgency=high
 
+  [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
- -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:53:34 +0200
+  [ Luke W Faraone ]
+  * Include a new upstream tarball for pyside-setup and use it to build
+    egg-info metadata (Closes: #744741)
+  * Run dh_install(1) for all packages, not just architecture-dependent ones
+
+ -- Luke W Faraone <lfaraone at debian.org>  Wed, 17 May 2017 02:29:22 +0000
 
 pyside (1.2.2-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index bf05753..e27a099 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9), cmake (>= 2.8.4+dfsg.1-3~), dpkg-dev (>= 1.15.6
  phonon, phonon-backend-gstreamer,
  libqt4-dev (>= 4:4.7.0), libphonon-dev, libqt4-opengl-dev (>= 4:4.7.0), libqtwebkit-dev,
  shiboken (>= 1.2.2), libshiboken-dev (>= 1.2.2),
- libqt4-sql-sqlite (>= 4:4.7.0), xvfb, xauth, libgl1-mesa-dri
+ libqt4-sql-sqlite (>= 4:4.7.0), xvfb, xauth, libgl1-mesa-dri,
+ python-setuptools
 # Various Build-Depends are needed for success of the testsuite:
 # libqt4-sql-sqlite is needed because we need one sql driver.
 # xvfb and xauth are needed to run a fake X Server; libgl1-mesa-dri is needed for the GLX-using tests
diff --git a/debian/control.in b/debian/control.in
index 6bab8b9..a8b8fba 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9), cmake (>= 2.8.4+dfsg.1-3~), dpkg-dev (>= 1.15.6
  phonon, phonon-backend-gstreamer,
  libqt4-dev (>= 4:4.7.0), libphonon-dev, libqt4-opengl-dev (>= 4:4.7.0), libqtwebkit-dev,
  shiboken (>= 1.2.2), libshiboken-dev (>= 1.2.2),
- libqt4-sql-sqlite (>= 4:4.7.0), xvfb, xauth, libgl1-mesa-dri
+ libqt4-sql-sqlite (>= 4:4.7.0), xvfb, xauth, libgl1-mesa-dri,
+ python-setuptools
 # Various Build-Depends are needed for success of the testsuite:
 # libqt4-sql-sqlite is needed because we need one sql driver.
 # xvfb and xauth are needed to run a fake X Server; libgl1-mesa-dri is needed for the GLX-using tests
diff --git a/debian/python-pyside.install b/debian/python-pyside.install
new file mode 100644
index 0000000..2eacccd
--- /dev/null
+++ b/debian/python-pyside.install
@@ -0,0 +1 @@
+setup/pyside_package/PySide.egg-info usr/lib/python2.7/dist-packages/
diff --git a/debian/python-pyside3.install b/debian/python-pyside3.install
new file mode 100644
index 0000000..84ab7c3
--- /dev/null
+++ b/debian/python-pyside3.install
@@ -0,0 +1 @@
+setup/pyside_package/PySide.egg-info usr/lib/python3/dist-packages/
diff --git a/debian/rules b/debian/rules
index a607b22..a8a8b6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,6 +119,7 @@ override_dh_auto_build_dbg-%:
 	dh_auto_build -a --builddirectory=build-$*-dbg
 
 override_dh_auto_build-%:
+	python setup/setup.py egg_info
 	dh_auto_build -a --builddirectory=build-$*
 
 #### INSTALL ####
@@ -235,6 +236,8 @@ override_dh_link:
 #### CLEAN ####
 override_dh_auto_clean:
 	rm -rf build-*
+	rm -f setup/*.pyc
+	rm -rf setup/pyside_package/
 	cd tests; rm -Rf *.pyc */*.pyc */*/*.pyc */*/*/*.pyc
 	- rm -rf debian/tmp-dbg
 	rm -f debian/libpyside${LIBPYSIDE_SOVERSION}.symbols
@@ -260,7 +263,7 @@ ifdef BUILD_DEBUG
 	dh_install -ppython-pyside-dbg --sourcedir=debian/tmp-dbg
 	dh_install -ppython3-pyside-dbg --sourcedir=debian/tmp-dbg
 endif
-	dh_install -a --remaining-packages --list-missing
+	dh_install -a -i --remaining-packages --list-missing
 
 override_dh_install_3: override_dh_install_2
 ifneq (,$(filter libpyside-dev, $(shell dh_listpackages)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyside.git



More information about the Python-modules-commits mailing list