summaryrefslogtreecommitdiff
path: root/manualPorts/python3-patch-ng/Pkgfile
blob: a1c1799e8a341ba201e628712a298141ee35e5eb (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=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}
}