Package Details: python-symfit 0.5.6-1

Git Clone URL: https://aur.archlinux.org/python-symfit.git (read-only, click to copy)
Package Base: python-symfit
Description: Symbolic fitting for python - fitting as it should be
Upstream URL: https://github.com/tBuLi/symfit
Licenses: MIT
Submitter: fordprefect
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 0
Popularity: 0.000000
First Submitted: 2017-08-02 07:02 (UTC)
Last Updated: 2023-02-17 10:37 (UTC)

Latest Comments

jonathanschillin commented on 2021-11-04 09:44 (UTC) (edited on 2021-11-04 09:44 (UTC) by jonathanschillin)

@fordperfect Thanks for fixing the missing dep already and the info on the keywords. Also, currently I still need to add PBR_VERSION=$pkgver in front of the python call. Any ideas on this?

P.S.: Yep, also IPP-HGW ;-)

fordprefect commented on 2021-11-04 07:34 (UTC) (edited on 2021-11-04 08:29 (UTC) by fordprefect)

@Jonathan: Thanks for having a look. You are right about the missing dependency (toposort), the key changes in setup.cfg seem to be not well documented. Instead of fixing this here I filed a bug upstream (#344) to have it fixed there. No patch needed here, since it does not break anything. Also, IPP-HGW?

jonathanschillin commented on 2021-11-03 22:48 (UTC)

I had to modify the PKGBUILD as follows to get it to build on my system today:

pkgname=python-symfit pkgver=0.5.4 pkgrel=1 pkgdesc='Symbolic fitting for python - fitting as it should be' arch=('any') url='https://github.com/tBuLi/symfit' depends=('python' 'python-numpy' 'python-sympy' 'python-toposort') makedepends=('python-setuptools') license=('MIT') source=("$pkgname-$pkgver.tar.gz::https://github.com/tBuLi/symfit/archive/refs/tags/$pkgver.tar.gz") md5sums=('fc2a6606d1ddf511524e03153799a2d0')  prepare() {     cd "$srcdir/symfit-$pkgver"     patch -R setup.cfg < ../../setup_cfg.diff }  package() {     cd "$srcdir/symfit-$pkgver"     PBR_VERSION=$pkgver python setup.py install --root="$pkgdir/" --optimize=1 } 

Also, I needed to patch the setup.cfg to get rid of some warnings:

setup_cfg.diff:

4c4 < description_file = README.rst --- > description-file = README.rst 7c7 < home_page = https://github.com/tBuLi/symfit --- > home-page = https://github.com/tBuLi/symfit 

I am not an AUR power user, so please forgive me if this is not the proper way to fix things.