1. 09 Jan, 2020 1 commit
  2. 16 Dec, 2019 1 commit
  3. 06 Nov, 2019 1 commit
  4. 02 Nov, 2019 1 commit
  5. 04 Aug, 2019 1 commit
    • sunpoet's avatar
      Update PY_TYPING · 412da47d
      sunpoet authored
      devel/py-typing-extensions requires py-typing 3.7.4+.
  6. 03 Jul, 2019 2 commits
    • koobs's avatar
      Uses/python.mk: Clarify language, messaging and usage for <version-spec> · d6e2ebce
      koobs authored
      Make it clear that <version-spec> is a declarative not imperative
      specification to declare what version of Python a port or software
      *supports*, not the versions it should *use*.
      The version that gets selected is a function of Python.mk, DEFAULT_VERSIONS
      which change over time, and can be overridden or otherwise set by the user.
      While I'm here, add a special note about bare USES=python (without a
      <version-spec>), which is likely to be deprecated at some point down the
      line. In the meantime, describe what the semantics of not specifying a
      <version-spec> entails, and encourage minimisation of its use where
      Approved by:	koobs (python, maintainer)
    • wen's avatar
  7. 23 Jun, 2019 1 commit
  8. 31 May, 2019 1 commit
  9. 27 Apr, 2019 1 commit
  10. 25 Apr, 2019 1 commit
  11. 18 Apr, 2019 1 commit
  12. 16 Jan, 2019 1 commit
  13. 18 Dec, 2018 1 commit
  14. 25 Nov, 2018 1 commit
  15. 03 Nov, 2018 1 commit
  16. 06 Jul, 2018 1 commit
  17. 18 Apr, 2018 2 commits
  18. 28 Feb, 2018 1 commit
  19. 26 Feb, 2018 1 commit
  20. 15 Feb, 2018 1 commit
  21. 06 Feb, 2018 1 commit
  22. 25 Jan, 2018 1 commit
  23. 22 Jan, 2018 1 commit
  24. 21 Jan, 2018 1 commit
  25. 19 Dec, 2017 1 commit
    • mat's avatar
      Enhance USES=uniquefiles to be more generic. · e2e0f973
      mat authored
      This allows to have more complex renaming schemes.  Until now, it could
      only add a prefix or a suffix, but this was not working at all for man
      pages, because it would give man/man1/pyfoo.1.gz-2.7 or
      man/man1/pyfoo-1-2.7.gz.  With this change, a man page will be correctly
      renamed to man/man1/pyfoo-2.7.1.gz.
      Unfix ports that were already handling man pages.
      PR:		220214
      Submitted by:	Fukang Chen (previous patch)
      Exp-run by:	antoine
      Sponsored by:	Absolight
      Differential Revision:	https://reviews.freebsd.org/D13444
  26. 14 Dec, 2017 1 commit
    • mat's avatar
      Rework PY_FLAVOR to always work. · 7454e855
      mat authored
      Before this, it could have been set to the current flavor of the port
      that may not have been related to Python at all.
      This of course never came up during development because at that time,
      the only flavors were the Python flavors.
      Reported by:	dbn
      Sponsored by:	Absolight
  27. 12 Dec, 2017 2 commits
  28. 11 Dec, 2017 1 commit
    • mat's avatar
      Make USE_PYTHON=concurrent flavors friendly. · 1ac28698
      mat authored
      Before, it would only create the default symlink if the Python version
      was the default Python version.  Change that to if the Python flavor is
      the default flavor.
      PR:		224242
      Sponsored by:	Absolight
  29. 04 Dec, 2017 7 commits
  30. 03 Dec, 2017 1 commit
    • amdmi3's avatar
      Fix default python flavor wrt python version · d0283676
      amdmi3 authored
      There's a flaw in FLAVOR selection logic which makes python FLAVOR
      default to py27 even with DEFAULT_VERSIONS=python=3.6. Fix this and
      (in that order) similar to how it's done in other parts of python.mk.
      This does not affect FLAVOR in default setup (py27 remains), but
      if python default version is modified, it will now properly affect FLAVOR.
      Approved by:	portmgr (antoine)
      Differential Revision:	D13326
  31. 30 Nov, 2017 1 commit
    • mat's avatar
      Convert Python ports to FLAVORS. · 32512cab
      mat authored
        Ports using USE_PYTHON=distutils are now flavored.  They will
        automatically get flavors (py27, py34, py35, py36) depending on what
        versions they support.
        There is also a USE_PYTHON=flavors for ports that do not use distutils
        but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
        using distutils but flavors are not wanted.
        A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
        added to cope with Python ports that did not have the Python
        PKGNAMEPREFIX but are flavored.
        USES=python now also exports a PY_FLAVOR variable that contains the
        current python flavor.  It can be used in dependency lines when the
        port itself is not python flavored.  For example, deskutils/calibre.
        By default, all the flavors are generated.  To only generate flavors
        for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
        BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
        In all the ports with Python dependencies, the *_DEPENDS entries MUST
        end with the flavor so that the framework knows which to build/use.
        This is done by appending '@${PY_FLAVOR}' after the origin (or
        @${FLAVOR} if in a Python module with Python flavors, as the content
        will be the same).  For example:
          RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
      PR:		223071
      Reviewed by:	portmgr, python
      Sponsored by:	Absolight
      Differential Revision:	https://reviews.freebsd.org/D12464