[python-tinycss] Initial import (#986630).

Eric Smith brouhaha at fedoraproject.org
Tue Jul 23 16:34:14 UTC 2013


commit 2cd5f55360139d1c42974ba6914aaa5aecdf0540
Author: Eric Smith <brouhaha at fedoraproject.org>
Date:   Tue Jul 23 10:33:37 2013 -0600

    Initial import (#986630).

 .gitignore          |    1 +
 python-tinycss.spec |   38 ++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a5eaa34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v0.3.tar.gz
diff --git a/python-tinycss.spec b/python-tinycss.spec
new file mode 100644
index 0000000..f2b37f6
--- /dev/null
+++ b/python-tinycss.spec
@@ -0,0 +1,38 @@
+Name:           python-tinycss
+Version:        0.3
+Release:        1%{?dist}
+Group:          Applications/File
+Summary:        CSS parser for Python
+License:        BSD
+URL:            http://pythonhosted.org/tinycss/
+Source0:        https://github.com/SimonSapin/tinycss/archive/v%{version}.tar.gz
+
+BuildRequires:  python2-devel python-setuptools Cython dos2unix
+
+# Do not check .so files in the python_sitelib directory
+# or any files in the application's directory for provides
+%global __provides_exclude_from ^(%{python_sitearch}/.*\\.so|%{_datadir}/myapp/.*)$
+
+%description
+tinycss is a complete yet simple CSS parser for Python. It supports
+the full syntax and error handling for CSS 2.1 as well as some CSS 3
+modules. It is designed to be easy to extend for new CSS modules and
+syntax, and integrates well with cssselect for Selectors 3 support.
+
+%prep
+%setup -q -n tinycss-%{version}
+dos2unix LICENSE
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot}
+
+%files
+%doc LICENSE README.rst
+%{python_sitearch}/*
+
+%changelog
+* Sat Jul 20 2013 Eric Smith <brouhaha at fedoraproject.org> 0.3-1
+- initial version
diff --git a/sources b/sources
index e69de29..543090f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2f5104d58cdce8dd4fc0c3e1b92d4f2f  v0.3.tar.gz


More information about the scm-commits mailing list