FreeBSD Bugzilla – Attachment 246944 Details for
Bug 275157
[NEW PORT] databases/py-mariadb: Python MariaDB extension
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-mariadb-1.1.8.patch
0001-databases-py-mariadb-New-port-Python-MariaDB-extensi.patch (text/plain), 3.10 KB, created by
Jesús Daniel Colmenares Oviedo
on 2023-12-09 23:10:04 UTC
(
hide
)
Description:
py-mariadb-1.1.8.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2023-12-09 23:10:04 UTC
Size:
3.10 KB
patch
obsolete
>From 885f8229971a8ac8b1af786c8b15f13b2b0847d3 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Sat, 9 Dec 2023 19:11:10 -0400 >Subject: [PATCH] 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 >--- > databases/Makefile | 1 + > databases/py-mariadb/Makefile | 27 +++++++++++++++++++++++++++ > databases/py-mariadb/distinfo | 3 +++ > databases/py-mariadb/pkg-descr | 4 ++++ > 4 files changed, 35 insertions(+) > create mode 100644 databases/py-mariadb/Makefile > create mode 100644 databases/py-mariadb/distinfo > create mode 100644 databases/py-mariadb/pkg-descr > >diff --git a/databases/Makefile b/databases/Makefile >index 2b0370ca62..49171d4d63 100644 >--- a/databases/Makefile >+++ b/databases/Makefile >@@ -767,6 +767,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 0000000000..c5d0a7b17d >--- /dev/null >+++ b/databases/py-mariadb/Makefile >@@ -0,0 +1,27 @@ >+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 >+ >+NO_ARCH= yes >+NO_ARCH_IGNORE= _mariadb.cpython-${PYTHON_VER:S/.//1}.so >+ >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_mariadb.cpython-${PYTHON_VER:S/.//1}.so >+ >+.include <bsd.port.mk> >diff --git a/databases/py-mariadb/distinfo b/databases/py-mariadb/distinfo >new file mode 100644 >index 0000000000..54a6e623c5 >--- /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 0000000000..b4fb69bc67 >--- /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. >-- >2.42.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
DtxdF
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 275157
:
246378
| 246944