summaryrefslogtreecommitdiff
path: root/templates/pypackaging
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pypackaging')
-rw-r--r--templates/pypackaging/template26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/pypackaging/template b/templates/pypackaging/template
new file mode 100644
index 0000000..eb6f9ea
--- /dev/null
+++ b/templates/pypackaging/template
@@ -0,0 +1,26 @@
+pkgname=pypackaging
+version=26.2
+build_no=1
+upstream="https://github.com/pypa/packaging/archive/refs/tags/${version}.tar.gz"
+
+extras=(
+ https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl
+)
+
+cddir="packaging-${version}"
+
+makedepends=(pip pyflitcore)
+
+function do_configure {
+ cp /build/packaging-26.2-py3-none-any.whl .
+}
+
+function do_build {
+## python3 -m build
+ echo "no build"
+}
+
+function do_install {
+# python3 -m zipfile -e dist/packaging-${version}-py3-none-any.whl "${DESTDIR}/${PY_SITE_PACKAGES}"
+ python3 -m zipfile -e packaging-26.2-py3-none-any.whl "${DESTDIR}/${PY_SITE_PACKAGES}"
+} \ No newline at end of file