The following commit has been merged in the master branch: commit 856b7b66882d4099fdf31a1a40f33e36b2cec60d Author: David Paleino <da...@debian.org> Date: Wed Nov 2 10:15:39 2011 +0100
First debianization diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9e16963 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pyshp (1.1.4-1) UNRELEASED; urgency=low + + * Initial release (Closes: #647391) + + -- David Paleino <da...@debian.org> Wed, 02 Nov 2011 09:35:54 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a7f678b --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: pyshp +Section: python +Priority: extra +Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> +Uploaders: David Paleino <da...@debian.org> +Build-Depends: + debhelper (>= 8~) + , python-all (>= 2.6.6-3~) + , python-setuptools + , python3-all (>= 3.1.2-1~) + , python3-setuptools +Standards-Version: 3.9.2 +X-Python-Version: >= 2.4 +X-Python3-Version: >= 3.1 +Homepage: http://code.google.com/p/pyshp/ +Vcs-Git: git://git.debian.org/pkg-grass/pyshp.git +Vcs-Browser: http://git.debian.org/?p=pkg-grass/pyshp.git;a=summary + +Package: python-pyshp +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Provides: ${python:Provides} +Description: read/write support for ESRI Shapefile format + PySHP provides read and write support for the ESRI Shapefile format. + The Shapefile format is a popular Geographic Information System vector + data format created by ESRI. + +Package: python3-pyshp +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Provides: ${python3:Provides} +Description: read/write support for ESRI Shapefile format - Python 3.x + PySHP provides read and write support for the ESRI Shapefile format. + The Shapefile format is a popular Geographic Information System vector + data format created by ESRI. + . + This package contains the module for Python 3.x. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1f0624b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: http://dep.debian.net/deps/dep5 + +Files: * +Copyright: ©, Joel Lawhead <jlawh...@geospatialpython.com> +License: MIT + +Files: debian/* +Copyright: © 2011, David Paleino <da...@debian.org> +License: MIT + +License: MIT + 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. diff --git a/debian/python-pyshp.docs b/debian/python-pyshp.docs new file mode 100644 index 0000000..71dfd5b --- /dev/null +++ b/debian/python-pyshp.docs @@ -0,0 +1 @@ +README.txt diff --git a/debian/python-pyshp.install b/debian/python-pyshp.install new file mode 100644 index 0000000..0105c59 --- /dev/null +++ b/debian/python-pyshp.install @@ -0,0 +1 @@ +usr/lib/python2.*/ diff --git a/debian/python3-pyshp.docs b/debian/python3-pyshp.docs new file mode 100644 index 0000000..71dfd5b --- /dev/null +++ b/debian/python3-pyshp.docs @@ -0,0 +1 @@ +README.txt diff --git a/debian/python3-pyshp.install b/debian/python3-pyshp.install new file mode 100644 index 0000000..5b790f6 --- /dev/null +++ b/debian/python3-pyshp.install @@ -0,0 +1 @@ +usr/lib/python3*/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cce659e --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ \ + --with python2 \ + --with python3 + +override_dh_auto_install: + for py in $(shell pyversions -r); do \ + $$py setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp/ ; \ + done + for py in $(shell py3versions -r); do \ + $$py setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp/ ; \ + done diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..4ed84e4 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/p/pyshp/pyshp-(\d+.*)\.zip -- read/write support for ESRI Shapefile format _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel