git: f2640860c65a - main - devel/py-typer: Update to 0.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Apr 2022 04:22:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2640860c65a6ff806d58b266de35bf396be608f commit f2640860c65a6ff806d58b266de35bf396be608f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-16 03:57:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-16 04:19:24 +0000 devel/py-typer: Update to 0.4.1 Changes: https://github.com/tiangolo/typer/releases --- devel/py-typer/Makefile | 5 ++++- devel/py-typer/distinfo | 6 +++--- devel/py-typer/files/setup.py | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/devel/py-typer/Makefile b/devel/py-typer/Makefile index 1b1b87dabfe6..34823cc165d3 100644 --- a/devel/py-typer/Makefile +++ b/devel/py-typer/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= typer -PORTVERSION= 0.4.0 +PORTVERSION= 0.4.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,4 +26,7 @@ ALL_DESC= All dependencies ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.3<0.5.0:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shellingham>=1.3.0<2.0.0:devel/py-shellingham@${PY_FLAVOR} +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/devel/py-typer/distinfo b/devel/py-typer/distinfo index 891db92cf6c5..e0a4e376ac07 100644 --- a/devel/py-typer/distinfo +++ b/devel/py-typer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1632037162 -SHA256 (typer-0.4.0.tar.gz) = 63c3aeab0549750ffe40da79a1b524f60e08a2cbc3126c520ebf2eeaf507f5dd -SIZE (typer-0.4.0.tar.gz) = 218979 +TIMESTAMP = 1649423814 +SHA256 (typer-0.4.1.tar.gz) = 5646aef0d936b2c761a10393f0384ee6b5c7fe0bb3e5cd710b17134ca1d99cff +SIZE (typer-0.4.1.tar.gz) = 221203 diff --git a/devel/py-typer/files/setup.py b/devel/py-typer/files/setup.py new file mode 100644 index 000000000000..61a18ad231f8 --- /dev/null +++ b/devel/py-typer/files/setup.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['typer'] + +package_data = \ +{'': ['*']} + +install_requires = \ +['click >= 7.1.1, <9.0.0'] + +extras_require = \ +{'all': ['colorama >=0.4.3,<0.5.0', 'shellingham >=1.3.0,<2.0.0'], + 'dev': ['autoflake >=1.3.1,<2.0.0', 'flake8 >=3.8.3,<4.0.0'], + 'doc': ['mkdocs >=1.1.2,<2.0.0', + 'mkdocs-material >=8.1.4,<9.0.0', + 'mdx-include >=1.4.1,<2.0.0'], + 'test': ['shellingham >=1.3.0,<2.0.0', + 'pytest >=4.4.0,<5.4.0', + 'pytest-cov >=2.10.0,<3.0.0', + 'coverage >=5.2,<6.0', + 'pytest-xdist >=1.32.0,<2.0.0', + 'pytest-sugar >=0.9.4,<0.10.0', + 'mypy ==0.910', + 'black >=22.3.0,<23.0.0', + 'isort >=5.0.6,<6.0.0']} + +setup(name='typer', + version='%%PORTVERSION%%', + description='Typer, build great CLIs. Easy to code. Based on Python type hints.', + author='Sebastián RamÃrez', + author_email='tiangolo@gmail.com', + url='https://github.com/tiangolo/typer', + packages=packages, + package_data=package_data, + install_requires=install_requires, + extras_require=extras_require, + python_requires='>=3.6', + )