python-logilab-astng-vl.spec 5.4 KB

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