Commit Graph

334 Commits

Author SHA1 Message Date
Petr Viktorin
44bb068a8e Top-level metadata: move URL, reword Summary 2017-08-23 12:01:07 +02:00
Petr Viktorin
737c23e807 Remove unused patches 2017-08-23 12:01:07 +02:00
Petr Viktorin
f50a7d31c3 Reword and expand comment on Provides/Obsoletes of pythonXY 2017-08-22 15:53:24 +02:00
Petr Viktorin
1824b3ec27 Use configuration macro instead of workaround to disable byte-compilation 2017-08-22 15:32:48 +02:00
Petr Viktorin
66c621f01a Re-alphabetize the BuidRequires section 2017-08-22 14:33:54 +02:00
Petr Viktorin
88b30e0657 Remove duplicate globals 2017-08-22 14:21:01 +02:00
Petr Viktorin
c2f8719035 Reword package summaries and descriptions
Also, remove Group tags
2017-08-22 00:02:34 +02:00
Petr Viktorin
59c11e6706 Revise the bootstrapping notes 2017-08-22 00:02:34 +02:00
Petr Viktorin
0c74e11532 Remove historical information from the global macros section 2017-08-22 00:02:34 +02:00
Petr Viktorin
f63e273cfd Document configuration options 2017-08-22 00:02:33 +02:00
Petr Viktorin
a7a170bba6 Add bcond for --without optimizations 2017-08-22 00:02:06 +02:00
Miro Hrončok
11efc8ea59 Remove system-python 2017-08-21 13:36:10 +02:00
Petr Viktorin
043c57400a Use bconds for configuring the build
This makes configuring the build much easier, at least with
rpmbuild and mock.

Also, reorganize the initial sections, where the config options
were scattered.
2017-08-16 17:05:00 +02:00
Miro Hrončok
b0aea52b40 2to3 fixes
* Have /usr/bin/2to3 (rhbz#1111275)
 * Provide 2to3 and idle3, list them in summary and description (rhbz#1076401)
2017-08-16 15:36:09 +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
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
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
Charalampos Stratakis
31fe33b583 Update PEP 538 to the latest upstream implementation 2017-05-06 23:27:11 +02:00
Charalampos Stratakis
bbbc440d2c system-python-libs subpackage was shipping some windows executables
which are used as templates, for creating windows installers for python
modules. These executables are moved to the devel subpackage.

Resolves: rhbz#1426257
2017-04-18 13:51:54 +02:00
Charalampos Stratakis
3f69bcd628 Enable link time optimizations 2017-04-18 13:48:56 +02:00
Tomas Orsava
3a35e0ba67 Rename python3.Xdm-config script from -debug to be arch specific (rhbz#1179073) 2017-04-13 16:20:52 +02:00
Charalampos Stratakis
bea97d96d2 Since upstream issue 23968, the platform directory changed to include the architectures,
however patch205 was not updated to reflect that and as a result the Makefile and various
other files were installed at another directory (rhbz#1438219).

This commit updates the patch205 so the files are installed at the correct locations.
2017-04-05 18:08:56 +02:00
Iryna Shcherbina
b603b2d8f9 Update to version 3.6.1 final 2017-03-22 11:28:22 +01:00
Tomas Orsava
628b06df1b Fix syntax error in %py_byte_compile macro (rhbz#1433569) 2017-03-21 11:56:03 +01:00
Iryna Shcherbina
aba719b9fe Update to Python 3.6.1 release candidate 1
- Remove patches 250, 253, 254 as the changes are already in Python 3.6.1rc1
- Update patch 157 to work with the new Python codebase
- Remove README file from site-packages (upstream issue24633)
- Rename README to README.rst according to upstream change (upstream PR#2)
- Add patch 264 to skip a known test failure on aarch64 (upstream issue29804)
2017-03-16 16:12:55 +01:00
Charalampos Stratakis
3b36b495e5 Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
Fedora self-contained change: https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale

Since the backport is based on some changes done for the bpo-24932, these changes were backported as well
with the 261 patch, which will be removed when python3 is rebased to 3.6.1
2017-03-13 14:53:53 +01:00
Charalampos Stratakis
860f392aef Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
Michal Cyprian
bbccd649ab Revert "Set values of prefix and exec_prefix to /usr/local for..."
- Prevent build failures of packages using alternate build tools
- This reverts commit 24515db173
2017-02-24 14:57:15 +01:00
Michal Cyprian
24515db173 Set values of prefix and exec_prefix to /usr/local for
/usr/bin/python* executables to make pip and distutils
install to the separate location
- Use new %%_module_build macro
2017-02-21 11:17:54 +01:00
Michal Cyprian
ef5c6fe479 Add --executable option to install.py command 2017-02-21 10:38:18 +01:00
Charalampos Stratakis
7973de8b00 BuildRequire the new dependencies of python-setuptools when rewheel mode is enabled
and add a patch to adjust the upstream test suite to account for these dependencies,
since without them, the virtualenv's would not install anything in their site-packages
directory thus making pip unusable inside virtualenv's.
2017-02-17 10:26:59 +01:00
Fedora Release Engineering
45bc6145e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:04:03 +00:00
Stephen Gallagher
ea14453e6c Add missing %license macro 2017-02-02 11:14:00 +01:00