From nobody Sat Apr 02 19:30:40 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6AB151A59D19; Sat, 2 Apr 2022 19:30:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KW6Zn3Ptmz4jmh; Sat, 2 Apr 2022 19:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648927842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zeqdlOI8BGzfCBMsr5WJVPHOZs/Jp+4Sp2p38PwnXJA=; b=NJHM0OSHxtzPXXiaCu06z5dB7vqbsEVCdpRlEmYXipjsBnyZKcGd5weU3Q3j8ccAwqnTca AQwB3s+FWF7Q9lYBWWC44qRjft0g2SqgObu+dW110KgDrGX5JeWkuMAcWRNXp8bIint1s4 uS+UrPEkMeOtXNo7Xku2OZveTI2nmHINr5HQa74HupihgJdlLcwuqgGl80V/GbdsM8HkAZ fZCwU82a0IqNVheWWyILpKqLhy2n4cwrgSu3Tl29JfAml3pZbEjI0wh85mmNuT8l+uQHaJ voKUih9D2ruxteqYTm/3GarS6CgAS4Tn4x3Ns/xwoYKvXaUit8CUVDX4+7FK1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 152696D71; Sat, 2 Apr 2022 19:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 232JUeBq086229; Sat, 2 Apr 2022 19:30:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 232JUet6086228; Sat, 2 Apr 2022 19:30:40 GMT (envelope-from git) Date: Sat, 2 Apr 2022 19:30:40 GMT Message-Id: <202204021930.232JUet6086228@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: 28504b62bfab - main - devel/oci-cli: New port for Oracle Cloud CLI List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 28504b62bfab211394387d5c5e7ca2135a714a58 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648927842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zeqdlOI8BGzfCBMsr5WJVPHOZs/Jp+4Sp2p38PwnXJA=; b=Mg3qWA6CZEgkqC20q5e9HLc5wGV6Zmoxpf7PhNPcl9EMmyRWP0/VyL7r+DeKEIEI18CwWg 19ZqBmIK5Qw7ERbzSWF1V4jMQLPp+4DcBF4XtvGG0wWbpNmER/8q/jaZcqeqyBwQ4v6H2c zBCuGFg19uoVwZSA7nhkLDqtnMVUtJKPAh3oR1zL8PE7TpN3pzcSS3hJvUkJR/fQa2Gizy ZmsYAslMeIklqEL47/hDCzhheQ4yHdYrnHOYg5peubTWrlscrocZyKHAi1PsVUzFu5kQQh 9mq4OOJoaTuw7FzsdxxXeefhzkOdm//Qs7WfhCWZ/3nwVDsoGM1wr2J3MH2GZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648927842; a=rsa-sha256; cv=none; b=s+cxsynzsC1oTKmj66lJKFSOF5Dd/ElbvDLd+Mzks7IeCG87cjlWBjUHtGqdPAVjaLcbs5 vTzZMDOfWJMP59YFRzs+BeW0j4CRY5VbLp2jeirNITT5nC3uTBAOtu/ipFXQ5c7AhQjNyd 1AWw8ZGeYRTFcvesyj/4LSIplGmYvo8v2kMEH2tcPSe1KGBVszfAl7+y69g79eN3AahyO3 hCm8/MQ+YvzGXRsme0j91xPFLE5tkpgcohZ8fP0dsemZam0qatjeTuIvTbAI3fWzd2DxZE GA5EYLkMKgc9B04vRAHLJggtn0gS0RC3uzOu3N0AhWCMCFDd9ccRhnAZFjw1zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=28504b62bfab211394387d5c5e7ca2135a714a58 commit 28504b62bfab211394387d5c5e7ca2135a714a58 Author: Joseph Mingrone AuthorDate: 2022-04-02 19:29:00 +0000 Commit: Joseph Mingrone CommitDate: 2022-04-02 19:29:51 +0000 devel/oci-cli: New port for Oracle Cloud CLI WWW: https://github.com/oracle/oci-cli/ PR: 262997 (with modification) Sponsored by: The FreeBSD Foundation Submitted by: Alessandro Sagratini --- devel/Makefile | 1 + devel/oci-cli/Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/oci-cli/distinfo | 3 +++ devel/oci-cli/files/patch-setup.py | 23 +++++++++++++++++++++++ devel/oci-cli/pkg-descr | 4 ++++ 5 files changed, 67 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 925b28374663..e77c4c5fddf2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1663,6 +1663,7 @@ SUBDIR += ocaml-uutf SUBDIR += ocaml-xstr SUBDIR += ocaml-xstrp4 + SUBDIR += oci-cli SUBDIR += ocl-icd SUBDIR += oclgrind SUBDIR += ode diff --git a/devel/oci-cli/Makefile b/devel/oci-cli/Makefile new file mode 100644 index 000000000000..578d45a1e82d --- /dev/null +++ b/devel/oci-cli/Makefile @@ -0,0 +1,36 @@ +PORTNAME= oci-cli +DISTVERSION= 3.7.0 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ale_sagra@hotmail.com +COMMENT= Command Line Interface for Oracle Cloud Infrastructure + +LICENSE= APACHE20 UPL +LICENSE_COMB= dual +LICENSE_GROUPS_UPL= FSF GPL OSI +LICENSE_NAME_UPL= Universal Permissive License +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt +LICENSE_FILE_UPL= ${WRKSRC}/LICENSE.txt +LICENSE_PERMS_UPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=1.0.0:devel/py-arrow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click7=7.1.2:devel/py-click7@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=3.2.1<=3.4.7:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3<3.0.0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jmespath>=0.10.0:devel/py-jmespath@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oci=2.62.0:devel/py-oci@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=19.1.0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.15.0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}terminaltables>=3.1.0:textproc/py-terminaltables@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.4<6:devel/py-yaml@${PY_FLAVOR} + +USES= python:3.6-3.9 +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/oci-cli/distinfo b/devel/oci-cli/distinfo new file mode 100644 index 000000000000..1b44410c38a5 --- /dev/null +++ b/devel/oci-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1648833280 +SHA256 (oci-cli-3.7.0.tar.gz) = b666ed9d239b0ef89619dfef575c992891f2b0f2b8bf45a179ba7b0a23c3a43a +SIZE (oci-cli-3.7.0.tar.gz) = 9069925 diff --git a/devel/oci-cli/files/patch-setup.py b/devel/oci-cli/files/patch-setup.py new file mode 100644 index 000000000000..329d8c4eebda --- /dev/null +++ b/devel/oci-cli/files/patch-setup.py @@ -0,0 +1,23 @@ +--- setup.py.orig 2022-03-28 19:01:23 UTC ++++ setup.py +@@ -30,16 +30,16 @@ with open_relative("README.rst") as f: + + requires = [ + 'oci==2.62.0', +- 'arrow>=1.0.0', ++ 'arrow>>=1.0.0', + 'certifi', + 'click==7.1.2', + 'cryptography>=3.2.1,<=3.4.7', +- 'jmespath==0.10.0', ++ 'jmespath>=0.10.0', + 'python-dateutil>=2.5.3,<3.0.0', + 'pytz>=2016.10', + 'six>=1.15.0', +- 'terminaltables==3.1.0', +- 'pyOpenSSL==19.1.0', ++ 'terminaltables>=3.1.0', ++ 'pyOpenSSL>=19.1.0', + 'PyYAML>=5.4,<6' + ] + diff --git a/devel/oci-cli/pkg-descr b/devel/oci-cli/pkg-descr new file mode 100644 index 000000000000..2b685960ecb9 --- /dev/null +++ b/devel/oci-cli/pkg-descr @@ -0,0 +1,4 @@ +The OCI CLI enables you to imanage Oracle Cloud Infrastructure resources +from the command line. All OCI services and regions are supported. + +WWW: https://github.com/oracle/oci-cli/