[packages/python-webassets] up to 0.8
glen
glen at pld-linux.org
Sun Mar 17 03:12:44 CET 2013
commit d16d23e349a6cbd997170ed3ded98cca50019077
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 17 04:11:38 2013 +0200
up to 0.8
- bundled jsmin is removed, use python-jsmin package
- django integration has moved to a separate project: python-django-assets
python-webassets.spec | 41 ++++++++++++++++++-----------------------
1 file changed, 18 insertions(+), 23 deletions(-)
---
diff --git a/python-webassets.spec b/python-webassets.spec
index 373126f..e50843d 100644
--- a/python-webassets.spec
+++ b/python-webassets.spec
@@ -1,37 +1,29 @@
%define module webassets
Summary: Media asset management for python
Name: python-%{module}
-Version: 0.7.1
+Version: 0.8
Release: 1
License: BSD
Group: Development/Libraries
-URL: http://github.com/miracle2k/%{module}
-# Because jsmin.py is non-free, we have to make a "clean" source tarball.
-# First, get the original source:
-# Source0: http://pypi.python.org/packages/source/w/%{module}/%{module}-%{version}.tar.gz
-# Then, unpack it, and delete src/webassets/filter/jsmin/jsmin.py
-# tar xf %{module}-%{version}.tar.gz
-# rm -rf %{module}-%{version}/src/webassets/filter/jsmin/jsmin.py
-# tar cfz %{module}-%{version}-clean.tar.gz %{module}-%{version}
-Source0: %{module}-%{version}-clean.tar.gz
-# Source0-md5: 548e2a4125a11c0bf30398357059a725
+URL: http://github.com/miracle2k/webassets
+Source0: https://pypi.python.org/packages/source/w/webassets/%{module}-%{version}.tar.gz
+# Source0-md5: 6770429350878156e7f574ae772ebc19
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.553
+Suggests: python-jsmin
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Merges, minifies and compresses Javascript and CSS files, supporting a
-variety of different filters, including YUI, jsmin, jspacker or CSS
-tidy. Also supports URL rewriting in CSS files.
+variety of different filters, including YUI, jspacker or CSS tidy.
+Also supports URL rewriting in CSS files.
%prep
%setup -q -n %{module}-%{version}
-%undos README.rst docs/{*.rst,Makefile,django/jinja2.rst}
-
-rm src/django_assets/models.py
+%undos README.rst docs/{*.rst,Makefile}
%build
%{__python} setup.py build
@@ -58,10 +50,13 @@ rm -rf $RPM_BUILD_ROOT
%dir %{py_sitescriptdir}/%{module}/ext
%{py_sitescriptdir}/%{module}/ext/__init__.py[co]
%{py_sitescriptdir}/%{module}/ext/jinja2.py[co]
-%{py_sitescriptdir}/%{module}/ext/werkzeug.py[co]
%dir %{py_sitescriptdir}/%{module}/filter
+%{py_sitescriptdir}/%{module}/filter/cssrewrite
+%{py_sitescriptdir}/%{module}/filter/jspacker
+%{py_sitescriptdir}/%{module}/filter/rjsmin
%{py_sitescriptdir}/%{module}/filter/__init__.py[co]
+%{py_sitescriptdir}/%{module}/filter/cleancss.py[co]
%{py_sitescriptdir}/%{module}/filter/clevercss.py[co]
%{py_sitescriptdir}/%{module}/filter/closure.py[co]
%{py_sitescriptdir}/%{module}/filter/coffeescript.py[co]
@@ -73,18 +68,18 @@ rm -rf $RPM_BUILD_ROOT
%{py_sitescriptdir}/%{module}/filter/dust.py[co]
%{py_sitescriptdir}/%{module}/filter/gzip.py[co]
%{py_sitescriptdir}/%{module}/filter/handlebars.py[co]
+%{py_sitescriptdir}/%{module}/filter/jinja2.py[co]
+%{py_sitescriptdir}/%{module}/filter/jsmin.py[co]
%{py_sitescriptdir}/%{module}/filter/jst.py[co]
%{py_sitescriptdir}/%{module}/filter/less.py[co]
%{py_sitescriptdir}/%{module}/filter/less_ruby.py[co]
%{py_sitescriptdir}/%{module}/filter/pyscss.py[co]
%{py_sitescriptdir}/%{module}/filter/sass.py[co]
+%{py_sitescriptdir}/%{module}/filter/slimmer.py[co]
+%{py_sitescriptdir}/%{module}/filter/spritemapper.py[co]
+%{py_sitescriptdir}/%{module}/filter/stylus.py[co]
+%{py_sitescriptdir}/%{module}/filter/typescript.py[co]
%{py_sitescriptdir}/%{module}/filter/uglifyjs.py[co]
%{py_sitescriptdir}/%{module}/filter/yui.py[co]
-%{py_sitescriptdir}/%{module}/filter/cssrewrite
-%{py_sitescriptdir}/%{module}/filter/jsmin
-%{py_sitescriptdir}/%{module}/filter/jspacker
-%{py_sitescriptdir}/%{module}/filter/rjsmin
%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
-
-%{py_sitescriptdir}/django_assets
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-webassets.git/commitdiff/d16d23e349a6cbd997170ed3ded98cca50019077
More information about the pld-cvs-commit
mailing list