Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042363
en ru br
ALT Linux repos
S:0.43.2-alt1
5.0: 0.33.2-alt1
4.1: 0.33-alt1.1
4.0: 0.30-alt3
3.0: 0.26-alt1

Group :: Development/Other
RPM: rpm-build-python

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

1 may 2021 Dmitry V. Levin <ldv at altlinux.org> 0.43.2-alt1

  • python.{prov,req}.files: removed redundant text file check.

29 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.43.1-alt1

  • python.{prov,req}.files: print diagnostics about skipped unknown .py files.

29 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.43.0-alt1

  • python.{prov,req}.files: skip unknown .py files when rpm-build-python
     is not installed.

29 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.42.1-alt1

  • python.prov, python.req: enhanced error diagnostics.

29 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.42.0-alt1

  • Revert the change made in 0.40.1-alt1.
  • python.req.files: do not treat *.so as potential python extensions
     unless /usr/lib/rpm/python.req.py is available.

29 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.41.0-alt1

  • Imported brp-bytecompile_python and brp-hardlink_pyo_pyc from rpm-build.

29 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.40.1-alt1

  • python.prov, python.req: skip python invocation when invoked without arguments.

28 april 2021 Dmitry V. Levin <ldv at altlinux.org> 0.40.0-alt1

  • Introduced rpm-macros-python subpackage and moved non-python files there.

3 november 2020 Aleksei Nikiforov <darktemplar at altlinux.org> 0.39.0-alt1

  • Fixed processing script files reported as 'python2 script text executable'.

14 november 2019 Vladimir D. Seleznev <vseleznv at altlinux.org> 0.38.0-alt1

  • Set __python macro to python2.7.
  • Fixed python.req.py and test.sh (use python2-base instead of python-base).
  • Fixed shebangs and interpreter calls (use versioned python).
  • Made the package require no python-base.

2 july 2018 Ivan Zakharyaschev <imz at altlinux.org> 0.37.0-alt1

  • Assume that setuptools are required if the traditional Python build/install
     macros are used (overridable through %python_setup_buildrequires).

     The idea is that the Build Root Policy scripts for Python are executed
     unconditionally whenever python is present in the system, but the
     setuptools requirement is optional. (As a consequence, there may be a
     working system with Python without setuptools, because setuptools
     are not used at runtime.)

27 march 2018 Aleksei Nikiforov <darktemplar at altlinux.org> 0.36.10-alt1

  • Added macro python_version_nodots for retrieving python version
     in format 'MajorMinor' without dot delimiter.

10 august 2017 Aleksei Nikiforov <darktemplar at altlinux.org> 0.36.9-alt1

  • Fix bug when file may be skipped during 'provides' and 'requires' calculations
     if file is located in %python_sitelibdir and file name starts with 'python3'.

18 june 2016 Ivan Zakharyaschev <imz at altlinux.org> 0.36.8-alt1

    (Minor backports from rpm-build-python3.)
  • .prov.py: generalize to generate longer provs, too.
  • %python_req_nohier added, the reverse to %python_req_hier
     (in future, when there is enough provs, we'd like to
     use the req_hier mode by default; packages can prepare beforehand)
  • Print a bit more diagnostics for ignored/skipped/hidden autoreqs.

11 june 2016 Ivan Zakharyaschev <imz at altlinux.org> 0.36.7-alt1

  • %python{,_build}_install: force deterministic behavior (useful in
     case of conflicting stuff from simultaneous python2 and python3 builds).
  • compileall.py: depth-first processing (like in rpm-build-python3).

30 march 2016 Ivan Zakharyaschev <imz at altlinux.org> 0.36.6-alt1

  • implemented %requires_python_ABI, which ultimately asks verify_elf
     to LD_PRELOAD.

10 march 2016 Ivan Zakharyaschev <imz at altlinux.org> 0.36.5-alt1

  • python.compileall.py: remove unused variable.

29 february 2016 Dmitry V. Levin <ldv at altlinux.org> 0.36.4-alt1

  • Unpackaged tools subpackage.

22 november 2013 Dmitry V. Levin <ldv at altlinux.org> 0.36.3-alt1

  • python.prov.files: assume that all python extensions are located
     in /usr/lib*/python2*/ or $RPM_PYTHON_LIB_PATH.

6 april 2013 Dmitry V. Levin <ldv at altlinux.org> 0.36.2-alt1

  • python.compileall.py:
     + removed python version <= 2.2 py_compile workaround;
     + fixed file executability check (by iv@).
  • python.{prov,req}.files:
     + enhanced "python script text executable" type check;
     + added is_python3_path check from python.{prov,req}.py,
       which is now applied only to files of uncertain type.
  • python.{prov,req}.py: removed is_python3 check.
  • brp-bytecompile_python:
     added $RPM_PYTHON3_COMPILE_INCLUDE to the exclude list (closes: #28606).

15 february 2013 Dmitry V. Levin <ldv at altlinux.org> 0.36.1-alt1

  • python.{prov,req}.files: reintroduced optimization from 0.36.0-alt3.
  • python.prov.files: skip all files that cannot be provided due to
     rpmbuild restrictions.

21 march 2012 Vitaly Kuznetsov <vitty at altlinux.ru> 0.36.0-alt4

  • Take %_python3_path into account

20 december 2011 Vitaly Kuznetsov <vitty at altlinux.ru> 0.36.0-alt3

  • Exclude /usr/lib*/python3.{2,3} from automatic compile

5 december 2011 Vitaly Kuznetsov <vitty at altlinux.ru> 0.36.0-alt2

  • Require python-base >= 2.7.2-alt3 (with subprocess module)

1 december 2011 Vitaly Kuznetsov <vitty at altlinux.ru> 0.36.0-alt1

  • Simplify automatic dependencies to python-base and python-modules
  • Skip processing python3 scripts and %_libdir/python3 stuff

19 october 2011 Vitaly Kuznetsov <vitty at altlinux.ru> 0.35.0-alt1

  • add python-2.7 support

7 march 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.5-alt4

  • Added macro %python_build_install, an hybrid of %python_build and
     %python_install

5 march 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.5-alt3

  • Moved directive --debug into macro %python_build_debug (thnx ldv@)

1 march 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.5-alt2

  • Added into macros %python_build compiler flags, and now we may
     using %add_optflags

8 june 2010 Dmitry V. Levin <ldv at altlinux.org> 0.34.5-alt1

  • Fixed x86-64 support: changed %_python_compile_include default
     value to contain both %_target_libdir and %_target_libdir_noarch.

16 february 2010 Dmitry V. Levin <ldv at altlinux.org> 0.34.4-alt8

  • Fixed %_python_set_noarch() and %python_sitelibdir_noarch
     definitions to use %_target_libdir_noarch instead of %_libexecdir.
     Rationale: Some packages override %_libexecdir to /usr/libexec,
     and %python_sitelibdir_noarch shouldn't be affected by this.

4 february 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.4-alt7

  • Added macros: %_python_set_arch (backward of %_python_set_noarch),
     and %python_sitelibdir_noarch

2 february 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.4-alt5

  • Fixed %py_dependencies

2 february 2010 Dmitry V. Levin <ldv at altlinux.org> 0.34.4-alt6

  • Reverted erroneous change made in previous release.

25 january 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.4-alt4

  • Added macros %_python_version as equivalent %__python_version for
     use in spec files

16 january 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.4-alt3

  • Added %_python_set_noarch macro for set paths for noarch python
     subpackages in archdep packages

3 december 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.34.4-alt2

  • Rebuilt with python 2.6

15 july 2009 Evgeny Sinelnikov <sin at altlinux.ru> 0.34.4-alt1

  • Add support for python 2.6

4 july 2009 Fr. Br. George <george at altlinux.ru> 0.34.3-alt1

  • Hierarchical search fixed (syntax tree format is evidently extended)

2 july 2009 Fr. Br. George <george at altlinux.ru> 0.34.2-alt1

  • Relative Imports (PEP 328) ignored (closes #17154)

13 june 2009 Alexey Tourbin <at at altlinux.ru> 0.34.1-alt2

  • rpm-build-python-tools: Disabled python dependencies,
     scheduled for removal.

13 june 2009 Alexey Tourbin <at at altlinux.ru> 0.34.1-alt1

  • python.prov.py: Re-added limited support for multpile provides - e.g.
     PIL/Image.py provides both python2.5(PIL.Image) due to PIL/__init__.py
     and python2.5(Image) due to PIL.pth.
  • python.prov.py: Do not provide module names with "-" dashes.

11 may 2009 Alexey Tourbin <at at altlinux.ru> 0.34-alt1

  • python.prov.py: Major rewrite.

20 february 2009 Dmitry V. Levin <ldv at altlinux.org> 0.33.2-alt1

  • %python_build: Remove redundancy.

18 february 2009 Dmitry V. Levin <ldv at altlinux.org> 0.33.1-alt1

  • Added %python_build and %python_install macros (closes: #13941).
  • Relocated macro files to /usr/lib/rpm/macros.d/.

6 february 2009 Fr. Br. George <george at altlinux.ru> 0.33-alt2

  • Fix #18210 (by roughly removing distutil file)
  • Fix *64 byte compilation of noarch packages

24 january 2008 Grigory Batalov <bga at altlinux.ru> 0.33-alt1.1

  • Rebuilt with python-2.5.

20 november 2007 Alexey Tourbin <at at altlinux.ru> 0.33-alt1

  • python.req.py: implemented search for particular encoding modules, e.g.
     "# coding: cp1251" should yield dependency on "python2.4(encodings.cp1251)"
  • python.req.py: relaxed fatal error condition for possibly non-pythonish
     files; files with *.py suffix or shebang line considered pythonish

17 november 2007 Alexey Tourbin <at at altlinux.ru> 0.32-alt1

  • python.req.py: fixed parser.suite failures on empty lines
     with trailing whitespaces
  • python.req.py: parser.suite failures are now fatal errors
  • python.req.py: added support for "coding:" magic comments,
     which should yield dependency on "encodings"
  • python.{req,prov}.files: more elaborate file selection

24 september 2007 Alexey Tourbin <at at altlinux.ru> 0.31-alt1

  • adapted for new rpm-build
  • python.req.py: attempted to implement stronger self-requires
     elimination, to deal with unmet dependencies which arise with
     non-standard directory layout

23 march 2007 Alexey Tourbin <at at altlinux.ru> 0.30-alt3

  • Revert "added macros from /usr/lib/rpm/*/macros",
     due to rpm '%undefine' unexpected behaviour

21 march 2007 Alexey Tourbin <at at altlinux.ru> 0.30-alt2

  • python.req.py: restored .py suffix check until rpm-build
     can use python.req.files

21 march 2007 Alexey Tourbin <at at altlinux.ru> 0.30-alt1

  • python.req.py:
     + fixed a bug in "import" clause analysis, due to which only
       the first dependency of multiple arguments was produced; i.e.
       Old result: 'import os, re' -> Requires: python2.4(os)
       New result: 'import os, re' -> Requires: python2.4(os), python2.4(re)
     + made it fail on import errors (also python.prov.py)
     + made it print stderr diagnostics when the dependency is being ignored
     + disabled .py suffix check, for the sake of plain python scripts
  • added dependency on python-base, so that python.req.py and python.prov.py
     always work (also explained this change in policy/5-Python_FAQ.txt)
  • added buildreq skiplist and placed LC_ALL=C as needed in order to avoid
     dumb dependency on encoding modules when e.g. evaluating %__python_version
  • added new files, for possible use with future rpm-build releases:
     + python.req (python.prov) - wrapper for python.req.py (resp. python.prov.py)
     + python.req.files (.prov.files) - will select python files for req/prov
     + /etc/rpm/macros.d/python.env - piece of rpm-build scriplets' preamble
     + also placed rpm-build python macros to /etc/rpm/macros.d/python

13 january 2007 Fr. Br. George <george at altlinux.ru> 0.29-alt5

  • (avm@) Search for .pth files in lib64, too
  • Minor policy fix
  • move distutils extention to /usr/lib64 instead of /usr/lib

11 december 2006 Fr. Br. George <george at altlinux.ru> 0.29-alt4

  • More verbose diagnostic in rpm-build-python-utils
  • Minor policy bug fixed

3 december 2006 Fr. Br. George <george at altlinux.ru> 0.29-alt3

  • x86_64 adapdation (so it builds equally on any architecture)
  • _target_libdir is used
  • absolute symlinks turned to relative

15 september 2006 Fr. Br. George <george at altlinux.ru> 0.29-alt2

  • Override %__python_version macro provided by rpm-build (#9974).
  • Specfile cleanup.

13 august 2006 Ivan Fedorov <ns at altlinux.ru> 0.29-alt1

  • Add support for python 2.5

10 june 2006 Ivan Fedorov <ns at altlinux.ru> 0.28-alt1

  • convert text files to UTF-8
  • Fix #8855

9 january 2006 Ivan Fedorov <ns at altlinux.ru> 0.27-alt1

  • Fixing provides generator to work with ".pth" files

25 july 2005 Andrey Orlov <cray at altlinux.ru> 0.26-alt1

  • Generation hierarchical requires fixed

11 may 2005 Andrey Orlov <cray at altlinux.ru> 0.24-alt2

  • Tools renamed

10 may 2005 Andrey Orlov <cray at altlinux.ru> 0.23-alt2

  • Diagnostic tools package added

22 march 2005 Andrey Orlov <cray at altlinux.ru> 0.21-alt2

  • Some files moved from /python2.3 to /python2.4

2 february 2005 Andrey Orlov <cray at altlinux.ru> 0.21-alt1

  • Draft of new policy version added

22 january 2005 Alexey Morozov <morozov at altlinux.org> 0.20-alt1

  • numerous rpm macros enhancements (svn rev. 10)

9 december 2004 Andrey Orlov <cray at altlinux.ru> 0.19-alt1

  • Some macros added: (py_requires, py_provides, etc)

29 october 2004 Andrey Orlov <cray at altlinux.ru> 0.18-alt1

  • Preliminary fix for python2.4 compatibility has been added

27 october 2004 Andrey Orlov <cray at altlinux.ru> 0.17-alt1

  • Documentation is fixed: special thanks for Ivan Fedorov
  • Some stupid bugs that damaged tracebacks are fixed. I think all python
     packages must be rebuilded.

5 october 2004 Andrey Orlov <cray at altlinux.ru> 0.16-alt6

  • Splitted module support added
  • Recursive module support added

11 september 2004 Andrey Orlov <cray at altlinux.ru> 0.15-alt1

  • Policy files are renamed by MHZ request;
  • Some macros added (see RpmMacros.txt);
  • File "=" don't be created any more (bug);
  • python-<modulename> don't be provided any more (bug #4819)

10 september 2004 Andrey Orlov <cray at altlinux.ru> 0.14-alt2

  • Some changes from Alexey Morozov <morozov@altlinux.org> added,
     descriptions followed:
  • Defined %__python_package_prefix, typo fixes in macro functions
     documentation;
  • Updated Python_MODULE.txt;

20 july 2004 Andrey Orlov <cray at altlinux.ru> 0.13-alt1

  • Documentation changed
  • Keyword "relaxed" can be used instead "slight"

30 june 2004 Andrey Orlov <cray at altlinux.ru> 0.12-alt3

  • Article about "Require python2.3(__future__)" added into FAQ;
  • Codec declaration excluded from find req/prov python scripts;

23 june 2004 Andrey Orlov <cray at altlinux.ru> 0.12-alt2

  • Python build utilites will be silently exit if python are not fully installed;
  • Python auto Prov use *pth files now;

20 may 2004 Andrey Orlov <cray at altlinux.ru> 0.11-alt1

  • Fix some python2.2 incompatibilites

18 may 2004 Andrey Orlov <cray at altlinux.ru> 0.10-alt3

  • Provides detection enchanced (detect old-style <name>module.so library);
  • Some historical clauses exluded from bdist_altrpm;
  • Some documentation changes;

17 may 2004 Andrey Orlov <cray at altlinux.ru> 0.9-alt1

  • Ready for sysiphus

10 may 2004 Andrey Orlov <cray at altlinux.ru> 0.8-alt3

  • Package rebuilded to use with new rpm

25 april 2004 Andrey Orlov <cray at altlinux.ru> 0.8-alt2

  • Some domcmentations added;

21 april 2004 Andrey Orlov <cray at altlinux.ru> 0.8-alt1

  • Fix another "BuildNoarch Problem": BuildRequires correctly inserted now;

13 april 2004 Andrey Orlov <cray at altlinux.ru> 0.7-alt1

  • Add BuildPreReq: python_devel = X.Y into spec setup function;
  • Fix "BuildNoarch Problem"
  • Add some documentation

28 march 2004 Andrey Orlov <cray at altlinux.ru> 0.6-alt1

  • Debugging operators removed

27 march 2004 Andrey Orlov <cray at altlinux.ru> 0.5-alt1

  • Sources put into archive
  • BuildPreReq added into setup_python_module

25 march 2004 Andrey Orlov <cray at altlinux.ru> 0.4-alt2

  • Command bdist_altrpm for distutils added;

15 march 2004 Andrey Orlov <cray at altlinux.ru> 0.3-alt2

  • New bytecompiler added
  • Defaults treatment enhanced

29 february 2004 Andrey Orlov <cray at altlinux.ru> 0.2-alt2

  • Python scripts for find provides and requires added;
  • New RPM macros;
  • Samples of find-* added;

23 february 2004 Andrey Orlov <cray at altlinux.ru> 0.1-alt1

  • Initial release
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin