source: projects/specs/trunk/P/PyYAML/PyYAML-vl.spec @ 12309

Revision 12309, 4.2 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

PyYAML-5.1.2-1

lz4-1.9.2-1

libnet-1.1.6-2

libyaml-0.2.2-1

mecab-naist-jdic-0.6.3b.20111013-2

mecab-0.996-3

perl-HTTP-Cookies-6.04-8

perl-LWP-Protocol-https-6.07-10

perl-Mozilla-CA-20180117-7

swig-4.0.1-1

Line 
1Name:           PyYAML
2Version:        5.1.2
3Release:        1%{?_dist_release}
4Summary:        YAML parser and emitter for Python
5
6Vendor:         Project Vine
7Distribution:   Vine Linux
8
9Group:          Development/Libraries
10License:        MIT
11URL:            https://github.com/yaml/pyyaml
12Source0:        https://github.com/yaml/pyyaml/archive/%{name}-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14
15BuildRequires:  libyaml-devel
16BuildRequires:  python-devel, python-setuptools, python-rpm-macros
17BuildRequires:  python3-devel, python3-setuptools, python3-rpm-macros
18BuildRequires:  python3-Cython
19
20%description
21YAML is a data serialization format designed for human readability and
22interaction with scripting languages.  PyYAML is a YAML parser and
23emitter for Python.
24
25PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
26support, capable extension API, and sensible error messages.  PyYAML
27supports standard YAML tags and provides Python-specific tags that allow
28to represent an arbitrary Python object.
29
30PyYAML is applicable for a broad range of tasks from complex
31configuration files to object serialization and persistance.
32
33
34%package -n python3-pyyaml
35Summary:        %summary
36Provides:       python3-yaml = %{version}-%{release}
37Provides:       python3-yaml%{?_isa} = %{version}-%{release}
38%{?python_provide:%python_provide python3-pyyaml}
39# Remove before F31
40Provides:       python3-PyYAML = %{version}-%{release}
41Provides:       python3-PyYAML%{?_isa} = %{version}-%{release}
42
43%description -n python3-pyyaml
44YAML is a data serialization format designed for human readability and
45interaction with scripting languages.  PyYAML is a YAML parser and
46emitter for Python.
47
48PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
49support, capable extension API, and sensible error messages.  PyYAML
50supports standard YAML tags and provides Python-specific tags that allow
51to represent an arbitrary Python object.
52
53PyYAML is applicable for a broad range of tasks from complex
54configuration files to object serialization and persistance.
55
56
57%prep
58%setup -q -n %{name}-%{version}
59chmod a-x examples/yaml-highlight/yaml_hl.py
60
61# remove pre-generated file
62rm -rf ext/_yaml.c
63
64
65%build
66%py3_build
67
68# py_build reuses Cython output from py3_build
69%py_build
70
71
72%install
73rm -rf $RPM_BUILD_ROOT
74%py_install
75%py3_install
76
77
78%check
79%{__python} setup.py test
80%{__python3} setup.py test
81
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86
87%files
88%defattr(-,root,root,-)
89%license LICENSE
90%doc CHANGES README examples
91%{python_sitearch}/*
92
93%files -n python3-pyyaml
94%license LICENSE
95%doc CHANGES README examples
96%{python3_sitearch}/*
97
98
99%changelog
100* Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.2-1
101- new upstream release.
102- added python3 support.
103
104* Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.10-3
105- rebuilt with libyaml-0.1.4
106
107* Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10-2
108- rebuild with python-2.7.2
109
110* Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.10-1
111- new upstream release
112
113* Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.09-1
114- new upstream release
115
116* Thu Jun 11 2009 Shu KONNO <owa@bg.wakwak.com> 3.08-2
117- s/python_sitelib/python_sitearch/
118
119* Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.08-1
120- initial build for Vine Linux
121
122* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 3.08-4
123- Correction, change libyaml to libyaml-devel in BuildRequires
124
125* Mon Mar 2 2009 John Eckersberg <jeckersb@redhat.com> - 3.08-3
126- Add libyaml to BuildRequires
127
128* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.08-2
129- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
130
131* Wed Feb 18 2009 John Eckersberg <jeckersb@redhat.com> - 3.08-1
132- New upstream release
133
134* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.06-2
135- Rebuild for Python 2.6
136
137* Fri Oct 24 2008 John Eckersberg <jeckersb@redhat.com> - 3.06-1
138- New upstream release
139
140* Wed Jan 02 2008 John Eckersberg <jeckersb@redhat.com> - 3.05-2
141- Remove explicit dependency on python >= 2.3
142- Remove executable on example script in docs
143
144* Mon Dec 17 2007 John Eckersberg <jeckersb@redhat.com> - 3.05-1
145- Initial packaging for Fedora
Note: See TracBrowser for help on using the repository browser.