From: Benjamin Mako Hill Date: Fri, 11 Feb 2011 19:23:46 +0000 (-0500) Subject: merge patched-unstable into unstable X-Git-Url: https://projects.mako.cc/source/python-iso8601.debian/commitdiff_plain/752681cca4b45e2a9556bf099c9a924a47eb5101?hp=66eb3fa3ed269470155b08d63dc848b0760ed48b merge patched-unstable into unstable --- diff --git a/debian/.git-dpm b/debian/.git-dpm new file mode 100644 index 0000000..e20ef05 --- /dev/null +++ b/debian/.git-dpm @@ -0,0 +1,8 @@ +# see git-dpm(1) from git-dpm package +66eb3fa3ed269470155b08d63dc848b0760ed48b +66eb3fa3ed269470155b08d63dc848b0760ed48b +df906e3e37fa98a1bba12c90bbaabf02615fd457 +df906e3e37fa98a1bba12c90bbaabf02615fd457 +python-iso8601_0.1.4.orig.tar.gz +6226b94cf682a47e44cfa99a8a4c1338962e307e +3755 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..537aa7b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-iso8601 (0.1.4-1) unstable; urgency=low + + * Initial release. + + -- Benjamin Mako Hill Fri, 11 Feb 2011 00:40:18 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..75bd0a5 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: python-iso8601 +Section: python +Priority: extra +Maintainer: Benjamin Mako Hill +Build-Depends: cdbs, debhelper (>= 7.0.50~), python-all +Build-Depends-Indep: python-support (>=0.90) +Standards-Version: 3.9.1 +Homepage: https://code.google.com/p/pyiso8601 +XS-Python-Version: >= 2.5 + +Package: python-iso8601 +Architecture: all +Depends: ${python:Depends} +Provides: ${python:Provides} +Description: python module to parse ISO 8601 dates + Many file formats and standards use the ISO 8601 date format + (e.g. 2007-01-14T20:34:22+00:00) to store dates in a neutral, + unambiguous manner. This simple Python module parses the most common + forms encountered and returns Python datetime objects. + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..726e4ad --- /dev/null +++ b/debian/copyright @@ -0,0 +1,43 @@ +This work was packaged for Debian by: + + Benjamin Mako Hill on Fri, 11 Feb 2011 00:40:18 -0500 + +It was downloaded from: + + https://code.google.com/p/pyiso8601/ + +Upstream Author: + + Michael Twomey + +Copyright: + + Copyright (C) 2007 Michael Twomey + Released under the MIT license. + +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. + +The Debian packaging is: + + Copyright (C) 2011 Benjamin Mako Hill + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/patches/0001-fixed-issue-with-distutils-that-does-not-work-in-new.patch b/debian/patches/0001-fixed-issue-with-distutils-that-does-not-work-in-new.patch new file mode 100644 index 0000000..e302f79 --- /dev/null +++ b/debian/patches/0001-fixed-issue-with-distutils-that-does-not-work-in-new.patch @@ -0,0 +1,25 @@ +From 66eb3fa3ed269470155b08d63dc848b0760ed48b Mon Sep 17 00:00:00 2001 +From: Benjamin Mako Hill +Date: Fri, 11 Feb 2011 14:22:11 -0500 +Subject: fixed issue with distutils that does not work in new version of python + +--- + setup.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/setup.py b/setup.py +index cdb61ec..2daf5b1 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,7 +1,7 @@ + try: + from setuptools import setup + except ImportError: +- from distutils import setup ++ from distutils.core import setup + + long_description="""Simple module to parse ISO 8601 dates + +-- +1.7.2.3 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..bd063ce --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-fixed-issue-with-distutils-that-does-not-work-in-new.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f257297 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pysupport + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + 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)