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

Revision 12469, 4.1 KB checked in by tomop, 4 years ago (diff)

python-3.8.5 and related packages.

RevLine 
[521]1Name:           pyparsing
[12469]2Version:        2.4.7
[11931]3Release:        1%{?_dist_release}
[521]4Summary:        An object-oriented approach to text processing
5Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
[12469]6Group:          programming
7Vendor:         Project Vine
8Distribution:   Vine Linux
[521]9
10License:        MIT
[11931]11URL:            https://github.com/pyparsing/pyparsing/
[12469]12Source0:        https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
13
14BuildArch:      noarch
[521]15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
[12469]17BuildRequires:  python-rpm-macros
18
[521]19BuildRequires:  python-devel
[11931]20BuildRequires:  python-setuptools
[12469]21BuildRequires:  python2-rpm-macros
22
[11931]23BuildRequires:  python3-devel
24BuildRequires:  python3-setuptools
25BuildRequires:  python3-rpm-macros
[521]26
27%description
28pyparsing is a module that can be used to easily and directly configure syntax
29definitions for any number of text parsing applications.
30
[12469]31
[11931]32%package -n python-pyparsing
33Summary:        An object-oriented approach to text processing
34Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
[12469]35Group:          programming
[11931]36Requires:       python
37Provides:       pyparsing = %{version}-%{release}
38Obsoletes:      pyparsing < %{version}
39
40%description -n python-pyparsing
41pyparsing is a module that can be used to easily and directly configure syntax
42definitions for any number of text parsing applications.
43
[12469]44
[11931]45%package -n python3-pyparsing
46Summary:        An object-oriented approach to text processing
47Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
[12469]48Group:          programming
[11931]49Requires:       python3
50
51%description -n python3-pyparsing
52pyparsing is a module that can be used to easily and directly configure syntax
53definitions for any number of text parsing applications.
54
[12469]55
[521]56%prep
[11931]57%setup -qc -n pyparsing-%{version}
58mv pyparsing-%{version} python2
59cp -a python2 python3
[521]60
[11931]61pushd python2
62perl -pi -e 's/\r//' LICENSE
63perl -pi -e 's/\r//' CHANGES
64perl -pi -e 's/\r//' README*
[12469]65cp -a LICENSE CHANGES README* docs examples ../
[11931]66popd
67
[12469]68
[521]69%build
[11931]70pushd python2
[12469]71%py2_build
[11931]72popd
73pushd python3
74%py3_build
75popd
[521]76
[11931]77
[521]78%install
79rm -rf $RPM_BUILD_ROOT
[11931]80pushd python2
[12469]81%py2_install
[11931]82popd
83pushd python3
84%py3_install
85popd
[521]86
[12469]87
[521]88%clean
89rm -rf $RPM_BUILD_ROOT
90
[12469]91
[11931]92%files -n python-pyparsing
[521]93%defattr(-,root,root,-)
[11931]94%license LICENSE
[12469]95%doc CHANGES README* docs examples
96%{python2_sitelib}/pyparsing*egg-info
97%{python2_sitelib}/pyparsing.py*
[521]98
[11931]99%files -n python3-pyparsing
100%defattr(-,root,root,-)
101%license LICENSE
[12469]102%doc CHANGES README* docs examples
[11931]103%{python3_sitelib}/pyparsing*egg-info
104%{python3_sitelib}/pyparsing.py*
105%{python3_sitelib}/__pycache__/pyparsing.*
[521]106
[11931]107
[521]108%changelog
[12469]109* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
110- new upstream release.
111
[11931]112* Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
113- new upstream release.
114- changed naming-rule.
115- added python3 support.
116
[8154]117* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
118- rebuild with VineSeed environment
119
[5701]120* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
121- rebuilt with python-2.7.2
122
[521]123* Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-2
124- rebuilt with python-2.6.4
125
126* Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.5.0-1
127- initial build for Vine Linux based on fedora package
128
129* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
130- Rebuild for Python 2.6
131
132* Mon Aug  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
133- respun (now with the right sources)
134
135* Mon Aug  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
136- new upstream release.
137
138* Tue Apr  1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
139- New upstream version, add egg-info for F9+.
140
141* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
142- New upstream version.
143
144* Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
145- New upstream version.
146
147* Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
148- New upstream version.
149
150* Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
151- New version.
152
153* Wed Aug  3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
154- Initial RPM release
Note: See TracBrowser for help on using the repository browser.