From 17d5c62f095fbaf590f45d3e50c119bd3900c6b5 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Mar 2021 18:25:58 +0200 Subject: python3-pyscaffold: Upgrade 3.3.1 -> 4.0 Upgrade to release 4.0: - Cookiecutter, Django and Travis extensions extracted to their own repositories - Support for Python 3.4 and 3.5 dropped - Dropped deprecated requirements.txt file - Added support for global configuration (avoid retyping common putup's options) - PyScaffold is no longer a build-time dependency, it just generates the project structure - Removed contrib subpackage, vendorized packages are now runtime dependencies - setuptools_scm is included by default in setup.cfg, setup.py and pyproject.toml - API changed to use pyscaffold.operations instead of integer flags - Allow string.Template and callable as file contents in project structure - Extract file system functions from utils.py into file_system.py - Extract identification/naming functions from utils.py into identification.py - Extract action related functions from api/__init__.py to actions.py - helpers.{modify,ensure,reject} moved to structure.py - helpers.{register,unregister} moved to actions.py - New extension for automatically creating virtual environments (--venv) - Added instructions to use pip-tools to docs - pre-commit extension now attempts to install hooks automatically - A nice message is now displayed when PyScaffold finishes running (actions.report_done) - Removed mutually exclusive argparse groups for extensions - Progressive type annotations adopted in the code base together with mypy linting - Simplified isort config - pyproject.toml and isolated builds adopted by default - Added comment to setup.cfg template instructing about extra links - Generate tox.ini by default - Replace pkg_resources with importlib.{metadata,resources} and packaging - Adopt PEP 420 for namespaces - Adopt SPDX identifiers for the license field in setup.cfg - Removed deprecated log.configure_logger - Add links to issues and pull requests to changelog - Add an experimental --interactive mode (inspired by git rebase -i) - Reorganise the FAQ (including version questions previously in Features) - Updated setuptools and setuptools_scm dependencies to minimal versions 46.1 and 5, respectively - Adopted no-guess-dev version scheme from setuptools_scm (semantically all stays the same, but non-tag commits are now versioned LAST_TAG.post1.devN instead of LAST_TAG.post0.devN) - Fix problem of not showing detailed log with --verbose if error happens when loading extensions Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pyscaffold_4.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyscaffold_4.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pyscaffold_4.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyscaffold_4.0.bb b/meta-python/recipes-devtools/python/python3-pyscaffold_4.0.bb new file mode 100644 index 0000000000..1ad33c10d3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyscaffold_4.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "Python project template generator with batteries included" +DESCRIPTION = "PyScaffold package helps to setup a new Python project. \ +After installation, it provides a new command [putup], which could be \ +used to create template Projects." + +HOMEPAGE = "https://github.com/pyscaffold/pyscaffold" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "PyScaffold" + +SRC_URI[sha256sum] = "7012ae5f9c95b910a39a099824104dc888beb932de86b07514882f3511bc6c74" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf