From nobody Sat Oct 21 20:32:53 2023 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 4SCY6t1vWBz4xWFF; Sat, 21 Oct 2023 20:32:54 +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 4SCY6t0G4bz3MNJ; Sat, 21 Oct 2023 20:32:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697920374; 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=BPHYYQUh4/XlM+g55bOihcIgOddfiev0yJGFG+wzurM=; b=E0OIpsAR/BOEEHeGWnCuy9BssEL3Uq6KijLQ+QMtySBS5oMI9gErp68Gd28s8IDuKr+2GW 3fKk9IqWh4TdYii1FfgOnVhOwhp/PpRwBPoR9+zm9VBYa/ypxrIvDZk3dIGNTUMWISbvSY wfndpKc3TsYTnZNtjHI2j6Lc+1cqLp4cCzXmwGJsP4k1u7N9J64mfrullQ14aaklZMt6cy 4SVDz3oh3aHzfrueZolikmzOaiTCndsP2aROpvTUJtgiq9TZXE+NdTjEAf6tP8Gwa987Wc nEO3RHOfBVW7r/VUU06hJtwqBX6/D/NL3iVW2kaMSkXU/xm9QPJKCHw4JlFw0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697920374; a=rsa-sha256; cv=none; b=aYnoANUzimt6teVvQEhDQwz+ZwNebmkEoy3ps6TuLz04y5epRAxpqCBVgScqgo8WfEFCy7 MTrcMnqNh5iNsMzfIFDeLYXPAn98JuuPOElbToeBuD41wh1er1HzWju4JPINN1QLKnmKu7 G9KzXBGXI0l50BK1fEEvxEZ5SwLINGyecxvdDupnH962Go8X/KntyhovlpR08DrZqficxe GwfPQzkeK2FVBJe1CxNYJvZHcJsnLJmGV5NrsptMQPEO5R8Xayr1j0upYiyi/uz5Yr4AvZ 4OsDADiuBF5K9rpO4NFuWZVzpWh6BVj4t2OnSsy87YtvDdm95NvkUVeW5qjaPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697920374; 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=BPHYYQUh4/XlM+g55bOihcIgOddfiev0yJGFG+wzurM=; b=qKvxR6JABRgLkaoX40szdgu/kRhT/mtWeWwWdC6Ne7pcQ4Ww+8Nsjs2j1tnGt70Xw7fdVb lTpbe2vguKlm91RmytzIPlOZf7tS79XUkPp25L8Q32BbyZMJHwNctjcGMRr+2NQiuSMke+ 7M5rdAETbICcI6uyz7NLEQ5t+oKOY8MTYTFn6LpyWAXbk9w65ozv5cmA+BYcmBtBh+Fi/4 tIZQLYgYF7yasUr7EB1wdcz9XmdXjuj5TvnofB2gdLeLwcdAOsDL8toNZu8ugxvWPaQza8 MwnMJ3fkkUrvvYYbzYFfmfhshDcQl7IdTS8FvVfLZzLnuFylPuwwVBUw7EBcqQ== 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 4SCY6s6MYzzVjm; Sat, 21 Oct 2023 20:32:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39LKWroD086754; Sat, 21 Oct 2023 20:32:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39LKWrVS086751; Sat, 21 Oct 2023 20:32:53 GMT (envelope-from git) Date: Sat, 21 Oct 2023 20:32:53 GMT Message-Id: <202310212032.39LKWrVS086751@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: 1e9785761348 - main - databases/py-snowflake-connector-python: new port 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: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e97857613486223c16217074e7aa8d212ca375e Auto-Submitted: auto-generated The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e97857613486223c16217074e7aa8d212ca375e commit 1e97857613486223c16217074e7aa8d212ca375e Author: Pat Maddox AuthorDate: 2023-10-21 20:32:01 +0000 Commit: Kurt Jaeger CommitDate: 2023-10-21 20:32:47 +0000 databases/py-snowflake-connector-python: new port The Snowflake Connector for Python conforms to the Python DB API 2.0 specification. The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. It provides a programming alternative to developing applications in Java or C/C++ using the Snowflake JDBC or ODBC drivers. The connector has no dependencies on JDBC or ODBC. It can be installed using pip on Linux, Mac OSX, and Windows platforms where Python 3.8.0 (or higher) is installed. PR: 274576 Author: Pat Maddox --- databases/Makefile | 1 + databases/py-snowflake-connector-python/Makefile | 42 +++++++++++++++++++++++ databases/py-snowflake-connector-python/distinfo | 3 ++ databases/py-snowflake-connector-python/pkg-descr | 11 ++++++ 4 files changed, 57 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 131d57e56350..85b448bf071a 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -826,6 +826,7 @@ SUBDIR += py-redis4 SUBDIR += py-rrdtool SUBDIR += py-sispy + SUBDIR += py-snowflake-connector-python SUBDIR += py-south SUBDIR += py-sqlalchemy-json SUBDIR += py-sqlalchemy-migrate diff --git a/databases/py-snowflake-connector-python/Makefile b/databases/py-snowflake-connector-python/Makefile new file mode 100644 index 000000000000..5a0cee0ff8a9 --- /dev/null +++ b/databases/py-snowflake-connector-python/Makefile @@ -0,0 +1,42 @@ +PORTNAME= snowflake-connector-python +PORTVERSION= 3.2.1 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= pat@patmaddox.com +COMMENT= Snowflake Connector for Python +WWW= https://github.com/snowflakedb/snowflake-connector-python + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PY_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} + +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0,<2.0.0:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=1.9,<2:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=3.1.0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oscrypto<2.0:security/py-oscrypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.5.1<4.0:security/py-pycryptodomex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyjwt<3.0:www/py-pyjwt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests<3.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2,<4:textproc/py-charset-normalizer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>=2.5,<4.0:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=2017.4.17:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3,<5.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}filelock>=3.5,<4.0:sysutils/py-filelock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.4.0:devel/py-sortedcontainers@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.6.0,<4.0.0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR} + +.include diff --git a/databases/py-snowflake-connector-python/distinfo b/databases/py-snowflake-connector-python/distinfo new file mode 100644 index 000000000000..ed242d01ca82 --- /dev/null +++ b/databases/py-snowflake-connector-python/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1697518750 +SHA256 (snowflake-connector-python-3.2.1.tar.gz) = 2f92112964e4d36c67dbcf900f0b6c4b56a4ab0b3cf44a0d166d290e867a9d8b +SIZE (snowflake-connector-python-3.2.1.tar.gz) = 419953 diff --git a/databases/py-snowflake-connector-python/pkg-descr b/databases/py-snowflake-connector-python/pkg-descr new file mode 100644 index 000000000000..bd32aa3fd179 --- /dev/null +++ b/databases/py-snowflake-connector-python/pkg-descr @@ -0,0 +1,11 @@ +The Snowflake Connector for Python conforms to the Python DB API 2.0 +specification. + +The Snowflake Connector for Python provides an interface for developing Python +applications that can connect to Snowflake and perform all standard +operations. It provides a programming alternative to developing applications in +Java or C/C++ using the Snowflake JDBC or ODBC drivers. + +The connector has no dependencies on JDBC or ODBC. It can be installed using pip +on Linux, Mac OSX, and Windows platforms where Python 3.8.0 (or higher) is +installed.