Page MenuHomeFreeBSD

devel/py-gitpython: updating to 2.1.7 version.

Authored by rigoletto on Oct 4 2017, 1:03 AM.


  • update to 2.1.7 version
  • switch to DISTVERSION

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Upstream is confused about devel/py-gitdb requirement: require "devel/py-gitdb2" but in requirements.txt tell "devel/py-gitdb".

Based on the current (old) port, I assumed upstream requirements.txt is outdated, since the version required in that file is old and the same of the rather outdated currently available port..

A closer look in the and it seems flake8 nor coverage are actually not necessary.

Removing py-coverage and py-flake8 from TEST_DEPENDS.

tcberner removed a reviewer: tcberner.

Oki, looking good

This revision is now accepted and ready to land.Oct 5 2017, 6:05 AM
sunpoet requested changes to this revision.Oct 6 2017, 10:22 AM
sunpoet added a subscriber: sunpoet.
sunpoet added inline comments.
17 ↗(On Diff #33708)

According to requirements.txt, unittest2 is required for python 2.6 or below.

24 ↗(On Diff #33708)

Use do-test: instead.

This revision now requires changes to proceed.Oct 6 2017, 10:22 AM

Remove the devel/py-unittest2 dependency, switch 'regression-test:' to 'do-test:'.

24 ↗(On Diff #33708)

Sorry for not being clear enough.
I meant to replace the whole line with "do-test:" since it is part of the test framework which sequence is "build, stage, test".

21 ↗(On Diff #33774)

It's good to add USE_PYTHON=concurrent which allows installing this port with different python versions at the same time.

Done. Thanks!

24 ↗(On Diff #33708)

I thought of that but I could not find a reference of the use of "build" in "regression-test:" or "do-test:" I kept it.

21 ↗(On Diff #33774)

I knew about the "concurrent" feature but as I know (and use) very little about python, I was not sure if/when I should use or not.

Is it considered a good practice to add concurrent by default to python related ports?

This revision was automatically updated to reflect the committed changes.