Bug 220305

Summary: databases/py-odbc: Update to 4.0.17, Rename to databases/py-pyodbc
Product: Ports & Packages Reporter: Robert Kruus <rob.kruus>
Component: Individual Port(s)Assignee: Danilo G. Baio <dbaio>
Status: Closed FIXED    
Severity: Affects Only Me CC: dbaio, rob.kruus
Priority: --- Keywords: needs-qa
Version: LatestFlags: dbaio: maintainer-feedback+
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D11587
Attachments:
Description Flags
Patch to Makefile, distinfo and patch file none

Description Robert Kruus 2017-06-27 14:57:34 UTC
Created attachment 183841 [details]
Patch to Makefile, distinfo and patch file

Update the port to the latest version and fix the tabs that snuck into the patch file.
Comment 1 Robert Kruus 2017-06-27 15:27:28 UTC
Oh, as an aside, the port name  should probably be changed to py-pyodbc to match the pypi naming.
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2017-07-13 21:48:38 UTC
I've submitted this for review with a few changes:
  - Switch to USES=localbase and remove a patch that does the same
  - STRIP pyodbc.so

Let me know if you agree.

Regards.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-14 10:49:45 UTC
(In reply to Danilo G. Baio from comment #2)

Both changes mentioned are Approved by: portmgr (blanket, infrastructure) and don't require maintainer approval.

Also, setup.py doesnt mention setuptools in any *_requires, so can be removed as a BUILD_DEPENDS (additionally, but not an unconditional reason: python.mk adds setuptools already as a BUILD/RUN dependency)

Further, when adding a review to a bug, obsolete the patches (attachments), OR (more work) keep the attachments up to date. There should only ever be one (obvious) authoritative source of a changeset.

Obsoleted attachments are not deleted, so they can be viewed by anyone in the future if necessary.
Comment 4 Robert Kruus 2017-07-14 14:13:02 UTC
I am OK with any changes you suggest.  I am certainly no ports guru -- I just know enough to be dangerous.
Comment 5 Danilo G. Baio freebsd_committer freebsd_triage 2017-07-14 16:02:50 UTC
Comment on attachment 183841 [details]
Patch to Makefile, distinfo and patch file

New patch in review D11587
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-07-18 23:40:28 UTC
A commit references this bug:

Author: dbaio
Date: Tue Jul 18 23:40:22 UTC 2017
New revision: 446179
URL: https://svnweb.freebsd.org/changeset/ports/446179

Log:
  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

Changes:
  head/MOVED
  head/databases/Makefile
  head/databases/py-odbc/
  head/databases/py-pyodbc/
  head/databases/py-pyodbc/Makefile
  head/databases/py-pyodbc/distinfo
  head/databases/py-pyodbc/files/
Comment 7 Danilo G. Baio freebsd_committer freebsd_triage 2017-07-18 23:42:17 UTC
Committed, thanks.
Comment 8 commit-hook freebsd_committer freebsd_triage 2017-07-28 00:05:07 UTC
A commit references this bug:

Author: dbaio
Date: Fri Jul 28 00:04:54 UTC 2017
New revision: 50593
URL: https://svnweb.freebsd.org/changeset/doc/50593

Log:
  Add Robert Kruus to contributors

  Maintainer of:
    databases/py-pyodbc
    devel/py-tzlocal

  PR:		220305

Changes:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml