mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
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
This commit is contained in:
parent
3a07ef9c65
commit
cdee0fdd4d
@ -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
|
||||
|
24
databases/py-mariadb/Makefile
Normal file
24
databases/py-mariadb/Makefile
Normal file
@ -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 <bsd.port.mk>
|
3
databases/py-mariadb/distinfo
Normal file
3
databases/py-mariadb/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1700175623
|
||||
SHA256 (mariadb-1.1.8.tar.gz) = f73f1269dad5f14aee20b48ca56db7d90a51f2d5971a400c7d66e16b3976b4c9
|
||||
SIZE (mariadb-1.1.8.tar.gz) = 85307
|
4
databases/py-mariadb/pkg-descr
Normal file
4
databases/py-mariadb/pkg-descr
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user