#47 Update of bundled compileall2 module to 0.7.1 (bugfix release)
Closed 2 years ago by churchyard. Opened 2 years ago by lbalhar.
rpms/ lbalhar/python-rpm-macros master  into  master

file modified
+7
@@ -113,6 +113,13 @@ 

      hardlink_dupes: hardlink duplicated pyc files

      """

      ProcessPoolExecutor = None

+     if ddir is not None and (stripdir is not None or prependdir is not None):

+         raise ValueError(("Destination dir (ddir) cannot be used "

+                           "in combination with stripdir or prependdir"))

+     if ddir is not None:

+         stripdir = dir

+         prependdir = ddir

+         ddir = None

      if workers is not None:

          if workers < 0:

              raise ValueError('workers must be greater or equal to 0')

file modified
+5 -2
@@ -1,6 +1,6 @@ 

  Name:           python-rpm-macros

  Version:        3

- Release:        54%{?dist}

+ Release:        55%{?dist}

  Summary:        The unversioned Python RPM macros

  

  # macros: MIT, compileall2.py: PSFv2
@@ -10,7 +10,7 @@ 

  Source2:        macros.python2

  Source3:        macros.python3

  Source4:        macros.pybytecompile

- Source5:        https://github.com/fedora-python/compileall2/raw/v0.7.0/compileall2.py

+ Source5:        https://github.com/fedora-python/compileall2/raw/v0.7.1/compileall2.py

  

  BuildArch:      noarch

  # For %%python3_pkgversion used in %%python_provide and compileall2.py
@@ -78,6 +78,9 @@ 

  

  

  %changelog

+ * Tue Mar 03 2020 Lumír Balhar <lbalhar@redhat.com> - 3-55

+ - Update of bundled compileall2 module to 0.7.1 (bugfix release)

+ 

  * Mon Feb 10 2020 Miro Hrončok <mhroncok@redhat.com> - 3-54

  - Update of bundled compileall2 module to 0.7.0

    Adds the optional --hardlink-dupes flag for compileall2 for pyc deduplication

no initial comment

This has slipped of my radar unfortunately, sorry about that.

I've opened another PR of this for the f32 branch. Will rebase that on master later. Please don't rebase this, as I've used your master branch for the other PR.

https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/49

Pull-Request has been closed by churchyard

2 years ago