From nobody Mon Sep 30 14:08:41 2024 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 4XHNGL1CCJz5X8pg; Mon, 30 Sep 2024 14:08: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHNGL08L8z4PWv; Mon, 30 Sep 2024 14:08:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727705322; 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=czb5ajm9JhZk8UE4ZmdkLO+kuWsXt9QfoeeL8vozHrI=; b=ZGhXefOVwg3VMGOu6zBHPjff081JgYjFZ5IILBGdnPPjXohkxr3KfCgECvGXd4fEQXxQfs S8Kl3hMCJXjs/H5TeRUb+C8D5j/axp29oJPmmddy17vDENeFOTc+StjsNY1UP72HLo9wcf TVkaOCgSlygUd2cbWH7UcZZsmdNfJ7TKWvj/3aq9F+pmJdEztcEhSlF032tUxICyi/4Omr V5OWWO6jFLEfQR+V8fVBV+B5f5CZ8Cb8qfln0RgpIVqqZkNCwsEd3EcCsNTD9gQunHaGBR qMTBvfzJFzm5ln5VgfeiEzqzenSUea+os8wFhbPpucTXWQwOMjHDezE4K7SQ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727705322; 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=czb5ajm9JhZk8UE4ZmdkLO+kuWsXt9QfoeeL8vozHrI=; b=BWbQedwZF4tUyI557Bd/A0nTGL2D0YGqccqKvovYyEh3e0lC4f9l3rNNToiKAJK67XSdx0 oHNl3ACE5bOGmUv/5v0H3QE9+jmyke9GuAyUwUHj7d3SzMpzRReRDT1DfDOIuHZ03a9JS6 +5Sl7O+FDShp3E619p4mFkBRBJNTblnZ2s00djBoF7qZ9MC900ZeWSytb/sshOIPF1e6rJ 90ws6ctwHsDKPrmnJOUN8OmYmBkqs01WuKjQ/bi/kbwk6iZIgUVuWW/TcrbSsaZK9ebqWV HGjB4wbScbgAB6InomumxPQLhqWntwo53U4shH+DK4SjeP6D/6SgZ37I9nf4NA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727705322; a=rsa-sha256; cv=none; b=wO/6sYMq+0zvRQJtgjarD5c4FCT3WBG3PhSqv5fdc7gcy4XCVyUdXFrW+RwXGklQ3SpAqC /tQevxy5KuumnkeSTK0zkupe3I9QogZaFKJyZ5BNHcBUO8OZVjdg0KBytleip9CpaffRXD 9Fdk4QQQ0ErpJpBP+PEmQv7NIsW23ieV1N1YnvW4e2RF1fPq1VZiYy2N3SCbK7TiE9QXll fmsSxMe03eKf3cEhfLrfGQ5UnBbXCex7V3QM9xHqds2G/OQ0mJu+zCZ8ZbtosHnNlV/IvM hnFg79H4Pz4vdj6WOtWWIADOJRJjqQeIu48sG9jPYp3GJD6M7RlwbpPCP4Hr0w== 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 4XHNGK6BKHzwgq; Mon, 30 Sep 2024 14:08:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48UE8fpC072141; Mon, 30 Sep 2024 14:08:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48UE8fmC072138; Mon, 30 Sep 2024 14:08:41 GMT (envelope-from git) Date: Mon, 30 Sep 2024 14:08:41 GMT Message-Id: <202409301408.48UE8fmC072138@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: cdee0fdd4da9 - main - databases/py-mariadb: New port: Python MariaDB extension 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cdee0fdd4da947d470da0f2d686e40fdf602507e Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=cdee0fdd4da947d470da0f2d686e40fdf602507e commit cdee0fdd4da947d470da0f2d686e40fdf602507e Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2023-12-09 23:11:10 +0000 Commit: Robert Clausecker CommitDate: 2024-09-30 14:02:00 +0000 databases/py-mariadb: New port: Python MariaDB extension MariaDB Connector/Python enables python programs to access MariaDB and MySQL databases, using an API which is compliant with the Python DB API 2.0 (PEP-249). It is written in C and Python and uses MariaDB Connector/C client library for client server communication. WWW: https://www.github.com/mariadb-corporation/mariadb-connector-python PR: 275157 --- databases/Makefile | 1 + databases/py-mariadb/Makefile | 24 ++++++++++++++++++++++++ databases/py-mariadb/distinfo | 3 +++ databases/py-mariadb/pkg-descr | 4 ++++ 4 files changed, 32 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 471da2fdccf3..c7e0cf48ecf9 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -781,6 +781,7 @@ SUBDIR += py-leveldb SUBDIR += py-litecli SUBDIR += py-lmdb + SUBDIR += py-mariadb SUBDIR += py-marshmallow-sqlalchemy SUBDIR += py-minidb SUBDIR += py-mongoengine diff --git a/databases/py-mariadb/Makefile b/databases/py-mariadb/Makefile new file mode 100644 index 000000000000..e6d27090edfa --- /dev/null +++ b/databases/py-mariadb/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mariadb +DISTVERSION= 1.1.8 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Python MariaDB extension +WWW= https://www.github.com/mariadb-corporation/mariadb-connector-python + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} +LIB_DEPENDS= libmariadb.so:databases/mariadb-connector-c +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_mariadb.cpython-${PYTHON_VER:S/.//1}.so + +.include diff --git a/databases/py-mariadb/distinfo b/databases/py-mariadb/distinfo new file mode 100644 index 000000000000..54a6e623c5cf --- /dev/null +++ b/databases/py-mariadb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700175623 +SHA256 (mariadb-1.1.8.tar.gz) = f73f1269dad5f14aee20b48ca56db7d90a51f2d5971a400c7d66e16b3976b4c9 +SIZE (mariadb-1.1.8.tar.gz) = 85307 diff --git a/databases/py-mariadb/pkg-descr b/databases/py-mariadb/pkg-descr new file mode 100644 index 000000000000..b4fb69bc6747 --- /dev/null +++ b/databases/py-mariadb/pkg-descr @@ -0,0 +1,4 @@ +MariaDB Connector/Python enables python programs to access MariaDB +and MySQL databases, using an API which is compliant with the Python +DB API 2.0 (PEP-249). It is written in C and Python and uses MariaDB +Connector/C client library for client server communication.