Bug#797170: jessie-pu: package python-yaql/0.2.3-2 (removal of Python3 support to fix #795910).
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
The python3-yaql binary package in Jessie is completely broken, and has
no reverse dependency. Therefore, I'd like to remove it from Jessie
completely (ie: remove Python 3 support from python-yaql).
Please find attached the debdiff doing this. The package is built and
available here:
http://sid.gplhost.com/jessie-proposed-updates/python-yaql/
Please allow me to upload the package to jessie-p-u to fix the
RC bug #795910.
Cheers,
Thomas Goirand (zigo)
diff -Nru python-yaql-0.2.3/debian/changelog python-yaql-0.2.3/debian/changelog
--- python-yaql-0.2.3/debian/changelog 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/changelog 2015-08-28 08:51:44.000000000 +0000
@@ -1,3 +1,10 @@
+python-yaql (0.2.3-2+deb8u1) jessie-proposed-updates; urgency=medium
+
+ * Removed python3-yaql package: it's not working, and nothing depends on it
+ (Closes: #795910).
+
+ -- Thomas Goirand <zigo@debian.org> Fri, 28 Aug 2015 10:46:10 +0200
+
python-yaql (0.2.3-2) unstable; urgency=medium
* Also build-depends on python3-ply. This avoids FTBFS, because the package
diff -Nru python-yaql-0.2.3/debian/control python-yaql-0.2.3/debian/control
--- python-yaql-0.2.3/debian/control 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/control 2015-08-28 08:51:44.000000000 +0000
@@ -6,9 +6,7 @@
Build-Depends: debhelper (>= 9),
python-all (>= 2.6.6-3~),
python-setuptools,
- python3-all,
- python3-setuptools
-Build-Depends-Indep: python-ply, python3-ply
+Build-Depends-Indep: python-ply
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-yaql.git
Vcs-Git: git://anonscm.debian.org/openstack/python-yaql.git
@@ -39,29 +37,3 @@
one of the implementations in Python.
.
This package contains the Python 2.x module.
-
-Package: python3-yaql
-Architecture: all
-Pre-Depends: dpkg (>= 1.15.6~)
-Depends: ${misc:Depends}, ${python3:Depends}
-Description: Yet Another Query Language - Python 3.x
- At the beginning of millennium the growing trend towards data formats
- standardization and application integrability made XML extremely popular. XML
- became lingua franca of the data. Applications tended to process lots of XML
- files ranging from small config files to very large datasets. As these data
- often had a complex structure with many levels of nestedness it is quickly
- became obvious that there is a need for specially crafted domain specific
- languages to query these data sets. This is how XPath and later XQL were born.
- .
- With later popularization of REST services and Web 2.0 JSON started to take
- XML’s place. JSON’s main advantage (besides being simpler than XML) is that is
- closely reassembles data structures found in most programming languages
- (arrays, dictionaries, scalars) making it very convenient for data
- serialization. As JSON lacked all the brilliant XML-related technologies like
- XSLT, XML Schema, XPath etc. various attempts to develop similar languages for
- JSON were made. One of those efforts was JSONPath library developed in 2007 by
- Stefan Gössner. Initial implementation was for PHP and JavaScript languages,
- but later on ports to other languages including Python were written. YAQL is
- one of the implementations in Python.
- .
- This package contains the Python 3.x module.
diff -Nru python-yaql-0.2.3/debian/gbp.conf python-yaql-0.2.3/debian/gbp.conf
--- python-yaql-0.2.3/debian/gbp.conf 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/gbp.conf 2015-08-28 08:51:44.000000000 +0000
@@ -1,6 +1,6 @@
[DEFAULT]
upstream-branch = master
-debian-branch = debian/unstable
+debian-branch = debian/jessie
upstream-tag = %(version)s
compression = xz
diff -Nru python-yaql-0.2.3/debian/python3-yaql.postinst python-yaql-0.2.3/debian/python3-yaql.postinst
--- python-yaql-0.2.3/debian/python3-yaql.postinst 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/python3-yaql.postinst 1970-01-01 00:00:00.000000000 +0000
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ] ; then
- update-alternatives --install /usr/bin/yaql yaql /usr/bin/python3-yaql 200
-fi
-
-#DEBHELPER#
-
-exit 0
-
diff -Nru python-yaql-0.2.3/debian/python3-yaql.postrm python-yaql-0.2.3/debian/python3-yaql.postrm
--- python-yaql-0.2.3/debian/python3-yaql.postrm 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/python3-yaql.postrm 1970-01-01 00:00:00.000000000 +0000
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
- update-alternatives --remove yaql /usr/bin/python3-yaql
-fi
-
-#DEBHELPER#
-
-exit 0
-
diff -Nru python-yaql-0.2.3/debian/python3-yaql.prerm python-yaql-0.2.3/debian/python3-yaql.prerm
--- python-yaql-0.2.3/debian/python3-yaql.prerm 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/python3-yaql.prerm 1970-01-01 00:00:00.000000000 +0000
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ] ; then
- update-alternatives --remove yaql /usr/bin/python3-yaql
-fi
-
-#DEBHELPER#
-
-exit 0
-
diff -Nru python-yaql-0.2.3/debian/rules python-yaql-0.2.3/debian/rules
--- python-yaql-0.2.3/debian/rules 2014-10-13 09:04:17.000000000 +0000
+++ python-yaql-0.2.3/debian/rules 2015-08-28 08:51:44.000000000 +0000
@@ -7,21 +7,16 @@
-include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python2,python3
+ dh $@ --buildsystem=python_distutils --with python2
override_dh_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-yaql; \
done
- set -e && for pyvers in $(PYTHON3S); do \
- python$$pyvers setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/python3-yaql; \
- done
rm -rf $(CURDIR)/debian/python*-yaql/usr/lib/python*/dist-packages/*.pth
rm -rf $(CURDIR)/debian/python*-yaql/usr/lib/python*/dist-packages/examples
mv $(CURDIR)/debian/python-yaql/usr/bin/yaql $(CURDIR)/debian/python-yaql/usr/bin/python2-yaql
- mv $(CURDIR)/debian/python3-yaql/usr/bin/yaql $(CURDIR)/debian/python3-yaql/usr/bin/python3-yaql
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
Reply to: