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.

Line 
1Name:           pyparsing
2Version:        2.4.7
3Release:        1%{?_dist_release}
4Summary:        An object-oriented approach to text processing
5Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
6Group:          programming
7Vendor:         Project Vine
8Distribution:   Vine Linux
9
10License:        MIT
11URL:            https://github.com/pyparsing/pyparsing/
12Source0:        https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
13
14BuildArch:      noarch
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires:  python-rpm-macros
18
19BuildRequires:  python-devel
20BuildRequires:  python-setuptools
21BuildRequires:  python2-rpm-macros
22
23BuildRequires:  python3-devel
24BuildRequires:  python3-setuptools
25BuildRequires:  python3-rpm-macros
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
31
32%package -n python-pyparsing
33Summary:        An object-oriented approach to text processing
34Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
35Group:          programming
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
44
45%package -n python3-pyparsing
46Summary:        An object-oriented approach to text processing
47Summary(ja):    オブジェクト指向のテキストパース用 Python モジュール
48Group:          programming
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
55
56%prep
57%setup -qc -n pyparsing-%{version}
58mv pyparsing-%{version} python2
59cp -a python2 python3
60
61pushd python2
62perl -pi -e 's/\r//' LICENSE
63perl -pi -e 's/\r//' CHANGES
64perl -pi -e 's/\r//' README*
65cp -a LICENSE CHANGES README* docs examples ../
66popd
67
68
69%build
70pushd python2
71%py2_build
72popd
73pushd python3
74%py3_build
75popd
76
77
78%install
79rm -rf $RPM_BUILD_ROOT
80pushd python2
81%py2_install
82popd
83pushd python3
84%py3_install
85popd
86
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91
92%files -n python-pyparsing
93%defattr(-,root,root,-)
94%license LICENSE
95%doc CHANGES README* docs examples
96%{python2_sitelib}/pyparsing*egg-info
97%{python2_sitelib}/pyparsing.py*
98
99%files -n python3-pyparsing
100%defattr(-,root,root,-)
101%license LICENSE
102%doc CHANGES README* docs examples
103%{python3_sitelib}/pyparsing*egg-info
104%{python3_sitelib}/pyparsing.py*
105%{python3_sitelib}/__pycache__/pyparsing.*
106
107
108%changelog
109* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
110- new upstream release.
111
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
117* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
118- rebuild with VineSeed environment
119
120* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
121- rebuilt with python-2.7.2
122
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.