Age | Commit message (Collapse) | Author |
|
Before, if the path contained ‘,’ or regex reserved characters, makepkg
would fail or generate a non-working package.
|
|
Only auditok and ffsubsync itself remain in the virtual environment.
All other dependencies are system one, allowing them to be shared with
other packages.
The pip/setuptools make dependencies are also removed from the virtual
environment.
Inspired by:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=octoprint
|
|
Upstream has three names for the command: 'ffs', 'ffsubsync' and
'subsync'. The latter was missing from this package.
|
|
|
|
For 'externally-managed-environment', the fix is to remove "$pkgdir"
from the package only at the end, after activating and running pip
install. This means that python-pip and python-setuptools are not
required, since they are installed in the virtual environment and those
will be used.
For 'f2py3: No such file or directory' and similar errors, the fix is to
avoid a fixed list of files to remove "$pkgdir" from, and to remove this
path from all non-binary files in the package.
Limitation: The sed command to remove "$pkgdir" would still fail if the
build directory path contains ',' or regex reserved characters.
|
|
|
|
|
|
|