[Python-modules-commits] r16612 - in packages/django-reversion/trunk/debian/patches (3 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Mon Apr 18 12:24:14 UTC 2011


    Date: Monday, April 18, 2011 @ 12:24:00
  Author: fladi-guest
Revision: 16612

Replace bloated babel patch with a slim one.

Added:
  packages/django-reversion/trunk/debian/patches/babel.patch
Modified:
  packages/django-reversion/trunk/debian/patches/series
Deleted:
  packages/django-reversion/trunk/debian/patches/babel_support.patch

Added: packages/django-reversion/trunk/debian/patches/babel.patch
===================================================================
--- packages/django-reversion/trunk/debian/patches/babel.patch	                        (rev 0)
+++ packages/django-reversion/trunk/debian/patches/babel.patch	2011-04-18 12:24:00 UTC (rev 16612)
@@ -0,0 +1,27 @@
+Description: Add support for Babel
+ Enable Babel in setup.py to compile .po files during build.
+Author: Fladischer Michael <FladischerMichael at fladi.at>
+Last-Update: 2011-03-09
+Forwarded: no
+
+--- a/setup.py
++++ b/setup.py
+@@ -1,5 +1,6 @@
+ from distutils.core import setup
+ 
++from babel.messages import frontend as babel
+ 
+ setup(name="django-reversion",
+       version="1.3.3",
+@@ -18,4 +19,9 @@
+                    "License :: OSI Approved :: BSD License",
+                    "Operating System :: OS Independent",
+                    "Programming Language :: Python",
+-                   "Framework :: Django",])
+\ No newline at end of file
++                   "Framework :: Django",],
++      cmdclass = {'compile_catalog': babel.compile_catalog,
++                  'extract_messages': babel.extract_messages,
++                  'init_catalog': babel.init_catalog,
++                  'update_catalog': babel.update_catalog,
++                  },)

Deleted: packages/django-reversion/trunk/debian/patches/babel_support.patch
===================================================================
--- packages/django-reversion/trunk/debian/patches/babel_support.patch	2011-04-18 12:22:40 UTC (rev 16611)
+++ packages/django-reversion/trunk/debian/patches/babel_support.patch	2011-04-18 12:24:00 UTC (rev 16612)
@@ -1,55 +0,0 @@
-Description: Add support for Babel
- Enable Babel in setup.py to compile .po files during build.
-Author: Fladischer Michael <FladischerMichael at fladi.at>
-Last-Update: 2011-03-09
-Forwarded: no
-
---- a/setup.py
-+++ b/setup.py
-@@ -1,21 +1,27 @@
- from distutils.core import setup
--
-+from babel.messages import frontend as babel
- 
- setup(name="django-reversion",
--      version="1.3.3",
--      description="An extension to the Django web framework that provides comprehensive version control facilities",
--      author="Dave Hall",
--      author_email="dave at etianen.com",
--      url="http://github.com/etianen/django-reversion",
--      download_url="http://github.com/downloads/etianen/django-reversion/django-reversion-1.3.3.tar.gz",
--      zip_safe=False,
--      packages=["reversion", "reversion.management", "reversion.templatetags", "reversion.management.commands"],
--      package_dir={"": "src"},
--      package_data = {"reversion": ["locale/*/LC_MESSAGES/django.*", "templates/reversion/*.html"]},
--      classifiers=["Development Status :: 5 - Production/Stable",
--                   "Environment :: Web Environment",
--                   "Intended Audience :: Developers",
--                   "License :: OSI Approved :: BSD License",
--                   "Operating System :: OS Independent",
--                   "Programming Language :: Python",
--                   "Framework :: Django",])
-\ No newline at end of file
-+    version="1.3.3",
-+    description="An extension to the Django web framework that provides comprehensive version control facilities",
-+    author="Dave Hall",
-+    author_email="dave at etianen.com",
-+    url="http://github.com/etianen/django-reversion",
-+    download_url="http://github.com/downloads/etianen/django-reversion/django-reversion-1.3.3.tar.gz",
-+    packages=["reversion", "reversion.management", "reversion.templatetags", "reversion.management.commands"],
-+    package_dir={"": "src"},
-+    package_data = {"reversion": ["locale/*/LC_MESSAGES/django.*", "templates/reversion/*.html"]},
-+    classifiers=["Development Status :: 5 - Production/Stable",
-+                 "Environment :: Web Environment",
-+                 "Intended Audience :: Developers",
-+                 "License :: OSI Approved :: BSD License",
-+                 "Operating System :: OS Independent",
-+                 "Programming Language :: Python",
-+                 "Framework :: Django",
-+                 ],
-+    cmdclass = {'compile_catalog': babel.compile_catalog,
-+                'extract_messages': babel.extract_messages,
-+                'init_catalog': babel.init_catalog,
-+                'update_catalog': babel.update_catalog,
-+                },
-+)

Modified: packages/django-reversion/trunk/debian/patches/series
===================================================================
--- packages/django-reversion/trunk/debian/patches/series	2011-04-18 12:22:40 UTC (rev 16611)
+++ packages/django-reversion/trunk/debian/patches/series	2011-04-18 12:24:00 UTC (rev 16612)
@@ -1 +1 @@
-babel_support.patch
+babel.patch




More information about the Python-modules-commits mailing list