Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW PORT]: devel/aws-sam-cli #241

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions devel/aws-sam-cli/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
PORTNAME= aws-sam-cli
PORTVERSION= 1.110.0
PORTREVISION= 1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PORTREVISION must not have to be set for new ports.

CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= [email protected]
COMMENT= AWS Serverless Application Model CLI
WWW= https://github.com/aws/aws-sam-cli \
https://docs.aws.amazon.com/serverless-application-model/

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}aws-lambda-builders>0:devel/py-aws-lambda-builders@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}aws-sam-translator>0:devel/py-aws-sam-translator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cfn-lint>0:devel/py-cfn-lint@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}chevron>0:textproc/py-chevron@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cookiecutter>0:devel/py-cookiecutter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateparser>0:devel/py-dateparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docker>0:sysutils/py-docker@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jmespath>0:devel/py-jmespath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}regex>0:textproc/py-regex@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rich>0:textproc/py-rich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}watchdog>0:devel/py-watchdog@${PY_FLAVOR}

USES= cpe python
CPE_VENDOR= python
USE_PYTHON= autoplist concurrent distutils pytest

NO_ARCH= yes

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions devel/aws-sam-cli/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SHA256 (aws-sam-cli-1.110.0.tar.gz) = 35d585fe1b8598747a50f736b2a1ce2def069118a1cccb4f3d5391cb0ace427e
SIZE (aws-sam-cli-1.110.0.tar.gz) = 5579002
12 changes: 12 additions & 0 deletions devel/aws-sam-cli/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
The AWS Serverless Application Model (SAM) CLI is an open-source CLI tool
that helps you develop serverless applications containing Lambda functions,
Step Functions, API Gateway, EventBridge, SQS, SNS and more.

Features:
- Initialize serverless applications in minutes
- Compile, build, and package Lambda functions
- Locally test a Lambda function and API Gateway
- Sync and test your changes in the cloud with `sam sync`
- Deploy your SAM and CloudFormation templates using `sam deploy`
- Quickly create pipelines with prebuilt templates
- Tail CloudWatch logs and X-Ray traces