python-logilab-astng-vl.spec 5.2 KB

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