Re: Review swaps and advice for python / fortran / octave modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/6/20 2:09 AM, Mattia Verga via devel wrote:
Hello all,

I have a couple of new review tickets for which I may need some advice
from experts of Python / Fortran / Octave modules:
- https://bugzilla.redhat.com/show_bug.cgi?id=1893539 (calceph)
- https://bugzilla.redhat.com/show_bug.cgi?id=1895290 (python-calcephpy)

Ideally, the python module could be built from the calceph package, but
upstream developer told me that the build from make is deprecated, so I
created the python-calcephpy package that builds from Pypi sources.This
is my first python related package and it also uses Cython to produce
architecture dependent modules, so I hope to not have made mistakes.

The main package (calceph) also carries a Fortran interface, for which
provides a .mod file in the includes directory. I'm not expert of
Fortran neither, so I assumed that the fortran interface doesn't require
the C shared libraries. (?)

No, the .mod file really is more like a compiled header file, so you still need the library. It should be installed into %{_fmoddir} and go into the -devel sub-package.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Fortran/

That package could also build an Octave module: in fact, the build
process puts some sources in %{buildroot}%{_libexecdir} that I currently
remove, since I have no idea if they're useful or if they need to be
compiled... I do not plan to use this module, so if things get
complicated I would just drop this sources.

This might help you:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Octave/

though it is geared towards pure octave module packages. You could also look at plplot as an example of something that builds an octave package as part of a larger package with other APIs.

Aside from these questions, I'm open to swap reviews to speed up the
process.

Thanks
Mattia

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx



--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux