debian/0000755000000000000000000000000011546357577007212 5ustar debian/compat0000644000000000000000000000000211522274067010372 0ustar 7 debian/control0000644000000000000000000000307111522565156010602 0ustar Source: python-geohash Section: python Priority: optional Maintainer: Davide Cavalca Build-Depends: debhelper (>= 7.3.5~), python-support (>= 0.90), python-all-dev (>= 2.4), python-all-dbg (>= 2.4) Standards-Version: 3.9.1 Homepage: http://code.google.com/p/python-geohash/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-geohash/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-geohash/trunk Package: python-geohash Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: fast, accurate Python geohashing library python-geohash provides fast and accurate geohash encoding and decoding functionality. Geohash is a latitude/longitude geocode system (a string representation of two dimensional geometric coordinates). In addition to geohash, this module also supports the quadtree, jpgrid (JIS X 0410) and jpiarea grid codes. Package: python-geohash-dbg Section: debug Priority: extra Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-geohash (= ${binary:Version}) Recommends: python-dbg Description: fast, accurate Python geohashing library (debug extension) python-geohash provides fast and accurate geohash encoding and decoding functionality. Geohash is a latitude/longitude geocode system (a string representation of two dimensional geometric coordinates). In addition to geohash, this module also supports the quadtree, jpgrid (JIS X 0410) and jpiarea grid codes. . This package contains the debugging symbols for python-geohash. debian/copyright0000644000000000000000000000732311546111364011130 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: python-geohash Upstream-Contact: Hiroaki Kawai Source: http://code.google.com/p/python-geohash/ Copyright: 2009-2011 Hiroaki Kawai License: Apache-2.0 or Expat or BSD-3-clause Files: debian/* Copyright: 2010-2011 Davide Cavalca License: Apache-2.0 or Expat or BSD-3-clause License: Apache-2.0 *** Apache License 2.0 Copyright 2011 Hiroaki Kawai . 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 /usr/share/common-licenses/Apache-2.0. License: Expat *** MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: BSD-3-clause *** New BSD License Copyright (c) 2011, Hiroaki Kawai All rights reserved. . 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 the 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 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. debian/watch0000644000000000000000000000012511522274067010223 0ustar version=3 http://googlecode.debian.net/p/python-geohash/python-geohash-(.*)\.tar\.gz debian/upstream-metadata.yaml0000644000000000000000000000051111545357612013476 0ustar Contact: Hiroaki Kawai Name: python-geohash Homepage: http://code.google.com/p/python-geohash/ Repository: http://python-geohash.googlecode.com/svn/trunk/ Repository-Browse: http://code.google.com/p/python-geohash/source/browse/ Watch: http://googlecode.debian.net/p/python-geohash/python-geohash-(.*)\.tar\.gz debian/docs0000644000000000000000000000000711522274067010044 0ustar README debian/changelog0000644000000000000000000000104011546357521011044 0ustar python-geohash (0.8.3-1) unstable; urgency=low * New upstream release: - drop uncomment-tests-main.patch, applied upstream - run more tests at build time * Convert debian/copyright to DEP-5 format. * Add debian/upstream-metadata.yaml. * Make sure the example Python scripts are not compressed. -- Davide Cavalca Mon, 04 Apr 2011 17:02:28 +0200 python-geohash (0.7-1) unstable; urgency=low * Initial release (Closes: #603285) -- Davide Cavalca Mon, 07 Feb 2011 15:23:59 +0100 debian/source/0000755000000000000000000000000011546357525010503 5ustar debian/source/format0000644000000000000000000000001411522274067011702 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000225211546111364010251 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # necessary for override_dh_auto_test PYVERS = $(shell pyversions -r -v) pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1)) pythonpath_dbg = $$(ls -d $(CURDIR)/build/lib_d.*-$(1) 2>/dev/null || ls -d $(CURDIR)/build/lib.*$(1)-pydebug) %: dh $@ # Workaround for #589759 override_dh_auto_build: dh_auto_build -- --force override_dh_install: dh_install -X"*_d.so" "debian/tmp/*" -p python-geohash dh_install "debian/tmp/usr/lib/python*/*-packages/*_d.so" -p python-geohash-dbg dh_install override_dh_strip: ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) dh_strip --dbg-package=python-geohash-dbg # Workaround for #576014 cd debian/python-geohash-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules endif override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) set -e ;\ for py in $(PYVERS); do \ for test in test/test_*.py; do \ PYTHONPATH=$(call pythonpath,$$py) \ python$$py $$test ;\ PYTHONPATH=$(call pythonpath_dbg,$$py) \ python$$py-dbg $$test ;\ done \ done endif # Workaround for #593382 override_dh_compress: dh_compress -Xexamples debian/examples0000644000000000000000000000000711522274067010732 0ustar test/* debian/pyversions0000644000000000000000000000000511522274067011333 0ustar 2.4-