#5 Add fonttools[ufo] and fonttools[unicode] subpackages
Merged 9 months ago by pnemade. Opened 9 months ago by churchyard.
rpms/ churchyard/fonttools extras  into  master

file modified
+6 -1
@@ -7,7 +7,7 @@ 

  

  Name:           fonttools

  Version:        4.13.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Tools to manipulate font files

  License:        MIT

  URL:            https://github.com/fonttools/fonttools/
@@ -49,6 +49,8 @@ 

  %description -n python3-fonttools

  %{desc}

  

+ %{?python_extras_subpkg:%python_extras_subpkg -n python3-fonttools -i %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info ufo unicode}

+ 

  %prep

  %autosetup

  rm -rf *.egg-info
@@ -78,6 +80,9 @@ 

  %{python3_sitelib}/%{name}-%{version}-py3.?.egg-info

  

  %changelog

+ * Sat Jul 11 2020 Miro Hrončok <mhroncok@redhat.com> - 4.13.0-2

+ - Add fonttools[ufo] and fonttools[unicode] subpackages

+ 

  * Sat Jul 11 2020 Parag Nemade <pnemade AT redhat DOT com> - 4.13.0-1

  - Update to 4.13.0 version (#1855929)

  

FYI, I saw this now and meantime I pushed new update to this package.

May I know what is the purpose behind this subpackaging?

rebased onto a6e6d85

9 months ago

Rebased. The second line of the commit message should have said: https://fedoraproject.org/wiki/Changes/PythonExtras but instead I accidentally pasted the first line again, corrected.

See mainly https://fedoraproject.org/wiki/Changes/PythonExtras#Coordinated_effort_to_avoid_breakage

Data from our copr:

$ repoquery --repo=python-extras --whatrequires 'python3.9dist(fonttools\[ufo\])'
python3-cu2qu-0:1.6.7-1.fc33.x86_64
python3-defcon-0:0.7.2-1.fc33.noarch
python3-glyphsLib-0:5.1.10-1.fc33.noarch
python3-ufoLib2-0:0.7.1-3.fc33.noarch

$ repoquery --repo=python-extras --whatrequires 'python3.9dist(fonttools\[unicode\])'
python3-defcon-0:0.7.2-1.fc33.noarch
python3-glyphsLib-0:5.1.10-1.fc33.noarch

Pull-Request has been merged by pnemade

9 months ago

Thank you @churchyard for this PR. I have also done rawhide build now.