/[packages]/cauldron/python3/current/SPECS/python3.spec
ViewVC logotype

Diff of /cauldron/python3/current/SPECS/python3.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1719242 by tmb, Sat Apr 24 20:26:19 2021 UTC revision 1728923 by wally, Sun May 30 19:30:19 2021 UTC
# Line 59  Line 59 
59  #   python-sphinx, python-pytest, python-requests  #   python-sphinx, python-pytest, python-requests
60    
61  # version  # version
62  %global version 3.9.4  %global version 3.9.5
63  %global docver %{version}  %global docver %{version}
64    
65  %global pybasever %(echo %{version} | cut -d. -f1,2)  %global pybasever %(echo %{version} | cut -d. -f1,2)
# Line 72  Line 72 
72  #global prerel rc1  #global prerel rc1
73    
74  # rel for bumping  # rel for bumping
75  %global rel 3  %global rel 1
76    
77  # filter out bogus requires on python(abi) = 3.6 for testsuite  # filter out bogus requires on python(abi) = 3.6 for testsuite
78  %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_libdir}/python%{pybasever}/test/test_importlib/data  %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_libdir}/python%{pybasever}/test/test_importlib/data
# Line 143  Line 143 
143  #   foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc  #   foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc
144  %global bytecode_suffixes .cpython-%{pyshortver}*.pyc  %global bytecode_suffixes .cpython-%{pyshortver}*.pyc
145    
146    # libmpdec (mpdecimal package in Fedora and Mageia) is tightly coupled with the
147    # decimal module. We keep it bundled as to avoid incompatibilities
148    # with the packaged version.
149    # The version information can be found at Modules/_decimal/libmpdec/mpdecimal.h
150    # defined as MPD_VERSION.
151    %global libmpdec_version 2.5.0
152    
153  # Disable automatic bytecompilation. The python3 binary is not yet be  # Disable automatic bytecompilation. The python3 binary is not yet be
154  # available in /usr/bin when Python is built. Also, the bytecompilation fails  # available in /usr/bin when Python is built. Also, the bytecompilation fails
155  # on files that test invalid syntax.  # on files that test invalid syntax.
# Line 337  Provides:      bundled(python3-pip) = %{pip_v Line 344  Provides:      bundled(python3-pip) = %{pip_v
344  Provides:       bundled(python3-setuptools) = %{setuptools_version}  Provides:       bundled(python3-setuptools) = %{setuptools_version}
345  %endif  %endif
346    
347    # Provides for the bundled libmpdec
348    Provides: bundled(mpdecimal) = %{libmpdec_version}
349    Provides: bundled(libmpdec) = %{libmpdec_version}
350    
351  %description -n %{lib_name}-stdlib  %description -n %{lib_name}-stdlib
352  This package contains Python 3's standard library.  This package contains Python 3's standard library.
353  It is normally not used on its own, but as a dependency of Python %{version}.  It is normally not used on its own, but as a dependency of Python %{version}.
# Line 743  make test TESTOPTS="-wW --slowest -j0 -u Line 754  make test TESTOPTS="-wW --slowest -j0 -u
754  # consider use network on local build  # consider use network on local build
755  #EXCLUDE=""  #EXCLUDE=""
756  #WITHIN_PYTHON_RPM_BUILD= make test TESTOPTS="-u network -x $EXCLUDE"  #WITHIN_PYTHON_RPM_BUILD= make test TESTOPTS="-u network -x $EXCLUDE"
757    
758    # Verify that the bundled libmpdec version python was compiled with, is the same version we have virtual
759    # provides for in the SPEC.
760    test "$(LD_LIBRARY_PATH=$(pwd) $(pwd)/python -c 'import decimal; print(decimal.__libmpdec_version__)')" = \
761         "%{libmpdec_version}"
762    
763  %endif  %endif
764    
765  %files  %files

Legend:
Removed from v.1719242  
changed lines
  Added in v.1728923

  ViewVC Help
Powered by ViewVC 1.1.30