summaryrefslogtreecommitdiff
path: root/manualPorts/python3-patch-ng/Pkgfile
blob: 87e51827e38b13eea5cbf0ac67af920be7bbe65d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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=1
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}
}