Python interface to MySQL
MySQLdb is an interface to the popular MySQL database server for Python.
The design goals are:
- Compliance with Python database API version 2.0
- Thread-safety
- Thread-friendliness (threads will not block each other)
- Compatibility with MySQL-3.22 and later
This module should be mostly compatible with an older interface
written by Joe Skinner and others. However, the older version is
a) not thread-friendly, b) written for MySQL 3.21, c) apparently
not actively maintained. No code from that version is used in
MySQLdb. MySQLdb is free software.
WWW: https://github.com/farcepest/MySQLdb1
===> The following configuration options are available for py27-MySQLdb-1.2.5_2:
DOCS=on: Build and/or install documentation
MYSQLCLIENT_R=on: Use libmysqlclient_r (thread safe)
===> Use 'make config' to modify these settings
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
bases/py-MySQLdb: Fix build with MariaDB 10.2.7
With MariaDB 10.2.6 the Connect/C is updated to ~3.0. This means the C interface
changed slightly and some functions are changed.
- Replace direct struct access with accessor in _mysql.c
- Add LICENSE/LICENSE_FILE
- Strip Binaries
- Remove conflict with itself
PR: 219797
Reviewed_by: sunpoet, koobs, brnrd
Submitted by: sirl33tname@gmail.com
Approved by: koobs (python)
Differential Revision: https://reviews.freebsd.org/D11054
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
- make py*-MySQLdb ports actually conflict with each other [1]
while here:
- do not use easy_install and add stage support
- convert to auto-generated packing list
- bump PORTREVISION
- add py-MySQLdb56 port as a slave to py-MySQLdb
PR: 177620 [1] (based on)
Submitted by: Craig Leres <leres@ee.lbl.gov>
Approved by: maintainer timeout (10 months)
- modify port to install the egg file as an unzipped archive
otherwise www/google-appengine 1.7.0 will fail
Submitted by: nivit
Reviewed by: tj
Obtained from: email via tj
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
- Change default mysql lib to libmysqlclient_r.
WITHOUT_MYSQLCLIENT_R=yes use libmysqlclient.
- Update very old pkg-descr
PR: ports/77284
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> (maintainer)
- Convert hard py- into PKGNAMEPREFIX
- Convert OPTIONS to plain knobs
- Add conflict with devel version
PR: ports/75220
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> (maintainer)
- Use OPTIONS and add various knob [1]
- Fix build with mysql-client-5.0.x [2]
- Pass maintainership to submitter of [1]
PRs: ports/72656 [1],
ports/70082 [2]
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> [1],
Roman Bogorodskiy <bogorodskiy@inbox.ru> [2]
[patch] databases/py-MySQLdb: take maintainership and misc improvement.
* Use USE_MYSQL and BROKEN_WITH_MYSQL for 4.1.x since it doesn't work
(thanks to Guy Middleton <guy@obstruction.com> for testing it with MySQL
4.0.x)
* use %%DOCSDIR%%
* take maintainership
PR: ports/56579
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Let be hohest: I really don't have a time now to properly maintain all
these great pieces of software, so that let others with more free time
to take over them.