source: projects/specs/trunk/p/python-lxml/python-lxml-vl.spec @ 12469

Revision 12469, 2.9 KB checked in by tomop, 6 years ago (diff)

python-3.8.5 and related packages.

RevLine 
[5701]1%define _lxml lxml
2Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
3Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
4Name: python-%{_lxml}
[12469]5Group: programming
6Version: 4.5.2
[11173]7Release: 1%{?_dist_release}
[12469]8Vendor: Project Vine
9Distribution: Vine Linux
10
[5701]11License: BSD
[12469]12URL: https://lxml.de/
[5701]13#URL: http://pypi.python.org/pypi/lxml
[12469]14Source: https://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz
[5701]15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires: libxml2-devel >= 2.6.21
18BuildRequires: libxslt-devel >= 1.1.15
[12469]19BuildRequires: python-rpm-macros
20
[5701]21BuildRequires: python-devel >= 2.3
[12469]22BuildRequires: python2-rpm-macros
[5701]23BuildRequires: python-pyrex
24
[12469]25BuildRequires: python3-devel
26BuildRequires: python3-rpm-macros
27
[5701]28%description
29lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries.  It is
30unique in that it combines the speed and feature completeness of these
31libraries with the simplicity of a native Python API, mostly compatible but
32superior to the well-known ElementTree_ API.  See the introduction_ for more
33information about background and goals.
34
[12469]35
[11173]36%package -n python3-lxml
37Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
38Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
[12469]39Group: programming
[11173]40
41%description -n python3-lxml
42lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries.  It is
43unique in that it combines the speed and feature completeness of these
44libraries with the simplicity of a native Python API, mostly compatible but
45superior to the well-known ElementTree_ API.  See the introduction_ for more
46information about background and goals.
47
[12469]48
[5701]49%prep
[12469]50%setup -q -n %{_lxml}-%{version}
[5701]51
[11173]52
[5701]53%build
[12469]54%py2_build
55%py3_build
[5701]56
[11173]57
[5701]58%install
59rm -rf $RPM_BUILD_ROOT
[12469]60%py2_install
61%py3_install
[11173]62
[5701]63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
[12469]67
[5701]68%files
69%defattr(-,root,root)
[12469]70%license LICENSE*
71%doc CHANGES.txt CREDITS.txt README.* TODO.txt
72%doc doc
73%{python2_sitearch}/%{_lxml}
74%{python2_sitearch}/%{_lxml}-*-info
[5701]75
[11173]76%files -n python3-lxml
77%defattr(-,root,root)
[12469]78%license LICENSE*
79%doc CHANGES.txt CREDITS.txt README.* TODO.txt
80%doc doc
[11173]81%{python3_sitearch}/%{_lxml}
82%{python3_sitearch}/%{_lxml}-*-info
83
[12469]84
[5701]85%changelog
[12469]86* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-1
87- new upstream release.
88
[11173]89* Sat Sep 09 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
90- new upstream release.
91- added python3 support.
92
[8158]93* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-4
94- rebuild with VineSeed environment
95
[5701]96* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-3
97- rebuild with python-2.7.2
98
99* Wed Mar 10 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.2.6-2
100- change required version of libxml2-devel for Vine Plus/5
101  (2.7.2 or later is recomended, but works with 2.6.21 or later)
102
103* Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1
104- initial build for vine linux
105
Note: See TracBrowser for help on using the repository browser.