py3-scipy has broken depends
Currently, when trying to install py3-scipy from edge/testing, it attempts to pull a non-existing depend:
/ # apk add py3-scipy
ERROR: unsatisfiable constraints:
py3-numpy3-f2py (missing):
required by: py3-scipy-0.19.1-r0[py3-numpy3-f2py]
This is likely caused by how support for Python 3 was added (#7609, commit https://git.alpinelinux.org/cgit/aports/commit/?id=f2f0284b5678202e5cdf3fe2aef8a0eee4495f3a)
_py3() {
depends="${depends//py-/py3-}"
_py python3
}
The sed-like syntax unfortunately also catches ‘numpy’ along with the
intended target (’py’).
If the sed-like syntax supports regexes ‘depends//^py-/py3-’ might fix it.
(from redmine: issue id 7615, created on 2017-08-03, closed on 2019-05-03)
- Changesets:
- Revision 9b1159bc on 2017-08-03T12:16:16Z:
testing/py-scipy: fixed regexp to avoid wrong py dependency. Fixes #7615