forked from pool/python-pyquery
fix minor issues
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyquery?expand=0&rev=3
This commit is contained in:
parent
5bd60ba8f4
commit
7dd2996787
@ -10,13 +10,16 @@ Release: 1
|
|||||||
License: BSD
|
License: BSD
|
||||||
Summary: A jQuery-like library for python
|
Summary: A jQuery-like library for python
|
||||||
Url: http://pypi.python.org/pypi/pyquery
|
Url: http://pypi.python.org/pypi/pyquery
|
||||||
Group: Development/Libraries
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-lxml
|
BuildRequires: python-lxml
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%{py_requires}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
python-pyquery allows you to make jQuery queries on XML documents. The API is
|
python-pyquery allows you to make jQuery queries on XML documents. The API is
|
||||||
@ -30,15 +33,12 @@ XML and HTML manipulation.
|
|||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install -O1 --skip-build --root %{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
|
||||||
python setup.py test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES.txt README.txt
|
%doc CHANGES.txt README.txt
|
||||||
%{python_sitelib}/pyquery/
|
%{python_sitelib}/%{real_name}/
|
||||||
%{python_sitelib}/pyquery*.egg-info/
|
%{python_sitelib}/%{real_name}*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user