When using pacman to install packages, the --root option can be set to
install them to an alternative location. The current install scripts
don't take this in to account which causes no such file or directory
errors. This modifies the sed command to use the full prefix path
when renaming the shebang.
Signed-off-by: Dan Yeaw <dan@yeaw.me>
* Add two helper macros to the PKGBUILD templates. apply_patch_with_msg applies a patch ensuring a backup is made and with an output message showing the patch being applied to help with debugging. del_file_exists delets files and is meant for where a patch creates new files. Those added files may not be deleted if the PKGBUILD is reran causing patch to fail saying it's already been applied.
Fix the setup-py template to use a _dtoken variable for part of the URL in pypi. Those use a download token for each software package and is unique to EVERY version. Also, use python${pver}-build-${CARCH} consistantly. The CARCH allows us to have for binary versions so that they could be examined if a build problem were to occur and speed up the build.
* Fixed the comment about the source and made a point about downloading from some source such as github instead of pypi.
* mingw-w64-python-more-itertools - 4.2.0, mingw-w64-python-pytest - 3.5.1 - Update to the latest.
* python3: Update to 3.6.1
The patches starting with 16 are new to fix the build.
Some no longer relevant patches were dropped, the rest is just refreshed.
* Bump pkgrel of all packages containing Python 3 bytecode/extensions.
The package list was generated using:
pkgfile.exe -R mingw64 -r "cpython.*\\.(py[cod]|dll)"
* lensfun: Add cmake to makedepends
* numpy: Don't hardcode the Python version
* blender: rebuild for new Python
* boost: Don't hardcode Python versions; rebuild
* pillow: Don't hardcode Python version; rebuild
* python-dateutil: Don't hardcode Python versions
* sip: Don't hardcode Python versions
* pyqt4: Don't hardcode Python versions; rebuild
* pyqt5: Don't hardcode Python versions; rebuild
* opencv: Update Python3 version in patch