#1 Add explicit texlive BRs
Merged 3 years ago by qulogic. Opened 4 years ago by churchyard.
rpms/ churchyard/python-mplcairo texlive2020  into  master

file modified
+19 -1
@@ -46,7 +46,25 @@ 

  BuildRequires:  python3dist(setuptools)

  BuildRequires:  python3dist(setuptools-scm)

  BuildRequires:  python3dist(sphinx)

- BuildRequires:  texlive-cm

+ BuildRequires:  tex(avant.sty)

+ BuildRequires:  tex(cmss10.tfm)

+ BuildRequires:  tex(cmss12.tfm)

+ BuildRequires:  tex(courier.sty)

+ BuildRequires:  tex(ecrm1000.tfm)

+ BuildRequires:  tex(geometry.sty)

+ BuildRequires:  tex(helvet.sty)

+ BuildRequires:  tex(chancery.sty)

+ BuildRequires:  tex(charter.sty)

+ BuildRequires:  tex(inputenc.sty)

+ BuildRequires:  tex(mathpazo.sty)

+ BuildRequires:  tex(mathptmx.sty)

+ BuildRequires:  tex(preview.sty)

+ BuildRequires:  tex(sfmath.sty)

+ BuildRequires:  tex(textcomp.sty)

+ BuildRequires:  tex(txfonts.sty)

+ BuildRequires:  tex(type1cm.sty)

+ BuildRequires:  tex(type1ec.sty)

+ BuildRequires:  tex(utf8x.def)

  

  Requires:       cairo >= 1.15.4

  Requires:       libraqm >= 0.7.0

rebased onto d578b17

4 years ago

Unrelated problem:

=================================== FAILURES ===================================
_______________________________ test_usetex[png] _______________________________
[gw3] linux -- Python 3.8.3 /usr/bin/python3
expected = '/builddir/build/BUILD/mplcairo-0.3/result_images/test_usetex/test_usetex-expected.png'
actual = PosixPath('/builddir/build/BUILD/mplcairo-0.3/result_images/test_usetex/test_usetex.png')
tol = 0.3
    def _raise_on_image_difference(expected, actual, tol):
        __tracebackhide__ = True

        err = compare_images(expected, actual, tol, in_decorator=True)
        if err:
            for key in ["actual", "expected"]:
                err[key] = os.path.relpath(err[key])
>           raise ImageComparisonFailure(
                'images not close (RMS %(rms).3f):\n\t%(actual)s\n\t%(expected)s '
                 % err)
E           matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 2.890):
E               result_images/test_usetex/test_usetex.png
E               result_images/test_usetex/test_usetex-expected.png
/usr/lib64/python3.8/site-packages/matplotlib/testing/decorators.py:135: ImageComparisonFailure
------------------------------ Captured log setup ------------------------------
WARNING  matplotlib.testing:__init__.py:41 Could not set locale to English/United States. Some date-related tests may fail.
...
= 1 failed, 7335 passed, 679 skipped, 10 xfailed, 2 xpassed, 9 warnings in 129.17 seconds =

Are all these fonts really needed? Seems odd, as it should pick one or two.

I am unsure. Sorry, this was opened in a hurry, feel free to actually drop the unneeded ones.

Hmm, well, new texlive doesn't appear to be in a Rawhide mirror yet, so I can't check this for a little while.

Hmm, well, new texlive doesn't appear to be in a Rawhide mirror yet, so I can't check this for a little while.

You can get them from Koji repository:

[koji]
name=Koji $basearch
baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/
enabled=1
#metadata_expire=60m
gpgcheck=0

And for mock, with --enablerepo=local

Pull-Request has been merged by qulogic

3 years ago