import databases/py-pymysql, tweak/ok jca@
PyMySQL is a pure-Python MySQL client library, based on PEP 249. Most public APIs are compatible with mysqlclient and MySQLdb. If you would like to use "sha256_password" or "caching_sha2_password" for authentication, you need to also install the py3-cryptography package.
This commit is contained in:
parent
27dd9a77d4
commit
f9112914bb
28
databases/py-pymysql/Makefile
Normal file
28
databases/py-pymysql/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2020/06/01 20:53:57 sthen Exp $
|
||||
|
||||
COMMENT = MySQL driver in pure Python
|
||||
|
||||
MODPY_EGG_VERSION = 0.9.3
|
||||
|
||||
DISTNAME = PyMySQL-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME:L}
|
||||
|
||||
CATEGORIES = databases
|
||||
|
||||
HOMEPAGE = https://github.com/PyMySQL/PyMySQL/
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?= python3
|
||||
|
||||
# requires database setup
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/py-pymysql/distinfo
Normal file
2
databases/py-pymysql/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (PyMySQL-0.9.3.tar.gz) = 2MBZ3Ngd7bhanwNNXiLctEQsCyAZCL7emeMG1l6nyOc=
|
||||
SIZE (PyMySQL-0.9.3.tar.gz) = 75293
|
6
databases/py-pymysql/pkg/DESCR
Normal file
6
databases/py-pymysql/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
PyMySQL is a pure-Python MySQL client library, based on PEP 249.
|
||||
Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||
|
||||
If you would like to use "sha256_password" or "caching_sha2_password"
|
||||
for authentication, you need to also install the ${MODPY_PY_PREFIX}cryptography
|
||||
package.
|
54
databases/py-pymysql/pkg/PLIST
Normal file
54
databases/py-pymysql/pkg/PLIST
Normal file
@ -0,0 +1,54 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/06/01 20:53:57 sthen Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/PyMySQL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}_auth.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}_socketio.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}charset.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}connections.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}converters.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}cursors.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}err.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}optionfile.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}protocol.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}times.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/_auth.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/_compat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/_socketio.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/charset.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/connections.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/CLIENT.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/COMMAND.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/CR.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/ER.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/FIELD_TYPE.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/FLAG.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/SERVER_STATUS.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}CLIENT.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}COMMAND.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}CR.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}ER.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}FIELD_TYPE.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}FLAG.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}SERVER_STATUS.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/constants/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/converters.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/cursors.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/err.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/optionfile.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/protocol.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/times.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pymysql/util.py
|
Loading…
Reference in New Issue
Block a user