Page MenuHomeFreeBSD

devel/py-python-pcre: updating to version 0.7
ClosedPublic

Authored by rigoletto on Oct 17 2017, 4:15 PM.
Tags
Referenced Files
Unknown Object (File)
Mar 7 2024, 1:56 AM
Unknown Object (File)
Feb 26 2024, 9:21 PM
Unknown Object (File)
Jan 16 2024, 5:36 AM
Unknown Object (File)
Jan 6 2024, 7:56 PM
Unknown Object (File)
Dec 21 2023, 10:42 PM
Unknown Object (File)
Dec 20 2023, 1:13 AM
Unknown Object (File)
Dec 15 2023, 6:22 PM
Unknown Object (File)
Dec 15 2023, 5:37 PM

Details

Summary
  • update to version 0.7
  • switch to DISTVERSION
  • add concurrent to USE_PYTHON
  • add STRIP_CMD as necessary.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mat requested changes to this revision.Oct 18 2017, 2:59 PM
mat added inline comments.
devel/py-python-pcre/Makefile
25 ↗(On Diff #34064)

You removed the :2 qualifier from USES=python, but this is 2.7 only.

This revision now requires changes to proceed.Oct 18 2017, 2:59 PM

Since the previous version was python:2 only, I think it is safe to assume a python:3 slave port is currently not necessary.
Reverting it to python:2 but maintaining concurrent for eventual future use.

rigoletto marked an inline comment as done.EditedDec 1 2017, 2:55 AM

python-pcre currently does support Python 2 and 3:

https://github.com/awahlig/python-pcre/tree/v0.7

Thanks!

AMDmi3 added inline comments.
devel/py-python-pcre/Makefile
4 ↗(On Diff #36029)

No need to use DISTVERSION here

15 ↗(On Diff #36029)

No need for BUILD_DEPENDS line at all, since it duplicates LIB_DEPENDS.

AMDmi3 requested changes to this revision.Dec 6 2017, 1:30 PM
This revision now requires changes to proceed.Dec 6 2017, 1:30 PM
rigoletto marked 2 inline comments as done.
  • switch back to PORTVERSION
  • remove BUILD_DEPENDS
devel/py-python-pcre/Makefile
4 ↗(On Diff #36029)

DISTVERSION is the preferred way of expressing the version of a software, please do not go backwards.

devel/py-python-pcre/Makefile
4 ↗(On Diff #36029)

What's the reasoning behind that? I don't see any explanation in your sole commit to PHB.

https://github.com/freebsd/freebsd-doc/commit/716727dbaf5ca7d5d82b7393028dac5b72226229

devel/py-python-pcre/Makefile
4 ↗(On Diff #36029)

Because there are two way to look at it.

The bastard kind of way that has been there for the past 12 years where it was:

  • use PORTVERSION
  • if it does not work, use DISTVERSION
  • if it does not work, use PORTVERSION and DISTNAME

And there is the way that is now documented and that is much clearer:

  • Use DISTVERSION
  • If it does not work, use PORTVERSION and possibly DISTNAME.

The second one is much easier to explain.

devel/py-python-pcre/Makefile
4 ↗(On Diff #36029)

Looks reasonable, as long as PORTVERSION stays allowed. One use for it is to preserve non-trivial upstream versions from mangling.

This revision was automatically updated to reflect the committed changes.