rpms/python-mwlib/F-8 import.log, NONE, 1.1 mwlib-0.8.0.patch, NONE, 1.1 python-mwlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ian Weller (ianweller) fedora-extras-commits at redhat.com
Fri Jul 25 17:31:02 UTC 2008


Author: ianweller

Update of /cvs/pkgs/rpms/python-mwlib/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24441/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	import.log mwlib-0.8.0.patch python-mwlib.spec 
Log Message:
import python-mwlib 0.8.0-2 in F-8


--- NEW FILE import.log ---
python-mwlib-0_8_0-2_fc9:F-8:python-mwlib-0.8.0-2.fc9.src.rpm:1217007019

mwlib-0.8.0.patch:

--- NEW FILE mwlib-0.8.0.patch ---
diff -up mwlib-0.8.0/mwlib/snippets.txt.orig mwlib-0.8.0/mwlib/snippets.txt
--- mwlib-0.8.0/mwlib/snippets.txt.orig	2008-07-21 03:00:04.000000000 -0500
+++ mwlib-0.8.0/mwlib/snippets.txt	2008-07-21 03:00:17.000000000 -0500
@@ -1,13 +1,13 @@
-#! -*- mode: wikipedia -*-
-
+# -*- mode: wikipedia -*-
+
 funky Umlauts and symbols: äöü ÄÖÜ some symbols: @ € ~ # ^ § '
-
+
 Intra wiki link: [[Articlename]] with different link text: [[Other Article|Some funky text]]
-
+
 External link to [http://example.com] with optional link text [http://example.com bla blub]
-
+
 some url: http://example.com. now a url with umlauts: http://dasörtliche.de and now a italic url ''http://example.com/öpath''
-
+
 * item 1 ä#üß
 * item 2 @€
 * item3
@@ -15,7 +15,7 @@ some url: http://example.com. now a url 
 # numbered item 1
 # numbered item 2
 # numbered item3
-
+
 {| class="prettytable"
 |-
 | row 1, col 1 || row 1, col 2 || row 1, col 3
@@ -24,13 +24,13 @@ some url: http://example.com. now a url 
 |-
 | row 3, col 1 || row 3, col 2 || row 3, col 3
 |}
-
+
 normal paragraph
 
 : some indented text
 
 back to normal
-
+
 [[w:en:Help:Piped link|en:Help:Piped link]]
 
 [[wikipedia:]]
@@ -52,4 +52,4 @@ back to normal
 [[Category:SomeCategory]]
 
 [[:Category:SomeCategoryWhichIsDisplayed]]
-
+
diff -up mwlib-0.8.0/mwlib/tagext.py.orig mwlib-0.8.0/mwlib/tagext.py
--- mwlib-0.8.0/mwlib/tagext.py.orig	2008-07-21 03:11:22.000000000 -0500
+++ mwlib-0.8.0/mwlib/tagext.py	2008-07-21 03:11:28.000000000 -0500
@@ -1,4 +1,3 @@
-#! /usr/bin/env py.test
 # -*- coding: utf-8 -*-
 
 # Copyright (c) 2007-2008 PediaPress GmbH
diff -up mwlib-0.8.0/mwlib/xmltreecleaner.py.orig mwlib-0.8.0/mwlib/xmltreecleaner.py
--- mwlib-0.8.0/mwlib/xmltreecleaner.py.orig	2008-07-21 03:00:26.000000000 -0500
+++ mwlib-0.8.0/mwlib/xmltreecleaner.py	2008-07-21 03:00:36.000000000 -0500
@@ -1,5 +1,5 @@
 #! /usr/bin/env python
-#! -*- coding:utf-8 -*-
+# -*- coding:utf-8 -*-
 
 # Copyright (c) 2007, PediaPress GmbH
 # See README.txt for additional licensing information.


--- NEW FILE python-mwlib.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-mwlib
Version:        0.8.0
Release:        2%{?dist}
Summary:        MediaWiki conversion library for Python

Group:          Development/Languages
# mwlib/cdb.py under Python license, everything else under BSD
License:        BSD and Python
URL:            http://code.pediapress.com/
Source0:        http://pypi.python.org/packages/source/m/mwlib/mwlib-%{version}.tar.gz
Patch0:         mwlib-%{version}.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel re2c python-docutils python-flup odfpy pyparsing python-simplejson python-setuptools
Requires:       perl python-imaging tex(latex) python-flup pyparsing odfpy python-simplejson

%description
mwlib is a Python library for parsing MediaWiki articles. It is
currently aimed at developers, who have a need to somehow handle
MediaWiki articles.

%prep
%setup -q -n mwlib-%{version}
%patch0 -p1

%build
CFLAGS="%{optflags}" %{__python} setup.py build

%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
sed -i '/#! \/usr\/bin\/env python/d' %{buildroot}%{python_sitearch}/mwlib/*.py
chmod a-x %{buildroot}%{python_sitearch}/mwlib/snippets.txt
chmod 755 %{buildroot}%{python_sitearch}/mwlib/_mwscan.so

%clean 
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc example_conf.txt README.txt docs/*.html
%{python_sitearch}/mwlib*
%{_bindir}/*


%changelog
* Fri Jul 25 2008 Ian Weller <ianweller at gmail.com> 0.8.0-2
- Fix source URL (again)
- Remove make commands because setup.py build does that now
- Kill off the check section
- Fix license

* Mon Jul 21 2008 Ian Weller <ianweller at gmail.com> 0.8.0-1
- Bump to 0.8.0

* Sun Jul 13 2008 Ian Weller <ianweller at gmail.com> 0.7.1-1
- Fix source URL, license, other things

* Sun Jul 13 2008 Paul W. Frields <stickster at gmail.com> - 0.7.1-0.1
- Initial RPM package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-mwlib/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Jul 2008 16:52:17 -0000	1.1
+++ .cvsignore	25 Jul 2008 17:30:32 -0000	1.2
@@ -0,0 +1 @@
+mwlib-0.8.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-mwlib/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Jul 2008 16:52:17 -0000	1.1
+++ sources	25 Jul 2008 17:30:32 -0000	1.2
@@ -0,0 +1 @@
+5286ff35bbbda3a0b84182e743ee9d92  mwlib-0.8.0.tar.gz




More information about the fedora-extras-commits mailing list