summaryrefslogtreecommitdiff
path: root/manualPorts/python3-patch-ng/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/python3-patch-ng/Pkgfile')
-rw-r--r--manualPorts/python3-patch-ng/Pkgfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/manualPorts/python3-patch-ng/Pkgfile b/manualPorts/python3-patch-ng/Pkgfile
new file mode 100644
index 0000000..87e5182
--- /dev/null
+++ b/manualPorts/python3-patch-ng/Pkgfile
@@ -0,0 +1,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}
+}