[Python-modules-commits] r15624 - in packages/beautifulsoup/trunk (10 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Sun Feb 13 15:01:14 UTC 2011


    Date: Sunday, February 13, 2011 @ 15:01:06
  Author: stefanor
Revision: 15624

Importing beautifulsoup

Added:
  packages/beautifulsoup/trunk/debian/
  packages/beautifulsoup/trunk/debian/changelog
  packages/beautifulsoup/trunk/debian/compat
  packages/beautifulsoup/trunk/debian/control
  packages/beautifulsoup/trunk/debian/copyright
  packages/beautifulsoup/trunk/debian/examples
  packages/beautifulsoup/trunk/debian/python-beautifulsoup.dirs
  packages/beautifulsoup/trunk/debian/pyversions
  packages/beautifulsoup/trunk/debian/rules
  packages/beautifulsoup/trunk/setup.py


Property changes on: packages/beautifulsoup/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/beautifulsoup/trunk/debian/changelog
===================================================================
--- packages/beautifulsoup/trunk/debian/changelog	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/changelog	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1,116 @@
+beautifulsoup (3.1.0.1-2) unstable; urgency=low
+
+  * Disable installation of test scripts (Closes: #528430)
+
+ -- Decklin Foster <decklin at red-bean.com>  Sun, 24 May 2009 15:00:59 -0400
+
+beautifulsoup (3.1.0.1-1) unstable; urgency=low
+
+  * New Upstream Version
+
+ -- Decklin Foster <decklin at red-bean.com>  Tue, 06 Jan 2009 18:59:51 -0500
+
+beautifulsoup (3.0.7-1) unstable; urgency=low
+
+  * New upstream version, fixes UnicodeDecodeError (Closes: #483579, #479414)
+
+ -- Decklin Foster <decklin at red-bean.com>  Mon, 30 Jun 2008 19:04:07 -0400
+
+beautifulsoup (3.0.6-1) unstable; urgency=low
+
+  * New upstream version (Closes: #487180)
+
+ -- Decklin Foster <decklin at red-bean.com>  Thu, 19 Jun 2008 22:19:12 -0400
+
+beautifulsoup (3.0.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated debian/copyright with new license (dammit).
+
+ -- Decklin Foster <decklin at red-bean.com>  Sun, 17 Feb 2008 17:45:34 -0500
+
+beautifulsoup (3.0.4-1) unstable; urgency=low
+
+  * New upstream release (Closes: #401849)
+  * Remove dh_python and other cruft.
+
+ -- Decklin Foster <decklin at red-bean.com>  Mon, 21 May 2007 13:26:19 -0400
+
+beautifulsoup (3.0.3-1) unstable; urgency=low
+
+  * New upstream release
+    - Correctly read in keyword arguments to findAll (Closes: #418432)
+  * Remove obsolete mention of separate packages built for Python 2.3 and 2.4
+    from long description and Provides: (Closes: #399931, #413695)
+
+ -- Decklin Foster <decklin at red-bean.com>  Mon, 26 Mar 2007 22:12:59 -0400
+
+beautifulsoup (3.0.1-2) unstable; urgency=low
+
+  * Build with python-support. No more python2.3-beautifulsoup or
+    python2.4-beautifulsoup.
+  * Move python from B-D-I to B-D.
+
+ -- Decklin Foster <decklin at red-bean.com>  Sun, 18 Jun 2006 12:42:42 -0400
+
+beautifulsoup (3.0.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Fixed documentation (Closes: #349609)
+  * Move debhelper from Build-Depends-Indep to Build-Depends.
+  * Standards-Version: 3.7.2.
+
+ -- Decklin Foster <decklin at red-bean.com>  Thu,  1 Jun 2006 09:49:46 -0400
+
+beautifulsoup (2.1.1-5) unstable; urgency=low
+
+  * Fix typo in description: (Closes: #345289)
+  * Add Conflicts: on uld unsplit package (Closes: #345088)
+
+ -- Decklin Foster <decklin at red-bean.com>  Mon,  2 Jan 2006 22:52:38 -0500
+
+beautifulsoup (2.1.1-4) unstable; urgency=low
+
+  * Match version in short description with long desc (Closes: #343480)
+
+ -- Decklin Foster <decklin at red-bean.com>  Thu, 15 Dec 2005 17:02:29 -0500
+
+beautifulsoup (2.1.1-3) unstable; urgency=low
+
+  * Fix Description (argh).
+
+ -- Decklin Foster <decklin at red-bean.com>  Tue, 13 Dec 2005 21:52:35 -0500
+
+beautifulsoup (2.1.1-2) unstable; urgency=low
+
+  * Install BeautifulSoupTests.py as an example rather than a regular doc.
+  * Split python-beautifulsoup into python2.3-beautifulsoup and
+    python2.4-beautifulsoup (Closes: #339997)
+
+ -- Decklin Foster <decklin at red-bean.com>  Sat, 10 Dec 2005 11:04:56 -0500
+
+beautifulsoup (2.1.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump Standards-Version to 3.6.2.
+
+ -- Decklin Foster <decklin at red-bean.com>  Mon, 19 Sep 2005 03:26:41 -0400
+
+beautifulsoup (2.1.0-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #309580)
+
+ -- Decklin Foster <decklin at red-bean.com>  Fri, 27 May 2005 10:12:14 -0400
+
+beautifulsoup (1.2+cvs20041017-1) unstable; urgency=low
+
+  * Corrected version number and repacked the orig.tar.gz to go with it.
+
+ -- Decklin Foster <decklin at red-bean.com>  Wed, 16 Mar 2005 16:15:36 -0500
+
+beautifulsoup (1.2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Decklin Foster <decklin at red-bean.com>  Thu, 10 Feb 2005 13:57:09 -0500
+

Added: packages/beautifulsoup/trunk/debian/compat
===================================================================
--- packages/beautifulsoup/trunk/debian/compat	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/compat	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1 @@
+4

Added: packages/beautifulsoup/trunk/debian/control
===================================================================
--- packages/beautifulsoup/trunk/debian/control	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/control	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1,21 @@
+Source: beautifulsoup
+Section: web
+Priority: optional
+Maintainer: Decklin Foster <decklin at red-bean.com>
+Build-Depends: debhelper (>= 5.0.37.1), python, python-dev
+Build-Depends-Indep: python-support (>= 0.5.3)
+Standards-Version: 3.7.2
+
+Package: python-beautifulsoup
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-beautifulsoup (<< 3.0.1-2), python2.4-beautifulsoup (<< 3.0.1-2)
+Conflicts: python2.3-beautifulsoup (<< 3.0.1-2), python2.4-beautifulsoup (<< 3.0.1-2)
+Description: error-tolerant HTML parser for Python
+ The BeautifulSoup class turns arbitrarily bad HTML into a tree-like nested
+ tag-soup list of Tag objects and text snippets. A Tag object corresponds to
+ an HTML tag.  It knows about the HTML tag's attributes, and contains a
+ representation of everything contained between the original tag and its
+ closing tag (if any). It's easy to extract Tags that meet certain criteria.

Added: packages/beautifulsoup/trunk/debian/copyright
===================================================================
--- packages/beautifulsoup/trunk/debian/copyright	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/copyright	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1,38 @@
+This package was debianized by Decklin Foster <decklin at red-bean.com> on
+Thu, 10 Feb 2005 13:59:28 -0500
+
+It was downloaded from http://www.crummy.com/software/BeautifulSoup/
+
+Upstream Author: Leonard Richardson <leonardr at segfault>
+Copyright (c) 2004-2007, Leonard Richardson
+
+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 the Beautiful Soup Consortium and All
+    Night Kosher Bakery 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, DAMMIT.

Added: packages/beautifulsoup/trunk/debian/examples
===================================================================
--- packages/beautifulsoup/trunk/debian/examples	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/examples	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1 @@
+BeautifulSoupTests.py

Added: packages/beautifulsoup/trunk/debian/python-beautifulsoup.dirs
===================================================================
--- packages/beautifulsoup/trunk/debian/python-beautifulsoup.dirs	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/python-beautifulsoup.dirs	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1 @@
+usr/share/python-support/beautifulsoup

Added: packages/beautifulsoup/trunk/debian/pyversions
===================================================================
--- packages/beautifulsoup/trunk/debian/pyversions	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/pyversions	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1 @@
+2.2-

Added: packages/beautifulsoup/trunk/debian/rules
===================================================================
--- packages/beautifulsoup/trunk/debian/rules	                        (rev 0)
+++ packages/beautifulsoup/trunk/debian/rules	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	python setup.py clean --all
+	# setup.py imports these. see http://python.org/sf/602345
+	rm BeautifulSoup.pyc BeautifulSoupTests.pyc
+
+	dh_clean
+
+build:
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	python setup.py install --no-compile --prefix $(CURDIR)/debian/python-beautifulsoup/usr --install-lib $(CURDIR)/debian/python-beautifulsoup/usr/share/python-support/beautifulsoup
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_compress
+	dh_fixperms
+	dh_pysupport
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: packages/beautifulsoup/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/beautifulsoup/trunk/setup.py
===================================================================
--- packages/beautifulsoup/trunk/setup.py	                        (rev 0)
+++ packages/beautifulsoup/trunk/setup.py	2011-02-13 15:01:06 UTC (rev 15624)
@@ -0,0 +1,65 @@
+from distutils.core import setup
+import unittest
+import warnings
+warnings.filterwarnings("ignore", "Unknown distribution option")
+
+import sys
+# patch distutils if it can't cope with the "classifiers" keyword
+if sys.version < '2.2.3':
+    from distutils.dist import DistributionMetadata
+    DistributionMetadata.classifiers = None
+    DistributionMetadata.download_url = None
+
+from BeautifulSoup import __version__
+
+#Make sure all the tests complete.
+import BeautifulSoupTests
+loader = unittest.TestLoader()
+result = unittest.TestResult()
+suite = loader.loadTestsFromModule(BeautifulSoupTests)
+suite.run(result)
+if not result.wasSuccessful():
+    print "Unit tests have failed!"
+    for l in result.errors, result.failures:
+        for case, error in l:
+            print "-" * 80
+            desc = case.shortDescription()
+            if desc:
+                print desc
+            print error        
+    print '''If you see an error like: "'ascii' codec can't encode character...", see\nthe Beautiful Soup documentation:\n http://www.crummy.com/software/BeautifulSoup/documentation.html#Why%20can't%20Beautiful%20Soup%20print%20out%20the%20non-ASCII%20characters%20I%20gave%20it?'''
+    print "This might or might not be a problem depending on what you plan to do with\nBeautiful Soup."
+    if sys.argv[1] == 'sdist':
+        print
+        print "I'm not going to make a source distribution since the tests don't pass."
+        sys.exit(1)
+
+setup(name="BeautifulSoup",
+      version=__version__,
+      py_modules=['BeautifulSoup', 'BeautifulSoupTests'],
+      scripts=[ #'testall.sh', 'to3.sh',
+      ## Whatever, I'll fix this later.
+      #'README', 'CHANGELOG',
+      #            'BeautifulSoup.py.3.diff', 'BeautifulSoupTests.py.3.diff'],
+               ],
+      description="HTML/XML parser for quick-turnaround applications like screen-scraping.",
+      author="Leonard Richardson",
+      author_email = "leonardr at segfault.org",
+      long_description="""Beautiful Soup parses arbitrarily invalid SGML and provides a variety of methods and Pythonic idioms for iterating and searching the parse tree.""",
+      classifiers=["Development Status :: 5 - Production/Stable",
+                   "Intended Audience :: Developers",
+                   "License :: OSI Approved :: Python Software Foundation License",
+                   "Programming Language :: Python",
+                   "Topic :: Text Processing :: Markup :: HTML",
+                   "Topic :: Text Processing :: Markup :: XML",
+                   "Topic :: Text Processing :: Markup :: SGML",
+                   "Topic :: Software Development :: Libraries :: Python Modules",
+                   ],
+      url="http://www.crummy.com/software/BeautifulSoup/",
+      license="BSD",
+      download_url="http://www.crummy.com/software/BeautifulSoup/download/"
+      )
+    
+    # Send announce to:
+    #   python-announce at python.org
+    #   python-list at python.org




More information about the Python-modules-commits mailing list