new: migrated more packages

This commit is contained in:
ngn
2024-07-27 00:56:23 +03:00
parent 2b4d7c7d6e
commit 4b1ee5d9b2
36 changed files with 328 additions and 4 deletions

3
src/pypi-markupsafe/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 2.1.5
First version

View File

@ -0,0 +1,22 @@
# general info
NAME="pypi-markupsafe"
DESC="Implements a text object that escapes characters so it is safe to use in HTML and XML"
VERSION="2.1.5"
# required files
FILES=("https://pypi.org/packages/source/M/MarkupSafe/MarkupSafe-${VERSION}.tar.gz")
HASHES=("8fe7227653f2fb9b1ffe7f9f2058998a")
# install and build depends
DEPENDS=()
BUILD=()
build(){
tar xf "MarkupSafe-${VERSION}.tar.gz"
cd "MarkupSafe-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "MarkupSafe-${VERSION}"
}