blob: eb6f9ea043ef18d0bee804e23262392463077c04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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}"
}
|