debian/0000775000000000000000000000000011773414464007203 5ustar debian/watch0000664000000000000000000000013211722535774010232 0ustar version=3 http://pypi.python.org/packages/source/s/sunlight/ \ sunlight-(\d.*).tar.gz debian/python-sunlight-doc.links0000664000000000000000000000064411722757706014173 0ustar /usr/share/doc/python-sunlight-doc/html /usr/share/doc/python-sunlight/html /usr/share/doc/python-sunlight-doc/html /usr/share/doc/python3-sunlight/html /usr/share/doc/python-sunlight-doc/html/_sources /usr/share/doc/python-sunlight-doc/rst /usr/share/doc/python-sunlight-doc/html/_sources /usr/share/doc/python-sunlight/rst /usr/share/doc/python-sunlight-doc/html/_sources /usr/share/doc/python3-sunlight/rst debian/python-sunlight-doc.install0000664000000000000000000000024211722717037014504 0ustar docs/build/html /usr/share/doc/python-sunlight-doc README.rst /usr/share/doc/python-sunlight-doc debian/compat0000664000000000000000000000000211717462555010403 0ustar 8 debian/python-sunlight-doc.examples0000664000000000000000000000001311722717037014650 0ustar examples/* debian/source/0000775000000000000000000000000011773414463010502 5ustar debian/source/format0000664000000000000000000000001411717353161011703 0ustar 3.0 (quilt) debian/python-sunlight-doc.doc-base0000664000000000000000000000046311717501362014514 0ustar Document: python-sunlight Title: Python Sunlight API bindings Author: Sunlight Labs Abstract: This manual describes the Python bindings to the Sunlight APIs. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-sunlight-doc/html/index.html Files: /usr/share/doc/python-sunlight-doc/html/* debian/control0000664000000000000000000000466211771614622010612 0ustar Source: python-sunlight Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Paul Tagliamonte Build-Depends: debhelper (>= 8), python-all (>= 2.6.6-3~), python-setuptools, python-sphinx (>= 1.0.7+dfsg), python3-all (>= 3.1.2), python3-setuptools Standards-Version: 3.9.3 Homepage: https://github.com/sunlightlabs/python-sunlight Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-sunlight/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-sunlight/trunk/ X-Python-Version: >= 2.6 X-Python3-Version: >= 3.1 Package: python-sunlight Architecture: all Depends: ${misc:Depends}, ${python:Depends} Suggests: python-sunlight-doc Description: set of bindings to access U.S. government data (Python 2) This module can be used to access U.S. government data, as provided by The Sunlight Foundation's API services. Data provided includes such data as federal and state-local legislators, legislative instruments, and searches against the congressional record. . This package is for use by developers or other applications, and does not provide any userspace scripts or binaries. . This package provides Python 2 module bindings only. Package: python3-sunlight Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Suggests: python-sunlight-doc Description: set of bindings to access U.S. government data (Python 3) This module can be used to access U.S. government data, as provided by The Sunlight Foundation's API services. Data provided includes such data as federal and state-local legislators, legislative instruments, and searches against the congressional record. . This package is for use by developers or other applications, and does not provide any userspace scripts or binaries. . This package provides Python 3 module bindings only. Package: python-sunlight-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} Description: set of bindings to access U.S. government data (documentation) This module can be used to access U.S. government data, as provided by The Sunlight Foundation's API services. Data provided includes such data as federal and state-local legislators, legislative instruments, and searches against the congressional record. . This package only contains documentation for use by developers targeting the python-sunlight or python3-sunlight module. debian/changelog0000664000000000000000000000273511773414447011065 0ustar python-sunlight (1.1.5-1) unstable; urgency=low * New upstream release. Record time. Handles a fix with passing boolean values into the kwargs. -- Paul Tagliamonte Fri, 29 Jun 2012 16:58:53 -0400 python-sunlight (1.1.4-1) unstable; urgency=low * New upstream release. Adds some better UTF handling in OpenStates. -- Paul Tagliamonte Fri, 29 Jun 2012 16:22:21 -0400 python-sunlight (1.1.3-1) unstable; urgency=low * New upstream release. Adds a new method to the OpenStates object, and adds a more helpful exception when you attempt to pass "None" into an OpenStates method. -- Paul Tagliamonte Tue, 15 May 2012 23:04:51 -0400 python-sunlight (1.1.2-1) unstable; urgency=low * New upstream release. Solves a URL encoding issue that was present in both CapitolWords and Influence Explorer. -- Paul Tagliamonte Thu, 12 Apr 2012 16:57:24 -0400 python-sunlight (1.1.1-1) unstable; urgency=low * New upstream release. Contains fixes for Python 3, and fixed examples. * Changing an errorful link (python-sunlight3 -> python3-sunlight) * Ensuring that SOURCES.txt is removed from the binary packages (thanks, jwilk & tumbleweed) -- Paul Tagliamonte Mon, 27 Feb 2012 15:22:20 -0500 python-sunlight (1.1.0-1) unstable; urgency=low * Initial release (Closes: #660173). -- Paul Tagliamonte Mon, 27 Feb 2012 20:10:53 +0200 debian/rules0000775000000000000000000000167311722762577010277 0ustar #!/usr/bin/make -f DOC_PACKAGE_NAME=python-sunlight-doc PY2_PACKAGE_NAME=python-sunlight PY3_PACKAGE_NAME=python3-sunlight PACKAGE_DOCDIR=debian/$(DOC_PACKAGE_NAME)/usr/share/doc/$(DOC_PACKAGE_NAME) PYVERS = $(shell pyversions -r) PY3VERS = $(shell py3versions -r) %: dh $@ --with python2,python3,sphinxdoc override_dh_auto_clean: dh_auto_clean rm -rvf ./docs/build ./*.egg-info ./build override_dh_auto_build: set -xe; \ for py in $(PYVERS) $(PY3VERS); do \ $$py setup.py build; \ done make -C docs html override_dh_auto_install: set -xe; \ for py in $(PYVERS); do \ $$py setup.py install --skip-build --root debian/$(PY2_PACKAGE_NAME) \ --install-layout deb; \ done set -xe; \ for py in $(PY3VERS); do \ $$py setup.py install --skip-build --root debian/$(PY3_PACKAGE_NAME) \ --install-layout deb; \ done # Remove me when dh_python2 can handle this file rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt debian/copyright0000664000000000000000000000327311722534745011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: sunlight Upstream-Contact: sunlight maintainers Source: https://github.com/sunlightlabs/python-sunlight Files: * Copyright: 2012, Sunlight Labs License: BSD-3-sunlight Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither the name of Sunlight Labs nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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.