Add py-cliff2 2.18.0 (copied from py-cliff)

- Add PORTSCOUT
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-02-28 19:21:32 +00:00
parent bc9f79e247
commit f6f1d69a93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527350
4 changed files with 54 additions and 0 deletions

View file

@ -4224,6 +4224,7 @@
SUBDIR += py-click-threading
SUBDIR += py-click6
SUBDIR += py-cliff
SUBDIR += py-cliff2
SUBDIR += py-cligj
SUBDIR += py-clikit
SUBDIR += py-clint

45
devel/py-cliff2/Makefile Normal file
View file

@ -0,0 +1,45 @@
# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
# $FreeBSD$
PORTNAME= cliff
PORTVERSION= 2.18.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Command Line Interface Formulation Framework
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.2<0.8:devel/py-prettytable@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.0:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=3.12:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
# cliff 3.0.0+ requires Python 3.6+
PORTSCOUT= limit:^2\.
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unicodecsv>=0.8.0:devel/py-unicodecsv@${PY_FLAVOR}
.endif
.if ${PYTHON_REL} < 3500
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cmd208>=0.8.0:devel/py-cmd208@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cmd2>=0.8.0:devel/py-cmd2@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

3
devel/py-cliff2/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1578584013
SHA256 (cliff-2.18.0.tar.gz) = 4893742290d4728324a164c4f4dfeafe5f7ec61a6b49c99d76cece98730667f2
SIZE (cliff-2.18.0.tar.gz) = 77905

View file

@ -0,0 +1,5 @@
cliff is a framework for building command line programs. It uses setuptools
entry points to provide subcommands, output formatters, and other extensions.
WWW: https://docs.openstack.org/cliff/latest/
WWW: https://github.com/openstack/cliff