rpms/python-BeautifulSoup/F-7 .cvsignore, 1.2, 1.3 python-BeautifulSoup.spec, 1.1, 1.2 sources, 1.2, 1.3

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Tue Feb 5 18:34:54 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/python-BeautifulSoup/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26080/F-7

Modified Files:
	.cvsignore python-BeautifulSoup.spec sources 
Log Message:
- Update to 3.0.5
- Minor tweaks to spec file




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-BeautifulSoup/F-7/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	4 May 2007 07:52:36 -0000	1.2
+++ .cvsignore	5 Feb 2008 18:34:20 -0000	1.3
@@ -1 +1 @@
-BeautifulSoup-3.0.4.tar.gz
+BeautifulSoup-3.0.5.tar.gz


Index: python-BeautifulSoup.spec
===================================================================
RCS file: /cvs/extras/rpms/python-BeautifulSoup/F-7/python-BeautifulSoup.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-BeautifulSoup.spec	4 May 2007 07:52:36 -0000	1.1
+++ python-BeautifulSoup.spec	5 Feb 2008 18:34:20 -0000	1.2
@@ -1,30 +1,49 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
+%define oname   BeautifulSoup
+
 Name:           python-BeautifulSoup
-Version:        3.0.4
+Version:        3.0.5
 Release:        1%{?dist}
 Summary:        HTML/XML parser for quick-turnaround applications like screen-scraping
 
 Group:          Development/Languages
-License:        Python Software Foundation License
+License:        BSD
 URL:            http://www.crummy.com/software/BeautifulSoup/
-Source0:        http://www.crummy.com/software/BeautifulSoup/download/BeautifulSoup-%{version}.tar.gz
+Source0:        http://www.crummy.com/software/BeautifulSoup/download/%{oname}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel
 
 %description
-Beautiful Soup parses arbitrarily invalid SGML and provides a variety
-of methods and Pythonic idioms for iterating and searching the parse tree.
+Beautiful Soup is a Python HTML/XML parser designed for quick
+turnaround projects like screen-scraping. Three features make it
+powerful:
+
+Beautiful Soup won't choke if you give it bad markup.
+
+Beautiful Soup provides a few simple methods and Pythonic idioms for
+navigating, searching, and modifying a parse tree.
+
+Beautiful Soup automatically converts incoming documents to Unicode
+and outgoing documents to UTF-8.
+
+Beautiful Soup parses anything you give it.
+
+Valuable data that was once locked up in poorly-designed websites is
+now within your reach. Projects that would have taken hours take only
+minutes with Beautiful Soup.
 
 
 %prep
-%setup -q -n BeautifulSoup-%{version}
+%setup -q -n %{oname}-%{version}
 
 
 %build
 %{__python} setup.py build
+%{__python} -c 'import %{oname} as bs; print bs.__doc__' > COPYING
+touch -r %{oname}.py COPYING
 
 
 %install
@@ -36,14 +55,21 @@
 rm -rf $RPM_BUILD_ROOT
 
 
+%check
+%{__python} BeautifulSoupTests.py
+
+
 %files
 %defattr(-,root,root,-)
-%doc PKG-INFO
-# For noarch packages: sitelib
-%{python_sitelib}/*
-
+%doc COPYING
+%{python_sitelib}/%{oname}.py*
+%exclude %{python_sitelib}/%{oname}Tests.py*
 
 %changelog
+* Tue Feb  5 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.5-1
+- Update to 3.0.5
+- Minor tweaks to spec file
+
 * Wed Apr 18 2007 kwizart < kwizart at gmail.com > - 3.0.4-1
 - Update to 3.0.4
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-BeautifulSoup/F-7/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	4 May 2007 07:52:36 -0000	1.2
+++ sources	5 Feb 2008 18:34:20 -0000	1.3
@@ -1 +1 @@
-13a7a16e7f3b8febaace13b1b2790550  BeautifulSoup-3.0.4.tar.gz
+ccbf5ee2199b115935a3ca9a2674f44e  BeautifulSoup-3.0.5.tar.gz




More information about the fedora-extras-commits mailing list