# Description: Library to parse and apply unified diffs forked from python-patch # URL: https://github.com/conan-io/python-patch/ # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: python3-setuptools name=python3-patch-ng _name=${name#*-} version=1.17.4 release=2 source=("https://pypi.io/packages/source/${_name::1}/$_name/$_name-$version.tar.gz") build() { cd ${_name}-${version} python3 setup.py build python3 setup.py install --optimize=1 --root=${PKG} }