Port details |
- py-pyodbc ODBC connections for python
- 5.0.1_1 databases
=3 5.0.1Version of this port present on the latest quarterly branch. - Maintainer: rob.kruus@gmail.com
 - Port Added: 2017-07-18 23:40:28
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: nagios-check_hdd_health, nuitka-py311, monit, py311-beautifulsoup, openmdns
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/mkleehammer/pyodbc
- Description:
- pyodbc is a Python module that allows you to use ODBC to connect to
almost any database from Windows, Linux, OS/X, and more.
It implements the Python Database API Specification v2.0, but
additional features have been added to simplify database
programming even more.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pyodbc>0:databases/py-pyodbc@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-pyodbc/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-pyodbc
- pkg install py311-pyodbc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pyodbc listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pyodbc
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1705824189
SHA256 (pyodbc-5.0.1.tar.gz) = 03d7d0b04d5a9156099ce8d03e92f3956783746fa9234eb6f5b5cfc12b645011
SIZE (pyodbc-5.0.1.tar.gz) = 115228
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- unixODBC>=2.2.14 : databases/unixODBC
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- Library dependencies:
-
- libodbc.so : databases/unixODBC
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- databases_py-pyodbc
- USES:
- localbase python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.0.1_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
5.0.1 21 Jan 2024 08:06:34
    |
Wen Heping (wen)  |
databases/py-pyodbc: Update to 5.0.1 and fix build with python-3.11
PR: 275494
Approved by: portmgr(blanket, fix build) |
4.0.32 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
4.0.32 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
4.0.32 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
4.0.32 20 Jul 2022 14:21:07
    |
Tobias C. Berner (tcberner)  |
databases: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* "Mahdi Mokhtari <mokhi64@gmail.com>"
* "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
* <hvo.pm@xs4all.nl>
* <jsmith@resonatingmedia.com>
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Snelson <Alan@Wave2.org> (Only the first 15 lines of the commit message are shown above ) |
4.0.32 20 Dec 2021 10:12:08
    |
Li-Wen Hsu (lwhsu)  Author: Robert Kruus |
databases/py-pyodbc: Update to 4.0.32
PR: 258369 |
4.0.30 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
4.0.30 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
4.0.30 24 Dec 2020 13:46:02
  |
kai  |
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme. This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".
The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.
Remedy the issue by adding wildcards to these paths. This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.
[1] https://bugs.python.org/issue42604
PR: 252057
Reported by: John Kennedy
Reviewed by: fluffy, koobs
Approved by: koobs (python) |
4.0.30 25 Feb 2020 02:28:50
  |
rigoletto  |
databases/py-pyodbc: Update to 4.0.30
PR: 244284
Submitted by: Robert Kruus <rob.kruus@gmail.com> (maintainer)
Approved by: tcberner (mentor, implicit) |
4.0.24 27 Oct 2018 06:00:24
  |
wen  |
- Update to 4.0.24
PR: 232567
Submitted by: rob.kruus@gmail.com(maintainer) |
4.0.21 17 Nov 2017 08:15:04
  |
wen  |
- Update to 4.0.21
PR: 223711
Submitted by: rob.kruus@gmail.com(maintainer) |
4.0.17 18 Jul 2017 23:40:21
  |
dbaio  |
databases/py-odbc: Update to 4.0.17, Rename to databases/py-pyodbc
Rename to comply with PyPI scheme
While here:
- Switch to USES=localbase and remove a patch that does the same
- STRIP pyodbc.so
PR: 220305
Submitted by: rob.kruus@gmail.com (maintainer)
Approved by: garga (mentor)
Differential Revision: https://reviews.freebsd.org/D11587 |