summaryrefslogtreecommitdiff
path: root/manualPorts/python3-semver/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/python3-semver/Pkgfile')
-rw-r--r--manualPorts/python3-semver/Pkgfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/manualPorts/python3-semver/Pkgfile b/manualPorts/python3-semver/Pkgfile
new file mode 100644
index 0000000..64b5447
--- /dev/null
+++ b/manualPorts/python3-semver/Pkgfile
@@ -0,0 +1,15 @@
+# Description: Python helper for Semantic Versioning
+# URL: https://github.com/k-bx/python-semver
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: python3-setuptools
+
+name=python3-semver
+version=2.13.0
+release=1
+source=("https://github.com/k-bx/python-semver/archive/$version.tar.gz")
+
+build() {
+ cd python-${name#python3-}-${version}
+ python3 setup.py build
+ python3 setup.py install --optimize=1 --root=${PKG}
+}