Files
meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_1.0.2.2.bb
T
Khem Raj 1602bb3b6b python3-flask-user: upgrade 0.6.19 -> 1.0.2.2
Drop Flask-Login from setup_requires, which made setuptools try to fetch
it from PyPI at build time, and add the new runtime dependencies
(bcrypt, cryptography, Flask-SQLAlchemy).

License-Update: Upstream relicensed from BSD-2-Clause to MIT in 1.0;
LICENSE updated to MIT.

Changes:
- BREAKING: v1.0 is not compatible with 0.6; UserManager properties and
  methods are now overridden or extended by subclassing. Custom form
  class attributes renamed (register_form -> RegisterFormClass).
- Password hashing is configurable through passlib CryptContext
  settings; minimum passlib raised from 1.6 to 1.7.
- TokenManager accepts parts of the password so tokens are invalidated
  after a password change; it also accepts non-integer user IDs.
- Add MongoDB (Flask-MongoEngine) and DynamoDB (Flask-Flywheel) support
  and an EmailAdapter interface (SMTP, sendmail, SendGrid, custom).
- Remove callbacks/auth0; drop Python 2.6 and 3.3; add Slovak, Polish
  and Ukrainian translations; fix crashes with USER_ENABLE_INVITE_USER
  and with username change when USER_ENABLE_EMAIL is false.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:58:55 -08:00

34 lines
1.0 KiB
BlitzBasic

SUMMARY = "Customizable user account management for Flask"
DESCRIPTION = "Customizable User Account Management for Flask; Register \
Confirm email, Login, Change username, Change password, Forgot Password \
and more."
HOMEPAGE = "https://github.com/lingthio/Flask-User"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5aabce758ead32427c145173bc555403"
SRC_URI[sha256sum] = "c9785febc2fc7ca15c69cfff1c8dabc2788f25043b54a33f73a6c2a9daf7fbe4"
PYPI_PACKAGE_SDIST = "Flask-User"
CVE_PRODUCT = "flask-user_project:flask-user"
inherit pypi setuptools3
# setup_requires would make setuptools fetch Flask-Login from PyPI at build time
do_configure:prepend() {
sed -i -e "s/setup_requires=\['Flask-Login',\] + pytest_runner/setup_requires=pytest_runner/" ${S}/setup.py
}
RDEPENDS:${PN} = " \
python3-babel \
python3-bcrypt \
python3-blinker \
python3-cryptography \
python3-flask \
python3-flask-login \
python3-flask-mail \
python3-flask-sqlalchemy \
python3-flask-wtf \
python3-passlib \
"