Package Details: python-iminuit 2.7.0-1

Git Clone URL: https://aur.archlinux.org/python-iminuit.git (read-only, click to copy)
Package Base: python-iminuit
Description: Python interface for MINUIT, a physics analysis tool for function minimization.
Upstream URL: https://iminuit.readthedocs.io
Licenses: GPL, MIT
Submitter: Universebenzene
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 5
Popularity: 0.007203
First Submitted: 2019-01-27 06:22
Last Updated: 2021-07-06 04:16

Latest Comments

BrainDamage commented on 2020-12-09 09:11

check() fails due to trying to cd to a non-existant directory here:

==> Starting build()...
....
-- Build files have been written to: /tmp/python-iminuit/src/iminuit-2.0.0/build/temp.linux-x86_64-3.9
....

==> Starting check()...
/tmp/python-iminuit/PKGBUILD: line 28: cd: /tmp/python-iminuit/src/iminuit-2.0.0/build/lib.linux-x86_64-: No such file or directory

digging in the PKGBUILD, you're defining pyver in the prepare() function, but that gets executed during source fetching, if one executes build using --noextract that'll fail since it's not run.

I'd suggest you to move the variable definition in the global scope and drop the export, so it's always run when makepkg executes; alternatively since it's only used in the check() function, you could just put it there

Universebenzene commented on 2019-01-27 08:18

@op3 Merge succeeded. Thanks for feedback!

op3 commented on 2019-01-26 17:19

Ah, I suspected that this could be a problem. Apparently, it is possible to create a new package with the correct package base, and then a trusted user can merge the old one into the new one. So this is more complicated than I had assumed.

Something else I noticed: The resulting package contains compiled byte code and is therefore not platform independent, so it is better to replace arch=('any') with arch=('i686' 'x86_64') (and possibly other supported platforms).

Thanks for maintaining this package!

Universebenzene commented on 2019-01-26 16:47

@op3 Thanks for reminding. So do you have any idea about how to change the pkgbase without deleting the package?

op3 commented on 2019-01-26 16:37

The pkgbase should be python-iminuit instead of python2-iminuit.