summaryrefslogtreecommitdiff
path: root/templates/pypackaging/template
diff options
context:
space:
mode:
author0x221E2026-06-14 14:06:45 +0200
committer0x221E2026-06-14 14:06:45 +0200
commitcacee711ffebd105827ce8b35e4c13a4e674538a (patch)
tree94bd8c29c08a8acb2b8e9e17531e79d02781bafb /templates/pypackaging/template
initial commit
Diffstat (limited to 'templates/pypackaging/template')
-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