FreeBSD Bugzilla – Attachment 229746 Details for
Bug 260067
databases/py-asyncpg: fix build with python 3.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
py-asyncpg.patch (text/plain), 1.47 KB, created by
Dmitry Marakasov
on 2021-11-26 18:18:38 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2021-11-26 18:18:38 UTC
Size:
1.47 KB
patch
obsolete
>commit e05c748cc0e3bc08e2df7930cd43d3d5e564606b >Author: Dmitry Marakasov <amdmi3@FreeBSD.org> >Date: Fri Nov 26 20:36:04 2021 +0300 > > databases/py-asyncpg: fix build with python 3.11 > >diff --git databases/py-asyncpg/Makefile databases/py-asyncpg/Makefile >index 15e75d43286b..f8df3e1ef1ae 100644 >--- databases/py-asyncpg/Makefile >+++ databases/py-asyncpg/Makefile >@@ -14,11 +14,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE > > USES= cpe pgsql:9.2+ python:3.6+ > CPE_VENDOR= magic >-USE_PYTHON= autoplist concurrent distutils >+USE_PYTHON= autoplist concurrent cython distutils > > OPTIONS_DEFINE= DOCS > PORTDOCS= PKG-INFO README.rst > >+post-extract: >+ @${RM} ${WRKSRC}/asyncpg/pgproto/*.c >+ @${RM} ${WRKSRC}/asyncpg/protocol/*.c >+ > post-install: > @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/protocol/protocol*.so > @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/pgproto/pgproto*.so >diff --git databases/py-asyncpg/files/patch-setup.py databases/py-asyncpg/files/patch-setup.py >new file mode 100644 >index 000000000000..ed2110d636d1 >--- /dev/null >+++ databases/py-asyncpg/files/patch-setup.py >@@ -0,0 +1,11 @@ >+--- setup.py.orig 2021-11-16 22:38:59 UTC >++++ setup.py >+@@ -25,7 +25,7 @@ from setuptools.command import sdist as setuptools_sdi >+ from setuptools.command import build_ext as setuptools_build_ext >+ >+ >+-CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<0.30.0)' >++CYTHON_DEPENDENCY = 'Cython(>=0.29.24)' >+ >+ # Minimal dependencies required to test asyncpg. >+ TEST_DEPENDENCIES = [
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
Actions:
View
|
Diff
Attachments on
bug 260067
: 229746