Commit Graph

380 Commits

Author SHA1 Message Date
Petr Viktorin
9d4b595bf4 Move the platform-python patch to be the first
This makes the platform-python patch not depend on whether the
patches for lib64 are applied or not.

Change the lib64 patches accordingly.
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
e05f2277f7 Disable gdb hooks
Exclude the main binaries from the resulting rpms as well as
the .pc files
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
dd25db59cb Remove scriplets that were used for idle3 icons.
Remove unneeded Conflicts tag.
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
00a87f100c Bytecompile the .py files with the platform-python binary
Change the timestamp check to use the platfrom-python binary

Change shebangs from the stdlib to point to usr/libexec/platform-python
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
e5fc776587 Own the pycache directory in /usr/lib 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
0d56e9844f Add the version suffix for the pycache directory in libs 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
e4ea7bc0a0 Change the libplatformpython.so name to libplatform-python.so 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
0db64d265e Update the platform-python patch
extension modules now build successfully
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
b6626aac95 Change the library directory to include the version 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
7de59070d6 Preserve the buildroot 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
f67b3664a4 Update the platform python patch 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
51824ac6ad Set rewheel to 0 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
d012e63b08 Remove systemtap, and dtrace and lto flags 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
ac2f39a42f Remove idle3 desktop and appdata files 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
3e0514b649 More directory fixes 2017-08-14 17:43:18 +02:00
Petr Viktorin
deb805687a Add dashes to platform-python 2017-08-14 17:42:55 +02:00
Charalampos Stratakis
f1a8d261ca Add platform-python patch 2017-08-14 17:35:27 +02:00
Charalampos Stratakis
0ea301770d Move the platform python changes to a different patch
Add the version number after the platform python directory names

Disable the test_suite
2017-08-14 17:35:23 +02:00
Charalampos Stratakis
7355e7a62e Disable profile guided optimizations for now to speed up the build time 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
dcd7ae00e8 Remove macros.platformpython 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
967ee1d097 Remove debug subpackage and macros 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
feff9dd6cc Change the post and postun scriplets to reflect the rename to platform python 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
c4081e9371 Change installation paths to platform-python 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
3ead622043 Renamed system-python-libs subpackage to platform-python-libs
and files under the python3-libs were moved to platform-python-libs-devel
subpackage

Provide platform-python abi
2017-08-14 17:34:02 +02:00
Charalampos Stratakis
71c29e993a Provide platform-python macros and binary which replace the
system-python ones
2017-08-14 17:34:02 +02:00
Charalampos Stratakis
94f7e5a2fa Disable debug build 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
a5cfa92551 Rename package to platform-python 2017-08-14 17:34:02 +02:00
Michal Cyprian
58f92d897b Revert "Add --executable option to install.py command"
This enhancement is currently not needed and it can possibly
collide with `pip --editable`option

Reverts commit ef5c6fe479.
2017-08-11 13:02:07 +02:00
Iryna Shcherbina
2c3b2229eb Fix the "urllib FTP protocol stream injection" vulnerability (rhbz#1478916) 2017-08-07 18:26:47 +02:00
Tomas Orsava
7ce2b35305 Dropped BuildRequires on db4-devel
- it was useful for Python 2 (module bsddb), however, no longer needod for
  Python 3
- Tested building Python 3 with and without the dependency, all tests pass and
  filelists of resulting RPMs are identical
2017-08-01 16:59:32 +02:00
Charalampos Stratakis
e49a729d35 Make debuginfo packages parallel installable 2017-07-31 14:02:39 +02:00
Florian Weimer
c6fe5c680b Do not generate debuginfo subpackages (#1476593)
Rebuild with binutils fix for ppc64le (#1475636)
2017-07-30 17:13:49 +02:00
Fedora Release Engineering
4cc9b2e33c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:26:00 +00:00
Charalampos Stratakis
3a226ae7d7 Make sure that we get the default signal handler for test_asyncio,
The parent process may have decided to ignore SIGHUP, and signal handlers
are inherited which can cause the test to hang in koji.
2017-07-25 18:03:55 +02:00
Charalampos Stratakis
5b6a3e0e34 Replace the "--verbose" flag with "-wW" when invoking the test suite, so that the tests are run in non-verbose mode by default and failed tests are rerun in verbose mode.
Also add the "--slowest" flag when invoking the test suite to
list the ten slowest tests at the end of the test run.
2017-07-20 17:50:38 +02:00
Charalampos Stratakis
a94422417a Remove unused patches 2017-07-19 14:25:35 +02:00
Charalampos Stratakis
f13050e2f3 Update the PEP 538 backport 2017-07-18 16:48:45 +02:00
Charalampos Stratakis
4ff21139d7 Update to Python 3.6.2
Rebased patch 180.

Dropped patches 249, 258, 269 as they have been upstreamed.
2017-07-18 16:40:02 +02:00
Charalampos Stratakis
46034c8139 Provide additional references for patches 251 and 252 2017-06-28 15:47:26 +02:00
Tomas Orsava
7e7918aadd Fix for a build failure when with_debug_build=0 2017-06-27 18:02:44 +02:00
Charalampos Stratakis
252962389c Update to the latest implementation of PEP 538.
Remove patch 261 as it was only required for the previous implementation
of PEP 538.
2017-06-27 15:38:30 +02:00
Michal Cyprian
332b947dfc Make pip and distutils in user environment install into separate location 2017-06-26 16:32:56 +02:00
Charalampos Stratakis
b5403ba5eb Fix test_alpn_protocols from test_ssl 2017-06-24 17:24:42 +02:00
Charalampos Stratakis
3f280d64ad setuptools from version 36.0.0 rebundled its dependencies so we don't have to
require them in order for rewheel to work, so dropping patch 260 as well.
2017-06-19 11:14:11 +02:00
Tomas Orsava
bb9ca6b393 Add dependency to the devel subpackage on python3-rpm-generators
... which have been excised out of rpm-build.

Involves: rhbz#1410631, rhbz#1444925
2017-05-16 11:15:05 +02:00
Tomas Orsava
afb0016f9d Polishing the Notes on bootstrapping Python 2017-05-16 11:10:00 +02:00
Charalampos Stratakis
2287f0c54b Fix conditional macro 2017-05-09 17:05:44 +02:00
Charalampos Stratakis
27c558eb66 Added patch for fixing recompilation of Python when using common
build commands and the --enable-optimizations flag.

Enable profile guided optimizations for x86_64 and i686 architectures
2017-05-09 16:57:18 +02:00
Charalampos Stratakis
51bb7c4cc2 Update to a newer implementation of PEP 538 2017-05-09 16:40:05 +02:00
Charalampos Stratakis
6245861480 Change description, to reflect that python3 is now the default Python
Also enhance verbosity for the descriptions of subpackages
2017-05-09 16:38:49 +02:00