[MacPorts] #63555: demeter: replace ifeffit requirement with xraylarch

MacPorts noreply at macports.org
Thu Sep 30 15:55:42 UTC 2021


#63555: demeter: replace ifeffit requirement with xraylarch
-----------------------+------------------------------------------
 Reporter:  joefowler  |      Owner:  (none)
     Type:  update     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  demeter, ifeffit, p5-ifeffit
-----------------------+------------------------------------------
 The port:demeter depends on port:ifeffit. The
 [https://github.com/newville/ifeffit/ latter is deprecated] and hasn't
 been updated in seven years. Meanwhile, the code has seen compiler
 deprecations and warnings turn into errors. See tickets #63246 #61570,
 #60340, #59630.

 As far as I can tell, outside of the Mac Ports context, demeter relies on
 ''either'' ifeffit ''or'' its replacement
 [https://cars.uchicago.edu/xraylarch/index.html Larch]. I've written to
 demeter's author to make sure that's correct. If so, it makes no sense to
 fix new problems in unmaintained code. We should simply use Larch instead.

 I propose the following solution, which I'm working on:

 1. Create a new port py-xraylarch
 2. Create new ports py-* for its various dependencies. There seem to be 6
 that don't have existing ports (peakutils, pyshortcuts,
 [https://github.com/xraypy/XrayDB/ xraydb],
 [http://www.silx.org/doc/silx/latest/install.html silx],
 [https://github.com/silx-kit/hdf5plugin hdf5plugin], pymatgen), but these
 of course might have their own dependencies.
 3. Update port [https://github.com/silx-kit/fabio py-fabio] to use
 python38 and 39 and latest upstream version. This step is independent, so
 I already filed it as #63554.
 4. Update port demeter to depend on py-xraylarch instead of ifeffit and
 its Perl wrapper p5-ifeffit
 5. Obsolete the ports ifeffit and p5-ifeffit (or replace?)
 6. Obsolete the sub-port demeter-devel. (It is no longer actually
 different from demeter and hasn't been for years.)

-- 
Ticket URL: <https://trac.macports.org/ticket/63555>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list