sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-marshmallow/recipe
1079 bytes at e2d5247 · GitHub
name python-marshmallow
version 4.3.1
release 1
arch any
description python-marshmallow: A lightweight library for converting complex datatypes to and from native Python datatypes
source https://files.pythonhosted.org/packages/4e/d7/611e68d57e6a903c29cb33b5afec0f93b4baecacc6c6c62e33cde9eb9dcb/marshmallow-${version}.tar.gz
hash sha256:fb6b8048af08d4ab061610d5b7d3696a7e4c95337dbda880edb9f95812cabc20
depend filesystem
depend python
depend python-backports-datetime-fromisoformat
depend python-typing-extensions
builddep python-flit-core
install python3 -m pip install --no-deps --no-build-isolation --no-compile --root="$PKG" --prefix=/usr .
install pyver=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])'); \
if [ -d "$PKG/usr/lib/python$pyver" ]; then \
mkdir -p "$PKG/usr/lib64"; \
cp -a "$PKG/usr/lib/python$pyver/." "$PKG/usr/lib64/python$pyver/"; \
rm -rf "$PKG/usr/lib/python$pyver"; \
rmdir "$PKG/usr/lib" 2>/dev/null || :; fi