[Python-modules-commits] r6302 - in packages/python-feedvalidator (15 files)
nslater-guest at users.alioth.debian.org
nslater-guest at users.alioth.debian.org
Fri Aug 22 14:09:35 UTC 2008
Date: Friday, August 22, 2008 @ 14:09:34
Author: nslater-guest
Revision: 6302
initial package work
Added:
packages/python-feedvalidator/branches/
packages/python-feedvalidator/tags/
packages/python-feedvalidator/trunk/
packages/python-feedvalidator/trunk/debian/
packages/python-feedvalidator/trunk/debian/README.source
packages/python-feedvalidator/trunk/debian/changelog
packages/python-feedvalidator/trunk/debian/compat
packages/python-feedvalidator/trunk/debian/control
packages/python-feedvalidator/trunk/debian/copyright
packages/python-feedvalidator/trunk/debian/dirs
packages/python-feedvalidator/trunk/debian/patches/
packages/python-feedvalidator/trunk/debian/patches/command-options.patch
packages/python-feedvalidator/trunk/debian/pycompat
packages/python-feedvalidator/trunk/debian/pyversions
packages/python-feedvalidator/trunk/debian/rules
Property changes on: packages/python-feedvalidator/trunk
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/python-feedvalidator/trunk/debian/README.source
===================================================================
--- packages/python-feedvalidator/trunk/debian/README.source (rev 0)
+++ packages/python-feedvalidator/trunk/debian/README.source 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,20 @@
+Source README
+=============
+
+The upstream source can be downloaded with the following command:
+
+ ./debian/rules get-orig-source
+
+You will need the following packages installed:
+
+ subversion
+
+You can patch the upstream source with the following command:
+
+ ./debian/rules patch
+
+You can add or edit patches using the following command:
+
+ cdbs-edit-patch
+
+ -- Noah Slater <nslater at bytesexual.org>, Thu, 21 Aug 2008 14:31:53 +0100
Added: packages/python-feedvalidator/trunk/debian/changelog
===================================================================
--- packages/python-feedvalidator/trunk/debian/changelog (rev 0)
+++ packages/python-feedvalidator/trunk/debian/changelog 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,5 @@
+python-feedvalidator (0~svn1022-dfsg-0) experimental; urgency=low
+
+ * Initial release. Closes: #495940
+
+ -- Noah Slater <nslater at bytesexual.org> Fri, 22 Aug 2008 14:06:56 +0100
Added: packages/python-feedvalidator/trunk/debian/compat
===================================================================
--- packages/python-feedvalidator/trunk/debian/compat (rev 0)
+++ packages/python-feedvalidator/trunk/debian/compat 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1 @@
+5
Added: packages/python-feedvalidator/trunk/debian/control
===================================================================
--- packages/python-feedvalidator/trunk/debian/control (rev 0)
+++ packages/python-feedvalidator/trunk/debian/control 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,19 @@
+Source: python-feedvalidator
+Section: python
+Priority: optional
+Maintainer: Noah Slater <nslater at bytesexual.org>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Standards-Version: 3.8.0
+Build-Depends: cdbs (>= 0.4.42), debhelper (>= 5.0.37.2)
+Build-Depends-Indep: help2man, python-support (>= 0.6.4), python
+Homepage: http://feedvalidator.org/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-feedvalidator/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-feedvalidator/trunk/?op=log
+
+Package: python-feedvalidator
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: library and tool for validating syndication feeds
+ An advanced syndication feed validator that works with RSS, Atom and KML.
+ .
+ Usable as a Python library or command line tool.
Added: packages/python-feedvalidator/trunk/debian/copyright
===================================================================
--- packages/python-feedvalidator/trunk/debian/copyright (rev 0)
+++ packages/python-feedvalidator/trunk/debian/copyright 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,111 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=180
+Upstream-Name: Feed Validator
+Upstream-Maintainer: Sam Ruby <rubys at intertwingly.net>
+Upstream-Source: http://feedvalidator.googlecode.com/svn/trunk/feedvalidator
+
+Files: *
+Copyright: Copyright 2006, Sam Ruby <rubys at intertwingly.net>
+ Copyright 2006, Mark Pilgrim <mark at diveintomark.org>
+ Copyright 2006, Joseph Walton <joe at kafsemo.org>
+ Copyright 2006, Phil Ringnalda <http://weblog.philringnalda.com/>
+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.
+
+Files: debian/*
+Copyright: Copyright 2008, Noah Slater <nslater at bytesexual.org>
+License: GAP
+ Copying and distribution of this package, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice and this
+ notice are preserved.
+
+Files: fcgi.py
+Copyright: Copyright 2005, Allan Saddi <allan at saddi.com>
+License: BSD-2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+
+Files: src/feedvalidator/timeoutsocket.py
+Copyright: Copyright 2001, Timothy O'Malley <timo at alum.mit.edu>
+License: MIT
+ Permission to use, copy, modify, and distribute this software
+ and its documentation for any purpose and without fee is hereby
+ granted, provided that the above copyright notice appear in all
+ copies and that both that copyright notice and this permission
+ notice appear in supporting documentation, and that the name of
+ Timothy O'Malley not be used in advertising or publicity
+ pertaining to distribution of the software without specific, written
+ prior permission.
+
+ Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
+ ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+
+Files: src/rdflib
+Copyright: Copyright 2005, Daniel Krech <http://eikeon.com/>
+License: BSD-3
+ 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 Daniel Krech 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.
Added: packages/python-feedvalidator/trunk/debian/dirs
===================================================================
--- packages/python-feedvalidator/trunk/debian/dirs (rev 0)
+++ packages/python-feedvalidator/trunk/debian/dirs 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/python-support/python-feedvalidator
Added: packages/python-feedvalidator/trunk/debian/patches/command-options.patch
===================================================================
--- packages/python-feedvalidator/trunk/debian/patches/command-options.patch (rev 0)
+++ packages/python-feedvalidator/trunk/debian/patches/command-options.patch 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,74 @@
+diff -Nur -x '*.orig' -x '*~' python-feedvalidator-0~svn1022-dfsg/src/demo.py python-feedvalidator-0~svn1022-dfsg.new/src/demo.py
+--- python-feedvalidator-0~svn1022-dfsg/src/demo.py 2008-03-12 18:22:48.000000000 +0000
++++ python-feedvalidator-0~svn1022-dfsg.new/src/demo.py 2008-08-22 14:45:03.000000000 +0100
+@@ -6,6 +6,7 @@
+ __version__ = "$Revision: 988 $"
+ __copyright__ = "Copyright (c) 2002 Sam Ruby and Mark Pilgrim"
+
++import getopt
+ import feedvalidator
+ import sys
+ import os
+@@ -13,7 +14,7 @@
+ import urllib2
+ import urlparse
+
+-if __name__ == '__main__':
++def run():
+ # arg 1 is URL to validate
+ link = sys.argv[1:] and sys.argv[1] or 'http://www.intertwingly.net/blog/index.atom'
+ link = urlparse.urljoin('file:' + urllib.pathname2url(os.getcwd()) + '/', link)
+@@ -50,3 +51,53 @@
+ sys.exit(1)
+ else:
+ print "No errors or warnings"
++
++def main():
++ short_opts = "hV"
++ long_opts = ["help", "version"]
++ try:
++ opts, args = getopt.getopt(sys.argv[1:], short_opts, long_opts)
++ except getopt.GetoptError, error:
++ sys.stderr.write("error: %s\n\n" % error)
++ sys.stderr.write("Try `%s --help` for more information.\n" % sys.argv[0])
++ sys.exit(1)
++ for opt, value in opts:
++ if opt in ("-h", "--help"):
++ sys.stdout.write("""Usage: feedvalidator [OPTION] [FEED] [LEVEL]
++
++Validate a FEED as RSS, Atom or KML. The FEED can be a local or remote URI.
++
++The optional LEVEL argument can be one of the following:
++
++ A basic level only
++ AA mimic the online validator (default)
++ AAA experimental, these rules will change or disappear in future versions
++
++The exit status is 0 for success or 1 for failure.
++
++Options:
++
++ -h, --help display a short help message and exit
++ -V, --version display version information and exit
++
++Report bugs using the `reportbug` command.
++"""
++)
++ sys.exit(0)
++ if opt in ("-V", "--version"):
++ sys.stdout.write("""feedvalidator - Feed Validator @version@
++
++Copyright 2002, Sam Ruby and Mark Pilgrim
++
++Licensed under an MIT variant free software license.
++
++Written by Sam Ruby and Mark Pilgrim.
++""")
++ sys.exit(0)
++ run()
++
++if __name__ == "__main__":
++ try:
++ main()
++ except KeyboardInterrupt:
++ pass
Added: packages/python-feedvalidator/trunk/debian/pycompat
===================================================================
--- packages/python-feedvalidator/trunk/debian/pycompat (rev 0)
+++ packages/python-feedvalidator/trunk/debian/pycompat 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1 @@
+2
Added: packages/python-feedvalidator/trunk/debian/pyversions
===================================================================
--- packages/python-feedvalidator/trunk/debian/pyversions (rev 0)
+++ packages/python-feedvalidator/trunk/debian/pyversions 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1 @@
+2.3-
Added: packages/python-feedvalidator/trunk/debian/rules
===================================================================
--- packages/python-feedvalidator/trunk/debian/rules (rev 0)
+++ packages/python-feedvalidator/trunk/debian/rules 2008-08-22 14:09:34 UTC (rev 6302)
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+
+# Copyright 2008, Noah Slater <nslater at bytesexual.org>
+
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice and this
+# notice are preserved.
+
+include /usr/share/cdbs/1/rules/buildcore.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_ORIG_URI = http://feedvalidator.googlecode.com/svn/trunk/feedvalidator
+DEB_ORIG_DIRECTORY = $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+DEB_ORIG_FILENAME = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+DEB_REPOS_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -r "s/.*~svn([0-9]+).*/\1/")
+
+# @@ workaround for #486848
+binary-arch binary-indep: build
+
+common-install-prehook-impl::
+ sed "s/@version@/$(DEB_REPOS_VERSION)/" src/demo.py \
+ > debian/python-feedvalidator/usr/bin/python-feedvalidator
+ cp -R src/* debian/python-feedvalidator/usr/share/python-support/python-feedvalidator
+ rm -f debian/python-feedvalidator/usr/share/python-support/python-feedvalidator/demo.py
+
+# @@ only works from source directory, see #494141
+.PHONY: get-orig-source
+get-orig-source:
+ svn export -r $(DEB_REPOS_VERSION) $(DEB_ORIG_URI) $(DEB_ORIG_DIRECTORY)
+ rm -f $(DEB_ORIG_DIRECTORY)/runtest.py
+ rm -fr $(DEB_ORIG_DIRECTORY)/docs
+ rm -fr $(DEB_ORIG_DIRECTORY)/docs-xml
+ rm -fr $(DEB_ORIG_DIRECTORY)/testcases
+ tar -czf $(DEB_ORIG_FILENAME) $(DEB_ORIG_DIRECTORY)
+ rm -fr $(DEB_ORIG_DIRECTORY)
Property changes on: packages/python-feedvalidator/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Python-modules-commits
mailing list