FreeBSD Bugzilla – Attachment 183841 Details for
Bug 220305
databases/py-odbc: Update to 4.0.17, Rename to databases/py-pyodbc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to Makefile, distinfo and patch file
py-odbc.patch (text/plain), 2.24 KB, created by
Robert Kruus
on 2017-06-27 14:57:34 UTC
(
hide
)
Description:
Patch to Makefile, distinfo and patch file
Filename:
MIME Type:
Creator:
Robert Kruus
Created:
2017-06-27 14:57:34 UTC
Size:
2.24 KB
patch
obsolete
>--- py-odbc.orig/Makefile 2017-01-17 11:29:32.000000000 -0600 >+++ py-odbc/Makefile 2017-06-27 08:35:50.003471000 -0600 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/databases/py-odbc/Makefile 431764 2017-01-17 17:29:32Z amdmi3 $ > > PORTNAME= pyodbc >-PORTVERSION= 4.0.1 >+PORTVERSION= 4.0.17 > CATEGORIES= databases python > MASTER_SITES= CHEESESHOP/source/p/${PORTNAME} > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >--- py-odbc.orig/distinfo 2017-01-17 11:29:32.000000000 -0600 >+++ py-odbc/distinfo 2017-06-27 08:35:56.990162000 -0600 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1484673680 >-SHA256 (pyodbc-4.0.1.tar.gz) = ddd8d14f2206c790e583cdc4a09f934f0d2e12e56f3bc8d5e90b0960d1c96f8c >-SIZE (pyodbc-4.0.1.tar.gz) = 190668 >+TIMESTAMP = 1498574156 >+SHA256 (pyodbc-4.0.17.tar.gz) = a82892ba8d74318524efaaccaf8351d3a3b4079a07e1a758902a2b9e84529c9d >+SIZE (pyodbc-4.0.17.tar.gz) = 196514 >--- files/patch-setup.py.old 2017-06-27 08:47:51.736875000 -0600 >+++ files/patch-setup.py 2017-06-27 08:47:14.529055000 -0600 >@@ -1,17 +1,17 @@ >---- setup.py.orig 2015-04-29 16:10:15 UTC >+--- setup.py.orig 2017-03-01 17:28:07 UTC > +++ setup.py >-@@ -187,6 +187,15 @@ def get_compiler_settings(version_str): >+@@ -189,6 +189,15 @@ def get_compiler_settings(version_str): > # What is the proper way to detect iODBC, MyODBC, unixODBC, etc.? > settings['libraries'].append('odbc') > >-+ if sys.platform.startswith('freebsd'): >-+ settings['library_dirs'] = ['/usr/local/lib/'] >-+ settings['include_dirs'] = ['/usr/local/include/'] >-+ freebsd_prefix = '/usr/local' >-+ if 'PREFIX' in os.environ: >-+ freebsd_prefix = os.environ['PREFIX'] >-+ if 'PYTHONPREFIX_SITELIBDIR' in os.environ: >-+ sys.path.append('/'.join(freebsd_prefix, os.environ['PYTHONPREFIX_SITELIBDIR'])) >++ if sys.platform.startswith('freebsd'): >++ settings['library_dirs'] = ['/usr/local/lib/'] >++ settings['include_dirs'] = ['/usr/local/include/'] >++ freebsd_prefix = '/usr/local' >++ if 'PREFIX' in os.environ: >++ freebsd_prefix = os.environ['PREFIX'] >++ if 'PYTHONPREFIX_SITELIBDIR' in os.environ: >++ sys.path.append('/'.join(freebsd_prefix, os.environ['PYTHONPREFIX_SITELIBDIR'])) > + > return settings >
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 220305
:
183841