[Python-modules-commits] r26934 - in packages/sparqlwrapper/trunk/debian (9 files)

obergix at users.alioth.debian.org obergix at users.alioth.debian.org
Mon Dec 30 14:43:11 UTC 2013


    Date: Monday, December 30, 2013 @ 14:43:11
  Author: obergix
Revision: 26934

Update for 1.5.2

Added:
  packages/sparqlwrapper/trunk/debian/docs
  packages/sparqlwrapper/trunk/debian/watch
Modified:
  packages/sparqlwrapper/trunk/debian/changelog
  packages/sparqlwrapper/trunk/debian/control
  packages/sparqlwrapper/trunk/debian/copyright
  packages/sparqlwrapper/trunk/debian/examples
  packages/sparqlwrapper/trunk/debian/rules
Deleted:
  packages/sparqlwrapper/trunk/debian/patches/removefixedversdeponrdflib.patch
  packages/sparqlwrapper/trunk/debian/patches/series

Modified: packages/sparqlwrapper/trunk/debian/changelog
===================================================================
--- packages/sparqlwrapper/trunk/debian/changelog	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/changelog	2013-12-30 14:43:11 UTC (rev 26934)
@@ -1,3 +1,10 @@
+sparql-wrapper-python (1.5.2-1) unstable; urgency=medium
+
+  * New upstream version (Closes: #731361).
+  * Adopted (obergix), as part of DPMT.
+
+ -- Olivier Berger <obergix at debian.org>  Mon, 30 Dec 2013 14:50:33 +0100
+
 sparql-wrapper-python (1.4.1-2) unstable; urgency=low
 
   * Acknowledge NMU. Merci, Olivier.

Modified: packages/sparqlwrapper/trunk/debian/control
===================================================================
--- packages/sparqlwrapper/trunk/debian/control	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/control	2013-12-30 14:43:11 UTC (rev 26934)
@@ -1,16 +1,30 @@
 Source: sparql-wrapper-python
 Section: python
 Priority: optional
-Maintainer: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>= 7), python-support (>= 0.6), python-setuptools
-Standards-Version: 3.8.4
-Homepage: http://sparql-wrapper.sourceforge.net/
+Maintainer: Olivier Berger <obergix at debian.org>
+Uploaders:  Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 8), dh-python, python-all (>= 2.6.6-3~), python-setuptools, python3-all, python3-setuptools
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Homepage: http://rdflib.github.io/sparqlwrapper/
 
 Package: python-sparqlwrapper
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-rdflib, python-simplejson
-Provides: ${python:Provides}
-Description: SPARQL endpoint interface to Python
+Depends: ${misc:Depends}, ${python:Depends}
+Description: SPARQL endpoint interface to Python (Python 2)
  This is a wrapper around a SPARQL service. It helps in 
  creating the query URI and, possibly, convert the 
  result into a more manageable format.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-sparqlwrapper
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: SPARQL endpoint interface to Python (Python 3)
+ This is a wrapper around a SPARQL service. It helps in 
+ creating the query URI and, possibly, convert the 
+ result into a more manageable format.
+ .
+ This is the Python 3 version of the package.

Modified: packages/sparqlwrapper/trunk/debian/copyright
===================================================================
--- packages/sparqlwrapper/trunk/debian/copyright	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/copyright	2013-12-30 14:43:11 UTC (rev 26934)
@@ -97,6 +97,41 @@
    8. mailto:site-policy at w3.org
    9. mailto:site-policy at w3.org
 
-The Debian packaging is (C) 2008-2010,
- - Nacho Barrientos Arias <nacho at debian.org>
-and is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
+SPARQLWrapper/jsonlayer.py : 
+----------------------------
+Copyright (C) 2009 Christopher Lenz
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in
+the documentation and/or other materials provided with the
+distribution.
+3. The name of the author may not be used to endorse or promote
+products derived from this software without specific prior
+written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+-------
+
+The Debian packaging is Copyright (C) 2008-2010 Nacho Barrientos Arias
+<nacho at debian.org>, Copyright (c) 2013 Olivier Berger
+<obergix at debian.org>, and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL-3'.

Added: packages/sparqlwrapper/trunk/debian/docs
===================================================================
--- packages/sparqlwrapper/trunk/debian/docs	                        (rev 0)
+++ packages/sparqlwrapper/trunk/debian/docs	2013-12-30 14:43:11 UTC (rev 26934)
@@ -0,0 +1 @@
+README.txt

Modified: packages/sparqlwrapper/trunk/debian/examples
===================================================================
--- packages/sparqlwrapper/trunk/debian/examples	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/examples	2013-12-30 14:43:11 UTC (rev 26934)
@@ -1,2 +1 @@
-scripts/sparql.py
-scripts/example.py
+scripts/*.py

Deleted: packages/sparqlwrapper/trunk/debian/patches/removefixedversdeponrdflib.patch
===================================================================
--- packages/sparqlwrapper/trunk/debian/patches/removefixedversdeponrdflib.patch	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/patches/removefixedversdeponrdflib.patch	2013-12-30 14:43:11 UTC (rev 26934)
@@ -1,23 +0,0 @@
-Description: Remove fixed version dependency on rdflib 2.4.2
- Rdflib 2.4.2 strict is not needed, as later versions have been in Debian for a long time.
- Having this version mentioned in /usr/share/pyshared/SPARQLWrapper-1.4.1.egg-info/requires.txt
- makes it impossible to run auto-tests during packaging of libs depending on sparqlwrapper.
- See #731411 for more details.
- .
- sparql-wrapper-python (1.4.1-1.2) unstable; urgency=medium
- .
-   * NMU : Change fixed version requirement on rdflib for similar reasons
-     as in #731411.
-Author: Olivier Berger <obergix at debian.org>
-
---- sparql-wrapper-python-1.4.1.orig/setup.py
-+++ sparql-wrapper-python-1.4.1/setup.py
-@@ -9,7 +9,7 @@ _install_requires = []
- 
- # rdflib 
- _requires.append('rdflib')
--_install_requires.append('rdflib == 2.4.2')
-+_install_requires.append('rdflib >= 2.4.2')
- 
- # simplejson
- if sys.version_info[0:2] < (2, 6):

Deleted: packages/sparqlwrapper/trunk/debian/patches/series
===================================================================
--- packages/sparqlwrapper/trunk/debian/patches/series	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/patches/series	2013-12-30 14:43:11 UTC (rev 26934)
@@ -1 +0,0 @@
-removefixedversdeponrdflib.patch

Modified: packages/sparqlwrapper/trunk/debian/rules
===================================================================
--- packages/sparqlwrapper/trunk/debian/rules	2013-12-30 14:35:17 UTC (rev 26933)
+++ packages/sparqlwrapper/trunk/debian/rules	2013-12-30 14:43:11 UTC (rev 26934)
@@ -1,48 +1,12 @@
-#!/usr/bin/make -f
+#! /usr/bin/make -f
 
-PACKAGE = $(shell dh_listpackages)
+export DH_VERBOSE=1
+#export DH_OPTIONS=-v
+#export PYBUILD_VERBOSE=1
+#export NOSE_VERBOSE=2
 
-configure: configure-stamp
-configure-stamp: 
-	dh_testdir
-	touch $@
+export PYBUILD_NAME=sparqlwrapper
 
-build: configure-stamp build-stamp 
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
-build-stamp:
-	dh_testdir
-	python setup.py build
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	rm -rf build
-	rm -rf ez_setup.pyc SPARQLWrapper.egg-info
-	dh_clean 
-
-install: build-stamp 
-	dh_testdir
-	dh_testroot
-	python setup.py install --no-compile --root=$(CURDIR)/debian/$(PACKAGE)
-
-binary-arch: build install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog.txt
-	dh_installdocs
-	dh_installexamples
-	dh_compress
-	dh_fixperms
-	dh_pysupport
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure

Added: packages/sparqlwrapper/trunk/debian/watch
===================================================================
--- packages/sparqlwrapper/trunk/debian/watch	                        (rev 0)
+++ packages/sparqlwrapper/trunk/debian/watch	2013-12-30 14:43:11 UTC (rev 26934)
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|dev|a|b|c)/~$1/ \
+https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-(.*)\.(?:tar\.gz|zip|tar\.bz2)




More information about the Python-modules-commits mailing list