Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 02:40:24 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 611f412a571c - main - databases/py-cymysql: Add py-cymysql 1.0.3
Message-ID:  <202411270240.4AR2eOfi014872@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=611f412a571cc026638b6e088b6dbc51ed0f9cb1

commit 611f412a571cc026638b6e088b6dbc51ed0f9cb1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-27 02:32:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-27 02:32:54 +0000

    databases/py-cymysql: Add py-cymysql 1.0.3
    
    CyMySQL contains a python MySQL client library.
    
    It is a fork project from PyMySQL.
    
    CyMySQL is accerarated by Cython and supports Python versions 2 and 3.
---
 databases/Makefile             |  1 +
 databases/py-cymysql/Makefile  | 23 +++++++++++++++++++++++
 databases/py-cymysql/distinfo  |  3 +++
 databases/py-cymysql/pkg-descr |  5 +++++
 4 files changed, 32 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index dd01bdb43647..fb562ca9e84d 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -757,6 +757,7 @@
     SUBDIR += py-carbon
     SUBDIR += py-cassandra-driver
     SUBDIR += py-couchdb
+    SUBDIR += py-cymysql
     SUBDIR += py-databases
     SUBDIR += py-dbf
     SUBDIR += py-dbt-core
diff --git a/databases/py-cymysql/Makefile b/databases/py-cymysql/Makefile
new file mode 100644
index 000000000000..70295681169d
--- /dev/null
+++ b/databases/py-cymysql/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	cymysql
+PORTVERSION=	1.0.3
+CATEGORIES=	databases python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python MySQL Driver using Cython
+WWW=		https://github.com/nakagami/CyMySQL
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent cython pep517
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/databases/py-cymysql/distinfo b/databases/py-cymysql/distinfo
new file mode 100644
index 000000000000..0192d8612489
--- /dev/null
+++ b/databases/py-cymysql/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1732260888
+SHA256 (cymysql-1.0.3.tar.gz) = 26467822780bf8301f1503eea106d1ce7ee06709f336f35dd593ff21e6d5b1ce
+SIZE (cymysql-1.0.3.tar.gz) = 52719
diff --git a/databases/py-cymysql/pkg-descr b/databases/py-cymysql/pkg-descr
new file mode 100644
index 000000000000..76070bd147fb
--- /dev/null
+++ b/databases/py-cymysql/pkg-descr
@@ -0,0 +1,5 @@
+CyMySQL contains a python MySQL client library.
+
+It is a fork project from PyMySQL.
+
+CyMySQL is accerarated by Cython and supports Python versions 2 and 3.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411270240.4AR2eOfi014872>