debian/0000755000000000000000000000000012225311265007165 5ustar debian/changelog0000644000000000000000000000057012225311005011031 0ustar python-googleapi (1.2-2) unstable; urgency=low * Don't install already packaged python libraries (closes: #725662, #725663). -- Laszlo Boszormenyi (GCS) Wed, 09 Oct 2013 19:17:47 +0200 python-googleapi (1.2-1) unstable; urgency=low * Initial release (closes: #620602). -- Laszlo Boszormenyi (GCS) Sat, 31 Aug 2013 21:02:56 +0200 debian/compat0000644000000000000000000000000212121674022010361 0ustar 7 debian/control0000644000000000000000000000340112225310310010554 0ustar Source: python-googleapi Section: python Priority: optional Maintainer: Laszlo Boszormenyi (GCS) #Build-Depends: debhelper (>= 7.0.50), python-all, python3-all Build-Depends: debhelper (>= 7.0.50), python-all, python-setuptools Standards-Version: 3.9.4 Homepage: http://code.google.com/p/google-api-python-client/ XS-Python-Version: >= 2.6 #X-Python3-Version: >= 3 Package: python-googleapi Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-oauth2client, python-uritemplate Description: Google APIs Client Library for Python Includes: - google-api-python-client: The core Python library for accessing Google APIs - oauth2client: A Python client library for OAuth 2.0. . Samples are available in the python-googleapi-samples package. #Package: python2-googleapi #Architecture: all #Depends: ${misc:Depends}, ${python:Depends} #Description: Google APIs Client Library for Python # Includes: # - google-api-python-client: The core Python library for accessing # Google APIs # - oauth2client: A Python client library for OAuth 2.0. #Package: python3-googleapi #Architecture: all #Depends: ${misc:Depends}, ${python3:Depends} #Description: Google APIs Client Library for Python # Includes: # - google-api-python-client: The core Python library for accessing # Google APIs # - oauth2client: A Python client library for OAuth 2.0. Package: python-googleapi-samples Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-googleapi Description: Google APIs Client Library for Python, samples Includes: - google-api-python-client: The core Python library for accessing Google APIs - oauth2client: A Python client library for OAuth 2.0. . This package contains some samples for the python-googleapi package. debian/copyright0000644000000000000000000000363212220623306011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: google-api-python-client Upstream-Contact: https://groups.google.com/forum/?fromgroups#!forum/google-api-python-client Source: http://code.google.com/p/google-api-python-client/source/checkout Copyright: Copyright (C) 2010- Google Inc. Files: * Copyright: Copyright (C) 2010- Google Inc. License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache License can be found in the file `/usr/share/common-licenses/Apache-2.0'. Files: debian/* Copyright: Copyright (C) 2013- Laszlo Boszormenyi (GCS) License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000012225311101010601 5ustar debian/patches/do_not_install_packaged_libraries.patch0000644000000000000000000000076512225311101020515 0ustar Description: do not install already packaged libraries Depend on packaged python libraries instead of providing them. Author: Laszlo Boszormenyi (GCS) Bug-Debian: http://bugs.debian.org/725662 Bug-Debian: http://bugs.debian.org/725663 Last-Update: 2013-10-09 --- --- python-googleapi-1.2.orig/setup.py +++ python-googleapi-1.2/setup.py @@ -21,8 +21,6 @@ from setuptools import setup packages = [ 'apiclient', - 'oauth2client', - 'uritemplate', ] install_requires = [ debian/patches/series0000644000000000000000000000005012225310774012030 0ustar do_not_install_packaged_libraries.patch debian/python-googleapi-samples.examples0000644000000000000000000000001212121707207015645 0ustar samples/* debian/python-googleapi.install0000644000000000000000000000004212210442011014022 0ustar usr/lib/python2.*/dist-packages/* debian/python2-googleapi.install0000644000000000000000000000005312121706035014120 0ustar usr/bin/ usr/lib/python2.*/dist-packages/* debian/python3-googleapi.install0000644000000000000000000000005112121706062014117 0ustar usr/bin/ usr/lib/python3/dist-packages/* debian/rules0000755000000000000000000000230712225310634010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DESTDIR=$(CURDIR)/debian/tmp SAMPLESDIR=$(CURDIR)/debian/python-googleapi-samples/usr/share/doc/python-googleapi-samples/examples/ PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) override_dh_clean: dh_clean rm -f $(CURDIR)/google_api_python_client.egg-info/SOURCES.txt rm -f $(CURDIR)/google_api_python_client.egg-info/top_level.txt build-python%: python$* setup.py build #override_dh_auto_build: $(PYTHON3:%=build-python%) # dh_auto_build install-python%: python$* setup.py install --root=$(DESTDIR) --install-layout=deb sed -ri "1 s|(#!/usr/bin/python)[0-9.]+|\1|" \ `find $(DESTDIR) -name '*.py'` sed -ri "1 s|(#!/usr/bin/python)[0-9.]+|\1|" \ `find $(SAMPLESDIR) -name '*.py'` #override_dh_auto_install: $(PYTHON3:%=install-python%) # dh_auto_install override_dh_fixperms: dh_fixperms chmod a-x $(SAMPLESDIR)/storage_serviceaccount_appengine/listing.xsl #override_dh_auto_test: # doesn't work at the moment # python setup.py test %: # not compatible with Python 3.x ATM # dh $@ --with python2,python3 dh $@ --with python2 .PHONY: override_dh_clean override_dh_fixperms debian/source/0000755000000000000000000000000012210436732010466 5ustar debian/source/format0000644000000000000000000000001412121674033011673 0ustar 3.0 (quilt)