Page MenuHomeFreeBSD

D35506.id106981.diff
No OneTemporary

D35506.id106981.diff

Index: devel/awscli/Makefile
===================================================================
--- devel/awscli/Makefile
+++ devel/awscli/Makefile
@@ -20,6 +20,7 @@
USES= python
USE_PYTHON= autoplist distutils concurrent noflavors
+CONFLICTS= devel/awscli2
NO_ARCH= yes
SUB_FILES= pkg-message
Index: devel/awscli2/Makefile
===================================================================
--- /dev/null
+++ devel/awscli2/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= awscli2
+PORTVERSION= 2.7.2
+CATEGORIES= devel
+
+MAINTAINER= hsw@bitmark.com
+COMMENT= Universal Command Line Interface for Amazon Web Services V2
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.21.61:devel/py-botocore@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}colorama>=0.2.5:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}distro>=1.7.0:sysutils/py-distro@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}s3transfer>=0.5.0:net/py-s3transfer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}docutils>=0.10:textproc/py-docutils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rsa>=3.1.2:security/py-rsa@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16.12:devel/py-ruamel.yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.29:devel/py-prompt-toolkit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.8.13:databases/py-sqlite3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}awscrt>=0.13.13:devel/py-awscrt@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils noflavors
+CONFLICTS= devel/awscli
+
+USE_GITHUB= yes
+GH_ACCOUNT= aws
+GH_PROJECT= aws-cli
+
+NO_ARCH= yes
+SUB_FILES= pkg-message
+
+.include <bsd.port.mk>
Index: devel/awscli2/distinfo
===================================================================
--- /dev/null
+++ devel/awscli2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655091818
+SHA256 (aws-aws-cli-2.7.2_GH0.tar.gz) = 5511da4ba8485033455b4d92ab07ab25dcee07a3f20f0527a1e7ad8a1d318dd9
+SIZE (aws-aws-cli-2.7.2_GH0.tar.gz) = 11089483
Index: devel/awscli2/files/pkg-message.in
===================================================================
--- /dev/null
+++ devel/awscli2/files/pkg-message.in
@@ -0,0 +1,4 @@
+To auto-complete on your shell, please add a following line:
+
+(bashrc) complete -C '%%PREFIX%%/bin/aws_completer' aws
+(zshrc) source %%PREFIX%%/bin/aws_zsh_completer.sh
Index: devel/awscli2/pkg-descr
===================================================================
--- /dev/null
+++ devel/awscli2/pkg-descr
@@ -0,0 +1,17 @@
+This package provides a unified command line interface to many Amazon Web
+Services.
+
+The currently supported services include:
+
+* Amazon Elastic Compute Cloud (Amazon EC2)
+* Elastic Load Balancing
+* Auto Scaling
+* AWS CloudFormation
+* AWS Elastic Beanstalk
+* Amazon Simple Notification Service (Amazon SNS)
+* Amazon Simple Queue Service (Amazon SQS)
+* Amazon Relational Database Service (Amazon RDS)
+
+... and more.
+
+WWW: https://aws.amazon.com/cli/
Index: devel/py-awscrt/Makefile
===================================================================
--- /dev/null
+++ devel/py-awscrt/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= awscrt
+PORTVERSION= 0.13.13
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= hsw@bitmark.com
+COMMENT= Python 3 bindings for the AWS Common Runtime
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= cmake:devel/cmake
+LIB_DEPENDS= libsysinfo.so:devel/libsysinfo
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+CFLAGS+= -I${LOCALBASE}/include -DS2N_HAVE_EXECINFO=1
+LDFLAGS+= -lexecinfo -L${LOCALBASE}/lib -lsysinfo
+
+.include <bsd.port.mk>
Index: devel/py-awscrt/distinfo
===================================================================
--- /dev/null
+++ devel/py-awscrt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655100239
+SHA256 (awscrt-0.13.13.tar.gz) = e240a7e6dc9db79e8bdb652f590be12dc2d5af7d541fea0c7dd8e1b4bf54fde2
+SIZE (awscrt-0.13.13.tar.gz) = 19923862
Index: devel/py-awscrt/files/patch-crt_s2n_utils_s2n__fork__detection.c
===================================================================
--- /dev/null
+++ devel/py-awscrt/files/patch-crt_s2n_utils_s2n__fork__detection.c
@@ -0,0 +1,10 @@
+--- crt/s2n/utils/s2n_fork_detection.c.orig 2022-06-10 20:56:14 UTC
++++ crt/s2n/utils/s2n_fork_detection.c
+@@ -25,6 +25,7 @@
+ #define _GNU_SOURCE
+ #endif
+
++#define __BSD_VISIBLE 1
+ #include <sys/mman.h>
+
+ /* Not always defined for Darwin */
Index: devel/py-awscrt/files/patch-setup.py
===================================================================
--- /dev/null
+++ devel/py-awscrt/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2022-06-10 20:56:14 UTC
++++ setup.py
+@@ -315,7 +315,7 @@ def awscrt_ext():
+
+ if distutils.ccompiler.get_default_compiler() != 'msvc':
+ extra_compile_args += ['-Wextra', '-Werror', '-Wno-strict-aliasing', '-std=gnu99']
+- extra_link_args += ['-Wl,-fatal_warnings']
++ extra_link_args += ['-Wl,-fatal-warnings']
+
+ return setuptools.Extension(
+ '_awscrt',
Index: devel/py-awscrt/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-awscrt/pkg-descr
@@ -0,0 +1,3 @@
+Python 3 bindings for the AWS Common Runtime.
+
+WWW: https://awslabs.github.io/aws-crt-python

File Metadata

Mime Type
text/plain
Expires
Sat, May 16, 1:37 AM (8 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33106066
Default Alt Text
D35506.id106981.diff (5 KB)

Event Timeline