The following reply was made to PR ports/183477; it has been noted by GNATS.
From: Kubilay Kocak <koobs.free...@gmail.com> To: bug-follo...@freebsd.org, kozlov.sergey....@gmail.com Cc: Volodymyr Kostyrko <c.kw...@gmail.com> Subject: Re: ports/183477: [patch] databases/py-mysql2pgsql dependency fix Date: Sat, 30 Nov 2013 16:42:53 +1100 This is a multi-part message in MIME format. --------------000303040002040807080300 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Volodymyr is correct, argparse is part of the standard library in 2.7 and 3.2+, and py-mysql2pgsql is *incorrectly* including argparse unconditionally in install_requires. I have just committed a fix to the devel/py-tox port [1], to correctly model the conditional inclusion of argparse based on Python version, that the tox authors correctly specify in their setup.py [2] after a similar bug report [3] [1] http://svnweb.freebsd.org/ports?view=revision&revision=335263 [2] https://bitbucket.org/hpk42/tox/diff/setup.py?diff2=f20abdbeb930&at=default [3] https://bitbucket.org/hpk42/tox/issue/5 I have attached a patch to pymysql2pgsql to do the same, I suggest someone open an issue or submit a Pull Request, so it is fixed upstream: https://github.com/philipsoutham/py-mysql2pgsql/ --------------000303040002040807080300 Content-Type: text/plain; charset=windows-1252; name="py-mysql2pgsql-argparse-fix.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="py-mysql2pgsql-argparse-fix.patch" SW5kZXg6IGZpbGVzL3BhdGNoLXNldHVwLnB5Cj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGZpbGVzL3Bh dGNoLXNldHVwLnB5CShyZXZpc2lvbiAwKQorKysgZmlsZXMvcGF0Y2gtc2V0dXAucHkJKHdv cmtpbmcgY29weSkKQEAgLTAsMCArMSwyMCBAQAorLS0tIC4vc2V0dXAucHkub3JpZwkyMDEz LTExLTMwIDE2OjMzOjA0LjkxNzM2NDgwMyArMTEwMAorKysrIC4vc2V0dXAucHkJMjAxMy0x MS0zMCAxNjozMzozNS45ODI2MTM2NTUgKzExMDAKK0BAIC01LDEzICs1LDE1IEBACisgICAg ICdteXNxbC1weXRob24+PTEuMi4zJywgCisgICAgICdwc3ljb3BnMj49Mi40LjInLAorICAg ICAncHl5YW1sPj0zLjEwLjAnLAorLSAgICAnYXJncGFyc2UnLAorICAgICAncHl0eicsCisg XQorIAorIGlmIG9zLm5hbWUgPT0gJ3Bvc2l4JzoKKyAgICAgaW5zdGFsbF9yZXF1aXJlcy5h cHBlbmQoJ3Rlcm1jb2xvcj49MS4xLjAnKQorLSAgICAKKysKKytpZiB2ZXJzaW9uIDwgKDIs Nykgb3IgKDMsMCkgPD0gdmVyc2lvbiA8PSAoMywxKToKKysgICAgaW5zdGFsbF9yZXF1aXJl cyArPSBbJ2FyZ3BhcnNlJ10KKysKKyBzZXR1cCgKKyAgICAgbmFtZT0ncHktbXlzcWwycGdz cWwnLAorICAgICB2ZXJzaW9uPScwLjEuNicsCgpQcm9wZXJ0eSBjaGFuZ2VzIG9uOiBmaWxl cy9wYXRjaC1zZXR1cC5weQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCkFkZGVkOiBzdm46bWltZS10eXBlCiMj IC0wLDAgKzEgIyMKK3RleHQvcGxhaW4KXCBObyBuZXdsaW5lIGF0IGVuZCBvZiBwcm9wZXJ0 eQpBZGRlZDogc3ZuOmtleXdvcmRzCiMjIC0wLDAgKzEgIyMKK0ZyZWVCU0Q9JUgKXCBObyBu ZXdsaW5lIGF0IGVuZCBvZiBwcm9wZXJ0eQpBZGRlZDogZmJzZDpub2tleXdvcmRzCiMjIC0w LDAgKzEgIyMKK3llcwpcIE5vIG5ld2xpbmUgYXQgZW5kIG9mIHByb3BlcnR5CkFkZGVkOiBz dm46ZW9sLXN0eWxlCiMjIC0wLDAgKzEgIyMKK25hdGl2ZQpcIE5vIG5ld2xpbmUgYXQgZW5k IG9mIHByb3BlcnR5Cg== --------------000303040002040807080300-- _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"