pkgsrc/math/py-lmfit/Makefile
adam 597d60be93 py-lmfit: updated to 1.0.1
Version 1.0.1 Release Notes
============================

**Version 1.0.1 is the last release that supports Python 3.5**. All newer version will
require 3.6+ so that we can use formatting-strings and rely on dictionaries being ordered.

New features:
- added thermal distribution model and lineshape
- introduced a new argument ``max_nfev`` to uniformly specify the maximum number of function evalutions
  **Please note: all other arguments (e.g., ``maxfev``, ``maxiter``, ...) will no longer be passed to the underlying
  solver. A warning will be emitted stating that one should use ``max_nfev``.**
- the attribute ``call_kws`` was added to the ``MinimizerResult`` class and contains the keyword arguments that are
  supplied to the solver in SciPy.

Bug fixes:
- fixes to the ``load`` and ``__setstate__`` methods of the Parameter class
- fixed failure of ModelResult.dump() due to missing attributes
- ``guess_from_peak`` function now also works correctly with decreasing x-values or when using
  pandas
- the ``Parameter.set()`` method now correctly first updates the boundaries and then the value

Various:
- fixed typo for the use of expressions in the documentation
- removal of PY2-compatibility and unused code and improved test coverage
- removed deprecated ``isParameter`` function and automatic conversion of an ``uncertainties`` object
- inaccurate FWHM calculations were removed from built-in models, others labeled as estimates
- corrected spelling mistake for the Doniach lineshape and model
- removed unsupported/untested code for IPython notebooks in lmfit/ui/*
2020-05-13 15:36:27 +00:00

23 lines
720 B
Makefile

# $NetBSD: Makefile,v 1.10 2020/05/13 15:36:27 adam Exp $
DISTNAME= lmfit-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lmfit/}
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= https://lmfit.github.io/lmfit-py/
COMMENT= Least-squares minimization with bounds and constraints
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-asteval>=0.9.16:../../math/py-asteval
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.16:../../math/py-numpy
DEPENDS+= ${PYPKGPREFIX}-scipy>=1.2:../../math/py-scipy
DEPENDS+= ${PYPKGPREFIX}-uncertainties>=3.0.1:../../math/py-uncertainties
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"