Bug 209548 - [NEW PORT]: databases/py-mysqlclient: MySQL database connector for Python
Summary: [NEW PORT]: databases/py-mysqlclient: MySQL database connector for Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-16 14:12 UTC by Neel Chauhan
Modified: 2016-06-22 20:38 UTC (History)
2 users (show)

See Also:


Attachments
Shar file for databases/py-mysqlclient (2.10 KB, text/plain)
2016-05-16 14:12 UTC, Neel Chauhan
no flags Details
databases/py-MySQLdb patch to avoid conflicts (446 bytes, patch)
2016-05-16 14:13 UTC, Neel Chauhan
no flags Details | Diff
Shar file for databases/py-mysqlclient (2.10 KB, text/plain)
2016-05-16 14:14 UTC, Neel Chauhan
no flags Details
Poudriere build log for databases/py-mysqlclient on FreeBSD 10.3 (23.30 KB, text/x-log)
2016-05-16 14:14 UTC, Neel Chauhan
no flags Details
Poudriere build log for databases/py-mysqlclient on FreeBSD 9.3 (23.05 KB, text/x-log)
2016-05-16 14:29 UTC, Neel Chauhan
no flags Details
Shar file for databases/py-mysqlclient (UPDATE 1) (1.90 KB, text/plain)
2016-06-22 18:44 UTC, Neel Chauhan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neel Chauhan freebsd_committer freebsd_triage 2016-05-16 14:12:18 UTC
Created attachment 170354 [details]
Shar file for databases/py-mysqlclient

Keep in mind that this port conflicts with databases/py-MySQLdb. I will also include a patch for databases/py-MySQLdb to avoid conflicts.
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2016-05-16 14:13:34 UTC
Created attachment 170355 [details]
databases/py-MySQLdb patch to avoid conflicts
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2016-05-16 14:14:20 UTC
Created attachment 170356 [details]
Shar file for databases/py-mysqlclient
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2016-05-16 14:14:54 UTC
Created attachment 170357 [details]
Poudriere build log for databases/py-mysqlclient on FreeBSD 10.3
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2016-05-16 14:29:27 UTC
Created attachment 170360 [details]
Poudriere build log for databases/py-mysqlclient on FreeBSD 9.3
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2016-06-22 17:40:52 UTC
X.if ${PORT_OPTIONS:MMYSQLCLIENT_R}
Xpre-configure:
X	@${REINPLACE_CMD} -E -e "s|(threadsafe.*)True|\1 False|" \
X		${WRKSRC}/site.cfg
X.endif

Is this condition is reversed? It does opposite thing to option description.
Comment 6 Neel Chauhan freebsd_committer freebsd_triage 2016-06-22 18:44:30 UTC
Created attachment 171690 [details]
Shar file for databases/py-mysqlclient (UPDATE 1)

Well, here is a patch which removes the "reversal".

-Neel
Comment 7 commit-hook freebsd_committer freebsd_triage 2016-06-22 20:36:27 UTC
A commit references this bug:

Author: pawel
Date: Wed Jun 22 20:36:20 UTC 2016
New revision: 417332
URL: https://svnweb.freebsd.org/changeset/ports/417332

Log:
  MySQL database connector for Python (with Python 3 support).

  WWW: https://github.com/PyMySQL/mysqlclient-python

  PR:		209548
  Submitted by:	Neel Chauhan <neel@neelc.org>

Changes:
  head/databases/Makefile
  head/databases/py-mysqlclient/
  head/databases/py-mysqlclient/Makefile
  head/databases/py-mysqlclient/distinfo
  head/databases/py-mysqlclient/pkg-descr