1 | Name: python-logilab-astng |
---|
2 | Version: 0.23.1 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Python Abstract Syntax Tree New Generation |
---|
5 | |
---|
6 | Group: Development/Languages |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://www.logilab.org/projects/astng/ |
---|
9 | Source0: ftp://ftp.logilab.org/pub/astng/logilab-astng-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | Provides: python-astng = %{version}-%{release} |
---|
13 | Obsoletes: python-astng <= 0.16.0 |
---|
14 | |
---|
15 | BuildArch: noarch |
---|
16 | BuildRequires: python-devel python-setuptools python-unittest2 |
---|
17 | BuildRequires: python-logilab-common >= 0.56.0 |
---|
18 | Requires: python-logilab-common >= 0.56.0 |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | The aim of this module is to provide a common base representation of |
---|
25 | python source code for projects such as pychecker, pyreverse, |
---|
26 | pylint, and others. It extends the class defined in the compiler.ast |
---|
27 | python module with some additional methods and attributes. |
---|
28 | |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n logilab-astng-%{version} |
---|
32 | |
---|
33 | |
---|
34 | %build |
---|
35 | %{__python} setup.py build |
---|
36 | |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
41 | rm -rf $RPM_BUILD_ROOT%{python_sitelib}/logilab/astng/test |
---|
42 | # Provided by the python-logilab-common package |
---|
43 | rm -f $RPM_BUILD_ROOT%{python_sitelib}/logilab/__init__.* |
---|
44 | # Fix encoding in readme |
---|
45 | for FILE in README; do |
---|
46 | iconv -f iso-8859-15 -t utf-8 $FILE > $FILE.utf8 |
---|
47 | mv -f $FILE.utf8 $FILE |
---|
48 | done |
---|
49 | |
---|
50 | %check |
---|
51 | %{__python} setup.py test |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-,root,root,-) |
---|
59 | %doc README COPYING |
---|
60 | %{python_sitelib}/logilab/astng |
---|
61 | %{python_sitelib}/logilab_astng*.egg-info |
---|
62 | %{python_sitelib}/logilab_astng*.pth |
---|
63 | |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-2 |
---|
67 | - rebuild with VineSeed environment |
---|
68 | |
---|
69 | * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1 |
---|
70 | - initial build for Vine Linux |
---|
71 | |
---|
72 | |
---|
73 | * Wed Mar 14 2012 Brian C. Lane <bcl@redhat.com> 0.23.1-1 |
---|
74 | - Upstream v0.23.1 |
---|
75 | |
---|
76 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.0-2 |
---|
77 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
78 | |
---|
79 | * Fri Nov 18 2011 Brian C. Lane <bcl@redhat.com> - 0.23.0-1 |
---|
80 | - Upstream v0.23.0 |
---|
81 | |
---|
82 | * Fri Jul 29 2011 Brian C. Lane <bcl@redhat.com> - 0.22.0-1 |
---|
83 | - Upstream v0.22.0 |
---|
84 | |
---|
85 | * Mon Mar 28 2011 Brian C. Lane <bcl@redhat.com> - 0.21.1-1 |
---|
86 | - Upstream 0.21.1 |
---|
87 | - Add unit tests to spec |
---|
88 | |
---|
89 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.0-3 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
91 | |
---|
92 | * Mon Dec 06 2010 Brian C. Lane <bcl@redhat.com> - 0.21.0-2 |
---|
93 | - Add version to requirement for python-logilab-common so that updates will |
---|
94 | work correctly. |
---|
95 | |
---|
96 | * Mon Nov 29 2010 Brian C. Lane <bcl@redhat.com> - 0.21.0-1 |
---|
97 | - Upstream 0.21.0 |
---|
98 | |
---|
99 | * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.20.1-2 |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
---|
101 | |
---|
102 | * Thu Jul 08 2010 Brian C. Lane <bcl@redhat.com> - 0.20.1-1 |
---|
103 | - Upstream 0.20.1 |
---|
104 | |
---|
105 | * Thu Mar 25 2010 Brian C. Lane <bcl@redhat.com> - 0.20.0-2 |
---|
106 | - Added python-setuptools to BuildRequires |
---|
107 | |
---|
108 | * Thu Mar 25 2010 Brian C. Lane <bcl@redhat.com> - 0.20.0-1 |
---|
109 | - Upstream 0.20.0 |
---|
110 | |
---|
111 | * Sun Aug 30 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.19.1-1 |
---|
112 | - Upstream 0.19.1 (bugfixes) |
---|
113 | |
---|
114 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.0-2 |
---|
115 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
116 | |
---|
117 | * Wed Jun 17 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.19.0-1 |
---|
118 | - Upstream 0.19.0 |
---|
119 | - Fixes for better support of python 2.5 and 2.6 |
---|
120 | |
---|
121 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.4-2 |
---|
122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
123 | |
---|
124 | * Sat Dec 27 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.17.4-1 |
---|
125 | - Upstream 0.17.4 |
---|
126 | |
---|
127 | * Thu Jan 17 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.17.2-1 |
---|
128 | - Upstream 0.17.2 |
---|
129 | - Package .egg-info file |
---|
130 | |
---|
131 | * Mon Dec 24 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.17.1-1 |
---|
132 | - Upstream 0.17.1 |
---|
133 | - Adjust license to a more specific GPLv2+ |
---|
134 | - Fix docs to be valid utf-8 |
---|
135 | |
---|
136 | * Sun Apr 01 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.17.0-1 |
---|
137 | - Upstream 0.17.0 |
---|
138 | |
---|
139 | * Sun Dec 17 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.16.3-1 |
---|
140 | - Upstream 0.16.3 |
---|
141 | |
---|
142 | * Tue Sep 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.16.1-2 |
---|
143 | - Setting Provides/Obsoletes as per guidelines. |
---|
144 | |
---|
145 | * Tue Sep 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.16.1-1 |
---|
146 | - Renaming package python-logilab-astng from python-astng. Should have done |
---|
147 | a while ago. |
---|
148 | - Upstream version 0.16.1 |
---|
149 | |
---|
150 | * Mon May 01 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.16.0-0 |
---|
151 | - Version 0.16.0 |
---|
152 | |
---|
153 | * Sun Mar 12 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.15.1-1 |
---|
154 | - Version 0.15.1 |
---|
155 | |
---|
156 | * Thu Jan 12 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.14.0-1 |
---|
157 | - Version 0.14.0 |
---|
158 | - Drop the modname patch |
---|
159 | |
---|
160 | * Tue Nov 15 2005 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.13.1-2 |
---|
161 | - Patch for the modname traceback |
---|
162 | |
---|
163 | * Sat Nov 12 2005 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.13.1-1 |
---|
164 | - Fedora Extras import |
---|
165 | - Disttagging |
---|
166 | |
---|
167 | * Mon Nov 07 2005 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.13.1-0.1 |
---|
168 | - Version 0.13.1 |
---|
169 | - Remove our own GPL license text, since it's now included. |
---|
170 | |
---|
171 | * Sun Nov 06 2005 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.13.0-0.1 |
---|
172 | - Initial packaging. |
---|