From ccded4ccf16d6cf613dd7d777878964d2fdc46dcc44f362a54bffedd3a66403c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 8 Mar 2019 15:06:03 +0000 Subject: [PATCH] osc copypac from project:devel:languages:python:misc package:python-webassets revision:1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webassets?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + python-webassets.changes | 16 ++++++++++ python-webassets.spec | 64 ++++++++++++++++++++++++++++++++++++++++ webassets-0.12.1.tar.gz | 3 ++ 5 files changed, 107 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-webassets.changes create mode 100644 python-webassets.spec create mode 100644 webassets-0.12.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-webassets.changes b/python-webassets.changes new file mode 100644 index 0000000..446f484 --- /dev/null +++ b/python-webassets.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Mon Dec 4 17:38:02 UTC 2017 - 9@cirno.systems + +- convert to singlespec +- drop python-argparse dependency (only needed for python < 2.7) + +------------------------------------------------------------------- +Sat Jun 24 14:37:18 UTC 2017 - adrian@suse.de + +- update to version 0.12.1 + +------------------------------------------------------------------- +Sat Jul 12 21:22:06 UTC 2014 - boris@steki.net + +- initial packaging + diff --git a/python-webassets.spec b/python-webassets.spec new file mode 100644 index 0000000..dedf461 --- /dev/null +++ b/python-webassets.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-webassets +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-webassets +Version: 0.12.1 +Release: 0 +Summary: Media asset management for Python, with glue code for various web frameworks +# rjsmin=Apache-2.0 +# jspacker=LGPL-2.1 +# cssrewrite=BSD-3-Clause +# six.py=MIT +License: BSD-2-Clause AND Apache-2.0 AND LGPL-2.1 AND BSD-3-Clause AND MIT +Group: Development/Languages/Python +Url: http://github.com/miracle2k/webassets/ +Source: https://files.pythonhosted.org/packages/source/w/webassets/webassets-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: help2man +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%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. + +%prep +%setup -q -n webassets-%{version} +sed -i 's/#!.*//' src/webassets/filter/rjsmin/rjsmin.py + +%build +%python_build + +%install +%python_install +install -d 755 %{buildroot}%{_mandir}/man1 +%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} help2man -o %{buildroot}%{_mandir}/man1/webassets.1 -n webassets --version-string=%{version} -N "$python %{buildroot}%{_bindir}/webassets"} +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc AUTHORS CHANGES LICENSE README.rst +%python3_only %{_bindir}/webassets +%python3_only %{_mandir}/man1/webassets.1%{ext_man} +%{python_sitelib}/* + +%changelog diff --git a/webassets-0.12.1.tar.gz b/webassets-0.12.1.tar.gz new file mode 100644 index 0000000..f1b1604 --- /dev/null +++ b/webassets-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7d9c8887343123fd5b32309b33167428cb1318cdda97ece12d0907fd69d38db +size 179363