diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 3ceacc7c115d..3000e4e5a118 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -1,1045 +1,1045 @@ # Provide support for Python related ports. This includes detecting Python # interpreters, ports providing package and modules for python as well as # consumer ports requiring Python at build or run time. # # Feature: python # Usage: USES=python[:version-spec][,arg,...] # Valid ARGS: , patch, build, run, test, env # # version-spec Declarative specification for the Python version(s) the # port supports. Subsets and ranges can be specified: # # * # * - # * + # * - # # Examples: # # USES=python:2.7 # Supports Python 2.7 Only -# USES=python:3.9+ # Supports Python 3.9 or later -# USES=python:3.9-3.10 # Supports Python 3.9 to 3.10 -# USES=python:-3.9 # Supports Python up to 3.9 -# USES=python # Supports 3.9+ +# USES=python:3.11+ # Supports Python 3.11 or later +# USES=python:3.11-3.12 # Supports Python 3.11 to 3.12 +# USES=python:-3.11 # Supports Python up to 3.11 +# USES=python # Supports 3.10+ # # NOTE: should be as specific as possible, matching the versions # upstream declares support for, without being incorrect. In particular, -# USES=python *without* a means 3.9+, +# USES=python *without* a means 3.11+, # including unreleased versions, which is probably incorrect. # # Not specifying a should only be used when a more specific # cannot be specified due to syntax limitations, for -# example: 2.7,3.9-3.10, but even in this case, X.Y+ (2.7+), or -X.Y (-3.9) +# example: 2.7,3.11-3.12, but even in this case, X.Y+ (2.7+), or -X.Y (-3.11) # is preferred and likely more correct. # # patch Python is needed at patch time. Adds dependency to PATCH_DEPENDS. # build Python is needed at build time. Adds dependency to BUILD_DEPENDS. # run Python is needed at run time. Adds dependency to RUN_DEPENDS. # test Python is needed at test time. Adds dependency to TEST_DEPENDS. # env Does not depend on Python but needs the environment set up. This # is mainly used when depending on flavored python ports, or when a # correct PYTHON_CMD is required. It has the same effect as setting # PYTHON_NO_DEPENDS. # # If build, run and test are omitted, Python will be added as BUILD_DEPENDS, # RUN_DEPENDS and TEST_DEPENDS. # patch is independant, it does not prevent the default build/run/test # dependency. # env or PYTHON_NO_DEPENDS can be set to not add any dependencies. # # Exported variables: # # PYTHON_VERSION - The chosen Python interpreter including the version, -# e.g. python2.7, python3.9, etc. +# e.g. python2.7, python3.11, etc. # # Variables, which can be set by the port: # # USE_PYTHON - A list of additional features and functionality to # enable. Supported features are: # # concurrent - Indicates that the port can be installed for # different python versions at the same time. The port # is supposed to use a unique prefix for certain # directories using USES=uniquefiles:dirs (see the # uniquefiles.mk Uses for details about the # directories), if set to yes. Binaries receive an # additional suffix, based on ${PYTHON_VER}. # # The values for the uniquefiles USES are set as # follows: # # UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX} # UNIQUE_SUFFIX= -${PYTHON_VER} # # If the port is installed for the current default # python version, scripts and binaries in # # ${PREFIX}/bin # ${PREFIX}/sbin # ${PREFIX}/libexec # # are linked from the prefixed version to the # prefix-less original name, e.g. # bin/foo-2.7 --> bin/foo. # # cryptography_build # - Depend on security/cryptography at build-time. # # cryptography - Depend on security/cryptography at run-time. # # cryptography_test # - Depend on security/cryptography at test-time. # # cython - Depend on lang/cython at build-time. # # cython_run - Depend on lang/cython at run-time. # # cython_test - Depend on lang/cython for tests. # # cython3 - Depend on lang/cython3 at build-time. # # cython3_run - Depend on lang/cython3 at run-time. # # cython3_test - Depend on lang/cython3 for tests. # # flavors - Force creation of flavors for Python 2 and 3 default # versions, where applicable. # # noflavors - Disable automatic creation of flavors if they would # otherwise be created and they are not wanted. # # allflavors - Generate flavors for all possible versions and not # simply the default ones. Only to be used for py-* # ports that are part of the Python distribution, but # kept as separate ports. # # optsuffix - Set PKGNAMESUFFIX to PYTHON_PKGNAMESUFFIX if not the # default python version. # # distutils - Use distutils as do-configure, do-build and # do-install targets. implies flavors. # # pep517 - Follow the PEP-517 standard to build and install wheels # as do-build and do-install targets. implies flavors. # # autoplist - Automatically generates the packaging list for a # port that uses distutils when defined. # requires: distutils # # py3kplist - Automatically generates Python 3.x compatible # __pycache__ entries from a Python 2.x packaging list # when defined. Use this for ports that do *not* use # standard Python packaging mechanisms such as # distutils, and support *both* Python 2.x and 3.x. # Not needed, if USE_PYTHON=autoplist is set. # # pythonprefix - Says that the port installs in ${PYTHONBASE} instead # of ${PREFIX}. # # noegginfo - Skip an egg-info entry from plist, if defined. # # nose - Run tests with nose (devel/py-nose) # # nose2 - Run tests with nose2 (devel/py-nose2) # # pytest - Run tests with latest pytest (devel/py-pytest) # # unittest - Run tests with unittest # # unittest2 - Run tests with unittest2 (devel/py-unittest2) # # PYTHON_CMD - Python's command line file name, including the # version number (used for dependencies). # default: ${PYTHONBASE}/bin/${PYTHON_VERSION} # # PEP517_BUILD_CMD - Command sequence for a PEP-517 build frontend that builds a wheel. # default: ${PYTHON_CMD} -m build --no-isolation --wheel ${PEP517_BUILD_CONFIG_SETTING} # # PEP517_BUILD_DEPEND - Port needed to execute ${PEP517_BUILD_CMD}. # default: ${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} # # PEP517_BUILD_CONFIG_SETTING # - Options for the build backend. Must include -C or --config-setting per option. # default: # # PEP517_INSTALL_CMD - Command sequence for a PEP-517 install frontend that installs a wheel. # default: ${PYTHON_CMD} -m installer --destdir ${STAGEDIR} --prefix ${PREFIX} ${BUILD_WRKSRC}/dist/${PORTNAME:C|[-_]+|_|g}-${DISTVERSION}*.whl # # PEP517_INSTALL_DEPEND - Port needed to execute ${PEP517_INSTALL_CMD}. # default: ${PYTHON_PKGNAMEPREFIX}installer>=0:devel/py-installer@${PY_FLAVOR} # # PYSETUP - Name of the setup script used by the distutils # package. # default: setup.py # # PYDISTUTILS_PKGNAME # - Internal name in the distutils for egg-info. # default: ${PORTNAME} # # PYDISTUTILS_PKGVERSION # - Internal version in the distutils for egg-info. # default: ${PORTVERSION} # # PYDISTUTILS_CONFIGURE_TARGET # - Pass this command to distutils on configure stage. # default: config # # PYDISTUTILS_BUILD_TARGET # - Pass this command to distutils on build stage. # default: build # # PYDISTUTILS_INSTALL_TARGET # - Pass this command to distutils on install stage. # default: install # # PYDISTUTILS_CONFIGUREARGS # - Arguments to config with distutils. # default: # # PYDISTUTILS_BUILDARGS # - Arguments to build with distutils. # default: # # PYDISTUTILS_INSTALLARGS # - Arguments to install with distutils. # default: -c -O1 --prefix=${PREFIX} --single-version-externally-managed --root=${STAGEDIR} # # PYDISTUTILS_EGGINFO # - Canonical name for egg-info. # default: ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}.egg-info # # PYTEST_BROKEN_TESTS - Lists of 'pytest -k' patterns to skip tests which # require fixing. # default: # # PYTEST_IGNORED_TESTS - Lists of 'pytest -k' patterns to skip tests which are # not expected to pass, e.g. requiring a database access. # default: # # The following variables can be read by ports and must not be modified: # # PYTHONBASE - The installation prefix of the chosen Python # interpreter, e.g. /usr/local # # PYTHON_DISTVERSION # - Version number suitable for ${DISTVERSION}. # # PYTHON_PORTSDIR - The port directory of the chosen Python interpreter # # PYTHON_REL - The release number of the chosen Python interpreter -# without dots, e.g. 20706, 30901, ... +# without dots, e.g. 20706, 31114, ... # # PYTHON_SUFFIX - The major-minor release number of the chosen Python -# interpreter without dots, e.g. 27, 38, ... +# interpreter without dots, e.g. 27, 310, ... # Used for prefixes and suffixes. # # PYTHON_BASESUFFIX - PYTHON_SUFFIX without the threaded ABI flag. # # PYTHON_TAG - Defined by PEP 3147, magic tag containing # implementation name and shorthand version, # primarily for bytecode files. Includes # preceding dot, e.g. .cpython-312, # .cpython-313, ... # # PYTHON_SOABI - Defined by PEP 3149, tag containing # implementation name, shorthand version # and ABI tags, primarily for compiled # extension modules. Includes preceding # dot, e.g. .cpython-313, .cpython-313t, # .cpython-313td, ... # # PYTHON_MAJOR_VER - The major release version of the chosen Python # interpreter, e.g. 2, 3, ... # # PYTHON_VER - The major-minor release version of the chosen Python -# interpreter, e.g. 2.7, 3.9, ... +# interpreter, e.g. 2.7, 3.12, ... # # PYTHON_BASEVER - PYTHON_VER without the threaded ABI flag. # # PYTHON_ABIVER - Additional ABI flags set by the chosen Python # interpreter, e.g. md # # PYTHON_INCLUDEDIR - Location of the Python include files. # default: ${PYTHONBASE}/include/${PYTHON_VERSION} # # PYTHON_LIBDIR - Base of the python library tree # default: ${PYTHONBASE}/lib/${PYTHON_VERSION} # # PYTHON_SITELIBDIR - Location of the site-packages tree. Don't change, # unless you know what you do. # default: ${PYTHON_LIBDIR}/site-packages # # There are PREFIX-clean variants of the PYTHON_*DIR variables above. # They are meant to be used by ports instead of the above variables, so the # ports respect ${PREFIX} (unless USE_PYTHON=pythonprefix is specified). # # PYTHONPREFIX_INCLUDEDIR default: ${PREFIX}/include/${PYTHON_VERSION} # PYTHONPREFIX_LIBDIR default: ${PREFIX}/lib/${PYTHON_VERSION} # PYTHONPREFIX_SITELIBDIR default: ${PYTHONPREFIX_LIBDIR}/site-packages # # PYTHON_PLATFORM - Python's idea of the OS release. # This is faked with ${OPSYS} and ${OSREL} until we # find out how to delay defining a variable until # after a certain target has been built. # # PYTHON_PKGNAMEPREFIX # - Use this as a ${PKGNAMEPREFIX} to distinguish # packages for different Python versions. # default: py${PYTHON_SUFFIX}- # # PYTHON_PKGNAMESUFFIX # - Use this as a ${PKGNAMESUFFIX} to distinguish # packages for different Python versions. # default: -py${PYTHON_SUFFIX} # # Using USES=python also will add some useful entries to SUB_LIST and PLIST_SUB: # # PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR} # PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR} # PYTHON_PLATFORM=${PYTHON_PLATFORM} # PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} # PYTHON_SUFFIX=${PYTHON_SUFFIX} # PYTHON_BASESUFFIX=${PYTHON_BASESUFFIX} # PYTHON_VER=${PYTHON_VER} # PYTHON_BASEVER=${PYTHON_BASEVER} # PYTHON_VERSION=${PYTHON_VERSION} # # where PYTHON_INCLUDEDIR, PYTHON_LIBDIR and PYTHON_SITELIBDIR have their PREFIX # stripped for PLIST_SUB. # # PYTHON2 and PYTHON3 will also be set according to the Python version: # # PYTHON2="" PYTHON3="@comment " for Python 2.x # PYTHON2="@comment " PYTHON3="" for Python 3.x # # PYDISTUTILS_INSTALLNOSINGLE # - Deprecated without replacement # # Dependency lines of selected Python modules: # # PY_SETUPTOOLS - setuptools port based on USE_PYTHON=distutils # PYGAME - pygame port # PYNUMPY - NumPy port # PY_MERCURIAL - mercurial port, PKGNAME varies based on default # Python version # PY_BOOST - Boost Python libraries port # # The following variables may be set by the user: # # PYTEST_ENABLE_ALL_TESTS - Enable tests skipped by PYTEST_BROKEN_TESTS # and PYTEST_IGNORED_TESTS. # PYTEST_ENABLE_BROKEN_TESTS - Enable tests skipped by PYTEST_BROKEN_TESTS. # PYTEST_ENABLE_IGNORED_TESTS - Enable tests skipped by PYTEST_IGNORED_TESTS. # # MAINTAINER: python@FreeBSD.org .if !defined(_INCLUDE_USES_PYTHON_MK) _INCLUDE_USES_PYTHON_MK= yes ZEROREGS_UNSAFE= yes # What Python version and what Python interpreters are currently supported? # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -_PYTHON_VERSIONS= 3.11 3.12 3.10 3.9 2.7 # preferred first +_PYTHON_VERSIONS= 3.11 3.12 3.10 2.7 # preferred first _PYTHON_PORTBRANCH= 3.11 # ${_PYTHON_VERSIONS:[1]} _PYTHON_BASECMD= ${LOCALBASE}/bin/python _PYTHON_RELPORTDIR= lang/python # List all valid USE_PYTHON features here _VALID_PYTHON_FEATURES= allflavors \ autoplist \ concurrent \ cryptography_build \ cryptography \ cryptography_test \ cython \ cython_run \ cython_test \ cython3 \ cython3_run \ cython3_test \ distutils \ flavors \ noegginfo \ noflavors \ nose \ nose2 \ optsuffix \ pep517 \ py3kplist \ pytest \ pythonprefix \ unittest \ unittest2 _INVALID_PYTHON_FEATURES= . for var in ${USE_PYTHON} . if empty(_VALID_PYTHON_FEATURES:M${var}) _INVALID_PYTHON_FEATURES+= ${var} . endif . endfor . if !empty(_INVALID_PYTHON_FEATURES) IGNORE= uses unknown USE_PYTHON features: ${_INVALID_PYTHON_FEATURES} . endif # Make each individual feature available as _PYTHON_FEATURE_ . for var in ${USE_PYTHON} _PYTHON_FEATURE_${var:C/=.*$//:tu}= ${var:C/.*=//:S/,/ /g} . endfor # distutils automatically generates flavors depending on the supported # versions. . if defined(_PYTHON_FEATURE_DISTUTILS) _PYTHON_FEATURE_FLAVORS= yes . endif # pep517 automatically generates flavors depending on the supported # versions. . if defined(_PYTHON_FEATURE_PEP517) _PYTHON_FEATURE_FLAVORS= yes . endif . if defined(_PYTHON_FEATURE_NOFLAVORS) .undef _PYTHON_FEATURE_FLAVORS . endif # Make sure that no dependency or some other environment variable # pollutes the build/run dependency detection .undef _PYTHON_BUILD_DEP .undef _PYTHON_RUN_DEP .undef _PYTHON_TEST_DEP _PYTHON_ARGS= ${python_ARGS:S/,/ /g} . if ${_PYTHON_ARGS:Mpatch} _PYTHON_PATCH_DEP= yes _PYTHON_ARGS:= ${_PYTHON_ARGS:Npatch} . endif . if ${_PYTHON_ARGS:Mbuild} _PYTHON_BUILD_DEP= yes _PYTHON_ARGS:= ${_PYTHON_ARGS:Nbuild} . endif . if ${_PYTHON_ARGS:Mrun} _PYTHON_RUN_DEP= yes _PYTHON_ARGS:= ${_PYTHON_ARGS:Nrun} . endif . if ${_PYTHON_ARGS:Mtest} _PYTHON_TEST_DEP= yes _PYTHON_ARGS:= ${_PYTHON_ARGS:Ntest} . endif . if ${_PYTHON_ARGS:Menv} PYTHON_NO_DEPENDS= yes _PYTHON_ARGS:= ${_PYTHON_ARGS:Nenv} . endif # The port does not specify a build, run or test dependency, assume all are # required. . if !defined(_PYTHON_BUILD_DEP) && !defined(_PYTHON_RUN_DEP) && \ !defined(_PYTHON_TEST_DEP) && !defined(PYTHON_NO_DEPENDS) _PYTHON_BUILD_DEP= yes _PYTHON_RUN_DEP= yes _PYTHON_TEST_DEP= yes . endif . if ${_PYTHON_ARGS} == 2.7 DEV_WARNING+= "lang/python27 reached End of Life and will be removed somewhere in the future, please convert to a modern version of python" . elif ${_PYTHON_ARGS} == 2 DEV_ERROR+= "USES=python:2 is no longer supported, use USES=python:2.7" . elif ${_PYTHON_ARGS} == 3 -DEV_ERROR+= "USES=python:3 is no longer supported, use USES=python:3.9+ or an appropriate version range" +DEV_ERROR+= "USES=python:3 is no longer supported, use USES=python:3.11+ or an appropriate version range" . endif # ${_PYTHON_ARGS} == 2.7 _PYTHON_VERSION:= ${PYTHON_DEFAULT} . if empty(_PYTHON_ARGS) -_PYTHON_ARGS= 3.9+ +_PYTHON_ARGS= 3.10+ . endif # Validate Python version whether it meets the version restriction. _PYTHON_VERSION_CHECK:= ${_PYTHON_ARGS:C/^([1-9]\.[1-9]?[0-9])$/\1-\1/} _PYTHON_VERSION_MINIMUM_TMP:= ${_PYTHON_VERSION_CHECK:C/([1-9]\.[1-9]?[0-9])[-+].*/\1/} _PYTHON_VERSION_MINIMUM:= ${_PYTHON_VERSION_MINIMUM_TMP:M[1-9].[0-9]}${_PYTHON_VERSION_MINIMUM_TMP:M[1-9].[1-9][0-9]} _PYTHON_VERSION_MAXIMUM_TMP:= ${_PYTHON_VERSION_CHECK:C/.*-([1-9]\.[1-9]?[0-9])/\1/} _PYTHON_VERSION_MAXIMUM:= ${_PYTHON_VERSION_MAXIMUM_TMP:M[1-9].[0-9]}${_PYTHON_VERSION_MAXIMUM_TMP:M[1-9].[1-9][0-9]} # At this point we should have no argument left in ${_PYTHON_ARGS} # except a version spec _V1= [1-9].[0-9] _V2= [1-9].[1-9][0-9] _PYTHON_ARGS:= ${_PYTHON_ARGS:N${_V1}-${_V1}:N${_V1}-${_V2}:N${_V2}-${_V2}:N${_V1}:N${_V2}:N${_V1}+:N${_V2}+:N-${_V1}:N-${_V2}} . if !empty(_PYTHON_ARGS) IGNORE= uses unknown USES=python arguments: ${_PYTHON_ARGS} . endif # Pattern to convert python versions (X.Y or X.YY) to comparable format X.YY _VC= C/^([1-9]\.)([0-9])$$/\10\2/ .undef _PYTHON_VERSION_NONSUPPORTED . if !empty(_PYTHON_VERSION_MINIMUM) && (${_PYTHON_VERSION:${_VC}:S/t$//} < ${_PYTHON_VERSION_MINIMUM:${_VC}:S/t$//}) _PYTHON_VERSION_NONSUPPORTED= ${_PYTHON_VERSION_MINIMUM} at least . elif !empty(_PYTHON_VERSION_MAXIMUM) && (${_PYTHON_VERSION:${_VC}:S/t$//} > ${_PYTHON_VERSION_MAXIMUM:${_VC}:S/t$//}) _PYTHON_VERSION_NONSUPPORTED= ${_PYTHON_VERSION_MAXIMUM} at most . endif # If we have an unsupported version of Python, try another. . if defined(_PYTHON_VERSION_NONSUPPORTED) .undef _PYTHON_VERSION . for ver in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${_PYTHON_VERSIONS} __VER= ${ver} . if !defined(_PYTHON_VERSION) && \ !(!empty(_PYTHON_VERSION_MINIMUM) && ( \ ${__VER:${_VC}:S/t$//} < ${_PYTHON_VERSION_MINIMUM:${_VC}:S/t$//})) && \ !(!empty(_PYTHON_VERSION_MAXIMUM) && ( \ ${__VER:${_VC}:S/t$//} > ${_PYTHON_VERSION_MAXIMUM:${_VC}:S/t$//})) _PYTHON_VERSION= ${ver} . endif . endfor . if !defined(_PYTHON_VERSION) IGNORE= needs an unsupported version of Python . endif . endif # defined(_PYTHON_VERSION_NONSUPPORTED) # Automatically generates FLAVORS if empty . if empty(FLAVORS) && defined(_PYTHON_FEATURE_FLAVORS) . undef _VALID_PYTHON_VERSIONS . for ver in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${_PYTHON_VERSIONS} __VER= ${ver} . if !(!empty(_PYTHON_VERSION_MINIMUM) && ( \ ${__VER:${_VC}:S/t$//} < ${_PYTHON_VERSION_MINIMUM:${_VC}:S/t$//})) && \ !(!empty(_PYTHON_VERSION_MAXIMUM) && ( \ ${__VER:${_VC}:S/t$//} > ${_PYTHON_VERSION_MAXIMUM:${_VC}:S/t$//})) . if empty(_VALID_PYTHON_VERSIONS:M${ver}) _VALID_PYTHON_VERSIONS+= ${ver} . endif . endif . endfor # Get all possible flavors depending on version requirements . if defined(_VALID_PYTHON_VERSIONS) _ALL_PYTHON_FLAVORS= ${_VALID_PYTHON_VERSIONS:S/.//:S/^/py/} . else _ALL_PYTHON_FLAVORS= ${_PYTHON_VERSIONS:S/.//:S/^/py/} . endif # Decide how many flavors we want. By default, only generate the default # versions. . if defined(BUILD_ALL_PYTHON_FLAVORS) || defined(_PYTHON_FEATURE_ALLFLAVORS) FLAVORS= ${_ALL_PYTHON_FLAVORS} . else . for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} _f= py${_v:S/.//} . if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}} . if !empty(FLAVORS) FLAVORS:= ${FLAVORS} ${_f} . else FLAVORS:= ${_f} . endif . endif . endfor . endif . if !empty(FLAVORS) && empty(FLAVOR) FLAVOR= ${FLAVORS:[1]} . endif . endif . if ${FLAVOR:Mpy[23][0-9]}${FLAVOR:Mpy[23][1-9][0-9]}${FLAVOR:Mpy31[3-9]t} _PYTHON_VERSION= ${FLAVOR:S/py//:C/(.)/\1./} . endif . if !empty(FLAVOR) && ${_PYTHON_VERSION} != ${PYTHON_DEFAULT} . if defined(_PYTHON_FEATURE_OPTSUFFIX) DEV_WARNING+= "USE_PYTHON=optsuffix is deprecated, consider migrating to using unconditional PKGNAMESUFFIX or PKGNAMEPREFIX" PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} . endif . endif # To avoid having dependencies with @ and empty flavor: # _PYTHON_VERSION is either set by (first that matches): # - If using Python flavors, from the current Python flavor -# - If using a version restriction (USES=python:3.9+), from the first +# - If using a version restriction (USES=python:3.11+), from the first # acceptable default Python version. # - From PYTHON_DEFAULT PY_FLAVOR= py${_PYTHON_VERSION:S/.//} PYTHON_VERSION= python${_PYTHON_VERSION} # Got the correct python version, set some publicly accessible variables PYTHON_VER= ${_PYTHON_VERSION} PYTHON_BASEVER= ${PYTHON_VER:S/t$//} PYTHON_SUFFIX= ${_PYTHON_VERSION:S/.//g} PYTHON_BASESUFFIX= ${PYTHON_SUFFIX:S/t$//} PYTHON_MAJOR_VER= ${PYTHON_VER:R} PYTHON_REL= # empty PYTHON_ABIVER= # empty PYTHON_PORTSDIR= ${_PYTHON_RELPORTDIR}${PYTHON_SUFFIX} # Protect partial checkouts from Mk/Scripts/functions.sh:export_ports_env(). . if !defined(_PORTS_ENV_CHECK) || exists(${PORTSDIR}/${PYTHON_PORTSDIR}) .include "${PORTSDIR}/${PYTHON_PORTSDIR:S/t$//}/Makefile.version" . endif # Create a 5 integer version string, prefixing 0 to the minor and patch # tokens if it's a single character. Only use the first 3 tokens of # DISTVERSION to stay consistent regardless of pre-release or ABI flags PYTHON_REL= ${PYTHON_DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/:C/\.([0-9])$/.0\1/:C/\.([0-9]\.[0-9]+)/.0\1/:S/.//g} # Might be overridden by calling ports PYTHON_CMD?= ${_PYTHON_BASECMD}${_PYTHON_VERSION} . if ${PYTHON_MAJOR_VER} > 2 . if exists(${PYTHON_CMD}-config) PYTHON_ABIVER!= ${PYTHON_CMD}-config --abiflags . endif . endif . if ${PYTHON_REL} >= 30807 PYTHON_TAG= .cpython-${PYTHON_BASESUFFIX} PYTHON_SOABI= .cpython-${PYTHON_SUFFIX} . else PYTHON_TAG= # empty PYTHON_SOABI= # empty . endif . if ${PYTHON_MAJOR_VER} < 3 DEPRECATED?= Uses Python 2.7 which is EOLed upstream . endif . if !defined(PYTHONBASE) PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \ 2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1 . endif _EXPORTED_VARS+= PYTHONBASE PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/python${_PYTHON_VERSION}${PYTHON_ABIVER} PYTHON_LIBDIR= ${PYTHONBASE}/lib/python${_PYTHON_VERSION} PYTHON_PLATFORM= ${OPSYS:tl}${OSREL:C/\.[0-9.]*//} PYTHON_SITELIBDIR= ${PYTHON_LIBDIR}/site-packages PYTHON_PKGNAMEPREFIX= py${PYTHON_SUFFIX}- PYTHON_PKGNAMESUFFIX= -py${PYTHON_SUFFIX} PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUDEDIR:S;${PYTHONBASE};${PREFIX};} PYTHONPREFIX_LIBDIR= ${PYTHON_LIBDIR:S;${PYTHONBASE};${PREFIX};} PYTHONPREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};} # Used for recording the installed files. _PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp # Ports bound to a certain python version SHOULD # - use the PYTHON_PKGNAMEPREFIX # - use directories using the PYTHON_PKGNAMEPREFIX # - install binaries using the required PYTHON_VER, with # the default python version creating a symlink to the original binary # name (for staging-aware ports). # # What makes a port 'bound' to a certain python version? # - it installs data into PYTHON_SITELIBDIR, PYTHON_INCLUDEDIR, ... # - it links against libpython*.so # - it uses USE_PYTHON=distutils # # cryptography* support . if ${PYCRYPTOGRAPHY_DEFAULT} == rust CRYPTOGRAPHY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=44.0.3,1:security/py-cryptography@${PY_FLAVOR} . else CRYPTOGRAPHY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-legacy>=3.4.8_3,1:security/py-cryptography-legacy@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CRYPTOGRAPHY_BUILD) BUILD_DEPENDS+= ${CRYPTOGRAPHY_DEPENDS} . endif . if defined(_PYTHON_FEATURE_CRYPTOGRAPHY) RUN_DEPENDS+= ${CRYPTOGRAPHY_DEPENDS} . endif . if defined(_PYTHON_FEATURE_CRYPTOGRAPHY_TEST) TEST_DEPENDS+= ${CRYPTOGRAPHY_DEPENDS} . endif # cython* support . if defined(_PYTHON_FEATURE_CYTHON) BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CYTHON_RUN) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CYTHON_TEST) TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CYTHON3) BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython3>=3.1.2:lang/cython3@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CYTHON3_RUN) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython3>=3.1.2:lang/cython3@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CYTHON3_TEST) TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython3>=3.1.2:lang/cython3@${PY_FLAVOR} . endif . if defined(_PYTHON_FEATURE_CONCURRENT) . if !defined(_PYTHON_FEATURE_FLAVORS) && (${_PYTHON_VERSION_MINIMUM:M3*} || ${_PYTHON_VERSION_MAXIMUM:M2*}) DEV_WARNING+= "USE_PYTHON=concurrent when only one of Python 2 or 3 is supported AND not using flavors does not make any sense" . endif _USES_POST+= uniquefiles:dirs . if defined(_PYTHON_FEATURE_FLAVORS) && ${FLAVOR} == ${FLAVORS:[1]} UNIQUE_DEFAULT_LINKS= yes . elif !defined(_PYTHON_FEATURE_FLAVORS) && ${_PYTHON_VERSION} == ${PYTHON_DEFAULT} UNIQUE_DEFAULT_LINKS= yes . else UNIQUE_DEFAULT_LINKS= no . endif UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX} UNIQUE_SUFFIX= -${PYTHON_VER} UNIQUE_SUFFIX_TYPES+= SUFFIX_MAN UNIQUE_SUFFIX_MAN_WITH_EXT= .[1-9ln] UNIQUE_SUFFIX_MAN_EXTRA_EXT= .gz . if defined(_PYTHON_FEATURE_AUTOPLIST) _UNIQUE_FIND_SUFFIX_FILES= ${SED} -e 's|^${PREFIX}/||' ${_PYTHONPKGLIST} ${TMPPLIST} . else _UNIQUE_FIND_SUFFIX_FILES= ${SED} -e 's|^${PREFIX}/||' ${TMPPLIST} 2>/dev/null . endif UNIQUE_FIND_SUFFIX_FILES+= ${_UNIQUE_FIND_SUFFIX_FILES} | \ ${EGREP} -he '^bin/.*$$|^sbin/.*$$|^libexec/.*$$' UNIQUE_FIND_SUFFIX_MAN_FILES+= ${_UNIQUE_FIND_SUFFIX_FILES} | \ ${EGREP} -he '^man/man[1-9ln]/.*$$|^share/man/man[1-9ln]/.*$$' . endif # defined(_PYTHON_FEATURE_CONCURRENT) _CURRENTPORT:= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} . if defined(_PYTHON_FEATURE_DISTUTILS) && \ ${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools && \ ${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools58 && \ ${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools44 . if ${PYTHON_VER} == 2.7 BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR} . else BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} . endif . endif . if defined(_PYTHON_FEATURE_PEP517) . if ${PYTHON_MAJOR_VER} < 3 DEV_ERROR+= "USES=python:2.7 is incompatible with USE_PYTHON=pep517" . endif . if defined(_PYTHON_FEATURE_DISTUTILS) DEV_ERROR+= "USE_PYTHON=distutils is incompatible with USE_PYTHON=pep517" . endif . if defined(_PYTHON_FEATURE_PY3KPLIST) DEV_ERROR+= "USE_PYTHON=py3kplist is incompatible with USE_PYTHON=pep517" . endif . if defined(_PYTHON_FEATURE_NOEGGINFO) DEV_ERROR+= "USE_PYTHON=noegginfo is incompatible with USE_PYTHON=pep517" . endif . endif # distutils support PYSETUP?= setup.py PYDISTUTILS_SETUP?= -c \ "import sys; import setuptools; \ __file__='${PYSETUP}'; sys.argv[0]='${PYSETUP}'; \ exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))" PYDISTUTILS_CONFIGUREARGS?= # empty PYDISTUTILS_BUILDARGS?= # empty PYDISTUTILS_INSTALLARGS?= -c -O1 --prefix=${PREFIX} . if defined(_PYTHON_FEATURE_DISTUTILS) . if !defined(PYDISTUTILS_INSTALLNOSINGLE) PYDISTUTILS_INSTALLARGS+= --single-version-externally-managed . endif PYDISTUTILS_INSTALLARGS+= --root=${STAGEDIR} . endif PYDISTUTILS_INSTALLARGS:= --record ${_PYTHONPKGLIST} \ ${PYDISTUTILS_INSTALLARGS} PYDISTUTILS_PKGNAME?= ${PORTNAME} PYDISTUTILS_PKGVERSION?=${PORTVERSION} PYDISTUTILS_EGGINFO?= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}.egg-info PYDISTUTILS_EGGINFODIR?=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # PEP-517 support PEP517_BUILD_CMD?= ${PYTHON_CMD} -m build --no-isolation --wheel ${PEP517_BUILD_CONFIG_SETTING} PEP517_BUILD_DEPEND?= ${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} PEP517_INSTALL_CMD?= ${PYTHON_CMD} -m installer --destdir ${STAGEDIR} --prefix ${PREFIX} ${BUILD_WRKSRC}/dist/${PORTNAME:C|[-_]+|_|g}-${DISTVERSION}*.whl PEP517_INSTALL_DEPEND?= ${PYTHON_PKGNAMEPREFIX}installer>=0:devel/py-installer@${PY_FLAVOR} # nose support . if defined(_PYTHON_FEATURE_NOSE) TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} . endif # nose2 support . if defined(_PYTHON_FEATURE_NOSE2) TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose2>=0:devel/py-nose2@${PY_FLAVOR} . endif # pytest support . if defined(_PYTHON_FEATURE_PYTEST) TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR} PYTEST_BROKEN_TESTS?= # empty PYTEST_IGNORED_TESTS?= # empty _PYTEST_SKIPPED_TESTS?= # empty . if !defined(PYTEST_ENABLE_ALL_TESTS) . if !defined(PYTEST_ENABLE_BROKEN_TESTS) _PYTEST_SKIPPED_TESTS+= ${PYTEST_BROKEN_TESTS} . endif . if !defined(PYTEST_ENABLE_IGNORED_TESTS) _PYTEST_SKIPPED_TESTS+= ${PYTEST_IGNORED_TESTS} . endif . endif # !defined(PYTEST_ENABLE_ALL_TESTS) _PYTEST_FILTER_EXPRESSION= ${_PYTEST_SKIPPED_TESTS:C/^(.)/and not \1/:tW:C/^and //} . endif # defined(_PYTHON_FEATURE_PYTEST) # unittest2 support . if defined(_PYTHON_FEATURE_UNITTEST2) TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR} . endif . if !defined(_PYTHON_FEATURE_NOEGGINFO) && \ !defined(_PYTHON_FEATURE_AUTOPLIST) && \ defined(_PYTHON_FEATURE_DISTUTILS) && \ defined(PYTHON_REL) _USES_stage+= 933:add-plist-egginfo add-plist-egginfo: . for egginfo in ${PYDISTUTILS_EGGINFO} if [ -d "${PYDISTUTILS_EGGINFODIR}/${egginfo}" ]; then \ ${LS} ${PYDISTUTILS_EGGINFODIR}/${egginfo} | while read f; do \ ${ECHO_CMD} ${PYDISTUTILS_EGGINFODIR:S;^${STAGEDIR}${PREFIX}/;;}/${egginfo}/$${f} >> ${TMPPLIST}; \ done; \ fi; . endfor . endif . if defined(_PYTHON_FEATURE_AUTOPLIST) && (defined(_PYTHON_FEATURE_DISTUTILS) || defined(_PYTHON_FEATURE_PEP517)) _RELSITELIBDIR= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} _RELLIBDIR= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;} _USES_stage+= 934:add-plist-pymod add-plist-pymod: @${SED} -e 's|^"\(.*\)"$$|\1|' \ -e 's|^${STAGEDIR}${PREFIX}/||' \ -e 's|^${PREFIX}/||' \ -e 's|^\(man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \ -e 's|^\(share/man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \ -e 's|[[:alnum:]|[:space:]]*/\.\./*||g; s|/\./|/|g' \ ${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST} . else . if ${PYTHON_REL} >= 30200 && defined(_PYTHON_FEATURE_PY3KPLIST) # When Python version is 3.2+ we rewrite all the filenames # of TMPPLIST that end with .py[co], so that they conform # to PEP 3147 (see https://www.python.org/dev/peps/pep-3147/) _PYMAGICTAG= ${PYTHON_CMD} -c 'import sys; print(sys.implementation.cache_tag)' _USES_stage+= 935:add-plist-python add-plist-python: @${AWK} '\ /\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.pyc$$/, "." mt "&"); sub(/\.pyo$$/, "." mt "." pyo); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \ /^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \ /^@dirrmtry / {d = substr($$0, 11); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \ {print} \ ' \ pc="__pycache__" mt="$$(${_PYMAGICTAG})" pyo="opt-1.pyc" \ ${TMPPLIST} > ${TMPPLIST}.pyc_tmp @${MV} ${TMPPLIST}.pyc_tmp ${TMPPLIST} . endif # ${PYTHON_REL} >= 30200 && defined(_PYTHON_FEATURE_PY3KPLIST) . endif # defined(_PYTHON_FEATURE_AUTOPLIST) && (defined(_PYTHON_FEATURE_DISTUTILS) || defined(_PYTHON_FEATURE_PEP517)) # Fix for programs that build python from a GNU auto* environment CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}" # By default CMake picks up the highest available version of Python package. # Enforce the version required by the port or the default. CMAKE_ARGS+= -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER} CMAKE_ARGS+= -DPython_EXECUTABLE:FILEPATH="${PYTHON_CMD}" CMAKE_ARGS+= -DPython${PYTHON_MAJOR_VER}_EXECUTABLE:FILEPATH="${PYTHON_CMD}" # Python 3rd-party modules PYGAME= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR} PYNUMPY= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1<1.27,1:math/py-numpy@${PY_FLAVOR} . if defined(_PYTHON_FEATURE_DISTUTILS) . if ${PYTHON_MAJOR_VER} < 3 PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR} . else #PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools58>0:devel/py-setuptools58@${PY_FLAVOR} PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} . endif . else PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} . endif # Common Python modules that can be needed but only for some versions of Python. . if ${PYTHON_REL} < 31100 PY_EXCEPTIONGROUP= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.1.1:devel/py-exceptiongroup@${PY_FLAVOR} PY_TOMLI= ${PYTHON_PKGNAMEPREFIX}tomli>=2.3<3:textproc/py-tomli@${PY_FLAVOR} PY_TYPING_EXTENSIONS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} . endif . if ${PYTHON_REL} >= 30000 PY_PILLOW= ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} . endif . if ${PYTHON_VER} != ${PYTHON_DEFAULT} PY_MERCURIAL= ${PYTHON_PKGNAMEPREFIX}mercurial>=5.9:devel/mercurial@${PY_FLAVOR} . else PY_MERCURIAL= mercurial>=5.9:devel/mercurial@${PY_FLAVOR} . endif CMAKE_ARGS+= -DBOOST_PYTHON_SUFFIX:STRING=${PYTHON_SUFFIX} PY_BOOST_LIB= boost_python${PYTHON_SUFFIX} PY_BOOST= lib${PY_BOOST_LIB}.so:devel/boost-python-libs@${PY_FLAVOR} # dependencies . for _stage in PATCH BUILD RUN TEST . if defined(_PYTHON_${_stage}_DEP) ${_stage}_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} . endif . endfor # set $PREFIX as Python's one . if defined(_PYTHON_FEATURE_PYTHONPREFIX) PREFIX= ${PYTHONBASE} . endif # Substitutions for SUB_FILES SUB_LIST+= PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR} \ PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR} \ PYTHON_PLATFORM=${PYTHON_PLATFORM} \ PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} \ PYTHON_SUFFIX=${PYTHON_SUFFIX} \ PYTHON_BASESUFFIX=${PYTHON_BASESUFFIX} \ PYTHON_TAG=${PYTHON_TAG} \ PYTHON_SOABI=${PYTHON_SOABI} \ PYTHON_VER=${PYTHON_VER} \ PYTHON_BASEVER=${PYTHON_BASEVER} \ PYTHON_VERSION=${PYTHON_VERSION} # Substitutions for pkg-plist # Use a short form of the PYTHONPREFIX_*DIR variables; we don't need the # base directory in the plist file. PLIST_SUB+= PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR:S;${PREFIX}/;;} \ PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;} \ PYTHON_PLATFORM=${PYTHON_PLATFORM} \ PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} \ PYTHON_SUFFIX=${PYTHON_SUFFIX} \ PYTHON_BASESUFFIX=${PYTHON_BASESUFFIX} \ PYTHON_TAG=${PYTHON_TAG} \ PYTHON_SOABI=${PYTHON_SOABI} \ PYTHON_VER=${PYTHON_VER} \ PYTHON_BASEVER=${PYTHON_BASEVER} \ PYTHON_VERSION=${PYTHON_VERSION} . if ${PYTHON_MAJOR_VER} < 3 SUB_LIST+= PYTHON2="" PYTHON3="@comment " PLIST_SUB+= PYTHON2="" PYTHON3="@comment " . else SUB_LIST+= PYTHON2="@comment " PYTHON3="" PLIST_SUB+= PYTHON2="@comment " PYTHON3="" . endif _USES_POST+= python .endif # _INCLUDE_USES_PYTHON_MK .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PYTHON_POST_MK) _INCLUDE_USES_PYTHON_POST_MK= yes # py-distutils support PYDISTUTILS_CONFIGURE_TARGET?= config PYDISTUTILS_BUILD_TARGET?= build PYDISTUTILS_INSTALL_TARGET?= install . if defined(_PYTHON_FEATURE_DISTUTILS) LDSHARED?= ${CC} -shared MAKE_ENV+= LDSHARED="${LDSHARED}" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= . if !target(do-configure) && !defined(HAS_CONFIGURE) && !defined(GNU_CONFIGURE) do-configure: @(cd ${BUILD_WRKSRC}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_CONFIGURE_TARGET} ${PYDISTUTILS_CONFIGUREARGS}) . endif . if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS}) . endif . if !target(do-install) do-install: @(cd ${INSTALL_WRKSRC}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS}) . endif . endif # defined(_PYTHON_FEATURE_DISTUTILS) . if defined(_PYTHON_FEATURE_PEP517) . if !empty(PEP517_BUILD_DEPEND) BUILD_DEPENDS+= ${PEP517_BUILD_DEPEND} . endif . if !empty(PEP517_INSTALL_DEPEND) BUILD_DEPENDS+= ${PEP517_INSTALL_DEPEND} . endif . if !target(do-configure) && !defined(HAS_CONFIGURE) && !defined(GNU_CONFIGURE) do-configure: @${DO_NADA} . endif . if !target(do-build) do-build: @cd ${BUILD_WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PEP517_BUILD_CMD} . endif . if !target(do-install) do-install: @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} @cd ${INSTALL_WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD} @${PYTHON_CMD} -B ${PORTSDIR}/Mk/Scripts/strip_RECORD.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME:C|[-_]+|_|g}-${DISTVERSION}*.dist-info/RECORD >> ${_PYTHONPKGLIST} @${REINPLACE_CMD} \ -e '/\.pyc$$/d' \ -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../bin/|bin/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../include/|include/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../lib/|lib/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libdata/|libdata/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libexec/|libexec/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../man/|man/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../sbin/|sbin/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../share/|share/|' \ ${_PYTHONPKGLIST} @cd ${STAGEDIR}${PREFIX} && ${FIND} lib -name '*.pyc' >> ${_PYTHONPKGLIST} . endif . endif # defined(_PYTHON_FEATURE_PEP517) . if defined(_PYTHON_FEATURE_NOSE) . if !target(do-test) do-test: cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${PYTHON_CMD} -m nose ${TEST_ARGS:NDESTDIR=*} -v . endif . endif # defined(_PYTHON_FEATURE_NOSE) . if defined(_PYTHON_FEATURE_NOSE2) . if !target(do-test) do-test: cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${PYTHON_CMD} -m nose2 ${TEST_ARGS:NDESTDIR=*} -v . endif . endif # defined(_PYTHON_FEATURE_NOSE2) . if defined(_PYTHON_FEATURE_PYTEST) . if !target(do-test) do-test: cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -k '${_PYTEST_FILTER_EXPRESSION}' -rs -v -o addopts= ${TEST_ARGS:NDESTDIR=*} . endif . endif # defined(_PYTHON_FEATURE_PYTEST) . if defined(_PYTHON_FEATURE_UNITTEST) . if !target(do-test) do-test: cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest ${TEST_ARGS:NDESTDIR=*} -v . endif . endif # defined(_PYTHON_FEATURE_UNITTEST) . if defined(_PYTHON_FEATURE_UNITTEST2) . if !target(do-test) do-test: cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest2 ${TEST_ARGS:NDESTDIR=*} -v . endif . endif # defined(_PYTHON_FEATURE_UNITTEST2) .endif # defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PYTHON_POST_MK) diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index e3b2d4878cd1..a1cc119107d9 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -1,197 +1,197 @@ # MAINTAINER: ports@FreeBSD.org # # Note: before committing to this file, contact portmgr to arrange for an # experimental ports run. Untested commits may be backed out at portmgr's # discretion. # # Provide default versions for ports with multiple versions selectable # by the user. # # Users who want to override these defaults can easily do so by defining # DEFAULT_VERSIONS in their make.conf as follows: # # DEFAULT_VERSIONS= perl5=5.20 ruby=3.1 .if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK) _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes LOCALBASE?= /usr/local . for lang in APACHE BDB COROSYNC EBUR128 EMACS FIREBIRD FORTRAN FPC GCC \ GHOSTSCRIPT GL GO GUILE IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM \ LUA LUAJIT MONO MYSQL NINJA NODEJS OPENLDAP PERL5 PGSQL PHP \ PYCRYPTOGRAPHY PYTHON PYTHON2 RUBY RUST SAMBA SSL TCLTK VARNISH . if defined(${lang}_DEFAULT) ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" . endif #.undef ${lang}_DEFAULT . endfor . for lang in ${DEFAULT_VERSIONS} _l= ${lang:C/=.*//g} ${_l:tu}_DEFAULT= ${lang:C/.*=//g} . endfor # Possible values: 2.4 APACHE_DEFAULT?= 2.4 # Possible values: 5, 18 BDB_DEFAULT?= 5 # Possible values: 2, 3 COROSYNC_DEFAULT?= 3 # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) EBUR128_DEFAULT?= rust . else EBUR128_DEFAULT?= legacy . endif # Possible_values: full canna nox devel_full devel_nox #EMACS_DEFAULT?= let the flavor be the default if not explicitly set # Possible values: 3.0, 4.0 FIREBIRD_DEFAULT?= 3.0 # Possible values: gfortran FORTRAN_DEFAULT?= gfortran # Possible values: 3.2.3, 3.3.1 . if (defined(WANT_FPC_DEVEL) && !empty(WANT_FPC_DEVEL)) || ${ARCH:Maarch64} FPC_DEFAULT?= 3.3.1 . else FPC_DEFAULT?= 3.2.3 . endif # Possible values: 12, 13, 14, 15, 16 # (Any other version is completely unsupported and not meant for general use.) GCC_DEFAULT?= 13 # Possible values: 10 GHOSTSCRIPT_DEFAULT?= 10 # Possible values: mesa-libs, mesa-devel GL_DEFAULT?= mesa-libs # Possible values: 1.20, 1.21, 1.22, 1.23, 1.24, 1.25, 1.26-devel GO_DEFAULT?= 1.24 # Possible values: 1.8, 2.2, 3.0 GUILE_DEFAULT?= 2.2 # Possible versions: 6, 7 # Possible flavors: x11, nox11 # (defaults to x11 when not specified) # Format: version[-flavor] # Examples: 6-nox11, 7 IMAGEMAGICK_DEFAULT?= 7 # Possible values: 8, 11, 17, 18, 19, 20, 21, 22, 23, 24, 25 JAVA_DEFAULT?= 8 # Possible values: 4.2, 4.99 . if (defined(WANT_LAZARUS_DEVEL) && !empty(WANT_LAZARUS_DEVEL)) || ${ARCH:Maarch64} LAZARUS_DEFAULT?= 4.99 . else LAZARUS_DEFAULT?= 4.2 . endif # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) LIBRSVG2_DEFAULT?= rust . else LIBRSVG2_DEFAULT?= legacy . endif # Possible values: c7 rl9 . if ${ARCH:Mi386} LINUX_DEFAULT?= c7 . else LINUX_DEFAULT?= rl9 . endif # Possible values: 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, -devel (to be used when non-base compiler is required) LLVM_DEFAULT?= 19 # Possible values: 5.1, 5.2, 5.3, 5.4 LUA_DEFAULT?= 5.4 # Possible values: luajit, luajit-openresty . if ${ARCH:Mpowerpc64*} LUAJIT_DEFAULT?= luajit-openresty . else LUAJIT_DEFAULT?= luajit . endif # Possible values: 5.10, 5.20, 6.8 MONO_DEFAULT?= 5.20 # Possible values: 8.0, 8.4, 9.1, 9.4, 10.6m, 10.11m, 11.4m, 11.8m MYSQL_DEFAULT?= 8.0 # Possible values: ninja, samurai NINJA_DEFAULT?= ninja # Possible value: 20, 22, 24, 25, current, lts (Note: current = 24 and lts = 22) NODEJS_DEFAULT?= lts # Possible value: 25, 26 OPENLDAP_DEFAULT?= 26 # Possible values: 5.38, 5.40, 5.42, devel . if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ defined(PACKAGE_BUILDING)) # When changing the default here, make sure the DEPRECATED/EXPIRATION lines in # the older Perl 5 ports are uncommented at the same time. PERL5_DEFAULT?= 5.42 . elif !defined(PERL5_DEFAULT) # There's no need to replace development versions, like "5.23" with "devel" # because 1) nobody is supposed to use it outside of poudriere, and 2) it must # be set manually in /etc/make.conf in the first place, and we're never getting # in here. . if !defined(_PERL5_FROM_BIN) _PERL5_FROM_BIN!= ${LOCALBASE}/bin/perl -e 'printf "%vd\n", $$^V;' . endif _EXPORTED_VARS+= _PERL5_FROM_BIN PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R} . endif # Possible values: 13, 14, 15, 16, 17, 18 PGSQL_DEFAULT?= 17 # Possible values: 8.1, 8.2, 8.3, 8.4, 8.5 PHP_DEFAULT?= 8.3 # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) PYCRYPTOGRAPHY_DEFAULT?= rust . else PYCRYPTOGRAPHY_DEFAULT?= legacy . endif -# Possible values: 3.9, 3.10, 3.11, 3.12 +# Possible values: 3.10, 3.11, 3.12 PYTHON_DEFAULT?= 3.11 # Possible values: 2.7 PYTHON2_DEFAULT?= 2.7 # Possible values: 3.2, 3.3, 3.4, 3.5 RUBY_DEFAULT?= 3.3 # Possible values: rust, rust-nightly RUST_DEFAULT?= rust # Possible values: 4.16, 4.19, 4.20, 4.22 SAMBA_DEFAULT?= 4.16 # When updating this, please also update the same list in ssl.mk and the checks # for USES=ssl in qa.sh! # Possible values: base, openssl, openssl111, openssl33, openssl34, openssl35, # openssl36, libressl, libressl-devel . if !defined(SSL_DEFAULT) # If no preference was set, check for an installed base version # but give an installed port preference over it. . if !defined(SSL_DEFAULT) && \ !exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) && \ exists(${DESTDIR}/usr/include/openssl/opensslv.h) SSL_DEFAULT= base . else . if exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) . if defined(PKG_BIN) # find installed port and use it for dependency . if !defined(OPENSSL_INSTALLED) . if defined(DESTDIR) PKGARGS= -c ${DESTDIR} . else PKGARGS= . endif OPENSSL_INSTALLED!= ${PKG_BIN} ${PKGARGS} which -qo ${LOCALBASE}/lib/libcrypto.so || : . endif . if defined(OPENSSL_INSTALLED) && !empty(OPENSSL_INSTALLED) SSL_DEFAULT:= ${OPENSSL_INSTALLED:T} WARNING+= "You have ${OPENSSL_INSTALLED} installed but do not have DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} set in your make.conf" . endif . else check-makevars:: @${ECHO_MSG} "You have a ${LOCALBASE}/lib/libcrypto.so file installed, but the framework is unable" @${ECHO_MSG} "to determine what port it comes from." @${ECHO_MSG} "Add DEFAULT_VERSIONS+=ssl= to your /etc/make.conf and try again." @${FALSE} . endif . endif . endif # Make sure we have a default in the end SSL_DEFAULT?= base . endif # Possible values: 8.6, 9.0 TCLTK_DEFAULT?= 8.6 # Possible values: 6, 7 VARNISH_DEFAULT?= 6 .endif diff --git a/archivers/py-bitshuffle/Makefile b/archivers/py-bitshuffle/Makefile index f9d538f95045..d979023a2f64 100644 --- a/archivers/py-bitshuffle/Makefile +++ b/archivers/py-bitshuffle/Makefile @@ -1,30 +1,30 @@ PORTNAME= bitshuffle PORTVERSION= 0.5.2 CATEGORIES= archivers python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bitshuffle filter for improving typed data compression WWW= https://github.com/kiyo-masui/bitshuffle LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=2.4.0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=2.4.0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.24,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0.7:devel/py-setuptools@${PY_FLAVOR} -USES= pkgconfig python:3.9+ +USES= pkgconfig python USE_PYTHON= autoplist concurrent cython pep517 CFLAGS+= -Wno-error=int-conversion post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/archivers/py-blosc2/Makefile b/archivers/py-blosc2/Makefile index 0b6a508861ac..98a702d999bf 100644 --- a/archivers/py-blosc2/Makefile +++ b/archivers/py-blosc2/Makefile @@ -1,34 +1,34 @@ PORTNAME= blosc2 PORTVERSION= 3.10.2 CATEGORIES= archivers python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast and compressed ndarray library with a flexible compute engine WWW= https://www.blosc.org/python-blosc2/ \ https://github.com/Blosc/python-blosc2 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= c-blosc2>=2.19.1:archivers/c-blosc2 \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0:devel/py-scikit-build-core@${PY_FLAVOR} LIB_DEPENDS= libblosc2.so:archivers/c-blosc2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ndindex>=0:math/py-ndindex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numexpr>=2.14.1:math/py-numexpr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} -USES= cmake:indirect pkgconfig python:3.10+ +USES= cmake:indirect pkgconfig python USE_PYTHON= autoplist concurrent cython3 pep517 MAKE_ENV= USE_SYSTEM_BLOSC2=1 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/archivers/py-zlib-ng/Makefile b/archivers/py-zlib-ng/Makefile index 402019eae818..54a5414b0a81 100644 --- a/archivers/py-zlib-ng/Makefile +++ b/archivers/py-zlib-ng/Makefile @@ -1,32 +1,32 @@ PORTNAME= zlib-ng DISTVERSION= 1.0.0 CATEGORIES= archivers python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= zlib_ng-${DISTVERSION} MAINTAINER= osidorkin@gmail.com COMMENT= Python bindings for the zlib-ng library WWW= https://github.com/pycompression/python-zlib-ng LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -USES= cmake:indirect python:3.10+ +USES= cmake:indirect python USE_PYTHON= autoplist pep517 OPTIONS_DEFINE= SYSTEM_ZLIB_NG SYSTEM_ZLIB_NG_DESC= Use archivers/zlib-ng instead of bundled version SYSTEM_ZLIB_NG_LIB_DEPENDS= libz-ng.so:archivers/zlib-ng SYSTEM_ZLIB_NG_MAKE_ENV= PYTHON_ZLIB_NG_LINK_DYNAMIC=1 post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME:S/-/_/}/${PORTNAME:S/-/_/}.cpython-${PYTHON_VER:S/.//}.so .include diff --git a/astro/py-astral/Makefile b/astro/py-astral/Makefile index cf80f7a7d6c5..0528a66aa6e2 100644 --- a/astro/py-astral/Makefile +++ b/astro/py-astral/Makefile @@ -1,23 +1,23 @@ PORTNAME= astral PORTVERSION= 3.2 PORTREVISION= 1 CATEGORIES= astro python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Calculations for the position of the sun and moon WWW= https://sffjunkie.github.io/astral/ \ https://github.com/sffjunkie/astral LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/astro/py-metpy/Makefile b/astro/py-metpy/Makefile index 98032307310c..225218661478 100644 --- a/astro/py-metpy/Makefile +++ b/astro/py-metpy/Makefile @@ -1,39 +1,39 @@ PORTNAME= metpy PORTVERSION= 1.6.2 PORTREVISION= 2 CATEGORIES= astro python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= MetPy-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of tools for processing weather data WWW= https://github.com/Unidata/MetPy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.5.0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.20.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.4.0,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pint>=0.17:devel/py-pint@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pooch>=1.2.0:devel/py-pooch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.0.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.8.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.0.5:devel/py-traitlets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xarray>=0.21.0:devel/py-xarray@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PLIST_FILES= ${PYTHON_SITELIBDIR}/metpy/static-data-manifest.txt post-install: ${INSTALL_DATA} ${WRKSRC}/src/metpy/static-data-manifest.txt ${STAGEDIR}${PYTHON_SITELIBDIR}/metpy/static-data-manifest.txt .include diff --git a/astro/weather/Makefile b/astro/weather/Makefile index 133f325badbf..fa64dda3362c 100644 --- a/astro/weather/Makefile +++ b/astro/weather/Makefile @@ -1,34 +1,34 @@ PORTNAME= weather PORTVERSION= 2.5.0 CATEGORIES= astro python MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Utility to provide current weather conditions and forecasts WWW= http://fungi.yuggoth.org/weather/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.9+ shebangfix tar:xz +USES= python shebangfix tar:xz NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SHEBANG_FILES= weather do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/weather ${STAGEDIR}${PREFIX}/bin/weather ${INSTALL_DATA} ${WRKSRC}/weather.py ${STAGEDIR}${PYTHON_SITELIBDIR}/ ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_MAN} ${WRKSRC}/weather.1 ${STAGEDIR}${PREFIX}/share/man/man1/weather.1 ${INSTALL_MAN} ${WRKSRC}/weatherrc.5 ${STAGEDIR}${PREFIX}/share/man/man5/weatherrc.5 ${MKDIR} ${STAGEDIR}${DATADIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} airports places stations zctas zones ${STAGEDIR}${DATADIR}/ .include diff --git a/audio/py-pylast/Makefile b/audio/py-pylast/Makefile index 334429b8b94c..7cbd0bac5912 100644 --- a/audio/py-pylast/Makefile +++ b/audio/py-pylast/Makefile @@ -1,28 +1,28 @@ PORTNAME= pylast PORTVERSION= 6.0.0 CATEGORIES= audio python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python interface to Last.fm and Libre.fm WWW= https://github.com/pylast/pylast LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.26:www/py-httpx@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=0:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-random-order>=0:devel/py-pytest-random-order@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} .include diff --git a/comms/chirp/Makefile b/comms/chirp/Makefile index caba1212bef4..4fca0057c0f1 100644 --- a/comms/chirp/Makefile +++ b/comms/chirp/Makefile @@ -1,59 +1,59 @@ PORTNAME= chirp DISTVERSION= 20240910 PORTREVISION= 3 CATEGORIES= comms hamradio PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} DIST_SUBDIR= chirp MAINTAINER= hamradio@FreeBSD.org COMMENT= Free, open-source tool for programming your amateur radio WWW= https://chirpmyradio.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}versioningit>0:devel/py-versioningit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yattag>0:devel/py-yattag@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}suds>0:net/py-suds@${PY_FLAVOR} -USES= desktop-file-utils gnome python:3.10+ shebangfix +USES= desktop-file-utils gnome python shebangfix SHEBANG_GLOB= *.py USE_GITHUB= yes GH_ACCOUNT= kk7ds GH_TAGNAME= 1ee5acb USE_PYTHON= autoplist pep517 pytest USE_WX= 3.2 WX_COMPS= python:run PORTSCOUT= ignore:1 NO_ARCH= yes PLIST_SUB+= DISTVERSION="${DISTVERSION}" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes post-patch: @${ECHO} "Version: ${PORTVERSION}" > ${WRKSRC}/PKG-INFO post-install: @cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/share && \ ${INSTALL_DATA} ${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps && \ ${INSTALL_DATA} ${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} post-install-NLS-on: @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/share/locale @cd ${WRKSRC}/chirp && \ ${COPYTREE_SHARE} locale ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/share @${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/share/locale/Makefile @${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/share/locale/check_parameters.py @${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/share/locale/README.md .include diff --git a/converters/bibtexconv/Makefile b/converters/bibtexconv/Makefile index fc98dcb8751d..15b8ea70a8af 100644 --- a/converters/bibtexconv/Makefile +++ b/converters/bibtexconv/Makefile @@ -1,31 +1,31 @@ PORTNAME= bibtexconv DISTVERSION= 2.0.5 CATEGORIES= converters MASTER_SITES= https://www.nntb.no/~dreibh/bibtexconv/download/ MAINTAINER= thomas.dreibholz@gmail.com COMMENT= BibTeX Converter WWW= https://www.nntb.no/~dreibh/bibtexconv/download/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= pdfinfo:graphics/poppler-utils \ zip:archivers/zip -USES= bison cmake python:3.9+ shebangfix ssl tar:xz +USES= bison cmake python shebangfix ssl tar:xz SHEBANG_FILES= src/get-author-url src/ietf2bibtex CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${EXAMPLESDIR} OPTIONS_DEFINE= EXAMPLES # Remove trailing subdir from CMAKE_INSTALL_DOCDIR post-patch: @${REINPLACE_CMD} -e 's|/examples||' \ ${WRKSRC}/src/CMakeLists.txt \ ${WRKSRC}/src/Images/CMakeLists.txt .include diff --git a/databases/kuzu/Makefile b/databases/kuzu/Makefile index b3c1ae1598db..3b6fb736cfa4 100644 --- a/databases/kuzu/Makefile +++ b/databases/kuzu/Makefile @@ -1,29 +1,29 @@ PORTNAME= kuzu DISTVERSIONPREFIX= v DISTVERSION= 0.11.3 CATEGORIES= databases MAINTAINER= mahlon@martini.nu COMMENT= Embeddable, scalable, extremely fast graph database WWW= https://kuzudb.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Upstream repository archived on Oct 11, 2025 -USES= cmake ninja:build python:3.9+,build +USES= cmake ninja:build python:build USE_GITHUB= yes GH_ACCOUNT= kuzudb USE_LDCONFIG= yes PLIST_SUB= VERSION=${DISTVERSION} post-install: ${MV} ${STAGEDIR}${PREFIX}/lib/libkuzu.so ${STAGEDIR}${PREFIX}/lib/libkuzu.so.${DISTVERSION} ${RLN} libkuzu.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libkuzu.so ${RLN} libkuzu.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libkuzu.so.0 .include diff --git a/databases/py-aesqlapius/Makefile b/databases/py-aesqlapius/Makefile index 8988d9a5dd3e..c4c6d11f6e35 100644 --- a/databases/py-aesqlapius/Makefile +++ b/databases/py-aesqlapius/Makefile @@ -1,27 +1,27 @@ PORTNAME= aesqlapius PORTVERSION= 0.0.9 PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Manage SQL queries as a Python API WWW= https://pypi.org/project/aesqlapius/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-datadir>=0:devel/py-pytest-datadir@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs .include diff --git a/databases/py-marshmallow-sqlalchemy/Makefile b/databases/py-marshmallow-sqlalchemy/Makefile index 45aaf41a44e0..9036082e3599 100644 --- a/databases/py-marshmallow-sqlalchemy/Makefile +++ b/databases/py-marshmallow-sqlalchemy/Makefile @@ -1,33 +1,33 @@ PORTNAME= marshmallow-sqlalchemy PORTVERSION= 1.4.2 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= marshmallow_sqlalchemy-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SQLAlchemy integration with the marshmallow serialization library WWW= https://marshmallow-sqlalchemy.readthedocs.io/en/latest/ \ https://github.com/marshmallow-code/marshmallow-sqlalchemy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>=3.18.0:devel/py-marshmallow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=1.4.40<3.0:databases/py-sqlalchemy20@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-lazy-fixture>=0.6.2:devel/py-pytest-lazy-fixture@${PY_FLAVOR} \ -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} .include .if ${PYTHON_REL} < 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/databases/py-pyarrow/Makefile b/databases/py-pyarrow/Makefile index b1d040aa9437..b055cf40eed2 100644 --- a/databases/py-pyarrow/Makefile +++ b/databases/py-pyarrow/Makefile @@ -1,29 +1,29 @@ PORTNAME= pyarrow PORTVERSION= 20.0.0 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python library for Apache Arrow WWW= https://arrow.apache.org/ \ https://github.com/apache/arrow/tree/main/python LICENSE= APACHE20 BUILD_DEPENDS= arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/arrow \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.25,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libarrow.so:databases/arrow -USES= cmake:indirect python:3.9+ shebangfix +USES= cmake:indirect python shebangfix USE_PYTHON= autoplist concurrent cython3 pep517 SHEBANG_FILES= cmake_modules/aws_sdk_cpp_generate_variables.sh post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/deskutils/py-khard/Makefile b/deskutils/py-khard/Makefile index 2b125121e6f2..3115001cdea2 100644 --- a/deskutils/py-khard/Makefile +++ b/deskutils/py-khard/Makefile @@ -1,59 +1,59 @@ PORTNAME= khard DISTVERSION= 0.20.0 CATEGORIES= deskutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= herbert@gojira.at COMMENT= Console carddav client WWW= https://github.com/lucc/khard/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-argparse>0:textproc/py-sphinx-argparse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-autoapi>0:textproc/py-sphinx-autoapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-autodoc-typehints>0:textproc/py-sphinx-autodoc-typehints@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}vdirsyncer>=0:deskutils/py-vdirsyncer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}vobject>=0.9.5:deskutils/py-vobject@${PY_FLAVOR} -USES= gmake python:3.9-3.11 +USES= gmake python:-3.11 USE_PYTHON= autoplist pep517 NO_ARCH= yes SUB_FILES= pkg-message PLIST_FILES= share/zsh/site-functions/_khard \ share/zsh/site-functions/_email-khard \ ${EXAMPLESDIR}/khard.conf.example \ ${EXAMPLESDIR}/template.yaml \ share/man/man1/khard.1.gz \ share/man/man5/khard.conf.5.gz post-patch: @${REINPLACE_CMD} \ -e 's|sphinx-build|${LOCALBASE}/bin/sphinx-build-${PYTHON_VER}|g' \ -e 's|sphinx-apidoc|${LOCALBASE}/bin/sphinx-apidoc-${PYTHON_VER}|g' \ ${WRKSRC}/doc/Makefile pre-build: (cd ${WRKSRC}/doc && ${MAKE_CMD} man) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_khard \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_email-khard \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions (cd ${WRKSRC}/doc/source/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_MAN} ${WRKSRC}/doc/build/man/khard.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/build/man/khard.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 .include diff --git a/deskutils/py-py3status/Makefile b/deskutils/py-py3status/Makefile index 91ce08385b17..9cbb76a6e04a 100644 --- a/deskutils/py-py3status/Makefile +++ b/deskutils/py-py3status/Makefile @@ -1,33 +1,33 @@ PORTNAME= py3status PORTVERSION= 3.62 CATEGORIES= deskutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Extensible i3status wrapper written in python WWW= https://ultrabug.github.io/py3status/ \ https://github.com/ultrabug/py3status LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.26.1:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= UDEV UDEV_DESC= UDEV support UDEV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyudev>=0.21.0:devel/py-pyudev@${PY_FLAVOR} .include .if ${PYTHON_REL} >= 31200 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} .endif .include diff --git a/deskutils/py-trash-cli/Makefile b/deskutils/py-trash-cli/Makefile index cbe914f8f109..16bf1616dcf4 100644 --- a/deskutils/py-trash-cli/Makefile +++ b/deskutils/py-trash-cli/Makefile @@ -1,35 +1,35 @@ PORTNAME= trash-cli DISTVERSION= 0.24.5.26 CATEGORIES= deskutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= trash_cli-${DISTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Command line interface to the freedesktop.org trashcan WWW= https://github.com/andreafrancia/trash-cli LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shtab>=1.7.1:devel/py-shtab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.44.0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=6.0.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 TRASH_CMDS= trash-empty trash-list trash-restore trash-put trash post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions . for cmd in ${TRASH_CMDS} @${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \ ${STAGEDIR}${PREFIX}/bin/${cmd} --print-completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${cmd} @${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \ ${STAGEDIR}${PREFIX}/bin/${cmd} --print-completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${cmd} . endfor .include diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile index 2d1327e6d18b..45a96f95e976 100644 --- a/devel/bpython/Makefile +++ b/devel/bpython/Makefile @@ -1,55 +1,55 @@ PORTNAME= bpython PORTVERSION= 0.25 CATEGORIES= devel python MASTER_SITES= PYPI \ https://bpython-interpreter.org/releases/ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fancy interface to the Python interpreter WWW= https://bpython-interpreter.org/ \ https://docs.bpython-interpreter.org/en/latest/ \ https://github.com/bpython/bpython LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curtsies>=0.4.0:devel/py-curtsies@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cwcwidth>=0:devel/py-cwcwidth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}greenlet>=0:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/theme/*.theme ${STAGEDIR}${EXAMPLESDIR}/ post-install-NLS-on: .for lang in es_ES fr_FR it_IT nl_NL ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/ .endfor .for lang in de es_ES fr_FR it_IT nl_NL ${INSTALL_DATA} ${WRKSRC}/bpython/translations/${lang}/LC_MESSAGES/bpython.mo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/ .endfor .include diff --git a/devel/ipython/Makefile b/devel/ipython/Makefile index a2000ea23c1c..199dbd6d2f44 100644 --- a/devel/ipython/Makefile +++ b/devel/ipython/Makefile @@ -1,50 +1,50 @@ PORTNAME= ipython PORTVERSION= 8.18.1 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Enhanced Interactive Python shell WWW= https://ipython.org/ \ https://ipython.readthedocs.io/en/stable/ \ https://github.com/ipython/ipython LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.rst BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=51.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \ ${PY_EXCEPTIONGROUP} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.16:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>=4.3:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.41<3.1.0:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=2:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stack-data>0:devel/py-stack-data@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5:devel/py-traitlets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib-inline>0:math/py-matplotlib-inline@${PY_FLAVOR} -USES= cpe python:3.9+ +USES= cpe python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= py*-ipython5 NO_ARCH= yes PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES .include .if ${PYTHON_REL} < 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/oci-cli/Makefile b/devel/oci-cli/Makefile index 7a9a770e6209..b10b9e8a00b7 100644 --- a/devel/oci-cli/Makefile +++ b/devel/oci-cli/Makefile @@ -1,41 +1,41 @@ PORTNAME= oci-cli DISTVERSIONPREFIX= v DISTVERSION= 3.68.1 CATEGORIES= devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ale_sagra@hotmail.com COMMENT= Command Line Interface for Oracle Cloud Infrastructure WWW= https://github.com/oracle/oci-cli/ LICENSE= APACHE20 UPL LICENSE_COMB= dual LICENSE_GROUPS_UPL= FSF GPL OSI LICENSE_NAME_UPL= Universal Permissive License LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt LICENSE_FILE_UPL= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_UPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=1.0.0:devel/py-arrow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.0.4:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0.10.0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oci>=2.161.1:devel/py-oci@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=22.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.29:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.5.3:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.15.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}terminaltables>=3.1.0:textproc/py-terminaltables@${PY_FLAVOR} -USES= python:3.9-3.12 +USES= python:-3.12 USE_GITHUB= yes GH_ACCOUNT= oracle USE_PYTHON= autoplist concurrent cryptography pep517 NO_ARCH= yes .include diff --git a/devel/py-all-repos/Makefile b/devel/py-all-repos/Makefile index a90a440f63f0..c84c016dfb32 100644 --- a/devel/py-all-repos/Makefile +++ b/devel/py-all-repos/Makefile @@ -1,33 +1,33 @@ PORTNAME= all-repos PORTVERSION= 1.30.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= all_repos-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Clone all your repositories and apply sweeping changes WWW= https://github.com/asottile/all-repos LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= git:devel/git \ jq:textproc/jq \ ${PYTHON_PKGNAMEPREFIX}identify>=0:devel/py-identify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextlib-chdir>=0:devel/py-contextlib-chdir@${PY_FLAVOR} .endif .include diff --git a/devel/py-anyio/Makefile b/devel/py-anyio/Makefile index a2ddfe1abcab..cfe1235d16c6 100644 --- a/devel/py-anyio/Makefile +++ b/devel/py-anyio/Makefile @@ -1,41 +1,41 @@ PORTNAME= anyio PORTVERSION= 4.11.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= High level compatibility layer for multiple asynchronous event loop implementations WWW= https://github.com/agronholm/anyio LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PY_EXCEPTIONGROUP} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.8:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= TRIO TRIO_DESC= Use trio as backend TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.31.0:net/py-trio@${PY_FLAVOR} .include .if ${PYTHON_REL} >= 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}truststore>=0.9.1:security/py-truststore@${PY_FLAVOR} .endif .if ${PYTHON_REL} < 31300 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/devel/py-black/Makefile b/devel/py-black/Makefile index b7a6e7923a4e..2b7cdc0bcc05 100644 --- a/devel/py-black/Makefile +++ b/devel/py-black/Makefile @@ -1,57 +1,57 @@ PORTNAME= black PORTVERSION= 25.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Uncompromising code formatter WWW= https://black.readthedocs.io/en/stable/ \ https://github.com/psf/black LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0.4.3:devel/py-mypy_extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=22.0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathspec>=0.9.0:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=2020.1.8:textproc/py-regex@${PY_FLAVOR} \ ${PY_TOMLI} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=5.3:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython>=7.8.0:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.0.2,1:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tokenize-rt>=3.2.0:devel/py-tokenize-rt@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} OPTIONS_DEFINE= COLORAMA D JUPYTER UVLOOP OPTIONS_DEFAULT=COLORAMA COLORAMA_DESC= Color support D_DESC= Blackd HTTP server JUPYTER_DESC= Jupyter support UVLOOP_DESC= Event loop support COLORAMA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.3:devel/py-colorama@${PY_FLAVOR} D_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.10:www/py-aiohttp@${PY_FLAVOR} JUPYTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>=7.8.0:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tokenize-rt>=3.2.0:devel/py-tokenize-rt@${PY_FLAVOR} UVLOOP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uvloop>=0.15.2:devel/py-uvloop@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.1:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/devel/py-blinker/Makefile b/devel/py-blinker/Makefile index bdf6dda68294..8297ba73dfbc 100644 --- a/devel/py-blinker/Makefile +++ b/devel/py-blinker/Makefile @@ -1,23 +1,23 @@ PORTNAME= blinker PORTVERSION= 1.9.0 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/pallets-eco/blinker/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast, simple object-to-object and broadcast signaling WWW= https://pythonhosted.org/blinker/ \ https://github.com/pallets-eco/blinker LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/devel/py-botocore/Makefile b/devel/py-botocore/Makefile index ae5e87078187..58612eb638b2 100644 --- a/devel/py-botocore/Makefile +++ b/devel/py-botocore/Makefile @@ -1,32 +1,32 @@ PORTNAME= botocore PORTVERSION= 1.40.59 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Low-level, core functionality of boto 3 WWW= https://github.com/boto/botocore LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<2.0.0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.1<3.0.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.4,1<3,1:net/py-urllib3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}awscrt>=0.27.6:devel/py-awscrt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes OPTIONS_DEFINE= CRT CRT_DESC= Common runtime support CRT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}awscrt>=0.27.6:devel/py-awscrt@${PY_FLAVOR} .include diff --git a/devel/py-check-wheel-contents/Makefile b/devel/py-check-wheel-contents/Makefile index 15f63d6f625f..9af743b4b362 100644 --- a/devel/py-check-wheel-contents/Makefile +++ b/devel/py-check-wheel-contents/Makefile @@ -1,28 +1,28 @@ PORTNAME= check-wheel-contents PORTVERSION= 0.6.3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= check_wheel_contents-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Check your wheels have the right contents WWW= https://github.com/jwodder/check-wheel-contents LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} xRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=18.1:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.2<9:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0<3:devel/py-pydantic2@${PY_FLAVOR} \ ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}wheel-filename>=1.1<2:devel/py-wheel-filename@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-cliff/Makefile b/devel/py-cliff/Makefile index d480d2a2b228..3532b4a6702f 100644 --- a/devel/py-cliff/Makefile +++ b/devel/py-cliff/Makefile @@ -1,29 +1,29 @@ PORTNAME= cliff PORTVERSION= 4.11.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Command Line Interface Formulation Framework WWW= https://docs.openstack.org/cliff/latest/ \ https://github.com/openstack/cliff LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}autopage>=0.4.0:devel/py-autopage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cmd2>=1.0.0:devel/py-cmd2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prettytable0>=0.7.2:devel/py-prettytable0@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.12:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=2.0.1:devel/py-stevedore@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-cloudpathlib/Makefile b/devel/py-cloudpathlib/Makefile index 4a936568ed39..9b479385571c 100644 --- a/devel/py-cloudpathlib/Makefile +++ b/devel/py-cloudpathlib/Makefile @@ -1,35 +1,35 @@ PORTNAME= cloudpathlib PORTVERSION= 0.23.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= pathlib-style classes for cloud storage services WWW= https://cloudpathlib.drivendata.org/stable/ \ https://github.com/drivendataorg/cloudpathlib LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4.0:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= GS S3 GS_DESC= Google Cloud Storage support S3_DESC= Amazon S3 support GS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-cloud-storage>=0:www/py-google-cloud-storage@${PY_FLAVOR} S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.34.0:www/py-boto3@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/devel/py-crick/Makefile b/devel/py-crick/Makefile index 32c3e86a8794..d64712b3f4c5 100644 --- a/devel/py-crick/Makefile +++ b/devel/py-crick/Makefile @@ -1,32 +1,32 @@ PORTNAME= crick PORTVERSION= 0.0.8 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= High performance approximate and streaming algorithms WWW= https://github.com/dask/crick LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}versioneer>=0:devel/py-versioneer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent cython pep517 post-patch: @${RM} ${WRKSRC}/crick/numpy_version.c @${RM} ${WRKSRC}/crick/space_saving.c @${RM} ${WRKSRC}/crick/stats.c @${RM} ${WRKSRC}/crick/tdigest.c post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-crosshair-tool/Makefile b/devel/py-crosshair-tool/Makefile index 7ce48c9dc0ec..0a641559a702 100644 --- a/devel/py-crosshair-tool/Makefile +++ b/devel/py-crosshair-tool/Makefile @@ -1,32 +1,32 @@ PORTNAME= crosshair-tool PORTVERSION= 0.0.97 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= crosshair_tool-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Analyze Python code for correctness using symbolic execution WWW= https://crosshair.readthedocs.io/en/latest/ \ https://github.com/pschanely/CrossHair LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.0.0:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygls>=1.0.0:devel/py-pygls@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typeshed-client>=2.0.5:devel/py-typeshed-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-inspect>=0.7.1:devel/py-typing-inspect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}z3-solver>=4.13.0.0:math/py-z3-solver@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-curtsies/Makefile b/devel/py-curtsies/Makefile index f0969d44f111..35960c0517aa 100644 --- a/devel/py-curtsies/Makefile +++ b/devel/py-curtsies/Makefile @@ -1,25 +1,25 @@ PORTNAME= curtsies PORTVERSION= 0.4.3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Curses-like terminal wrapper, with colored strings WWW= https://github.com/bpython/curtsies LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blessed>=1.5:devel/py-blessed@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cwcwidth>=0:devel/py-cwcwidth@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyte>=0:devel/py-pyte@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/devel/py-cwcwidth/Makefile b/devel/py-cwcwidth/Makefile index 24235d492fa6..baf5f55a59c8 100644 --- a/devel/py-cwcwidth/Makefile +++ b/devel/py-cwcwidth/Makefile @@ -1,24 +1,24 @@ PORTNAME= cwcwidth PORTVERSION= 0.1.10 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python bindings for wc(s)width WWW= https://github.com/sebastinas/cwcwidth LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent cython3 pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-dask-expr/Makefile b/devel/py-dask-expr/Makefile index e21ef75ce3f9..d408e8ad1161 100644 --- a/devel/py-dask-expr/Makefile +++ b/devel/py-dask-expr/Makefile @@ -1,24 +1,24 @@ PORTNAME= dask-expr PORTVERSION= 2.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= dask_expr-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= High Level Expressions for Dask WWW= https://github.com/dask/dask-expr LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=2025.1.0:devel/py-dask@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-dask-histogram/Makefile b/devel/py-dask-histogram/Makefile index 31421d788cae..dbd5ecde5c13 100644 --- a/devel/py-dask-histogram/Makefile +++ b/devel/py-dask-histogram/Makefile @@ -1,27 +1,27 @@ PORTNAME= dask-histogram PORTVERSION= 2025.2.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= dask_histogram-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Histogramming with Dask WWW= https://dask-histogram.readthedocs.io/en/stable/ \ https://github.com/dask-contrib/dask-histogram LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-histogram>=1.3.2:misc/py-boost-histogram@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dask>=2021.03.0:devel/py-dask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dask-awkward>=2025:devel/py-dask-awkward@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-dask/Makefile b/devel/py-dask/Makefile index 076f602c83aa..dcc28589ebaa 100644 --- a/devel/py-dask/Makefile +++ b/devel/py-dask/Makefile @@ -1,57 +1,57 @@ PORTNAME= dask PORTVERSION= 2025.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Parallel PyData with Task Scheduling WWW= https://dask.org/ \ https://github.com/dask/dask LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}versioneer>=0.29<0.29_99:devel/py-versioneer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.1:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cloudpickle>=3.0.0:devel/py-cloudpickle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fsspec>=2021.09.0:filesystems/py-fsspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}partd>=1.4.0:databases/py-partd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toolz>=0.10.0:devel/py-toolz@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} -USES= cpe python:3.10+ +USES= cpe python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes CPE_VENDOR= anaconda OPTIONS_DEFINE= ARRAY DATAFRAME DIAGNOSTICS OPTIONS_DEFAULT=DATAFRAME ARRAY_DESC= Subset of the NumPy ndarray interface DATAFRAME_DESC= Composed of many smaller Pandas DataFrames DATAFRAME_IMPLIES= ARRAY DIAGNOSTICS_DESC= Profile and inspect parallel codes ARRAY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.24,1:math/py-numpy@${PY_FLAVOR} DATAFRAME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=2.0,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyarrow>=14.0.1:databases/py-pyarrow@${PY_FLAVOR} DIAGNOSTICS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}bokeh>=3.1.0:www/py-bokeh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.3:devel/py-Jinja2@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31200 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.13.0:devel/py-importlib-metadata@${PY_FLAVOR} .endif .include diff --git a/devel/py-deptry/Makefile b/devel/py-deptry/Makefile index 77968595ddf0..c98e9db42984 100644 --- a/devel/py-deptry/Makefile +++ b/devel/py-deptry/Makefile @@ -1,30 +1,30 @@ PORTNAME= deptry PORTVERSION= 0.23.1 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= deptry-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CLI utility to check for unused, missing and transitive dependencies WWW= https://deptry.com/ \ https://github.com/fpgmaas/deptry LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.5<2.0:devel/py-maturin@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.0<9:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=23.2:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requirements-parser>=0.11.0<1:devel/py-requirements-parser@${PY_FLAVOR} \ ${PY_TOMLI} -USES= cargo python:3.9+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/deptry-${PORTVERSION} .include diff --git a/devel/py-dirty-equals/Makefile b/devel/py-dirty-equals/Makefile index a58fea06e9a5..8b18a6b129f1 100644 --- a/devel/py-dirty-equals/Makefile +++ b/devel/py-dirty-equals/Makefile @@ -1,23 +1,23 @@ PORTNAME= dirty-equals PORTVERSION= 0.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= dirty_equals-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Do dirty (but extremely useful) things with equals WWW= https://dirty-equals.helpmanual.io/latest/ \ https://github.com/samuelcolvin/dirty-equals LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-distributed/Makefile b/devel/py-distributed/Makefile index db89f75e8d22..26f4216e4d5d 100644 --- a/devel/py-distributed/Makefile +++ b/devel/py-distributed/Makefile @@ -1,39 +1,39 @@ PORTNAME= distributed PORTVERSION= 2025.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Distributed scheduler for Dask WWW= https://distributed.dask.org/en/stable/ \ https://github.com/dask/distributed LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}versioneer>=0.29:devel/py-versioneer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cloudpickle>=3.0.0:devel/py-cloudpickle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dask>=${PORTVERSION}<${PORTVERSION}_99:devel/py-dask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.3:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}locket>=1.0.0:devel/py-locket@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.8.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.0.5:devel/py-sortedcontainers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tblib>=1.6.0:devel/py-tblib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toolz>=0.11.2:devel/py-toolz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>=6.2.0:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.5,1:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zict>=3.0.0:devel/py-zict@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-dj51-django-rq/Makefile b/devel/py-dj51-django-rq/Makefile index c29277aa7a83..7cf9645e4aba 100644 --- a/devel/py-dj51-django-rq/Makefile +++ b/devel/py-dj51-django-rq/Makefile @@ -1,45 +1,45 @@ PORTNAME= django-rq PORTVERSION= 3.0.0 PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provides Django integration for RQ (Redis Queue) WWW= https://github.com/rq/django-rq LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.5:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq>=2:devel/py-rq@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-django-redis>0:www/py-dj51-django-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq-scheduler>=0:devel/py-rq-scheduler@${PY_FLAVOR} \ redis-server:databases/redis -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes TEST_ENV= PYTHONPATH=. CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-rq OPTIONS_DEFINE= SENTRY SENTRY_DESC= Sentry support SENTRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sentry-sdk>=1.0.0:devel/py-sentry-sdk@${PY_FLAVOR} # https://github.com/rq/django-rq/blob/master/Makefile do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/django-admin test django_rq --settings=django_rq.tests.settings -v2 .include diff --git a/devel/py-dj51-strawberry-graphql/Makefile b/devel/py-dj51-strawberry-graphql/Makefile index 22c3c58e5f96..f0aef6b447dc 100644 --- a/devel/py-dj51-strawberry-graphql/Makefile +++ b/devel/py-dj51-strawberry-graphql/Makefile @@ -1,79 +1,79 @@ PORTNAME= strawberry-graphql DISTVERSION= 0.284.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= strawberry_graphql-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Library for creating GraphQL APIs WWW= https://github.com/strawberry-graphql/strawberry LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lia-web>=0.2.1:www/py-lia-web@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=23:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= AIOHTTP ASGI CHANNELS CLI DEBUG DEBUG-SERVER DJANGO \ FASTAPI FLASK OPENTELEMETRY PYDANTIC AIOHTTP_DESC= Basic AIOHTTP integration ASGI_DESC= Basic ASGI integration CHANNELS_DESC= Support for Django Channels CLI_DESC= Support for CLI commands DEBUG-SERVER_DESC= Enable debug server DEBUG_DESC= Generate verbose debug information DJANGO_DESC= Basic Django integration FASTAPI_DESC= Support for FastAPI in conjunction with GraphQLRouter FLASK_DESC= Basic Flask integration OPENTELEMETRY_DESC= Generate Open Telemetry compatible tracing information PYDANTIC_DESC= Support for Pydantic models AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4<4:www/py-aiohttp@${PY_FLAVOR} ASGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR} CHANNELS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2<4:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-channels>=3.0.5:www/py-dj51-channels@${PY_FLAVOR} CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3<3:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.7.0:devel/py-typer@${PY_FLAVOR} DEBUG-SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3<3:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.7.0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uvicorn>=0.11.6:www/py-uvicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>=15.0.1<16:devel/py-websockets@${PY_FLAVOR} DEBUG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} # NB: www/py-channels (via CHANNELS) options depends on www/py-djangoXX, which # should be taken into account when creating a port for a specific Django version. DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR} FASTAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.0:www/py-fastapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} FLASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=1.1:www/py-flask@${PY_FLAVOR} OPENTELEMETRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api<2:devel/py-opentelemetry-api@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk<2:devel/py-opentelemetry-sdk@${PY_FLAVOR} # NB: Switch to devel/py-pydantic once www/py-fastapi uses it PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>1.6.1:devel/py-pydantic2@${PY_FLAVOR} .include diff --git a/devel/py-dj52-django-rq/Makefile b/devel/py-dj52-django-rq/Makefile index 6649ae59d80b..7bec18b3b5a7 100644 --- a/devel/py-dj52-django-rq/Makefile +++ b/devel/py-dj52-django-rq/Makefile @@ -1,41 +1,41 @@ PORTNAME= django-rq PORTVERSION= 3.0.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_rq-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provides Django integration for RQ (Redis Queue) WWW= https://github.com/rq/django-rq LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.5:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq>=2:devel/py-rq@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-django-redis>=0:www/py-dj52-django-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq-scheduler>=0:devel/py-rq-scheduler@${PY_FLAVOR} \ redis-server:databases/redis -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes TEST_ENV= PYTHONPATH=. CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-rq OPTIONS_DEFINE= SENTRY SENTRY_DESC= Sentry support SENTRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sentry-sdk>=1.0.0:devel/py-sentry-sdk@${PY_FLAVOR} # https://github.com/rq/django-rq/blob/master/Makefile do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/django-admin test django_rq --settings=django_rq.tests.settings -v2 .include diff --git a/devel/py-dj52-strawberry-graphql/Makefile b/devel/py-dj52-strawberry-graphql/Makefile index f6dc35032c3c..0fe718dba230 100644 --- a/devel/py-dj52-strawberry-graphql/Makefile +++ b/devel/py-dj52-strawberry-graphql/Makefile @@ -1,76 +1,76 @@ PORTNAME= strawberry-graphql DISTVERSION= 0.284.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= strawberry_graphql-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Library for creating GraphQL APIs WWW= https://github.com/strawberry-graphql/strawberry LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lia-web>=0.2.1:www/py-lia-web@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=23:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= AIOHTTP ASGI CHANNELS CLI DEBUG DEBUG-SERVER DJANGO \ FASTAPI FLASK OPENTELEMETRY PYDANTIC AIOHTTP_DESC= Basic AIOHTTP integration ASGI_DESC= Basic ASGI integration CHANNELS_DESC= Support for Django Channels CLI_DESC= Support for CLI commands DEBUG-SERVER_DESC= Enable debug server DEBUG_DESC= Generate verbose debug information DJANGO_DESC= Basic Django integration FASTAPI_DESC= Support for FastAPI in conjunction with GraphQLRouter FLASK_DESC= Basic Flask integration OPENTELEMETRY_DESC= Generate Open Telemetry compatible tracing information PYDANTIC_DESC= Support for Pydantic models AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4<4:www/py-aiohttp@${PY_FLAVOR} ASGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR} CHANNELS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2<4:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-channels>=3.0.5:www/py-dj52-channels@${PY_FLAVOR} CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3<3:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.7.0:devel/py-typer@${PY_FLAVOR} DEBUG-SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3<3:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.7.0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uvicorn>=0.11.6:www/py-uvicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>=15.0.1<16:devel/py-websockets@${PY_FLAVOR} DEBUG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} # NB: www/py-channels (via CHANNELS) options depends on www/py-djangoXX, which # should be taken into account when creating a port for a specific Django version. DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR} FASTAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.0:www/py-fastapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} FLASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=1.1:www/py-flask@${PY_FLAVOR} OPENTELEMETRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api<2:devel/py-opentelemetry-api@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk<2:devel/py-opentelemetry-sdk@${PY_FLAVOR} # NB: Switch to devel/py-pydantic once www/py-fastapi uses it PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>1.6.1:devel/py-pydantic2@${PY_FLAVOR} .include diff --git a/devel/py-e3-core/Makefile b/devel/py-e3-core/Makefile index 26a036131fc5..ebe6e89d98e6 100644 --- a/devel/py-e3-core/Makefile +++ b/devel/py-e3-core/Makefile @@ -1,74 +1,74 @@ PORTNAME= e3-core DISTVERSION= 22.10.0 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Core framework for developing portable automated build systems WWW= https://github.com/AdaCore/e3-core LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}resolvelib>0:devel/py-resolvelib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>1.20.0:devel/py-stevedore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ bash>0:shells/bash TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansi2html>0:textproc/py-ansi2html@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-html>0:devel/py-pytest-html@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-socket>0:devel/py-pytest-socket@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ git>0:devel/git \ rsync>0:net/rsync -USES= pytest python:3.9+ +USES= pytest python USE_GITHUB= yes GH_ACCOUNT= AdaCore USE_PYTHON= autoplist concurrent pep517 PLIST_FILES+= ${PYTHON_SITELIBDIR}/e3/os/data/rlimit-${_RLIMIT_PLATFORM} _RLIMIT_PLATFORM= ${ARCH:S/amd64/x86_64/}-${OPSYS:tl} post-patch: # Modify ${WRKSRC}/VERSION to reflect the complete upsteam version, to avoid # dealing with Python Wheel shenanigans ${REINPLACE_CMD} -e 's|${PORTVERSION:R}|${PORTVERSION}|' \ ${WRKSRC}/VERSION ${REINPLACE_CMD} -e 's|%%PYTHON_VER%%|${PYTHON_VER}|' \ ${WRKSRC}/tests/tests_e3/os/process/main_test.py \ ${WRKSRC}/tests/tests_e3/main/main_test.py pre-build: # Build required rlimit binary, see GitHub issue 388 for context, # https://github.com/AdaCore/e3-core/issues/388 (cd ${WRKSRC}/tools/rlimit && \ ${CC} -o rlimit-${_RLIMIT_PLATFORM} rlimit.c) post-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/rlimit/rlimit-${_RLIMIT_PLATFORM} \ ${STAGEDIR}${PYTHON_SITELIBDIR}/e3/os/data/ do-test: # Tests require e3 to function (cd ${WRKSRC} && \ ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ ${PYTHON_CMD} -m pytest) .include diff --git a/devel/py-etils/Makefile b/devel/py-etils/Makefile index 96b7bd432fc7..a04565f747bf 100644 --- a/devel/py-etils/Makefile +++ b/devel/py-etils/Makefile @@ -1,65 +1,65 @@ PORTNAME= etils PORTVERSION= 1.13.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of common python utils WWW= https://etils.readthedocs.io/en/latest/ \ https://github.com/google/etils LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.8<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= ARRAY_TYPES EAPP ECOLAB EDC ENP EPATH EPATH_GCS EPATH_S3 EPY ETREE ETQDM OPTIONS_DEFAULT=ARRAY_TYPES EAPP EDC ENP EPATH EPY ETREE ETQDM ARRAY_TYPES_DESC= Typing annotations for jax, numpy, ... arrays ARRAY_TYPES_IMPLIES= ENP EAPP_DESC= Absl flags/app utilities EAPP_IMPLIES= EPY ECOLAB_DESC= Colab utilities ECOLAB_IMPLIES= ENP EPY ETREE EDC_DESC= Dataclasses utilities EDC_IMPLIES= EPY ENP_DESC= Numpy utilities ENP_IMPLIES= EPY EPATH_DESC= Pathlib-like API EPATH_GCS_DESC= Pathlib-like API for GCS EPATH_GCS_IMPLIES= EPATH EPATH_S3_DESC= Pathlib-like API for S3 EPATH_S3_IMPLIES= EPATH EPATH_IMPLIES= EPY EPY_DESC= Collection of generic python utilities ETREE_DESC= Tree utilities for tf.nest, jax.tree_utils, DeepMind tree ETREE_IMPLIES= ENP EPY ETQDM ETQDM_DESC= Tqdm utilities ETQDM_IMPLIES= EPY EAPP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}absl-py>=0:devel/py-absl-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simple-parsing>=0:devel/py-simple-parsing@${PY_FLAVOR} ECOLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter>=0:devel/py-jupyter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mediapy>=0:devel/py-mediapy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1:devel/py-protobuf@${PY_FLAVOR} ENP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}einops>=0:misc/py-einops@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} EPATH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fsspec>=0:filesystems/py-fsspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zipp>=0:devel/py-zipp@${PY_FLAVOR} EPATH_GCS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gcsfs>=0:filesystems/py-gcsfs@${PY_FLAVOR} EPATH_S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}s3fs>=0:filesystems/py-s3fs@${PY_FLAVOR} EPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} ETQDM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}absl-py>=0:devel/py-absl-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} .include diff --git a/devel/py-flake8-bugbear/Makefile b/devel/py-flake8-bugbear/Makefile index 0e2e330bdcce..ebb24e21e20f 100644 --- a/devel/py-flake8-bugbear/Makefile +++ b/devel/py-flake8-bugbear/Makefile @@ -1,25 +1,25 @@ PORTNAME= flake8-bugbear PORTVERSION= 25.10.21 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= flake8_bugbear-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Plugin for flake8 finding likely bugs and design problems WWW= https://github.com/PyCQA/flake8-bugbear LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>=7.2.0:devel/py-flake8@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-flake8-pyi/Makefile b/devel/py-flake8-pyi/Makefile index c9d2b820dc10..929e070f358d 100644 --- a/devel/py-flake8-pyi/Makefile +++ b/devel/py-flake8-pyi/Makefile @@ -1,25 +1,25 @@ PORTNAME= flake8-pyi PORTVERSION= 25.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= flake8_pyi-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Plugin for flake8 to enable linting .pyi stub files WWW= https://github.com/PyCQA/flake8-pyi LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=6.0.0<8.0.0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>=2.1.1:devel/py-pyflakes@${PY_FLAVOR} \ -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-flynt/Makefile b/devel/py-flynt/Makefile index 2af33ebf1181..fb6ee6f49908 100644 --- a/devel/py-flynt/Makefile +++ b/devel/py-flynt/Makefile @@ -1,29 +1,29 @@ PORTNAME= flynt PORTVERSION= 1.0.6 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= leres@FreeBSD.org COMMENT= Convert Python scripts from string formatting to f-strings WWW= https://github.com/ikamensh/flynt LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_GITHUB= yes USE_PYTHON= autoplist pep517 NO_ARCH= yes GH_ACCOUNT= ikamensh .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>1.1.0:textproc/py-tomli@${PY_FLAVOR} .endif .include diff --git a/devel/py-glance-store/Makefile b/devel/py-glance-store/Makefile index 125f0ddc3656..48a10e059a2e 100644 --- a/devel/py-glance-store/Makefile +++ b/devel/py-glance-store/Makefile @@ -1,57 +1,57 @@ PORTNAME= glance-store PORTVERSION= 4.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= glance_store-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= OpenStack Image Service Store Library WWW= https://docs.openstack.org/glance_store/latest/ \ https://github.com/openstack/glance_store LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.18.2:net/py-eventlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.4.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.26.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=4.7.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=3.8.0:net/py-python-keystoneclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} -USES= python:3.9+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes SHEBANG_GLOB= *.sh OPTIONS_DEFINE= CINDER S3 SWIFT VMWARE OPTIONS_DEFAULT=CINDER S3 SWIFT VMWARE CINDER_DESC= Storage backend for OpenStack Cinder storage nodes S3_DESC= Storage backend for Amazon S3 SWIFT_DESC= Storage backend for OpenStack Swift VMWARE_DESC= Storage backend for VMware Datastore CINDER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}os-brick>=6.3.0:devel/py-os-brick@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.rootwrap>=5.8.0:devel/py-oslo.rootwrap@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-cinderclient>=4.1.0:net/py-python-cinderclient@${PY_FLAVOR} S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.9.199:www/py-boto3@${PY_FLAVOR} SWIFT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-swiftclient>=3.2.0:databases/py-python-swiftclient@${PY_FLAVOR} VMWARE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oslo.privsep>=1.23.0:devel/py-oslo.privsep@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.vmware>=3.6.0:devel/py-oslo.vmware@${PY_FLAVOR} post-patch: @${REINPLACE_CMD} -e 's|/etc/glance/|${PREFIX}&|' ${WRKSRC}/etc/glance/rootwrap.conf ${WRKSRC}/glance_store/_drivers/cinder/store.py ${WRKSRC}/glance_store/tests/unit/cinder/test_cinder_base.py @${REINPLACE_CMD} -e 's|/etc/ssl/|${PREFIX}&|' ${WRKSRC}/glance_store/_drivers/swift/store.py ${WRKSRC}/glance_store/_drivers/vmware_datastore.py .include diff --git a/devel/py-humanize/Makefile b/devel/py-humanize/Makefile index 92dc680c5479..2f28945c3da4 100644 --- a/devel/py-humanize/Makefile +++ b/devel/py-humanize/Makefile @@ -1,22 +1,22 @@ PORTNAME= humanize PORTVERSION= 4.12.3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= skreuzer@FreeBSD.org COMMENT= Various common humanization utilities WWW= https://github.com/python-humanize/humanize LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes .include diff --git a/devel/py-hypothesis/Makefile b/devel/py-hypothesis/Makefile index 800e821ff89e..cbbab186b3e9 100644 --- a/devel/py-hypothesis/Makefile +++ b/devel/py-hypothesis/Makefile @@ -1,62 +1,62 @@ PORTNAME= hypothesis PORTVERSION= 6.142.4 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for property based testing WWW= https://hypothesis.works/ \ https://hypothesis.readthedocs.io/en/latest/ \ https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=23.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PY_EXCEPTIONGROUP} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.1.0<3.0.0:devel/py-sortedcontainers@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= CLI CODEMODS CROSSHAIR DATEUTIL DJANGO DPCONTRACTS GHOSTWRITER LARK NUMPY PANDAS PYTEST PYTZ REDIS WATCHDOG OPTIONS_DEFAULT=CLI CROSSHAIR DATEUTIL DJANGO DPCONTRACTS GHOSTWRITER LARK NUMPY PANDAS PYTEST PYTZ REDIS WATCHDOG CLI_DESC= Command-line interface support CODEMODS_DESC= Refactor deprecated or inefficient code CROSSHAIR_DESC= CrossHair support DATEUTIL_DESC= Provide dateutil timezones DJANGO_DESC= Django support DPCONTRACTS_DESC= Contracts support GHOSTWRITER_DESC= Ghostwriter support LARK_DESC= Lark parser support NUMPY_DESC= NumPy support PANDAS_DESC= Pandas support PYTEST_DESC= pytest support PYTZ_DESC= Timezone support REDIS_DESC= Redis support WATCHDOG_DESC= Watchdog support CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>=20.8b0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=9.0.0:textproc/py-rich@${PY_FLAVOR} CODEMODS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>=0.3.16:devel/py-libcst@${PY_FLAVOR} CROSSHAIR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}crosshair-tool>=0.0.97:devel/py-crosshair-tool@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis-crosshair>=0.0.25:devel/py-hypothesis-crosshair@${PY_FLAVOR} DATEUTIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dateutil>=1.4:devel/py-python-dateutil@${PY_FLAVOR} DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} DPCONTRACTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}dpcontracts>=0.4:devel/py-dpcontracts@${PY_FLAVOR} GHOSTWRITER_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}black>=20.8b0:devel/py-black@${PY_FLAVOR} LARK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lark>=0.10.1:devel/py-lark@${PY_FLAVOR} NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.21.6,1:math/py-numpy@${PY_FLAVOR} PANDAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.1,1:math/py-pandas@${PY_FLAVOR} PYTEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.6,1:devel/py-pytest@${PY_FLAVOR} PYTZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=2014.1,1:devel/py-pytz@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=3.0.0:databases/py-redis@${PY_FLAVOR} WATCHDOG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchdog>=4.0.0:devel/py-watchdog@${PY_FLAVOR} .include diff --git a/devel/py-jupyter-events/Makefile b/devel/py-jupyter-events/Makefile index bec62ce3a72d..17894157ea8c 100644 --- a/devel/py-jupyter-events/Makefile +++ b/devel/py-jupyter-events/Makefile @@ -1,42 +1,42 @@ PORTNAME= jupyter-events PORTVERSION= 0.12.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= jupyter_events-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Jupyter Event System library WWW= https://jupyter-events.readthedocs.io/en/latest/ \ https://github.com/jupyter/jupyter_events LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.18.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-json-logger>=2.0.4:devel/py-python-json-logger@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}referencing>=0:devel/py-referencing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3986-validator>=0.1.1:devel/py-rfc3986-validator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.3:devel/py-traitlets@${PY_FLAVOR} # jsonschema[format-nongpl] RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fqdn>=0:www/py-fqdn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isoduration>=0:devel/py-isoduration@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonpointer>=1.13:devel/py-jsonpointer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3986-validator>=0.1.0:devel/py-rfc3986-validator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3987-syntax>=1.1.0:www/py-rfc3987-syntax@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uri-template>=0:net/py-uri-template@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webcolors>=24.6.0:graphics/py-webcolors@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-keystonemiddleware/Makefile b/devel/py-keystonemiddleware/Makefile index 08134d1facad..136367125d7f 100644 --- a/devel/py-keystonemiddleware/Makefile +++ b/devel/py-keystonemiddleware/Makefile @@ -1,40 +1,40 @@ PORTNAME= keystonemiddleware PORTVERSION= 10.12.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Middleware for OpenStack Identity WWW= https://docs.openstack.org/keystonemiddleware/latest/ \ https://github.com/openstack/keystonemiddleware LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.12.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.cache>=3.11.0:devel/py-oslo.cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.19.2:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycadf>=1.1.0:devel/py-pycadf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.4.0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=3.20.0:net/py-python-keystoneclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR} -USES= cpe python:3.10+ +USES= cpe python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CPE_VENDOR= openstack .include diff --git a/devel/py-libtmux/Makefile b/devel/py-libtmux/Makefile index c1211fe1a8df..7439044c8f70 100644 --- a/devel/py-libtmux/Makefile +++ b/devel/py-libtmux/Makefile @@ -1,23 +1,23 @@ PORTNAME= libtmux PORTVERSION= 0.46.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Typed scripting library / ORM / API wrapper for tmux WWW= https://libtmux.git-pull.com/ \ https://github.com/tmux-python/libtmux LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= tmux:sysutils/tmux -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-logbook/Makefile b/devel/py-logbook/Makefile index bd824b611a36..f1e533b9d18b 100644 --- a/devel/py-logbook/Makefile +++ b/devel/py-logbook/Makefile @@ -1,18 +1,18 @@ PORTNAME= logbook PORTVERSION= 1.8.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= logbook-${PORTVERSION} MAINTAINER= philip@FreeBSD.org COMMENT= Logging replacement for Python WWW= https://logbook.readthedocs.org/ LICENSE= BSD3CLAUSE -USES= python:3.9+ +USES= python USE_PYTHON= distutils autoplist cython .include diff --git a/devel/py-marshmallow/Makefile b/devel/py-marshmallow/Makefile index ef234a9cfe30..35c83703d563 100644 --- a/devel/py-marshmallow/Makefile +++ b/devel/py-marshmallow/Makefile @@ -1,25 +1,25 @@ PORTNAME= marshmallow PORTVERSION= 3.26.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simplified object serialization for Python WWW= https://marshmallow.readthedocs.io/en/stable/ \ https://github.com/marshmallow-code/marshmallow LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=17.0:devel/py-packaging@${PY_FLAVOR} -USES= cpe python:3.9+ +USES= cpe python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CPE_VENDOR= marshmallow_project .include diff --git a/devel/py-more-itertools/Makefile b/devel/py-more-itertools/Makefile index bb33671d44a4..547bcc56a231 100644 --- a/devel/py-more-itertools/Makefile +++ b/devel/py-more-itertools/Makefile @@ -1,22 +1,22 @@ PORTNAME= more-itertools PORTVERSION= 10.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= More routines for operating on iterables, beyond itertools WWW= https://more-itertools.readthedocs.io/en/stable/ \ https://github.com/more-itertools/more-itertools LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 unittest NO_ARCH= yes .include diff --git a/devel/py-msgspec/Makefile b/devel/py-msgspec/Makefile index 11f14d9ba330..75a1bad6371a 100644 --- a/devel/py-msgspec/Makefile +++ b/devel/py-msgspec/Makefile @@ -1,31 +1,31 @@ PORTNAME= msgspec PORTVERSION= 0.19.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast serialization and validation library WWW= https://jcristharif.com/msgspec/ \ https://github.com/jcrist/msgspec LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 OPTIONS_DEFINE= TOML YAML OPTIONS_DEFAULT=TOML YAML TOML_RUN_DEPENDS= ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}tomli-w>=0:textproc/py-tomli-w@${PY_FLAVOR} YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-nbclient/Makefile b/devel/py-nbclient/Makefile index 4df7895a88ce..45e801945e8c 100644 --- a/devel/py-nbclient/Makefile +++ b/devel/py-nbclient/Makefile @@ -1,25 +1,25 @@ PORTNAME= nbclient PORTVERSION= 0.10.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Client library for executing notebooks WWW= https://github.com/jupyter/nbclient LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-client>=6.1.12:devel/py-jupyter-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-core>=4.12:devel/py-jupyter-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.1:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.4:devel/py-traitlets@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-objprint/Makefile b/devel/py-objprint/Makefile index 7453d769bf6f..ae190763b888 100644 --- a/devel/py-objprint/Makefile +++ b/devel/py-objprint/Makefile @@ -1,22 +1,22 @@ PORTNAME= objprint PORTVERSION= 0.3.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Print Python objects in human readable format WWW= https://github.com/gaogaotiantian/objprint LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oci/Makefile b/devel/py-oci/Makefile index 831ecf871096..e7780981c403 100644 --- a/devel/py-oci/Makefile +++ b/devel/py-oci/Makefile @@ -1,42 +1,42 @@ PORTNAME= oci DISTVERSION= 2.161.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ale_sagra@hotmail.com COMMENT= Python interface to Oracle Cloud Infrastructure WWW= https://github.com/oracle/oci-python-sdk/ LICENSE= APACHE20 UPL LICENSE_COMB= dual LICENSE_GROUPS_UPL= FSF GPL OSI LICENSE_NAME_UPL= Universal Permissive License LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt LICENSE_FILE_UPL= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_UPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}circuitbreaker>=1.3.1:devel/py-circuitbreaker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.16:textproc/py-docstring_parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mcp>=1.6.0:misc/py-mcp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=17.5.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.10.6:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.5.3<3.0.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=13.9.4:textproc/py-rich@${PY_FLAVOR} -USES= python:3.9-3.12 +USES= python:-3.12 USE_PYTHON= autoplist cryptography pep517 NO_ARCH= yes # The testsuite isn't available in the sdist through PyPI, yet. Switching to # GitHub doesn't help either because the testsuite doesn't work outside # virtualenvs at the moment. # See also: https://github.com/oracle/oci-python-sdk/issues/164 # do-test: .include diff --git a/devel/py-openstacksdk/Makefile b/devel/py-openstacksdk/Makefile index 9724ed9b89e3..568dd317ad26 100644 --- a/devel/py-openstacksdk/Makefile +++ b/devel/py-openstacksdk/Makefile @@ -1,39 +1,39 @@ PORTNAME= openstacksdk PORTVERSION= 4.7.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SDK for building applications to work with OpenStack WWW= https://docs.openstack.org/openstacksdk/latest/ \ https://github.com/openstack/openstacksdk LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=6.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=4.4.1:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.6.5:devel/py-dogpile.cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0.9.0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonpatch>=1.16:devel/py-jsonpatch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=5.10.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}os-service-types>0:devel/py-os-service-types@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=3:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=3.2.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.13:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requestsexceptions>=1.2.0:devel/py-requestsexceptions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent cryptography pep517 NO_ARCH= yes SHEBANG_GLOB= *.sh .include diff --git a/devel/py-os-brick/Makefile b/devel/py-os-brick/Makefile index b126f21e75b8..fe7f2b8fc4c8 100644 --- a/devel/py-os-brick/Makefile +++ b/devel/py-os-brick/Makefile @@ -1,46 +1,46 @@ PORTNAME= os-brick PORTVERSION= 6.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= OpenStack Cinder brick library for managing local volume attaches WWW= https://docs.openstack.org/os-brick/latest/ \ https://github.com/openstack/os-brick LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}os-win>=5.7.0:devel/py-os-win@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=5.0.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=9.0.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=4.1.0:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=5.1.0:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=4.8.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.privsep>=3.0.0:devel/py-oslo.privsep@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=4.3.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.service>=2.8.0:devel/py-oslo.service@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=6.0.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.8.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.7.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tenacity>=6.3.1:devel/py-tenacity@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e '/etc\//d' ${WRKSRC}/setup.cfg @${GREP} -lr '/etc/' ${WRKSRC}/etc ${WRKSRC}/os_brick | ${XARGS} -J % ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}&|g' % post-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/rootwrap.d ${INSTALL_DATA} ${WRKSRC}/etc/os-brick/rootwrap.d/os-brick.filters ${STAGEDIR}${ETCDIR}/rootwrap.d/os-brick.filters.sample .include diff --git a/devel/py-oslo.concurrency/Makefile b/devel/py-oslo.concurrency/Makefile index 107dc2a56354..53ad0b907947 100644 --- a/devel/py-oslo.concurrency/Makefile +++ b/devel/py-oslo.concurrency/Makefile @@ -1,33 +1,33 @@ PORTNAME= oslo.concurrency PORTVERSION= 7.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Concurrency library WWW= https://docs.openstack.org/oslo.concurrency/latest/ \ https://github.com/openstack/oslo.concurrency LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fasteners>=0.7.0:devel/py-fasteners@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= EVENTLET EVENTLET_DESC= Concurrent support via eventlet EVENTLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.35.2:net/py-eventlet@${PY_FLAVOR} .include diff --git a/devel/py-oslo.config/Makefile b/devel/py-oslo.config/Makefile index 2cb8ab7509b8..051b0f44fb45 100644 --- a/devel/py-oslo.config/Makefile +++ b/devel/py-oslo.config/Makefile @@ -1,33 +1,33 @@ PORTNAME= oslo.config PORTVERSION= 9.7.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Configuration library WWW= https://docs.openstack.org/oslo.config/latest/ \ https://github.com/openstack/oslo.config LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3986>=1.2.0:www/py-rfc3986@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes post-patch: @${GREP} -lr /etc ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' .include diff --git a/devel/py-oslo.context/Makefile b/devel/py-oslo.context/Makefile index 69f5e3c59fca..e9eb897db25a 100644 --- a/devel/py-oslo.context/Makefile +++ b/devel/py-oslo.context/Makefile @@ -1,25 +1,25 @@ PORTNAME= oslo.context PORTVERSION= 5.7.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Context library WWW= https://docs.openstack.org/oslo.context/latest/ \ https://github.com/openstack/oslo.context LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.db/Makefile b/devel/py-oslo.db/Makefile index 0a61322848d4..7c9843c49e75 100644 --- a/devel/py-oslo.db/Makefile +++ b/devel/py-oslo.db/Makefile @@ -1,34 +1,34 @@ PORTNAME= oslo.db PORTVERSION= 17.1.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Database library WWW= https://docs.openstack.org/oslo.db/latest/ \ https://github.com/openstack/oslo.db LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic>=0.9.6:databases/py-alembic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=1.4.0:databases/py-sqlalchemy20@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testscenarios>=0:devel/py-testscenarios@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.i18n/Makefile b/devel/py-oslo.i18n/Makefile index c1ae0affcde7..71f4c0469ee3 100644 --- a/devel/py-oslo.i18n/Makefile +++ b/devel/py-oslo.i18n/Makefile @@ -1,24 +1,24 @@ PORTNAME= oslo.i18n PORTVERSION= 6.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo i18n library WWW= https://docs.openstack.org/oslo.i18n/latest/ \ https://github.com/openstack/oslo.i18n LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.log/Makefile b/devel/py-oslo.log/Makefile index 28c7c16be9f6..e08071aef3cb 100644 --- a/devel/py-oslo.log/Makefile +++ b/devel/py-oslo.log/Makefile @@ -1,31 +1,31 @@ PORTNAME= oslo.log PORTVERSION= 7.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Log library WWW= https://docs.openstack.org/oslo.log/latest/ \ https://github.com/openstack/oslo.log LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.21.0:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.20.0:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.25.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.36.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pre-commit>=2.6.0:devel/py-pre-commit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.messaging/Makefile b/devel/py-oslo.messaging/Makefile index 1c33dacf37d5..566cea80b4e4 100644 --- a/devel/py-oslo.messaging/Makefile +++ b/devel/py-oslo.messaging/Makefile @@ -1,41 +1,41 @@ PORTNAME= oslo.messaging PORTVERSION= 16.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Messaging API WWW= https://docs.openstack.org/oslo.messaging/latest/ \ https://github.com/openstack/oslo.messaging LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amqp>=2.5.2:net/py-amqp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0:devel/py-cachetools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}futurist>=1.2.0:devel/py-futurist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}kombu>=4.6.6:net/py-kombu@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=5.3.0:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.metrics>=0.2.1:devel/py-oslo.metrics@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.middleware>=3.31.0:devel/py-oslo.middleware@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.service>=1.24.0:devel/py-oslo.service@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.37.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.13:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.metrics/Makefile b/devel/py-oslo.metrics/Makefile index 05c89898a07e..eb87edf6ce53 100644 --- a/devel/py-oslo.metrics/Makefile +++ b/devel/py-oslo.metrics/Makefile @@ -1,29 +1,29 @@ PORTNAME= oslo.metrics PORTVERSION= 0.10.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Metrics API WWW= https://docs.openstack.org/oslo.metrics/latest/ \ https://github.com/openstack/oslo.metrics LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oslo.config>=6.9.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.44.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.41.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.6.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.middleware/Makefile b/devel/py-oslo.middleware/Makefile index 253cb9f646c8..22cbc15fe183 100644 --- a/devel/py-oslo.middleware/Makefile +++ b/devel/py-oslo.middleware/Makefile @@ -1,34 +1,34 @@ PORTNAME= oslo.middleware PORTVERSION= 6.3.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Middleware library WWW= https://docs.openstack.org/oslo.middleware/latest/ \ https://github.com/openstack/oslo.middleware LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.19.2:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}statsd>=3.2.1:devel/py-statsd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.8.0:www/py-webob@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.policy/Makefile b/devel/py-oslo.policy/Makefile index 086353f9ac07..4efd155c8c11 100644 --- a/devel/py-oslo.policy/Makefile +++ b/devel/py-oslo.policy/Makefile @@ -1,32 +1,32 @@ PORTNAME= oslo.policy PORTVERSION= 4.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Policy library WWW= https://docs.openstack.org/oslo.policy/latest/ \ https://github.com/openstack/oslo.policy LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oslo.config>=6.0.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.22.0:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.40.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.privsep/Makefile b/devel/py-oslo.privsep/Makefile index 6fcb6ae96e09..fb0029f6f48f 100644 --- a/devel/py-oslo.privsep/Makefile +++ b/devel/py-oslo.privsep/Makefile @@ -1,32 +1,32 @@ PORTNAME= oslo.privsep PORTVERSION= 3.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Openstack library for privilege separation WWW= https://docs.openstack.org/oslo.privsep/latest/ \ https://github.com/openstack/oslo.privsep LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.14.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}eventlet>=0.21.0:net/py-eventlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.14:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.6.0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=5.0.2:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.reports/Makefile b/devel/py-oslo.reports/Makefile index 781d01ed5a42..cc324b09cd05 100644 --- a/devel/py-oslo.reports/Makefile +++ b/devel/py-oslo.reports/Makefile @@ -1,30 +1,30 @@ PORTNAME= oslo.reports PORTVERSION= 3.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo.reports library WWW= https://docs.openstack.org/oslo.reports/latest/ \ https://github.com/openstack/oslo.reports LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.1.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=3.2.2:sysutils/py-psutil@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.rootwrap/Makefile b/devel/py-oslo.rootwrap/Makefile index 9d67ce407d24..659b1e943851 100644 --- a/devel/py-oslo.rootwrap/Makefile +++ b/devel/py-oslo.rootwrap/Makefile @@ -1,24 +1,24 @@ PORTNAME= oslo.rootwrap PORTVERSION= 7.4.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo rootwrap WWW= https://docs.openstack.org/oslo.rootwrap/latest/ \ https://github.com/openstack/oslo.rootwrap LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.serialization/Makefile b/devel/py-oslo.serialization/Makefile index dba58a35adc3..82790460f255 100644 --- a/devel/py-oslo.serialization/Makefile +++ b/devel/py-oslo.serialization/Makefile @@ -1,28 +1,28 @@ PORTNAME= oslo.serialization PORTVERSION= 5.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Serialization library WWW= https://docs.openstack.org/oslo.serialization/latest/ \ https://github.com/openstack/oslo.serialization LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=2022.4:devel/py-tzdata@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.service/Makefile b/devel/py-oslo.service/Makefile index cc88cebfb46b..368e26a359b8 100644 --- a/devel/py-oslo.service/Makefile +++ b/devel/py-oslo.service/Makefile @@ -1,37 +1,37 @@ PORTNAME= oslo.service PORTVERSION= 4.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo.service library WWW= https://docs.openstack.org/oslo.service/latest/ \ https://github.com/openstack/oslo.service LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}eventlet>=0.27.0:net/py-eventlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.15:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.25.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.1.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.40.2:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=2.0.2:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pastedeploy>=1.5.0:www/py-pastedeploy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}routes>=2.3.1:www/py-routes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yappi>=1.0:devel/py-yappi@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.utils/Makefile b/devel/py-oslo.utils/Makefile index 05039bb5e966..273c74e1a3b0 100644 --- a/devel/py-oslo.utils/Makefile +++ b/devel/py-oslo.utils/Makefile @@ -1,33 +1,33 @@ PORTNAME= oslo.utils PORTVERSION= 8.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo Utility library WWW= https://docs.openstack.org/oslo.utils/latest/ \ https://github.com/openstack/oslo.utils LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.10.0:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.4:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=3.2.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.13:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=2022.4:devel/py-tzdata@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-oslo.versionedobjects/Makefile b/devel/py-oslo.versionedobjects/Makefile index 24138df081c7..96e4ca59e0df 100644 --- a/devel/py-oslo.versionedobjects/Makefile +++ b/devel/py-oslo.versionedobjects/Makefile @@ -1,35 +1,35 @@ PORTNAME= oslo.versionedobjects PORTVERSION= 3.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Oslo versioned objects library WWW= https://docs.openstack.org/oslo.versionedobjects/latest/ \ https://github.com/openstack/oslo.versionedobjects LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.26.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.19.2:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.29.0:devel/py-oslo.messaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=4.7.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-pdm-build-locked/Makefile b/devel/py-pdm-build-locked/Makefile index f1722156e44d..db4329b8d145 100644 --- a/devel/py-pdm-build-locked/Makefile +++ b/devel/py-pdm-build-locked/Makefile @@ -1,24 +1,24 @@ PORTNAME= pdm-build-locked PORTVERSION= 0.3.5 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pdm_build_locked-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Add locked packages as additional optional dependency groups WWW= https://pdm-build-locked.readthedocs.io/en/stable/ \ https://github.com/pdm-project/pdm-build-locked LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR} RUN_DEPENDS= ${PY_TOMLI} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-pint-pandas/Makefile b/devel/py-pint-pandas/Makefile index 681325ce64a3..290db7844e85 100644 --- a/devel/py-pint-pandas/Makefile +++ b/devel/py-pint-pandas/Makefile @@ -1,26 +1,26 @@ PORTNAME= pint-pandas PORTVERSION= 0.5 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pint-Pandas-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Physical quantities module WWW= https://github.com/hgrecco/pint-pandas LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.5,1:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pint>=0.21:devel/py-pint@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-pint/Makefile b/devel/py-pint/Makefile index 28924c085513..85490cbf968a 100644 --- a/devel/py-pint/Makefile +++ b/devel/py-pint/Makefile @@ -1,33 +1,33 @@ PORTNAME= pint PORTVERSION= 0.23 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pint-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Physical quantities module WWW= https://pint.readthedocs.io/en/stable/ \ https://github.com/hgrecco/pint LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= NUMPY UNCERTAINTIES NUMPY_DESC= Automatic conversion of units UNCERTAINTIES_DESC= Handle quantities with uncertainties NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.5,1:math/py-numpy@${PY_FLAVOR} UNCERTAINTIES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uncertainties>=3.1.6:math/py-uncertainties@${PY_FLAVOR} .include diff --git a/devel/py-poetry-types/Makefile b/devel/py-poetry-types/Makefile index 3d304d1e86c5..0adb9ee256c2 100644 --- a/devel/py-poetry-types/Makefile +++ b/devel/py-poetry-types/Makefile @@ -1,25 +1,25 @@ PORTNAME= poetry-types PORTVERSION= 0.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= poetry_types-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Poetry plugin that adds/removes type stubs as dependencies WWW= https://github.com/jvllmr/poetry-types LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.9.1:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=24.2:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}poetry>=2.0<3:devel/py-poetry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.13.2:textproc/py-tomlkit@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-prospector/Makefile b/devel/py-prospector/Makefile index b151ae9388ce..ce857f36e1d5 100644 --- a/devel/py-prospector/Makefile +++ b/devel/py-prospector/Makefile @@ -1,49 +1,49 @@ PORTNAME= prospector PORTVERSION= 1.16.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Analyse Python code by aggregating the result of other tools WWW= https://github.com/prospector-dev/prospector LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dodgy>=0.2.1<0.3.0:devel/py-dodgy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gitpython>=3.1.27<4.0.0:devel/py-gitpython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mccabe>=0.7.0<0.8:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pep8-naming>=0.3.3:devel/py-pep8-naming@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.9.0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydocstyle>=2.0.0:devel/py-pydocstyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>=2.2.0:devel/py-pyflakes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pylint-django>=2.6.1:devel/py-pylint-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requirements-detector>=1.3.2:devel/py-requirements-detector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setoptconf>=0.3.0<0.4:devel/py-setoptconf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0.10.2<0.11.0:textproc/py-toml@${PY_FLAVOR} \ pylint${PYTHON_PKGNAMESUFFIX}>=3.0:devel/pylint -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= BANDIT MYPY PYRIGHT PYROMA VULTURE OPTIONS_DEFAULT=BANDIT MYPY PYRIGHT PYROMA VULTURE BANDIT_DESC= Optional tools via bandit MYPY_DESC= Optional tools via mypy PYRIGHT_DESC= Optional tools via pyright PYROMA_DESC= Optional tools via pyroma VULTURE_DESC= Optional tools via vulture BANDIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bandit>=1.5.1:devel/py-bandit@${PY_FLAVOR} MYPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>=0.600:devel/py-mypy@${PY_FLAVOR} PYRIGHT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyright>=1.1.3:devel/py-pyright@${PY_FLAVOR} PYROMA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyroma>=2.4:devel/py-pyroma@${PY_FLAVOR} VULTURE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vulture>=1.5:devel/py-vulture@${PY_FLAVOR} .include diff --git a/devel/py-psygnal/Makefile b/devel/py-psygnal/Makefile index 4972851ab426..fe0e520eccde 100644 --- a/devel/py-psygnal/Makefile +++ b/devel/py-psygnal/Makefile @@ -1,30 +1,30 @@ PORTNAME= psygnal PORTVERSION= 0.15.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast python callback/event system modeled after Qt Signals WWW= https://psygnal.readthedocs.io/en/latest/ \ https://github.com/pyapp-kit/psygnal LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= PROXY PYDANTIC PROXY_DESC= Evented proxy support PYDANTIC_DESC= Evented model support PROXY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt@${PY_FLAVOR} PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=0:devel/py-pydantic2@${PY_FLAVOR} .include diff --git a/devel/py-pycadf/Makefile b/devel/py-pycadf/Makefile index bb65af4aa20b..b3b665d0b815 100644 --- a/devel/py-pycadf/Makefile +++ b/devel/py-pycadf/Makefile @@ -1,35 +1,35 @@ PORTNAME= pycadf PORTVERSION= 4.0.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CADF Library WWW= https://docs.openstack.org/pycadf/latest/ \ https://github.com/openstack/pycadf LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} -USES= cpe python:3.9+ +USES= cpe python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CPE_VENDOR= openstack post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} .for service in cinder glance gnocchi heat ironic neutron nova swift trove ${INSTALL_DATA} ${WRKSRC}/etc/pycadf/${service}_api_audit_map.conf ${STAGEDIR}${ETCDIR}/${service}_api_audit_map.conf.sample .endfor .include diff --git a/devel/py-pycrdt/Makefile b/devel/py-pycrdt/Makefile index e85414fd69d7..ea2350692fc8 100644 --- a/devel/py-pycrdt/Makefile +++ b/devel/py-pycrdt/Makefile @@ -1,31 +1,31 @@ PORTNAME= pycrdt PORTVERSION= 0.12.42 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= pycrdt-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python bindings for Yrs WWW= https://y-crdt.github.io/pycrdt/ \ https://github.com/y-crdt/pycrdt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.8.2<2:devel/py-maturin@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=4.4.0<5.0.0:devel/py-anyio@${PY_FLAVOR} -USES= cargo python:3.10+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.0:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/devel/py-pydantic-core/Makefile b/devel/py-pydantic-core/Makefile index 1c10e85e49bb..96d5e35e0a52 100644 --- a/devel/py-pydantic-core/Makefile +++ b/devel/py-pydantic-core/Makefile @@ -1,28 +1,28 @@ PORTNAME= pydantic-core PORTVERSION= 2.33.2 PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= pydantic_core-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Core functionality for Pydantic validation and serialization WWW= https://github.com/pydantic/pydantic-core LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1<2:devel/py-maturin@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= cargo python:3.9+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 BINARY_ALIAS= python3=${PYTHON_CMD} CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/pydantic_core-${PORTVERSION} .include diff --git a/devel/py-pydantic-yaml/Makefile b/devel/py-pydantic-yaml/Makefile index 8ed7690a5c4f..d7f958a748ed 100644 --- a/devel/py-pydantic-yaml/Makefile +++ b/devel/py-pydantic-yaml/Makefile @@ -1,28 +1,28 @@ PORTNAME= pydantic-yaml PORTVERSION= 1.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pydantic_yaml-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= YAML reading/writing for Pydantic models WWW= https://pydantic-yaml.readthedocs.io/en/latest/ \ https://github.com/NowanIlfideme/pydantic-yaml LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.0<0.19.0:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-pygobject/Makefile b/devel/py-pygobject/Makefile index 357ddaf496f6..7ac838223d7b 100644 --- a/devel/py-pygobject/Makefile +++ b/devel/py-pygobject/Makefile @@ -1,44 +1,44 @@ PORTNAME= pygobject DISTVERSION= 3.50.2 PORTREVISION?= 0 CATEGORIES= devel python MASTER_SITES= GNOME PKGNAMEPREFIX?= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT?= Python bindings for GObject Introspection WWW= https://pygobject.gnome.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=1.16:graphics/py-cairo@${PY_FLAVOR} LIB_DEPENDS= libffi.so:devel/libffi -USES= gnome pkgconfig python:3.9+ +USES= gnome pkgconfig python BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limitw:1,even SLAVE_PORT?= no .if ${SLAVE_PORT} == common USES+= meson USE_GNOME= glib20:build introspection:build do-install: ${INSTALL_DATA} ${WRKSRC}/_build/pygobject-3.0.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc @${MKDIR} ${STAGEDIR}${PREFIX}/include/pygobject-3.0 ${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \ ${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h .else BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}meson-python>=0.12.1:devel/meson-python@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=1.16:graphics/py-cairo@${PY_FLAVOR} \ ${LOCALBASE}/libdata/pkgconfig/pygobject-3.0.pc:devel/pygobject-common USE_GNOME= cairo glib20 introspection USE_PYTHON= autoplist concurrent pep517 .endif .include diff --git a/devel/py-pylint-django/Makefile b/devel/py-pylint-django/Makefile index 78b66753ae53..291826d09dd2 100644 --- a/devel/py-pylint-django/Makefile +++ b/devel/py-pylint-django/Makefile @@ -1,27 +1,27 @@ PORTNAME= pylint-django PORTVERSION= 2.6.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pylint plugin to understand the Django web framework WWW= https://github.com/pylint-dev/pylint-django LICENSE= GPLv2 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylint-plugin-utils>=0.8:devel/py-pylint-plugin-utils@${PY_FLAVOR} \ pylint${PYTHON_PKGNAMESUFFIX}>=3.0<4:devel/pylint@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= DJANGO DJANGO_DESC= Django support DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} .include diff --git a/devel/py-pyperf/Makefile b/devel/py-pyperf/Makefile index f4daf1b1b514..1ff1b9f8891a 100644 --- a/devel/py-pyperf/Makefile +++ b/devel/py-pyperf/Makefile @@ -1,24 +1,24 @@ PORTNAME= pyperf PORTVERSION= 2.9.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Run and analyze benchmarks WWW= https://github.com/psf/pyperf LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.0:sysutils/py-psutil@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 unittest NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} .include diff --git a/devel/py-pyproject-api/Makefile b/devel/py-pyproject-api/Makefile index 785fccd3cfb3..2af07cf48816 100644 --- a/devel/py-pyproject-api/Makefile +++ b/devel/py-pyproject-api/Makefile @@ -1,31 +1,31 @@ PORTNAME= pyproject-api PORTVERSION= 1.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyproject_api-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= API to interact with the python pyproject.toml based projects WWW= https://pyproject-api.readthedocs.io/latest/ \ https://github.com/tox-dev/pyproject-api LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.5:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=25:devel/py-packaging@${PY_FLAVOR} \ ${PY_TOMLI} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3:devel/py-covdefaults@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=7:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.15.1:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/devel/py-pyproject-fmt/Makefile b/devel/py-pyproject-fmt/Makefile index f8b24136e439..cf43791014ae 100644 --- a/devel/py-pyproject-fmt/Makefile +++ b/devel/py-pyproject-fmt/Makefile @@ -1,26 +1,26 @@ PORTNAME= pyproject-fmt PORTVERSION= 2.11.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= pyproject_fmt-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Format your pyproject.toml file WWW= https://github.com/tox-dev/toml-fmt/tree/main/pyproject-fmt \ https://github.com/tox-dev/toml-fmt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.8.4:devel/py-maturin@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toml-fmt-common>=1.0.1:devel/py-toml-fmt-common@${PY_FLAVOR} -USES= cargo python:3.10+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/pyproject_fmt-${PORTVERSION} .include diff --git a/devel/py-pyral/Makefile b/devel/py-pyral/Makefile index 5732f483d3cf..bbf28e5a9aad 100644 --- a/devel/py-pyral/Makefile +++ b/devel/py-pyral/Makefile @@ -1,24 +1,24 @@ PORTNAME= pyral PORTVERSION= 1.6.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python toolkit for Agile Central (Rally) REST API WWW= https://github.com/RallyTools/RallyRestToolkitForPython LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.28.1:www/py-requests@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-pytest-benchmark/Makefile b/devel/py-pytest-benchmark/Makefile index c7ba6c544bc6..2bd5738b4a52 100644 --- a/devel/py-pytest-benchmark/Makefile +++ b/devel/py-pytest-benchmark/Makefile @@ -1,38 +1,38 @@ PORTNAME= pytest-benchmark PORTVERSION= 5.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= pytest fixture for benchmarking code WWW= https://github.com/ionelmc/pytest-benchmark LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=30.3.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=8.1,1:devel/py-pytest@${PY_FLAVOR} TEST_DEPENDS= git:devel/git \ hg:devel/mercurial \ ${PYTHON_PKGNAMEPREFIX}aspectlib>=0:devel/py-aspectlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}elasticsearch>=0:textproc/py-elasticsearch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} OPTIONS_DEFINE= ASPECT ELASTICSEARCH ASPECT_DESC= Aspect support ELASTICSEARCH_DESC= Elasticsearch support ASPECT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aspectlib>=0:devel/py-aspectlib@${PY_FLAVOR} ELASTICSEARCH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch>=0:textproc/py-elasticsearch@${PY_FLAVOR} .include diff --git a/devel/py-pytest-jupyter/Makefile b/devel/py-pytest-jupyter/Makefile index 3fb6bfe1fcfd..9a632b8cfb22 100644 --- a/devel/py-pytest-jupyter/Makefile +++ b/devel/py-pytest-jupyter/Makefile @@ -1,40 +1,40 @@ PORTNAME= pytest-jupyter PORTVERSION= 0.11.0 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/jupyter-server/pytest-jupyter/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pytest_jupyter-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= pytest plugin for testing Jupyter libraries and extensions WWW= https://pytest-jupyter.readthedocs.io/en/main/ \ https://github.com/jupyter-server/pytest-jupyter LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-core>=5.7:devel/py-jupyter-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=7.0,1:devel/py-pytest@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= CLIENT SERVER OPTIONS_DEFAULT=CLIENT SERVER CLIENT_DESC= Client-side support SERVER_DESC= Server-side support SERVER_IMPLIES= CLIENT CLIENT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipykernel>=6.14:devel/py-ipykernel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-client>=7.4.0:devel/py-jupyter-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.3:devel/py-nbformat@${PY_FLAVOR} SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipykernel>=6.14:devel/py-ipykernel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-client>=7.4.0:devel/py-jupyter-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.21:devel/py-jupyter-server@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.3:devel/py-nbformat@${PY_FLAVOR} .include diff --git a/devel/py-pytest-plus/Makefile b/devel/py-pytest-plus/Makefile index 505d10d1b99c..7a06cfb626da 100644 --- a/devel/py-pytest-plus/Makefile +++ b/devel/py-pytest-plus/Makefile @@ -1,26 +1,26 @@ PORTNAME= pytest-plus PORTVERSION= 0.8.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION} MAINTAINER= matthew@FreeBSD.org COMMENT= Pytest plus plugin :: extends pytest functionality WWW= https://github.com/pytest-dev/pytest-plus LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0.5:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7.4.2:devel/py-pytest@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 pytest TEST_ENV= LC_ALL=C.UTF-8 PYTHONPATH=${WRKSRC}/src TMPDIR=${WRKDIR}/ NO_ARCH= yes .include diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile index d4eb9e54e8de..a949ae9bc587 100644 --- a/devel/py-python-gitlab/Makefile +++ b/devel/py-python-gitlab/Makefile @@ -1,71 +1,71 @@ PORTNAME= python-gitlab DISTVERSION= 6.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSIONFULL} MAINTAINER= dereks@lifeofadishwasher.com COMMENT= Interact with GitLab API WWW= https://github.com/python-gitlab/python-gitlab LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=1.0.0:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.32.0:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-console-scripts>0:devel/py-pytest-console-scripts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest TEST_ARGS= tests/unit NO_ARCH= yes SUB_FILES= pkg-message OPTIONS_DEFINE= AUTOCOMPLETE DOCS GRAPHQL YAML OPTIONS_DEFAULT= AUTOCOMPLETE GRAPHQL YAML OPTIONS_EXCLUDE= DOCS AUTOCOMPLETE_DESC= Autocompletion via argcomplete GRAPHQL_DESC= GraphQL support YAML_DESC= YAML output AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<4:devel/py-argcomplete@${PY_FLAVOR} DOCS_BROKEN= Require py-sphinx >= 8: cannot import name '_ConfigRebuild' from 'sphinx.config' DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}myst-parser>0:textproc/py-myst-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.10.1:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=4.3.1,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-autoprogram>0:textproc/py-sphinxcontrib-autoprogram@${PY_FLAVOR} DOCS_PORTDOCS= * GRAPHQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gql>=3.5<4:devel/py-gql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} GRAPHQL_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}respx>0:www/py-respx@${PY_FLAVOR} YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.2:devel/py-pyyaml@${PY_FLAVOR} post-patch: @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py do-build-DOCS-on:: (cd ${WRKSRC} && sphinx-build -j auto -n -W --keep-going -b html docs build/sphinx/html) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${RM} -r .doctrees && \ ${RM} .buildinfo objects.inv && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/devel/py-recordclass/Makefile b/devel/py-recordclass/Makefile index 0e9e56666bd0..c055521f9810 100644 --- a/devel/py-recordclass/Makefile +++ b/devel/py-recordclass/Makefile @@ -1,24 +1,24 @@ PORTNAME= recordclass PORTVERSION= 0.22 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Mutable variants of tuple and collections.namedtuple WWW= https://github.com/intellimath/recordclass LICENSE= MIT -USES= python:3.9+ +USES= python USE_PYTHON= distutils .if ! defined(WITH_DEBUG) LDFLAGS+= -s .endif do-test: install (cd ${WRKSRC} && ${PYTHON_CMD} ./test_all.py) .include diff --git a/devel/py-referencing/Makefile b/devel/py-referencing/Makefile index 9fe71ac4cbe7..0818397e6861 100644 --- a/devel/py-referencing/Makefile +++ b/devel/py-referencing/Makefile @@ -1,32 +1,32 @@ PORTNAME= referencing PORTVERSION= 0.37.0 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/python-jsonschema/referencing/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= JSON Referencing + Python WWW= https://referencing.readthedocs.io/en/stable/ \ https://github.com/python-jsonschema/referencing LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rpds-py>=0.7.0:devel/py-rpds-py@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include .if ${PYTHON_REL} < 31300 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/devel/py-rpds-py/Makefile b/devel/py-rpds-py/Makefile index e200b2689f53..ab4aedb0769c 100644 --- a/devel/py-rpds-py/Makefile +++ b/devel/py-rpds-py/Makefile @@ -1,26 +1,26 @@ PORTNAME= rpds-py PORTVERSION= 0.28.0 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/crate-py/rpds/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= rpds_py-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python bindings to Rust persistent data structures (rpds) WWW= https://rpds.readthedocs.io/en/latest/ \ https://github.com/crate-py/rpds LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.9<2.0:devel/py-maturin@${PY_FLAVOR} -USES= cargo python:3.10+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/rpds_py-${PORTVERSION} .include diff --git a/devel/py-ruamel.yaml/Makefile b/devel/py-ruamel.yaml/Makefile index f0441d27e8f2..c647252585ab 100644 --- a/devel/py-ruamel.yaml/Makefile +++ b/devel/py-ruamel.yaml/Makefile @@ -1,23 +1,23 @@ PORTNAME= ruamel.yaml PORTVERSION= 0.18.16 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@FreeBSD.org COMMENT= YAML 1.2 loader/dumper package for Python WWW= https://sourceforge.net/p/ruamel-yaml LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml.clib>=0.2.6:devel/py-ruamel.yaml.clib@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes post-extract: @${RM} ${WRKSRC}/LICENSE .include diff --git a/devel/py-scikit-base/Makefile b/devel/py-scikit-base/Makefile index cb9ecfc9bcf6..91dab039b705 100644 --- a/devel/py-scikit-base/Makefile +++ b/devel/py-scikit-base/Makefile @@ -1,32 +1,32 @@ PORTNAME= scikit-base PORTVERSION= 0.13.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= scikit_base-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Base classes for sklearn-like parametric objects WWW= https://skbase.readthedocs.io/en/latest/ \ https://github.com/sktime/skbase LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= ALL ALL_DESC= All optional dependencies ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} .include diff --git a/devel/py-setuptools-rust/Makefile b/devel/py-setuptools-rust/Makefile index a437ff75aa08..54be9a08588b 100644 --- a/devel/py-setuptools-rust/Makefile +++ b/devel/py-setuptools-rust/Makefile @@ -1,28 +1,28 @@ PORTNAME= setuptools-rust PORTVERSION= 1.12.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= setuptools_rust-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Setuptools Rust extension plugin WWW= https://setuptools-rust.readthedocs.io/en/latest/ \ https://github.com/PyO3/setuptools-rust LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= cargo:lang/${RUST_DEFAULT} \ ${PYTHON_PKGNAMEPREFIX}semantic-version>=2.8.2<3:devel/py-semantic-version@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4:devel/py-setuptools@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-shandy-sqlfmt/Makefile b/devel/py-shandy-sqlfmt/Makefile index dec7252877fd..77f92118b53c 100644 --- a/devel/py-shandy-sqlfmt/Makefile +++ b/devel/py-shandy-sqlfmt/Makefile @@ -1,35 +1,35 @@ PORTNAME= shandy-sqlfmt PORTVERSION= 0.28.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} MAINTAINER= ume@FreeBSD.org COMMENT= Sqlfmt formats your dbt SQL files so you don't have to WWW= https://sqlfmt.com \ https://github.com/tconbeer/sqlfmt LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>=0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.0<9.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0<4.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.4<5.0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.0<5.0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}toml>=2.0<3.0:textproc/py-toml@${PY_FLAVOR} .endif .include diff --git a/devel/py-sparse/Makefile b/devel/py-sparse/Makefile index 53cc836884c5..2df2442e0ce9 100644 --- a/devel/py-sparse/Makefile +++ b/devel/py-sparse/Makefile @@ -1,26 +1,26 @@ PORTNAME= sparse PORTVERSION= 0.17.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Sparse n-dimensional arrays WWW= https://sparse.pydata.org/en/stable/ \ https://github.com/pydata/sparse LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0.49:devel/py-numba@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.17,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-sqlfluff/Makefile b/devel/py-sqlfluff/Makefile index 9230f33908e0..b1ebacf213b6 100644 --- a/devel/py-sqlfluff/Makefile +++ b/devel/py-sqlfluff/Makefile @@ -1,42 +1,42 @@ PORTNAME= sqlfluff PORTVERSION= 3.5.0 PORTREVISION= 0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ume@FreeBSD.org COMMENT= SQL Linter for Humans WWW= https://sqlfluff.com/ \ https://github.com/sqlfluff/sqlfluff LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click<=8.3.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorama>=0.3:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}diff-cover>=2.5.0:devel/py-diff-cover@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathspec>=0:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tblib>=0:devel/py-tblib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} .endif .include diff --git a/devel/py-srsly/Makefile b/devel/py-srsly/Makefile index 535a8cbcb4f8..6449fffd3f98 100644 --- a/devel/py-srsly/Makefile +++ b/devel/py-srsly/Makefile @@ -1,25 +1,25 @@ PORTNAME= srsly PORTVERSION= 2.5.1 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/explosion/srsly/releases/download/release-v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Modern high-performance serialization utilities for Python WWW= https://github.com/explosion/srsly LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.3<2.1.0:devel/py-catalogue@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent cython pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-strawberry-graphql/Makefile b/devel/py-strawberry-graphql/Makefile index 8fc608cfad7e..a8b6e1153c64 100644 --- a/devel/py-strawberry-graphql/Makefile +++ b/devel/py-strawberry-graphql/Makefile @@ -1,76 +1,76 @@ PORTNAME= strawberry-graphql DISTVERSION= 0.284.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= strawberry_graphql-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Library for creating GraphQL APIs WWW= https://github.com/strawberry-graphql/strawberry LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lia-web>=0.2.1:www/py-lia-web@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=23:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= AIOHTTP ASGI CHANNELS CLI DEBUG DEBUG-SERVER DJANGO \ FASTAPI FLASK OPENTELEMETRY PYDANTIC AIOHTTP_DESC= Basic AIOHTTP integration ASGI_DESC= Basic ASGI integration CHANNELS_DESC= Support for Django Channels CLI_DESC= Support for CLI commands DEBUG-SERVER_DESC= Enable debug server DEBUG_DESC= Generate verbose debug information DJANGO_DESC= Basic Django integration FASTAPI_DESC= Support for FastAPI in conjunction with GraphQLRouter FLASK_DESC= Basic Flask integration OPENTELEMETRY_DESC= Generate Open Telemetry compatible tracing information PYDANTIC_DESC= Support for Pydantic models AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4<4:www/py-aiohttp@${PY_FLAVOR} ASGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR} CHANNELS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2<4:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}channels>=3.0.5:www/py-channels@${PY_FLAVOR} CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3<3:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.7.0:devel/py-typer@${PY_FLAVOR} DEBUG-SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3<3:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.7.0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uvicorn>=0.11.6:www/py-uvicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>=15.0.1<16:devel/py-websockets@${PY_FLAVOR} DEBUG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} # NB: www/py-channels (via CHANNELS) options depends on www/py-djangoXX, which # should be taken into account when creating a port for a specific Django version. DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR} FASTAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.0:www/py-fastapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} FLASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=1.1:www/py-flask@${PY_FLAVOR} OPENTELEMETRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api<2:devel/py-opentelemetry-api@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk<2:devel/py-opentelemetry-sdk@${PY_FLAVOR} # NB: Switch to devel/py-pydantic once www/py-fastapi uses it PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>1.6.1:devel/py-pydantic2@${PY_FLAVOR} .include diff --git a/devel/py-taskflow/Makefile b/devel/py-taskflow/Makefile index 82100ed1f7b2..9fca56e2d228 100644 --- a/devel/py-taskflow/Makefile +++ b/devel/py-taskflow/Makefile @@ -1,53 +1,53 @@ PORTNAME= taskflow PORTVERSION= 5.12.0 PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Taskflow structured state management library WWW= https://docs.openstack.org/taskflow/latest/ \ https://github.com/openstack/taskflow LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}automaton>=1.9.0:devel/py-automaton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0:devel/py-cachetools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fasteners>=0.17.3:devel/py-fasteners@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}futurist>=1.2.0:devel/py-futurist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema3>=3.2.0:devel/py-jsonschema3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.1.0,1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydot>=1.2.4:graphics/py-pydot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tenacity>=6.0.0:devel/py-tenacity@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= DATABASE EVENTLET REDIS WORKERS DATABASE_DESC= Database support EVENTLET_DESC= Eventlet support REDIS_DESC= Redis support WORKERS_DESC= Worker support DATABASE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic>=0.8.10:databases/py-alembic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.0:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymysql>=0.7.6:databases/py-pymysql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=1.0.10:databases/py-sqlalchemy20@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy-utils>=0.30.11:databases/py-sqlalchemy-utils@${PY_FLAVOR} EVENTLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.18.2:net/py-eventlet@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=4.0.0:databases/py-redis@${PY_FLAVOR} WORKERS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}kombu>=4.3.0:net/py-kombu@${PY_FLAVOR} .include diff --git a/devel/py-thinc/Makefile b/devel/py-thinc/Makefile index 8b21f7d4925a..0746cb766c47 100644 --- a/devel/py-thinc/Makefile +++ b/devel/py-thinc/Makefile @@ -1,43 +1,43 @@ PORTNAME= thinc PORTVERSION= 9.1.1 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/explosion/thinc/releases/download/release-v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Refreshing functional take on deep learning WWW= https://thinc.ai/ \ https://github.com/explosion/thinc LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.0<1.4.0:math/py-blis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}preshed3>=3.0.2<3.1.0:devel/py-preshed3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blis>=1.0.0<1.4.0:math/py-blis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.4<2.1.0:devel/py-catalogue@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}confection>=0.0.1<1.0.0:devel/py-confection@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}preshed3>=3.0.2<3.1.0:devel/py-preshed3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.7.4<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}srsly>=2.4.0<3.0.0:devel/py-srsly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wasabi>=0.8.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent cython pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-threadpoolctl/Makefile b/devel/py-threadpoolctl/Makefile index 756720eab9b4..498af3bb881b 100644 --- a/devel/py-threadpoolctl/Makefile +++ b/devel/py-threadpoolctl/Makefile @@ -1,21 +1,21 @@ PORTNAME= threadpoolctl PORTVERSION= 3.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Thread-pool controls WWW= https://github.com/joblib/threadpoolctl LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/devel/py-tox-toml-fmt/Makefile b/devel/py-tox-toml-fmt/Makefile index 96171d0d69c2..ca6924225481 100644 --- a/devel/py-tox-toml-fmt/Makefile +++ b/devel/py-tox-toml-fmt/Makefile @@ -1,26 +1,26 @@ PORTNAME= tox-toml-fmt PORTVERSION= 1.2.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= tox_toml_fmt-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Format your pyproject.toml file WWW= https://github.com/tox-dev/toml-fmt/tree/main/tox-toml-fmt \ https://github.com/tox-dev/toml-fmt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.8.4:devel/py-maturin@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toml-fmt-common>=1.0.1:devel/py-toml-fmt-common@${PY_FLAVOR} -USES= cargo python:3.10+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/tox_toml_fmt-${PORTVERSION} .include diff --git a/devel/py-tree-sitter-bash/Makefile b/devel/py-tree-sitter-bash/Makefile index c824db3e2996..5f4895bffc2a 100644 --- a/devel/py-tree-sitter-bash/Makefile +++ b/devel/py-tree-sitter-bash/Makefile @@ -1,24 +1,24 @@ PORTNAME= tree-sitter-bash PORTVERSION= 0.25.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter_bash-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bash grammar for tree-sitter WWW= https://github.com/tree-sitter/tree-sitter-bash LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-tree-sitter-css/Makefile b/devel/py-tree-sitter-css/Makefile index 496640530c1e..45bec8d82243 100644 --- a/devel/py-tree-sitter-css/Makefile +++ b/devel/py-tree-sitter-css/Makefile @@ -1,24 +1,24 @@ PORTNAME= tree-sitter-css PORTVERSION= 0.25.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter_css-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CSS grammar for tree-sitter WWW= https://github.com/tree-sitter/tree-sitter-css LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-tree-sitter-go/Makefile b/devel/py-tree-sitter-go/Makefile index 8fd0e32b8403..7b02246c4dfa 100644 --- a/devel/py-tree-sitter-go/Makefile +++ b/devel/py-tree-sitter-go/Makefile @@ -1,24 +1,24 @@ PORTNAME= tree-sitter-go PORTVERSION= 0.25.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter_go-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Go grammar for tree-sitter WWW= https://github.com/tree-sitter/tree-sitter-go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-tree-sitter-javascript/Makefile b/devel/py-tree-sitter-javascript/Makefile index 076effee97bd..23cb0c0c73c7 100644 --- a/devel/py-tree-sitter-javascript/Makefile +++ b/devel/py-tree-sitter-javascript/Makefile @@ -1,24 +1,24 @@ PORTNAME= tree-sitter-javascript PORTVERSION= 0.25.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter_javascript-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= JavaScript grammar for tree-sitter WWW= https://github.com/tree-sitter/tree-sitter-javascript LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-tree-sitter-regex/Makefile b/devel/py-tree-sitter-regex/Makefile index 011afea1668f..c806890f80a5 100644 --- a/devel/py-tree-sitter-regex/Makefile +++ b/devel/py-tree-sitter-regex/Makefile @@ -1,24 +1,24 @@ PORTNAME= tree-sitter-regex PORTVERSION= 0.25.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter_regex-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Regex grammar for tree-sitter WWW= https://github.com/tree-sitter/tree-sitter-regex LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-tree-sitter-yaml/Makefile b/devel/py-tree-sitter-yaml/Makefile index ea549201c5c1..90c38c7005c0 100644 --- a/devel/py-tree-sitter-yaml/Makefile +++ b/devel/py-tree-sitter-yaml/Makefile @@ -1,24 +1,24 @@ PORTNAME= tree-sitter-yaml PORTVERSION= 0.7.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tree_sitter_yaml-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= YAML grammar for tree-sitter WWW= https://github.com/tree-sitter-grammars/tree-sitter-yaml LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-validate-pyproject-schema-store/Makefile b/devel/py-validate-pyproject-schema-store/Makefile index 4cd4f34272bd..0e49af6f3383 100644 --- a/devel/py-validate-pyproject-schema-store/Makefile +++ b/devel/py-validate-pyproject-schema-store/Makefile @@ -1,22 +1,22 @@ PORTNAME= validate-pyproject-schema-store PORTVERSION= 2024.10.21 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= validate_pyproject_schema_store-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Plugin set for validate-pyproject and schema-store WWW= https://github.com/henryiii/validate-pyproject-schema-store LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-wsme/Makefile b/devel/py-wsme/Makefile index 2eef2f6067e6..3f65b15f2d26 100644 --- a/devel/py-wsme/Makefile +++ b/devel/py-wsme/Makefile @@ -1,30 +1,30 @@ PORTNAME= wsme PORTVERSION= 0.12.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= WSME-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simplify the writing of REST APIs, and extend them with additional protocols WWW= https://opendev.org/x/wsme LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.4:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.12:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplegeneric>=0:devel/py-simplegeneric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.8.0:www/py-webob@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 MAKE_ENV= PBR_VERSION=${PORTVERSION} NO_ARCH= yes .include diff --git a/devel/pytype/Makefile b/devel/pytype/Makefile index 6b98171ef63a..ea5b1565e615 100644 --- a/devel/pytype/Makefile +++ b/devel/pytype/Makefile @@ -1,45 +1,45 @@ PORTNAME= pytype PORTVERSION= 2024.10.11 PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python type inferencer WWW= https://google.github.io/pytype/ \ https://github.com/google/pytype LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ninja:devel/ninja \ ${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.1:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ninja>=1.10.2:devel/ninja \ ${PYTHON_PKGNAMEPREFIX}attrs>=21.4.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}immutabledict>=3.0.0:devel/py-immutabledict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlab>=0.8:devel/py-importlab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libcst>=1.0.1:devel/py-libcst@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgspec>=0.18.6:devel/py-msgspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8,1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycnite>=2024.7.31:devel/py-pycnite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydot>=1.4.2:graphics/py-pydot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.10:devel/py-tabulate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0.10.2:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= compiler:c++11-lang python:3.10+ +USES= compiler:c++11-lang python USE_PYTHON= autoplist concurrent pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} post-patch: @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/parse_error.py post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/root/Makefile b/devel/root/Makefile index df0d00d41ff3..4e689e92572a 100644 --- a/devel/root/Makefile +++ b/devel/root/Makefile @@ -1,222 +1,222 @@ PORTNAME= root DISTVERSION= 6.36.04 CATEGORIES= devel science math parallel python MASTER_SITES= https://root.cern/download/ DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= erik@tenku.dk COMMENT= Data analysis framework made at CERN WWW= https://root.cern/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt BROKEN_i386= std::uint64_t to std::size_t narrowing conversion issue introduced in version 6.34.02 BUILD_AND_RUN_DEPENDS= bash:shells/bash \ nlohmann-json>=3:devel/nlohmann-json BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS} LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} USES= cmake desktop-file-utils iconv shebangfix SHEBANG_FILES= main/python/rootbrowse.py \ main/python/rootcp.py \ main/python/rootdrawtree.py \ main/python/rooteventselector.py \ main/python/rootls.py \ main/python/rootmkdir.py \ main/python/rootmv.py \ main/python/rootprint.py \ main/python/rootrm.py \ main/python/rootslimtree.py \ config/rootssh \ etc/dictpch/makepch.py \ etc/proof/utils/circle.sh \ etc/proof/utils/crypt \ etc/proof/utils/pps \ etc/proof/utils/proofctl.sh \ etc/proof/utils/proofinstall.sh \ etc/pdg_table_update.py \ etc/runfirefox.sh # add a port-specific shebang to be replaced python_OLD_CMD+= "/usr/bin/env @python@" # Flags and environment variables for building CMAKE_ON= builtin_clang builtin_cling builtin_llvm builtin_openui5 \ fail-on-missing geom gnuinstall rpath shared soversion CMAKE_OFF= arrow builtin_cfitsio builtin_cppzmq builtin_davix builtin_fftw3 \ builtin_freetype builtin_ftgl builtin_gif builtin_gl2ps builtin_glew \ builtin_gsl builtin_jpeg builtin_lz4 builtin_lzma builtin_nlohmannjson \ builtin_openssl builtin_pcre builtin_png builtin_tbb builtin_unuran \ builtin_vc builtin_vdt builtin_veccore builtin_xrootd builtin_xxhash \ builtin_zeromq builtin_zlib builtin_zstd cefweb clad cocoa cuda cudnn daos \ dcache fcgi fftw3 geombuilder gviz html libcxx llvm13_broken_tests macos_native \ memory_termination minuit2_mpi minuit2_omp mpi odbc proof pythia8 r \ roofit_multiprocess runtime_cxxmodules shadowpw test_distrdf_pyspark \ tmva-gpu tmva-rmva tmva-sofie unfold unuran uring use_gsl_cblas vc vecgeom \ win_broken_tests winrtdebug # See https://root.cern/install/build_from_source/#all-build-options OPTIONS_DEFINE= DOCS ASIMAGE DATAFRAME DAVIX FITS FORTRAN GDML HTTP IMT MATHMORE \ MYSQL OPENGL PGSQL PYROOT QT6WEB ROOFIT ROOT7 SPECTRUM SQLITE SSL TMLP TMVAML \ VDT WEBGUI X11 XML XROOTD OPTIONS_DEFAULT= ASIMAGE CLAD DATAFRAME DAVIX FITS GDML HTTP IMT MATHMORE OPENGL \ PYROOT ROOFIT ROOT7 SPECTRUM SSL TMLP TMVAML VDT WEBGUI X11 XML XROOTD OPTIONS_SUB= yes ASIMAGE_CMAKE_BOOL= asimage asimage_tiff ASIMAGE_DESC= Enable support for image processing via libAfterImage ASIMAGE_IMPLIES= X11 ASIMAGE_LIB_DEPENDS= libgif.so:graphics/giflib \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff ASIMAGE_USES= jpeg # TODO: clad can only be included in ROOT's configure stage # with network access, however, a port of clad is available -- patch #CLAD_CMAKE_BOOL= clad #CLAD_DESC= Build clad, the cling automatic differentiation plugin #CLAD_LIB_DEPENDS= libclad.so:math/clad #CLAD_CMAKE_ON= -DCLAD_SOURCE_DIR= DATAFRAME_CMAKE_BOOL= dataframe DATAFRAME_DESC= Enable ROOT RDataFrame DAVIX_CMAKE_BOOL= davix DAVIX_DESC= Enable support for Davix (HTTP/WebDAV access) DAVIX_LIB_DEPENDS= libdavix.so:www/davix DAVIX_USES= pkgconfig FITS_CMAKE_BOOL= fitsio FITS_DESC= Enable support for reading FITS images FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl FORTRAN_CMAKE_BOOL= fortran FORTRAN_DESC= Build Fortran components of ROOT FORTRAN_USES= fortran GDML_CMAKE_BOOL= gdml GDML_DESC= Enable support for GDML (Geometry Description Markup Language) HTTP_CMAKE_BOOL= http HTTP_DESC= Enable support for HTTP server HTTP_IMPLIES= ROOT7 WEBGUI IMT_CMAKE_BOOL= imt IMT_DESC= Enable support for implicit multi-threading via Intel® Thread Building Blocks (TBB) IMT_LIB_DEPENDS= libtbb.so:devel/onetbb MATHMORE_CMAKE_BOOL= mathmore MATHMORE_DESC= Build libMathMore extended math library MATHMORE_LIB_DEPENDS= libgsl.so:math/gsl MYSQL_CMAKE_BOOL= mysql MYSQL_DESC= Enable support for MySQL databases MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind MYSQL_USES= mysql ssl OPENGL_CMAKE_BOOL= opengl OPENGL_DESC= Enable support for OpenGL OPENGL_IMPLIES= X11 ASIMAGE OPENGL_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libgl2ps.so:print/gl2ps OPENGL_USES= gl OPENGL_USE= gl=glew,glu,opengl PGSQL_CMAKE_BOOL= pgsql PGSQL_DESC= Enable support for PostgreSQL PGSQL_USES= pgsql:13+ # TODO: 'tpython' is new since 6.34; look into its implications PYROOT_CMAKE_BOOL= pyroot tpython tmva-pymva PYROOT_DESC= Enable bindings between Python and C++ with PyROOT PYROOT_BUILD_DEPENDS= ${PYNUMPY} -PYROOT_USES= python:3.9+,build,run -PYROOT_USES_OFF= python:3.9+,build +PYROOT_USES= python:build,run +PYROOT_USES_OFF= python:build QT6WEB_CMAKE_BOOL= qt6web QT6WEB_DESC= Enable support for Qt6 web-based display QT6WEB_IMPLIES= WEBGUI OPENGL QT6WEB_USES= qt:6 QT6WEB_USE= qt=base,declarative,positioning,webchannel,webengine ROOFIT_CMAKE_BOOL= roofit ROOFIT_DESC= Build the advanced fitting package RooFit, and RooStats for statistical tests ROOT7_CMAKE_BOOL= root7 ROOT7_DESC= Build ROOT 7 components of ROOT SPECTRUM_CMAKE_BOOL= spectrum SPECTRUM_DESC= Enable support for TSpectrum SQLITE_CMAKE_BOOL= sqlite SQLITE_DESC= Enable support for SQLite SQLITE_USES= sqlite SSL_CMAKE_BOOL= ssl SSL_DESC= Enable support for SSL encryption via OpenSSL SSL_USES= ssl TMLP_CMAKE_BOOL= mlp TMLP_DESC= Enable support for TMultilayerPerceptron classes' federation TMLP_IMPLIES= TMVAML MATHMORE TMVAML_CMAKE_BOOL= tmva tmva-cpu TMVAML_DESC= Build TMVA multi variate analysis library, including TMVA with CPU support for deep learning TMVAML_IMPLIES= IMT MATHMORE TMVAML_LIB_DEPENDS= libopenblas.so:math/openblas VDT_CMAKE_BOOL= vdt VDT_DESC= Enable support for VDT (fast and vectorisable mathematical functions) VDT_LIB_DEPENDS= libvdt.so:math/vdt WEBGUI_CMAKE_BOOL= webgui WEBGUI_DESC= Build Web-based UI components of ROOT WEBGUI_IMPLIES= HTTP ROOT7 X11_CMAKE_BOOL= x11 X11_DESC= Enable support for X11/Xft X11_USES= xorg X11_USE= xorg=ice,sm,x11,xau,xaw,xcb,xcomposite,xcursor,xdamage,xdmcp,xext \ xorg=xfixes,xfont,xfont2,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender \ xorg=xres,xscrnsaver,xt,xv,xxf86vm XML_CMAKE_BOOL= xml XML_DESC= Enable support for XML XML_USES= gnome XML_USE= gnome=libxml2 XROOTD_CMAKE_BOOL= xrootd XROOTD_DESC= Enable support for XRootD file server and client XROOTD_LIB_DEPENDS= libXrdCl.so:databases/xrootd .include ROOT_CLANG_VER= 18 PLIST_SUB+= PYVER="${PYTHON_VER:S/./_/}" \ ROOT_CLANG_VER="${ROOT_CLANG_VER}" \ SHLIB_SHVER="${DISTVERSION:R}" \ SHLIB_VER="${DISTVERSION}" # A few headers are only installed on aarch64 .if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" PLIST_SUB+= ONLY_INSTALLED_ON_AARCH64="" .else PLIST_SUB+= ONLY_INSTALLED_ON_AARCH64="@comment " .endif # Files in ${PREFIX}lib/root/__pycache__ have links into WRKDIR and should not be staged # Files in wrkdirs are generated during build of libAfterImage and should not be staged post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__ ${RM} -r ${STAGEDIR}/wrkdirs .include diff --git a/devel/shiboken2/Makefile b/devel/shiboken2/Makefile index ab615703f6bf..a642c117bd4c 100644 --- a/devel/shiboken2/Makefile +++ b/devel/shiboken2/Makefile @@ -1,50 +1,50 @@ PORTNAME= shiboken2 DISTVERSION= ${QT5_VERSION} PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/QtForPython/shiboken2/PySide2-${DISTVERSION}-src PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyside-setup-opensource-src-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Python binding generator for C++ libraries WWW= https://wiki.qt.io/PySide2 LICENSE= GPLv2 LGPL21 LGPL3 LICENSE_COMB= multi BROKEN_riscv64= fails to compile: __threading_support:135:3: Unsupported architecture BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ git>0:devel/git LIB_DEPENDS= libxslt.so:textproc/libxslt USES= cmake compiler:c++11-lang gnome llvm:lib,noexport \ - python:3.9-3.11 qt:5 shebangfix tar:xz + python:-3.11 qt:5 shebangfix tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= buildtools:build core gui network qmake:build testlib:build \ xml xmlpatterns CMAKE_ARGS+= "-DCMAKE_CXX_FLAGS=-lexecinfo" \ "-DCMAKE_STANDARD_LIBRARIES=-lexecinfo" \ "-DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo" \ "-DUSE_PYTHON_VERSION=${PYTHON_VER}" \ "-DLLVM_CONFIG=${LLVM_CONFIG}" PLIST_SUB+= DISTVERSION=${DISTVERSION} PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER} WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/shiboken2 post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/shiboken_tool.py ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR} \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR} \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile index 9f22fffff962..61241cbc7456 100644 --- a/devel/valgrind/Makefile +++ b/devel/valgrind/Makefile @@ -1,97 +1,97 @@ PORTNAME= valgrind DISTVERSION= 3.26.0 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= SOURCEWARE/valgrind MAINTAINER= pjfloyd@wanadoo.fr COMMENT= Memory debugging and profiling tool WWW= https://www.valgrind.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 USES= autoreconf cpe gmake pathfix perl5 pkgconfig shebangfix \ - python:3.9+,run tar:bz2 + python:run tar:bz2 USE_PERL5= build SHEBANG_FILES= callgrind/callgrind_annotate.in callgrind/callgrind_control.in \ cachegrind/cg_merge.in cachegrind/cg_diff.in \ cachegrind/cg_annotate.in GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_path_PERL=${PERL} PIE_UNSAFE= yes SSP_UNSAFE= yes LIB32_PATH?= /usr/lib32/libc.so CONFLICTS= valgrind-devel # Valgrind needs to read debuginfo from its own preload shared libraries # (quote from README_PACKAGERS #-- Don't strip the debug info off lib/valgrind/$platform/vgpreload*.so # in the installation tree. Either Valgrind won't work at all, or it # will still work if you do, but will generate less helpful error # messages.) STRIP= # empty PORTDOCS= html OPTIONS_DEFINE= DOCS MANPAGES MPI OPTIONS_DEFINE_amd64= 32BIT OPTIONS_DEFAULT= MANPAGES .if exists(${LIB32_PATH}) OPTIONS_DEFAULT_amd64= 32BIT .endif OPTIONS_SUB= yes 32BIT_DESC= Enable debugging of 32-bit programs (requires lib32) MPI_DESC= Enable build of MPI wrappers DOCS_BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ xsltproc:textproc/libxslt MANPAGES_BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ xsltproc:textproc/libxslt MPI_LIB_DEPENDS= libmpich.so:net/mpich .include PLIST_SUB+= ARCH=${ARCH:S/i386/x86/:S/aarch64/arm64/} .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" . if !${PORT_OPTIONS:M32BIT} CONFIGURE_ARGS+= --enable-only64bit PLIST_SUB+= X86="@comment " . else . if !exists(${LIB32_PATH}) IGNORE= please either install the lib32 distribution or unset the 32BIT option . endif PLIST_SUB+= X86="" . endif PLIST_SUB+= AARCH64="@comment " .endif .if ${ARCH} == "i386" PLIST_SUB+= AMD64="@comment " \ X86="" \ AARCH64="@comment " .endif .if ${ARCH} == "aarch64" PLIST_SUB+= AMD64="@comment " \ X86="@comment " \ AARCH64="" .endif post-patch-DOCS-off: @${RM} -r ${WRKSRC}/docs/html post-build-DOCS-on: cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html-docs post-build-MANPAGES-on: cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} man-pages .include diff --git a/dns/py-dns-lexicon/Makefile b/dns/py-dns-lexicon/Makefile index 05bd15eb3099..5801c39724d1 100644 --- a/dns/py-dns-lexicon/Makefile +++ b/dns/py-dns-lexicon/Makefile @@ -1,47 +1,47 @@ PORTNAME= dns-lexicon PORTVERSION= 3.21.1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= dns_lexicon-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Manipulate DNS records on various DNS providers in a standardized way WWW= https://github.com/AnalogJ/lexicon LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=2,1:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyotp>=2:security/py-pyotp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tldextract>=2:dns/py-tldextract@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent cryptography pep517 NO_ARCH= yes OPTIONS_DEFINE= GRANSY LOCALZONE OCI ROUTE53 SOFTLAYER GRANSY_DESC= Gransy support LOCALZONE_DESC= localzone support OCI_DESC= Oracle Cloud Infrastructure (OCI) support ROUTE53_DESC= Route 53 support SOFTLAYER_DESC= SoftLayer (IBM Cloud) support GRANSY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zeep>=3:net/py-zeep@${PY_FLAVOR} LOCALZONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}localzone>=0.9.8:dns/py-localzone@${PY_FLAVOR} OCI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oci>=2:devel/py-oci@${PY_FLAVOR} ROUTE53_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.28:www/py-boto3@${PY_FLAVOR} SOFTLAYER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}softlayer>=5:net/py-softlayer@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6:devel/py-importlib-metadata@${PY_FLAVOR} .endif .include diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile index 4f8abb6b2c82..b5657aa1a880 100644 --- a/dns/py-dnspython/Makefile +++ b/dns/py-dnspython/Makefile @@ -1,50 +1,50 @@ PORTNAME= dnspython DISTVERSION= 2.8.0 PORTEPOCH= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= DNS toolkit for Python WWW= https://www.dnspython.org/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent cython pep517 pytest BINARY_ALIAS= git=false NO_ARCH= yes PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py xfr.py \ zonediff.py OPTIONS_DEFINE= DNSSEC DOH DOQ EXAMPLES IDNA TRIO OPTIONS_DEFAULT= DNSSEC DOH DOQ IDNA TRIO DNSSEC_DESC= DNSSEC Support DOH_DESC= DNS over HTTPS Support DOQ_DESC= DNS over QUIC Support IDNA_DESC= Internationalized Domain Names in Application Support TRIO_DESC= Concurrent async IO library support with TRIO backend DNSSEC_USE= PYTHON=cryptography DOH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=4.1.0:www/py-h2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpcore>=1.0.0:www/py-httpcore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.0:www/py-httpx@${PY_FLAVOR} DOQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioquic>=1.2.0:www/py-aioquic@${PY_FLAVOR} IDNA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=3.10:dns/py-idna@${PY_FLAVOR} TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.30:net/py-trio@${PY_FLAVOR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} do-test: cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} utest.py .include diff --git a/editors/retext/Makefile b/editors/retext/Makefile index 8a5a983e5d0e..4e29e21cbf73 100644 --- a/editors/retext/Makefile +++ b/editors/retext/Makefile @@ -1,32 +1,32 @@ PORTNAME= ReText DISTVERSION= 8.1.0 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= PYPI DISTNAME= retext-${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Markdown editor WWW= https://github.com/retext-project/retext LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE_GPL BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=3.0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markups>=4.0.0:textproc/py-markups@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-markdown-math>=0.6:textproc/py-python-markdown-math@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>0:textproc/py-pymdown-extensions@${PY_FLAVOR} -USES= desktop-file-utils display:test pyqt:6 python:3.9+ qt:6 +USES= desktop-file-utils display:test pyqt:6 python qt:6 USE_PYQT= pyqt6:run USE_PYTHON= autoplist noflavors pep517 pytest USE_QT= tools:build NO_ARCH= yes .include diff --git a/filesystems/py-fsspec-xrootd/Makefile b/filesystems/py-fsspec-xrootd/Makefile index 32e3df0815fe..94b756d67b74 100644 --- a/filesystems/py-fsspec-xrootd/Makefile +++ b/filesystems/py-fsspec-xrootd/Makefile @@ -1,26 +1,26 @@ PORTNAME= fsspec-xrootd PORTVERSION= 0.5.1 CATEGORIES= filesystems devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= fsspec_xrootd-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= XRootD implementation for fsspec WWW= https://scikit-hep.org/fsspec-xrootd/ \ https://github.com/scikit-hep/fsspec-xrootd LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fsspec>=0:filesystems/py-fsspec@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/graphics/py-altair/Makefile b/graphics/py-altair/Makefile index 9e72d3ae9ac3..a0dc7ab64ff8 100644 --- a/graphics/py-altair/Makefile +++ b/graphics/py-altair/Makefile @@ -1,32 +1,32 @@ PORTNAME= altair PORTVERSION= 5.5.0 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Declarative statistical visualization library for Python WWW= https://altair-viz.github.io/ \ https://github.com/vega/altair LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}narwhals>=1.14.2:math/py-narwhals@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include .if ${PYTHON_REL} < 31400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.10.0:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/graphics/py-dj52-sorl-thumbnail/Makefile b/graphics/py-dj52-sorl-thumbnail/Makefile index b9883a81a9c7..64060b76a523 100644 --- a/graphics/py-dj52-sorl-thumbnail/Makefile +++ b/graphics/py-dj52-sorl-thumbnail/Makefile @@ -1,62 +1,62 @@ PORTNAME= sorl-thumbnail DISTVERSION= 12.11.0 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= sorl_thumbnail-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails WWW= https://github.com/jazzband/sorl-thumbnail LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= PILLOW OPTIONS_SINGLE= IMAGELIB OPTIONS_GROUP= CACHING # An PGMAGICK option would still be possible as well, but the ports tree does # not yet have a py-pgmagick port. OPTIONS_SINGLE_IMAGELIB= GRAPHICSMAGICK IMAGEMAGICK PILLOW WAND OPTIONS_GROUP_CACHING= REDIS GRAPHICSMAGICK_DESC= Use GraphicsMagick for image processing (faster) IMAGEMAGICK_DESC= Use ImageMagick for image processing PILLOW_DESC= Use internal image processing REDIS_DESC= Use REDIS as Key Value Store WAND_DESC= Use Wand with ImageMagick DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} GRAPHICSMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/gm:graphics/GraphicsMagick IMAGEMAGICK_USES= magick:6,run PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR} post-build-DOCS-on: ${SETENV} PYTHONPATH=${WRKSRC} ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/graphics/py-imageio/Makefile b/graphics/py-imageio/Makefile index a22c7b12d2d7..840f9463c7e4 100644 --- a/graphics/py-imageio/Makefile +++ b/graphics/py-imageio/Makefile @@ -1,55 +1,55 @@ PORTNAME= imageio PORTVERSION= 2.37.0 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= PYPI \ https://github.com/imageio/imageio/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python library for reading and writing image, video formats WWW= https://imageio.readthedocs.io/en/stable/ \ https://github.com/imageio/imageio LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libfreeimage.so:graphics/freeimage RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=8.3.2:graphics/py-pillow@${PY_FLAVOR} TEST_DEPENDS= opencv>=0:graphics/opencv \ ${PYTHON_PKGNAMEPREFIX}astropy>=0:astro/py-astropy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}av>=0:multimedia/py-av@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=0:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fsspec>=0:filesystems/py-fsspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR} # filesystems/py-fsspec[github] TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes OPTIONS_DEFINE= FFMPEG FITS PILLOW_HEIF PYAV RAWPY TIFFFILE OPTIONS_DEFAULT=FFMPEG FFMPEG_DESC= Read/Write video using FFmpeg FITS_DESC= Read FITS files PILLOW_HEIF_DESC= Read HEIF files PYAV_DESC= Read/Write video and image files RAWPY_DESC= Read/Write images via rawpy TIFFFILE_DESC= Read/Write TIFF files FFMPEG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} FITS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=0,2:astro/py-astropy@${PY_FLAVOR} PILLOW_HEIF_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}pillow-heif>=0:graphics/py-pillow-heif@${PY_FLAVOR} PYAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}av>=0:multimedia/py-av@${PY_FLAVOR} RAWPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rawpy>=0:graphics/py-rawpy@${PY_FLAVOR} TIFFFILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR} .include diff --git a/graphics/py-pillow-heif/Makefile b/graphics/py-pillow-heif/Makefile index a41f824a8b6e..70193482a827 100644 --- a/graphics/py-pillow-heif/Makefile +++ b/graphics/py-pillow-heif/Makefile @@ -1,33 +1,33 @@ PORTNAME= pillow-heif PORTVERSION= 0.22.0 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pillow_heif-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python interface for libheif library WWW= https://github.com/bigcat88/pillow_heif LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libheif.so:graphics/libheif RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=10.1.0:graphics/py-pillow@${PY_FLAVOR} -USES= localbase python:3.9+ +USES= localbase python USE_PYTHON= autoplist concurrent pep517 LDFLAGS+= -lheif post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/libheif/ post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/lang/py-hy/Makefile b/lang/py-hy/Makefile index 77c33ad6b5ce..54a2b7eb9d88 100644 --- a/lang/py-hy/Makefile +++ b/lang/py-hy/Makefile @@ -1,27 +1,27 @@ PORTNAME= hy PORTVERSION= 1.1.0 CATEGORIES= lang python MASTER_SITES= PYPI \ https://github.com/hylang/hy/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lisp dialect embedded in Python WWW= https://hylang.org/ \ https://docs.hylang.org/en/stable/ \ https://github.com/hylang/hy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}funcparserlib>=1.0<2:devel/py-funcparserlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}funcparserlib>=1.0<2:devel/py-funcparserlib@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/mail/mailman3/Makefile b/mail/mailman3/Makefile index fbfd120c49cb..b85400fbf4b9 100644 --- a/mail/mailman3/Makefile +++ b/mail/mailman3/Makefile @@ -1,49 +1,49 @@ PORTNAME= mailman DISTVERSION= 3.3.10 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= einar@isnic.is COMMENT= GNU Mailing List Management System, Core WWW= https://www.list.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosmtpd>=1.4.3:mail/py-aiosmtpd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}alembic>0:databases/py-alembic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}atpublic>0:devel/py-atpublic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}authheaders>=0.16:mail/py-authheaders@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}authres>=1.0.1:mail/py-authres@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.0.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=1.14.0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}falcon>=3.1.3:www/py-falcon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flufl.bounce>=4.0:mail/py-flufl.bounce@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flufl.i18n>=3.2:devel/py-flufl.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flufl.lock>=5.1:devel/py-flufl.lock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>0:www/py-gunicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lazr.config>0:devel/py-lazr.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.0:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>0:databases/py-sqlalchemy20@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.component>0:devel/py-zope.component@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.configuration>0:devel/py-zope.configuration@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.event>0:devel/py-zope.event@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=5.0:devel/py-zope.interface@${PY_FLAVOR} -USES= cpe python:3.9+ +USES= cpe python CPE_VENDOR= gnu USE_PYTHON= autoplist concurrent pep517 USE_RC_SUBR= mailman NO_ARCH= yes SUB_LIST= PYTHON_CMD=${PYTHON_CMD} USERS= mailman GROUPS= mailman .include diff --git a/math/py-evalidate/Makefile b/math/py-evalidate/Makefile index ec66aecc1b62..83830932b9da 100644 --- a/math/py-evalidate/Makefile +++ b/math/py-evalidate/Makefile @@ -1,23 +1,23 @@ PORTNAME= evalidate DISTVERSIONPREFIX= v DISTVERSION= 2.0.2 PORTREVISION= 1 CATEGORIES= math python #MASTER_SITES= PYPI # no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Safe evaluation of untrusted user-supplied python expressions WWW= https://github.com/yaroslaff/evalidate LICENSE= MIT -USES= python:3.9+ +USES= python USE_PYTHON= distutils autoplist pytest # the test tests/test_jailbreak.py::TestJailbreak::test_mul_overflow runs in a very high memory - 12+GB, see https://github.com/yaroslaff/evalidate/issues/8 USE_GITHUB= yes GH_ACCOUNT= yaroslaff NO_ARCH= yes .include diff --git a/math/py-formulaic/Makefile b/math/py-formulaic/Makefile index eac8ae4c56b9..48a04dd9aa53 100644 --- a/math/py-formulaic/Makefile +++ b/math/py-formulaic/Makefile @@ -1,36 +1,36 @@ PORTNAME= formulaic DISTVERSION= 1.0.2 CATEGORIES= math python # statistics MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Implementation of Wilkinson formulas WWW= https://github.com/matthewwardrop/formulaic LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astor>=0.8:devel/py-astor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}interface-meta>=1.2.0:devel/py-interface-meta@${PY_FLAVOR} \ ${PYNUMY} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.6:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wrapt>=1.0:devel/py-wrapt@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}installer>0:devel/py-installer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>=1.3:math/py-sympy@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include diff --git a/math/py-iminuit/Makefile b/math/py-iminuit/Makefile index 4f8c21db6976..ecae6abf29ce 100644 --- a/math/py-iminuit/Makefile +++ b/math/py-iminuit/Makefile @@ -1,45 +1,45 @@ PORTNAME= iminuit DISTVERSION= 2.30.1 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Jupyter-friendly Python frontend for MINUIT2 in C++ WWW= https://scikit-hep.org/iminuit/ \ https://github.com/scikit-hep/iminuit LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake-core \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathspec>0:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproject-metadata>0:devel/py-pyproject-metadata@${PY_FLAVOR} # devel/py-scikit-build-core's optional dependencies are for some reason required here RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}annotated-types>0:devel/py-annotated-types@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}boost-histogram>0:misc/py-boost-histogram@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipykernel>0:devel/py-ipykernel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jacobi>0:math/py-jacobi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numba-stats>0:math/py-numba-stats@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}resample>0:math/py-resample@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unicodeitplus>0:textproc/py-unicodeitplus@${PY_FLAVOR} -USES= compiler:c++14-lang python:3.9+ +USES= compiler:c++14-lang python USE_PYTHON= pep517 cython_test autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # tests as of 2.30.1: 4 failed, 674 passed in 53.97s, see https://github.com/scikit-hep/iminuit/issues/1063 .include diff --git a/math/py-jax/Makefile b/math/py-jax/Makefile index b162691ab0cc..96a046d5ce76 100644 --- a/math/py-jax/Makefile +++ b/math/py-jax/Makefile @@ -1,27 +1,27 @@ PORTNAME= jax PORTVERSION= 0.4.38 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Differentiate, compile, and transform Numpy code WWW= https://jax.readthedocs.io/en/latest/ \ https://github.com/jax-ml/jax LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.2.0:math/py-ml-dtypes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opt-einsum>=0:math/py-opt-einsum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.11.1:science/py-scipy@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/math/py-ndindex/Makefile b/math/py-ndindex/Makefile index 8e4aa2c03e1b..9d430fe0b40b 100644 --- a/math/py-ndindex/Makefile +++ b/math/py-ndindex/Makefile @@ -1,30 +1,30 @@ PORTNAME= ndindex PORTVERSION= 1.10.0 CATEGORIES= math python MASTER_SITES= PYPI \ https://github.com/Quansight-Labs/ndindex/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python library for manipulating indices of ndarrays WWW= https://quansight-labs.github.io/ndindex/ \ https://github.com/Quansight-Labs/ndindex LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent cython pep517 OPTIONS_DEFINE= ARRAYS ARRAYS_DESC= Array support ARRAYS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile index 4aa4c406de49..dc76f2169068 100644 --- a/math/py-numexpr/Makefile +++ b/math/py-numexpr/Makefile @@ -1,26 +1,26 @@ PORTNAME= numexpr PORTVERSION= 2.14.1 CATEGORIES= math python MASTER_SITES= PYPI \ https://github.com/pydata/numexpr/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast numerical array expression evaluator for Python and NumPy WWW= https://github.com/pydata/numexpr LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR} -USES= dos2unix python:3.10+ +USES= dos2unix python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 7b7273abe5be..fce6242f50ce 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,100 +1,100 @@ PORTNAME= numpy PORTVERSION= 1.26.4 PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= math python MASTER_SITES= PYPI \ https://numpy.org/doc/1.26/:doc PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= numpy-${PORTVERSION}${EXTRACT_SUFX} \ numpy-html.zip:doc DIST_SUBDIR= numpy-${PORTVERSION:R} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= python@FreeBSD.org COMMENT= The New Numeric Extension to Python WWW= https://www.numpy.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}meson-python>=0:devel/meson-python@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= compiler:c11 cpe fortran pkgconfig python:3.9+ shebangfix +USES= compiler:c11 cpe fortran pkgconfig python shebangfix USE_PYTHON= autoplist concurrent cython pep517 GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e \ s/libgfortran.so// PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95 PYDISTUTILS_BUILDARGS= --fcompiler=gnu95 LDFLAGS+= -s PIE_UNSAFE= yes PORTSCOUT= limit:^1\. PORTDOCS= * OPTIONS_DEFINE= DOCS SUITESPARSE OPTIONS_DEFAULT= OPENBLAS SUITESPARSE OPTIONS_SINGLE= BLASLIB OPTIONS_SINGLE_BLASLIB= ATLAS NETLIB OPENBLAS SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse ATLAS_USES= blaslapack:atlas ATLAS_VARS= BLASLIBS="ptf77blas, ptcblas" \ BLASNAME=atlas \ LAPACKLIBS=alapack \ LIBRARIES=atlas_libs NETLIB_LIB_DEPENDS= libcblas.so:math/cblas NETLIB_USES= blaslapack:netlib NETLIB_VARS= BLASLIBS="blas, cblas" \ BLASNAME=atlas \ LAPACKLIBS=lapack \ LIBRARIES=atlas_libs OPENBLAS_USES= blaslapack:openblas OPENBLAS_VARS= BLASLIBS="openblas, gfortran" \ BLASNAME=openblas \ LAPACKLIBS="openblas, gfortran" \ LIBRARIES=libraries SUITESPARSE_LIB_DEPENDS= libumfpack.so:math/suitesparse-umfpack SHEBANG_FILES= numpy/f2py/crackfortran.py numpy/f2py/f2py2e.py \ numpy/f2py/rules.py numpy/testing/print_coercion_tables.py \ numpy/testing/setup.py post-extract: @${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp @${TOUCH} ${WRKSRC}/numpy/random/_examples/temp @${TOUCH} ${WRKSRC}/numpy/core/tests/examples/temp pre-configure: @${REINPLACE_CMD} -e 's|%%FC%%|${FC}|' ${WRKSRC}/numpy/distutils/fcompiler/gnu.py @${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%BLASLIBS%%|${BLASLIBS}|; s|%%BLASNAME%%|${BLASNAME}|' \ -e 's|%%LAPACKLIBS%%|${LAPACKLIBS}|; s|%%LIBRARIES%%|${LIBRARIES}|' \ ${WRKSRC}/site.cfg @${REINPLACE_CMD} -e "s|%%GCCLIBDIR%%|$$(${GCCLIBDIR_CMDS})|" ${WRKSRC}/site.cfg ${WRKSRC}/numpy/distutils/system_info.py pre-configure-SUITESPARSE-off: @${REINPLACE_CMD} -e 's|:%%LOCALBASE%%/include/suitesparse||' ${WRKSRC}/site.cfg do-configure: post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${UNZIP_NATIVE_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/numpy-html.zip -d ${STAGEDIR}${DOCSDIR} @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo do-test: @cd ${WRKSRC} && ${PYTHON_CMD} runtests.py .include diff --git a/math/py-pywavelets/Makefile b/math/py-pywavelets/Makefile index 5269db1a1593..9b57f83ad6ed 100644 --- a/math/py-pywavelets/Makefile +++ b/math/py-pywavelets/Makefile @@ -1,26 +1,26 @@ PORTNAME= pywavelets PORTVERSION= 1.8.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Discrete Wavelet Transforms in Python WWW= https://github.com/PyWavelets/pywt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}meson-python>=0.16:devel/meson-python@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} -USES= python:3.10+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist cython3 pep517 SHEBANG_FILES= pywt/data/create_dat.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pywt/_extensions/*.so .include diff --git a/math/py-reals/Makefile b/math/py-reals/Makefile index 054a4f0d9086..c06378b12f67 100644 --- a/math/py-reals/Makefile +++ b/math/py-reals/Makefile @@ -1,20 +1,20 @@ PORTNAME= reals PORTVERSION= 0.0.5 PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Lightweight python3 library for arithmetic with real numbers WWW= https://github.com/rubenvannieuwpoort/reals LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.10+ +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/misc/py-aider-chat/Makefile b/misc/py-aider-chat/Makefile index 25acdb478260..8126ea829866 100644 --- a/misc/py-aider-chat/Makefile +++ b/misc/py-aider-chat/Makefile @@ -1,84 +1,84 @@ PORTNAME= aider_chat DISTVERSION= 0.86.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= aider_chat-${PORTVERSION} MAINTAINER= dch@FreeBSD.org COMMENT= AI pair programming in your terminal WWW= https://aider.chat/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.44:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=1.3:devel/py-arrow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}SoundFile>=0.12:audio/py-SoundFile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}backoff>=2.2:devel/py-backoff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.12:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}blinker>=1.8:devel/py-blinker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachetools>=5.5:devel/py-cachetools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configargparse>=1.5:devel/py-configargparse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}diff-match-patch>=0:textproc/py-diff-match-patch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}diskcache>=5.6.0:devel/py-diskcache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>=7.1.1:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gitpython>=3.1.30:devel/py-gitpython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}greenlet>=3.0.3:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}grep-ast>=0.3.2:textproc/py-grep-ast@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.24.6:misc/py-huggingface-hub@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}json5>=0.9.11:devel/py-json5@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.23.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}litellm>=1.44.7:misc/py-litellm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mixpanel>=4.10:misc/py-mixpanel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=3.3:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy<2.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openai>=1.43.1:misc/py-openai@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslex>=0.1.3:devel/py-oslex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=24.1:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathspec>=0.12.1:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>=4.9.0:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=10.4.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}posthog>=4.0.1:misc/py-posthog@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.47:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.8.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydub>=0.25:audio/py-pydub@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pypandoc>=1.5:textproc/py-pypandoc@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.7.0:devel/py-pyperclip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml-include>=1.2:devel/py-pyyaml-include@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=13.8:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.11,1:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shtab>0:devel/py-shtab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}socksio>=1<2:net/py-socksio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sounddevice>=0.5.0:audio/py-sounddevice@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}streamlit>=1.38:www/py-streamlit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tiktoken>=0.7.0:textproc/py-tiktoken@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tokenizers>=0.20.0:textproc/py-tokenizers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tree-sitter>=0.20,<0.22.2:devel/py-tree-sitter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}watchfiles>=0:devel/py-watchfiles@${PY_FLAVOR} # missing dependencies # playwright its a chromium browser automation library # watchdog is pulled in by streamlit # google-generativeai is not a popular aider dependency -USES= python:3.10+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 SHEBANG_FILES= aider/coders/base_coder.py aider/coders/search_replace.py NO_ARCH= yes PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/py-colored/Makefile b/misc/py-colored/Makefile index a43a92cd14b4..e212d2a7e772 100644 --- a/misc/py-colored/Makefile +++ b/misc/py-colored/Makefile @@ -1,20 +1,20 @@ PORTNAME= colored DISTVERSION= 2.3.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= timp87@gmail.com COMMENT= Very simple Python library for color and formatting in terminal WWW= https://gitlab.com/dslackw/colored LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.10.1<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/misc/py-mixpanel/Makefile b/misc/py-mixpanel/Makefile index 24eee491d17f..79ebf64daf4e 100644 --- a/misc/py-mixpanel/Makefile +++ b/misc/py-mixpanel/Makefile @@ -1,33 +1,33 @@ PORTNAME= mixpanel DISTVERSION= 4.10.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= mixpanel-${PORTVERSION} MAINTAINER= dch@FreeBSD.org COMMENT= Python client library for Mixpanel Analytics API WWW= https://mixpanel.com/help/reference/python \ https://github.com/mixpanel/mixpanel-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.44:devel/py-wheel@${PY_FLAVOR} -USES= python:3.10+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PORTDOCS= README.rst OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/py-oterm/Makefile b/misc/py-oterm/Makefile index 2bd489f540b4..071b92752f2d 100644 --- a/misc/py-oterm/Makefile +++ b/misc/py-oterm/Makefile @@ -1,40 +1,40 @@ PORTNAME= oterm DISTVERSION= 0.9.3 PORTREVISION= 2 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Text-based terminal client for Ollama WWW= https://github.com/ggozad/oterm LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.25.0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosql>=10.1:databases/py-aiosql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiosqlite>=0.19.0:databases/py-aiosqlite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}linkify-it-py>=2.0.3:textproc/py-linkify-it-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mdit-py-plugins>=0.4.1:textproc/py-mdit-py-plugins@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ollama>=0.4.7:misc/py-ollama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mcp>=1.3.0:misc/py-mcp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0.3.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=24.1:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.10.1:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.7.0:devel/py-pyperclip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=1.0.1:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich-pixels>=3.0.1:graphics/py-rich-pixels@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}textual0>=0.85.2:textproc/py-textual0@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}textualeffects>=0.1.3:devel/py-textualeffects@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.12.3:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uc-micro-py>=1.0.3:textproc/py-uc-micro-py@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} NO_ARCH= yes .include diff --git a/misc/py-posthog/Makefile b/misc/py-posthog/Makefile index bb117783b627..9afc425c778c 100644 --- a/misc/py-posthog/Makefile +++ b/misc/py-posthog/Makefile @@ -1,37 +1,37 @@ PORTNAME= posthog DISTVERSION= 4.0.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= posthog-${PORTVERSION} MAINTAINER= dch@FreeBSD.org COMMENT= developer-friendly, self-hosted product analytics WWW= https://github.com/posthog/posthog-python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.44:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backoff>=1.10.0:devel/py-backoff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}monotonic>=1.5:devel/py-monotonic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>2.1:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR} -USES= python:3.10+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile index a1969cae77e9..986bcbe574e7 100644 --- a/net-mgmt/netbox/Makefile +++ b/net-mgmt/netbox/Makefile @@ -1,117 +1,117 @@ PORTNAME= netbox DISTVERSIONPREFIX= v DISTVERSION= 4.4.5 CATEGORIES= net-mgmt python MAINTAINER= kai@FreeBSD.org COMMENT= IP address management tool WWW= https://github.com/netbox-community/netbox LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt # NetBox has fixed Python package dependencies listed in "requirements.txt" # which are not checked during build/runtime because they're usually installed # via devel/py-pip. # # As a rule, slight deviations are usually not a problem, but there are a few # Django packages that are known for regressions in conjunction with NetBox and # should therefore only be updated with caution. # # - devel/py-dj52-django-rq # - www/py-dj52-django-filter # - www/py-dj52-django-tables2 # - www/py-dj52-djangorestframework # RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.2.7<5.3:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-cors-headers>=4.9.0<5:www/py-dj52-django-cors-headers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-debug-toolbar>=6.0.0<7:www/py-dj52-django-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-filter>=25.2<26:www/py-dj52-django-filter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-htmx>=1.26.0<2:www/py-dj52-django-htmx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-mptt>=0.17.0<0.18:www/py-dj52-django-mptt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-prometheus>=2.4.1<2.5:www/py-dj52-django-prometheus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-redis>=6.0.0<7:www/py-dj52-django-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-rich>=2.2.0<3:www/py-dj52-django-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-rq>=3.0.1<3.2:devel/py-dj52-django-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-storages>=1.14.6<2:www/py-dj52-django-storages@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-tables2>=2.7.5<2.8:www/py-dj52-django-tables2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-taggit>=6.1.0<7:www/py-dj52-django-taggit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-django-timezone-field>=7.1<8:www/py-dj52-django-timezone-field@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-djangorestframework>=3.16.1<3.17.0:www/py-dj52-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular>=0.28.0<1:www/py-dj52-drf-spectacular@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular-sidecar>=2025.10.1:www/py-dj52-drf-spectacular-sidecar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-social-auth-app-django>=5.6.0<6:www/py-dj52-social-auth-app-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-sorl-thumbnail>=12.11.0<13:graphics/py-dj52-sorl-thumbnail@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-strawberry-graphql>=0.284.1<0.300:devel/py-dj52-strawberry-graphql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-strawberry-graphql-django>=0.67.0<1:www/py-dj52-strawberry-graphql-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6<1:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.12<7:textproc/py-feedparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6<4:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.25.1<5:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=3.9<3.10:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.6.22<10:textproc/py-mkdocs-material@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mkdocstrings>=0.30.1<1:textproc/py-mkdocstrings@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python>=1.18.2:textproc/py-mkdocstrings-python@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=1.3.0<2:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nh3>=0.3.1<1:www/py-nh3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=11.3.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg>=3.2.10<4:databases/py-psycopg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg-c>=3.2.10<4:databases/py-psycopg-c@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg-pool>=3.2.6<4:databases/py-psycopg-pool@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.32.5<3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq>=2.6.0<3:devel/py-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.7.0<5:security/py-social-auth-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tablib>=3.9.0<4:textproc/py-tablib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=2025.2:devel/py-tzdata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.3<7:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=23.0.0<24:www/py-gunicorn@${PY_FLAVOR} -USES= cpe pgsql:14+ python:3.10+ +USES= cpe pgsql:14+ python CPE_VENDOR= netbox USE_GITHUB= yes GH_ACCOUNT= netbox-community SUB_FILES= 850.netbox-housekeeping.sample netbox_rq.sample netboxrc.sample pkg-message SUB_LIST= DATADIR=${DATADIR} PYTHON_CMD=${PYTHON_CMD} PYTHON_VER=${PYTHON_VER} WWWOWN=${WWWOWN} NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= EXAMPLES OPTIONS_GROUP= BACKENDS OPTIONS_GROUP_BACKENDS= GIT LDAP S3 SENTRY GIT_DESC= Git backend support LDAP_DESC= LDAP backend support S3_DESC= Amazon S3 backend support SENTRY_DESC= Sentry monitoring support GIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dulwich>0:devel/py-dulwich@${PY_FLAVOR} LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-django-auth-ldap>0:www/py-dj52-django-auth-ldap S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} SENTRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sentry-sdk>0:devel/py-sentry-sdk@${PY_FLAVOR} do-install: cd ${WRKSRC}/netbox ; \ for src in $$( ${FIND} . ! -name '*.bak' -a ! -name '*.orig' ) ; do \ dst=${STAGEDIR}${DATADIR}$${src#.} ; \ if ${TEST} -d "$$src" ; then \ ${MKDIR} "$$dst" ; \ else \ ${INSTALL_DATA} "$$src" "$$dst" ; \ fi \ done cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/mkdocs.yml ${STAGEDIR}${DATADIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/850.netbox-housekeeping.sample ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/netbox_rq.sample ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/netboxrc.sample ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/apache.conf ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/gunicorn.py ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/nginx.conf ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/net-mgmt/peering-manager/Makefile b/net-mgmt/peering-manager/Makefile index 527e3d99d9dd..7d7c363cb815 100644 --- a/net-mgmt/peering-manager/Makefile +++ b/net-mgmt/peering-manager/Makefile @@ -1,93 +1,93 @@ PORTNAME= peering-manager DISTVERSIONPREFIX= v DISTVERSION= 1.9.7 CATEGORIES= net-mgmt python MAINTAINER= bofh@FreeBSD.org COMMENT= BGP sessions management tool WWW= https://peering-manager.net/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1:devel/py-Jinja2@${PY_FLAVOR} \ bgpq4>0:net-mgmt/bgpq4 \ ${PYTHON_PKGNAMEPREFIX}django51>=5.1<5.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.15:www/py-dj51-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-debug-toolbar>=5.0:www/py-dj51-django-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-filter>=25.1:www/py-dj51-django-filter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-netfields>=1.3:www/py-dj51-django-netfields@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-prometheus>=2.3:www/py-dj51-django-prometheus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-redis>=5.4:www/py-dj51-django-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-rq>=2.10:devel/py-dj51-django-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-tables2>=2.7:www/py-dj51-django-tables2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-taggit>=6.1:www/py-dj51-django-taggit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular>=0.28:www/py-dj51-drf-spectacular@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular-sidecar>=2025:www/py-dj51-drf-spectacular-sidecar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-social-auth-app-django>=5.4:www/py-dj51-social-auth-app-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dulwich>=0.22:devel/py-dulwich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=23.0.0:www/py-gunicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=3.7:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}napalm>=5.0:net-mgmt/py-napalm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=23.2:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg>=3.1:databases/py-psycopg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg-pool>=3.1:databases/py-psycopg-pool@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyixapi>=0.2:net-mgmt/py-pyixapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynetbox>=7.3:net-mgmt/py-pynetbox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.32:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.5.4:security/py-social-auth-core@${PY_FLAVOR} -USES= cpe pgsql:13+ python:3.10-3.12 +USES= cpe pgsql:13+ python:-3.12 CPE_VENDOR= ${PORTNAME} CPE_PRODUCT= ${PORTNAME:S/-/_/} USE_GITHUB= yes USE_RC_SUBR= peering_manager_rq NO_ARCH= yes NO_BUILD= yes SUB_FILES= gunicorn.conf.py 850.peeringmanager-housekeeping SUB_LIST= WWWDIR=${WWWDIR} PORTNAME=${PORTNAME} WSGI_APP=peering_manager.wsgi PYTHON_CMD=${PYTHON_CMD} PYTHON_VER=${PYTHON_VER} PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT=REDIS OPTIONS_RADIO= KVBACKENDS OPTIONS_RADIO_KVBACKENDS= REDIS VALKEY KVBACKENDS_DESC=Key Value Storage Backends REDIS_DESC= Redis Key Value Backend support VALKEY_DESC= Valkey Key Value Backend support REDIS_RUN_DEPENDS= redis>=8.2.1:databases/redis VALKEY_RUN_DEPENDS= valkey>=1.0:databases/valkey FIND_EXPR= "! -name *.orig ! -name .gitattributes ! -name .gitignore ! -name .gitattributes ! -name .isort.cfg ! -name .pre-commit-config.yaml ! -name .readthedocs.yaml ! -name CHANGELOG.md ! -name LICENSE ! -name README.md ! -name mkdocs.yaml ! -name poetry.lock ! -name pyproject.toml ! -name requirements.txt ! -name configuration.example.py ! -path */.github ! -path */.github/* ! -path */docs ! -path */docs/* -prune" do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${ECHO} "@owner www" >> ${TMPPLIST} ${ECHO} "@group www" >> ${TMPPLIST} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${FIND_EXPR}) ${FIND} -s ${STAGEDIR}${PREFIX}/www/${PORTNAME} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} ${FIND} -s ${STAGEDIR}${PREFIX}/www/${PORTNAME} -type d -empty | ${SORT} -r | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/|@dir |' >> ${TMPPLIST} ${INSTALL_DATA} ${WRKDIR}/gunicorn.conf.py ${STAGEDIR}${WWWDIR}/gunicorn.conf.py.sample ${INSTALL_DATA} ${WRKSRC}/peering_manager/configuration.example.py ${STAGEDIR}${WWWDIR}/peering_manager/configuration.py.sample ${INSTALL_DATA} ${WRKDIR}/850.peeringmanager-housekeeping ${STAGEDIR}${PREFIX}/etc/periodic/daily/850.peeringmanager-housekeeping ${ECHO} "@sample ${WWWDIR}/gunicorn.conf.py.sample" >> ${TMPPLIST} ${ECHO} "@sample ${WWWDIR}/peering_manager/configuration.py.sample" >> ${TMPPLIST} ${ECHO} "etc/periodic/daily/850.peeringmanager-housekeeping" >> ${TMPPLIST} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .for f in CHANGELOG.md README.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net-mgmt/py-pysmi/Makefile b/net-mgmt/py-pysmi/Makefile index 145d3d8da62f..2313057e7b72 100644 --- a/net-mgmt/py-pysmi/Makefile +++ b/net-mgmt/py-pysmi/Makefile @@ -1,34 +1,34 @@ PORTNAME= pysmi DISTVERSION= 1.6.2 CATEGORIES= net-mgmt python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= john@saltant.com COMMENT= SNMP/SMI MIB parsing in Python WWW= https://www.pysnmp.com/pysmi/ LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.11:devel/py-ply@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.3:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR} # Officially: 3.9-3.13 -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS BASEDOCS= README.md post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/net/py-aiohappyeyeballs/Makefile b/net/py-aiohappyeyeballs/Makefile index 30fba06cfcdb..386ed2b181bf 100644 --- a/net/py-aiohappyeyeballs/Makefile +++ b/net/py-aiohappyeyeballs/Makefile @@ -1,24 +1,24 @@ PORTNAME= aiohappyeyeballs PORTVERSION= 2.6.1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Happy Eyeballs for asyncio WWW= https://aiohappyeyeballs.readthedocs.io/en/latest/ \ https://github.com/aio-libs/aiohappyeyeballs LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=2.0.0:devel/py-poetry-core@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.23.2<0.26.0:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=3<7:devel/py-pytest-cov@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/net/py-python-heatclient/Makefile b/net/py-python-heatclient/Makefile index 5e7b679ad3c1..f7ab08acc0c1 100644 --- a/net/py-python-heatclient/Makefile +++ b/net/py-python-heatclient/Makefile @@ -1,36 +1,36 @@ PORTNAME= python-heatclient PORTVERSION= 4.1.0 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= OpenStack Orchestration API Client Library WWW= https://docs.openstack.org/python-heatclient/latest/ \ https://github.com/openstack/python-heatclient LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cliff>=2.8.0:devel/py-cliff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.8.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}osc-lib>=1.14.0:devel/py-osc-lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.2:devel/py-prettytable@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-swiftclient>=3.2.0:databases/py-python-swiftclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.13:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/net/py-python-neutronclient/Makefile b/net/py-python-neutronclient/Makefile index b564eeb6a3d6..77bb8f28cac5 100644 --- a/net/py-python-neutronclient/Makefile +++ b/net/py-python-neutronclient/Makefile @@ -1,40 +1,40 @@ PORTNAME= python-neutronclient PORTVERSION= 11.4.0 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CLI and Client Library for OpenStack Networking WWW= https://docs.openstack.org/python-neutronclient/latest/ \ https://github.com/openstack/python-neutronclient LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cliff>=3.4.0:devel/py-cliff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.8.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openstacksdk>=1.5.0:devel/py-openstacksdk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}os-client-config>=1.28.0:devel/py-os-client-config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}osc-lib>=1.12.0:devel/py-osc-lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=3.8.0:net/py-python-keystoneclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/net/py-python-novaclient/Makefile b/net/py-python-novaclient/Makefile index 44c839e4f258..aabd14379d0e 100644 --- a/net/py-python-novaclient/Makefile +++ b/net/py-python-novaclient/Makefile @@ -1,32 +1,32 @@ PORTNAME= python-novaclient PORTVERSION= 18.8.0 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Client for the OpenStack Nova API WWW= https://docs.openstack.org/python-novaclient/latest/ \ https://github.com/openstack/python-novaclient LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=5.7.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.5.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.20.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prettytable0>=0.7.2:devel/py-prettytable0@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=2.0.1:devel/py-stevedore@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/net/py-python-openstackclient/Makefile b/net/py-python-openstackclient/Makefile index 45848574dbac..52e8a8ff97b6 100644 --- a/net/py-python-openstackclient/Makefile +++ b/net/py-python-openstackclient/Makefile @@ -1,36 +1,36 @@ PORTNAME= python-openstackclient PORTVERSION= 7.2.1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= OpenStack Command-line Client WWW= https://docs.openstack.org/python-openstackclient/latest/ \ https://github.com/openstack/python-openstackclient LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cliff>=3.5.0:devel/py-cliff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openstacksdk>=3.3.0:devel/py-openstacksdk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}osc-lib>=2.3.0:devel/py-osc-lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-cinderclient>=3.3.0:net/py-python-cinderclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=3.22.0:net/py-python-keystoneclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.27.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=2.0.1:devel/py-stevedore@${PY_FLAVOR} -USES= python:3.9+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent cryptography pep517 NO_ARCH= yes SHEBANG_GLOB= *.sh .include diff --git a/ports-mgmt/reprise/Makefile b/ports-mgmt/reprise/Makefile index 2974fba1cd33..a8a5ac10a2e2 100644 --- a/ports-mgmt/reprise/Makefile +++ b/ports-mgmt/reprise/Makefile @@ -1,38 +1,38 @@ PORTNAME= reprise PORTVERSION= 0.6.1 PORTREVISION= 2 CATEGORIES= ports-mgmt python MAINTAINER= amdmi3@FreeBSD.org COMMENT= Port testing system WWW= https://github.com/AMDmi3/reprise LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonslicer>=0:textproc/py-jsonslicer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>=0:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_GITHUB= yes GH_ACCOUNT= AMDmi3 USE_PYTHON= autoplist distutils noflavors NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs .include diff --git a/science/py-dwave-hybrid/Makefile b/science/py-dwave-hybrid/Makefile index e4f3e04da77e..9b248e914cc8 100644 --- a/science/py-dwave-hybrid/Makefile +++ b/science/py-dwave-hybrid/Makefile @@ -1,37 +1,37 @@ PORTNAME= dwave-hybrid DISTVERSION= 0.6.14 CATEGORIES= science python # quantum-computing PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= DWave: Hybrid asynchronous decomposition sampler prototype framework WWW= https://docs.ocean.dwavesys.com/projects/hybrid/en/stable/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>5:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.2:science/py-dimod@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-cloud-client>=0.10.6:science/py-dwave-cloud-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-networkx>=0.8.8:science/py-dwave-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-preprocessing>=0.5.4:science/py-dwave-preprocessing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-samplers>=1.0.0:science/py-dwave-samplers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-system>=1.16.0:science/py-dwave-system@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}minorminer>=0.1.7:math/py-minorminer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plucky>=0.4.3:devel/py-plucky@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.9+ +USES= python USE_PYTHON= distutils autoplist unittest # several tests fail, see https://github.com/dwavesystems/dwave-hybrid/issues/276 USE_GITHUB= yes GH_ACCOUNT= dwavesystems TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes .include diff --git a/science/py-dwave-inspector/Makefile b/science/py-dwave-inspector/Makefile index b583ab95b573..cb10191752ba 100644 --- a/science/py-dwave-inspector/Makefile +++ b/science/py-dwave-inspector/Makefile @@ -1,38 +1,38 @@ PORTNAME= dwave-inspector DISTVERSION= 0.5.5 CATEGORIES= science python # quantum-computing PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= DWave: Problem Inspector WWW= https://docs.ocean.dwavesys.com/projects/inspector/en/latest/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.10.0:science/py-dimod@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-cloud-client>=0.13.0:science/py-dwave-cloud-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dwave-system>=1.3.0:science/py-dwave-system@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flask>=2.2:www/py-flask@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}orjson>=3.10.0:devel/py-orjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= distutils cython unittest # few tests fail, see https://github.com/dwavesystems/dwave-inspector/issues/151 USE_GITHUB= yes GH_ACCOUNT= dwavesystems TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes post-install: # remove conflicting __init__.py, see https://github.com/dwavesystems/dwave-system/issues/462 @${RM} -r \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/__init__.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/__pycache__ .include diff --git a/science/py-dwavebinarycsp/Makefile b/science/py-dwavebinarycsp/Makefile index d32f01053748..b4c36dc582a3 100644 --- a/science/py-dwavebinarycsp/Makefile +++ b/science/py-dwavebinarycsp/Makefile @@ -1,31 +1,31 @@ PORTNAME= dwavebinarycsp DISTVERSION= 0.3.0 PORTREVISION= 2 CATEGORIES= science python # quantum-computing PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= DWave: Map CSP with binary variables to binary quadratic models WWW= https://docs.ocean.dwavesys.com/projects/binarycsp/en/latest/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.13:science/py-dimod@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=3.0:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}penaltymodel>=1.1.0:science/py-penaltymodel@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PY_DEPENDS} -USES= python:3.9+ +USES= python USE_PYTHON= distutils autoplist unittest USE_GITHUB= yes GH_ACCOUNT= dwavesystems TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes .include diff --git a/science/py-nibabel/Makefile b/science/py-nibabel/Makefile index 35a7a51932e5..755f4718340e 100644 --- a/science/py-nibabel/Makefile +++ b/science/py-nibabel/Makefile @@ -1,41 +1,41 @@ PORTNAME= nibabel DISTVERSION= 5.3.2 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Read/write some common neuroimaging file formats WWW= https://nipy.org/nibabel/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>=17:devel/py-packaging@${PY_FLAVOR} py311_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.1.0:devel/py-importlib-resources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6:devel/py-typing-extensions@${PY_FLAVOR} py312_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6:devel/py-typing-extensions@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-doctestplus>0:devel/py-pytest-doctestplus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-httpserver>0:devel/py-pytest-httpserver@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pydicom>0:science/py-pydicom@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= pep517 concurrent autoplist pytest # 2 test fail, 1 error, see https://github.com/nipy/nibabel/issues/1386 NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin post-install: @${REINPLACE_CMD} -i '' -e 's|#!python|#!${PYTHON_CMD}|' \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nibabel/cmdline/diff.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nibabel/cmdline/ls.py # tests as of 5.3.2: 2 failed, 5414 passed, 50 skipped, 37 xfailed, 5 xpassed, 500 warnings, 1 error in 318.54s (0:05:18) .include diff --git a/science/py-pygeodesy/Makefile b/science/py-pygeodesy/Makefile index 38999bdbee9d..3b01d8be019c 100644 --- a/science/py-pygeodesy/Makefile +++ b/science/py-pygeodesy/Makefile @@ -1,24 +1,24 @@ PORTNAME= pygeodesy PORTVERSION= 23.4.23 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= PYPI \ https://github.com/mrJean1/PyGeodesy/raw/master/dist/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyGeodesy-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure Python geodesy tools WWW= https://github.com/mrJean1/PyGeodesy LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ zip +USES= python zip USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index 4c6e83b43d50..668102e4e420 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -1,65 +1,65 @@ PORTNAME= scipy DISTVERSION= 1.11.1 PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= science python MASTER_SITES= https://docs.scipy.org/doc/scipy-${DISTVERSION}/:doc \ PYPI:source \ SF:source PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \ scipy-html-${DISTVERSION}.zip:doc EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= https://github.com/scipy/scipy/commit/ PATCHFILES= ab7d08c6148286059f6498ab5c3070268d13cbd9.patch:-p1 # https://github.com/scipy/scipy/pull/21069 MAINTAINER= python@FreeBSD.org COMMENT= Scientific tools for Python WWW= https://www.scipy.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran@${PY_FLAVOR} \ unzip>0:archivers/unzip LIB_DEPENDS= libblas.so:math/blas \ libopenblas.so:math/openblas RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pooch>0:devel/py-pooch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-umfpack>0:math/py-scikit-umfpack@${PY_FLAVOR} -USES= compiler:c++14-lang cpe fortran python:3.9-3.11 shebangfix +USES= compiler:c++14-lang cpe fortran python:-3.11 shebangfix USE_PYTHON= autoplist concurrent cython distutils FFLAGS+= -std=legacy LDFLAGS+= -shared PYDISTUTILS_BUILDARGS= --fcompiler=gnu95 PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95 PIE_UNSAFE= yes PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${UNZIP_CMD} -d ${STAGEDIR}${DOCSDIR} ${DISTDIR}/scipy-html-${DISTVERSION}.zip @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo do-test: @cd ${WRKSRC} && ${TOUCH} .coveragerc && ${PYTHON_CMD} runtests.py .include diff --git a/security/archlinux-keyring/Makefile b/security/archlinux-keyring/Makefile index 3f22e747abeb..69e1ce087d59 100644 --- a/security/archlinux-keyring/Makefile +++ b/security/archlinux-keyring/Makefile @@ -1,37 +1,37 @@ PORTNAME= archlinux-keyring DISTVERSION= 20250430.1 CATEGORIES= security MAINTAINER= vishwin@FreeBSD.org COMMENT= Arch Linux PGP keyring WWW= https://gitlab.archlinux.org/archlinux/archlinux-keyring/ LICENSE= GPLv3+ BUILD_DEPENDS= sq:security/sequoia-sq \ ginstall:sysutils/coreutils \ bash:shells/bash RUN_DEPENDS= bash:shells/bash \ pacman-key:sysutils/pacman@archlinux -USES= gmake pkgconfig python:3.10+ shebangfix trigger +USES= gmake pkgconfig python shebangfix trigger SHEBANG_FILES= keyringctl wkd_sync BINARY_ALIAS= install=ginstall USE_GITLAB= yes GL_SITE= https://gitlab.archlinux.org GL_ACCOUNT= archlinux NO_ARCH= yes PLIST_FILES= share/pacman/keyrings/archlinux-revoked \ share/pacman/keyrings/archlinux-trusted \ share/pacman/keyrings/archlinux.gpg post-patch: @${REINPLACE_CMD} -e 's|/bin|$(PREFIX)/bin|' ${WRKSRC}/Makefile pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/pacman/keyrings .include diff --git a/security/py-fido2/Makefile b/security/py-fido2/Makefile index 40301f52caa9..49377d772697 100644 --- a/security/py-fido2/Makefile +++ b/security/py-fido2/Makefile @@ -1,25 +1,25 @@ PORTNAME= fido2 PORTVERSION= 2.0.0 CATEGORIES= security python MASTER_SITES= PYPI \ https://github.com/Yubico/python-fido2/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= FIDO2/WebAuthn library for implementing clients and servers WWW= https://developers.yubico.com/python-fido2/ \ https://github.com/Yubico/python-fido2 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=2.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist cryptography pep517 unittest NO_ARCH= yes .include diff --git a/security/py-gpg/Makefile b/security/py-gpg/Makefile index 582cb579dfc2..95fce71f01ac 100644 --- a/security/py-gpg/Makefile +++ b/security/py-gpg/Makefile @@ -1,43 +1,43 @@ PORTNAME= gpg PORTVERSION= 2.0.0 CATEGORIES= security python MASTER_SITES= GNUPG/gpgmepy PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= gpgmepy-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Gpgme Python bindings LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= swig:devel/swig \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error \ libgpgme.so:security/gpgme -USES= gmake pkgconfig python:3.9+ tar:bzip2 +USES= gmake pkgconfig python tar:bzip2 USE_PYTHON= autoplist pep517 GNU_CONFIGURE= yes CONFIGURE_ENV= BSD_PYTHON="${PYTHON_CMD}" \ BSD_PYTHON_VERSION="${PYTHON_VER}" TEST_TARGET= check # Link src to the project name defined in pyproject.toml to deal with Python # conventions. This is done in the project build system, but we're just using # the configure part of the autotools and letting the FreeBSD python USES do # the main build. pre-build: (cd ${BUILD_WRKSRC} && ${LN} -sf src ${PORTNAME}) # Avoid patching the src 'copystamp' target, which tries to copy several files # to their original location, causing errors. ${BUILD_WRKSRC}/copystamp just # has to exist for the port 'test' target to function for our purposes. pre-test: ${TOUCH} ${BUILD_WRKSRC}/copystamp .include diff --git a/security/py-httpx-auth/Makefile b/security/py-httpx-auth/Makefile index 8eb942d15b60..31603722f691 100644 --- a/security/py-httpx-auth/Makefile +++ b/security/py-httpx-auth/Makefile @@ -1,26 +1,26 @@ PORTNAME= httpx-auth PORTVERSION= 0.23.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= httpx_auth-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Authentication for HTTPX WWW= https://colin-b.github.io/httpx_auth/ \ https://github.com/Colin-b/httpx_auth LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.0<0.29:www/py-httpx@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/security/py-netbox-secrets/Makefile b/security/py-netbox-secrets/Makefile index fc72644a2aa2..212e618c2580 100644 --- a/security/py-netbox-secrets/Makefile +++ b/security/py-netbox-secrets/Makefile @@ -1,27 +1,27 @@ PORTNAME= netbox-secrets DISTVERSION= 2.4.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= netbox_secrets-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Secret store for NetBox WWW= https://github.com/Onemind-Services-LLC/netbox-secrets LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.23.0:security/py-pycryptodome@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= PYTHON_VER=${PYTHON_VER} .include diff --git a/security/py-omemo-dr/Makefile b/security/py-omemo-dr/Makefile index 16ca57acd872..143287e3ca1a 100644 --- a/security/py-omemo-dr/Makefile +++ b/security/py-omemo-dr/Makefile @@ -1,22 +1,22 @@ PORTNAME= omemo-dr DISTVERSION= 1.0.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= OMEMO Crypto Library WWW= https://dev.gajim.org/gajim/omemo-dr LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0:devel/py-protobuf@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist cryptography pep517 .include diff --git a/security/py-truststore/Makefile b/security/py-truststore/Makefile index 12a550387b39..3b063d8809f0 100644 --- a/security/py-truststore/Makefile +++ b/security/py-truststore/Makefile @@ -1,22 +1,22 @@ PORTNAME= truststore PORTVERSION= 0.10.4 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Verify certificates using native system trust stores WWW= https://truststore.readthedocs.io/en/latest/ \ https://github.com/sethmlarson/truststore LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.11<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.10+ ssl +USES= python ssl USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/security/sssd2/Makefile b/security/sssd2/Makefile index 827225858f96..bf879a632a19 100644 --- a/security/sssd2/Makefile +++ b/security/sssd2/Makefile @@ -1,164 +1,164 @@ PORTNAME= sssd PORTVERSION= 2.9.6 PORTREVISION= 5 CATEGORIES= security PKGNAMESUFFIX= 2 MAINTAINER= jhixson@FreeBSD.org COMMENT= System Security Services Daemon WWW= https://sssd.io/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL?= sssd* BUILD_DEPENDS= ${PY_SETUPTOOLS} \ bash:shells/bash \ docbook-xsl>=1:textproc/docbook-xsl \ p11-kit:security/p11-kit \ nsupdate:dns/bind-tools \ xmlcatalog:textproc/libxml2 \ xmlcatmgr:textproc/xmlcatmgr \ xsltproc:textproc/libxslt LIB_DEPENDS= libcares.so:dns/c-ares \ libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdhash.so:devel/ding-libs \ libfido2.so:security/libfido2 \ libinotify.so:devel/libinotify \ libjansson.so:devel/jansson \ libjose.so:net/jose \ libldb.so:${SAMBA_LDB_PORT:U${SAMBA_PORT}} \ libndr-krb5pac.so:${SAMBA_PORT} \ libndr-nbt.so:${SAMBA_PORT} \ libndr-standard.so:${SAMBA_PORT} \ libndr.so:${SAMBA_PORT} \ libp11-kit.so:security/p11-kit \ libpcre2-8.so:devel/pcre2 \ libpopt.so:devel/popt \ libsamba-util.so:${SAMBA_PORT} \ libsasl2.so:security/cyrus-sasl2 \ libsmbclient.so:${SAMBA_PORT} \ libtalloc.so:${SAMBA_TALLOC_PORT} \ libtdb.so:${SAMBA_TDB_PORT} \ libtevent.so:${SAMBA_TEVENT_PORT} \ libunistring.so:devel/libunistring \ libuuid.so:misc/libuuid RUN_DEPENDS= adcli:net-mgmt/adcli \ cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi USES= autoreconf cpe gettext gmake gssapi:flags,mit iconv ldap \ - libtool localbase:ldflags pathfix pkgconfig python:3.9+ samba:env \ + libtool localbase:ldflags pathfix pkgconfig python samba:env \ shebangfix ssl USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPE_VENDOR= fedoraproject CONFIGURE_ARGS= --disable-dependency-tracking \ --datadir=${DATADIR} \ --localstatedir=/var \ --disable-nls \ --disable-cifs-idmap-plugin \ --disable-valgrind \ --disable-systemtap \ --enable-pammoddir=${PREFIX}/lib \ --enable-ldb-version-check \ --enable-pac-responder \ --with-db-path=/var/db/sss/db \ --with-os=freebsd \ --with-plugin-path=${LOCALBASE}/lib/sssd \ --with-pubconf-path=/var/db/sss/pubconf \ --with-pid-path=/var/run \ --with-pipe-path=/var/run/sss/pipes \ --with-mcache-path=/var/db/sss/mc \ --with-environment-file=${LOCALBASE}/etc/sssd \ --with-init-dir=no \ --with-manpages \ --with-xml-catalog-path=${LOCALBASE}/share/xml/catalog \ --with-krb5-plugin-path=${LOCALBASE}/lib/krb5/plugins/libkrb5 \ --with-krb5authdata-plugin-path=${LOCALBASE}/lib/krb5/plugins/authdata \ --with-krb5-conf=/etc/krb5.conf \ --without-python2-bindings \ --with-winbind-plugin-path=${LOCALBASE}/lib/samba4/modules/idmap \ --without-selinux \ --with-gpo-cache-path=/var/db/sss/gpo_cache \ --without-semanage \ --with-app-libs=${LOCALBASE}/lib/sssd/modules \ --without-autofs \ --with-files-provider \ --with-passkey \ --with-samba \ --without-nfsv4-idmapd-plugin \ --with-secrets-db-path=/var/lib/sss/secrets \ --with-kcm \ --with-oidc-child \ --with-ldb-lib-dir=${LOCALBASE}/lib/shared-modules/ldb \ --with-smb-idmap-interface-version=6 \ --without-libnl \ --with-nscd-conf=/etc/nscd.conf \ --with-python_prefix=${PREFIX} CONFIGURE_ENV= KRB5_CONFIG="${KRB5CONFIG}" CPPFLAGS+= -DRENEWAL_PROG_PATH='\"${LOCALBASE}/sbin/adcli\"' CFLAGS+= -fstack-protector-all LIBS+= -linotify -lintl PLIST_SUB= PYTHON_VER=${PYTHON_VER} MAKE_ENV= MAKELEVEL=0 LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW" SUB_FILES= pkg-message BINARY_ALIAS= python3=python${PYTHON_VER} SHEBANG_FILES= sbus_generate.sh.in \ src/tools/analyzer/sss_analyze \ src/tools/sss_obfuscate \ src/config/SSSDConfigTest.py \ src/tests/*.py \ src/tests/cwrap/cwrap_test_setup.sh \ src/tests/whitespace_test \ src/tests/multihost/data/memcachesize.py \ src/tests/double_semicolon_test \ scripts/release.sh \ contrib/git/pre-push \ contrib/ci/rpm-spec-builddeps \ contrib/ci/clean \ contrib/ci/valgrind-condense \ contrib/ci/run-multihost \ contrib/ci/run \ contrib/ci/get-matrix.py \ contrib/vagrant/bootstrap.sh \ contrib/fedora/make_srpm.sh USE_RC_SUBR= ${PORTNAME} USE_GITHUB=yes GH_ACCOUNT=sssd post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \ -e 's|/var/lib/sss/pubconf/|/var/db/sss/pubconf/|g' \ ${WRKSRC}/src/man/sss_ssh_knownhostsproxy.1.xml \ ${WRKSRC}/src/man/po/*.po || true @${REINPLACE_CMD} -e 's|/etc/sssd/|${ETCDIR}/|g' \ -e 's|/etc/openldap/|${LOCALBASE}/etc/openldap/|g' \ ${WRKSRC}/src/man/*xml || true @${CP} ${FILESDIR}/sss_bsd_errno.h ${WRKSRC}/src/util/sss_bsd_errno.h @${CP} ${FILESDIR}/bsdnss.c ${WRKSRC}/src/sss_client/bsdnss.c post-install: ${INSTALL_DATA} ${WRKSRC}/src/examples/sssd-example.conf \ ${STAGEDIR}${ETCDIR}/sssd.conf.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system.d ${INSTALL_DATA} ${WRKSRC}/src/responder/ifp/org.freedesktop.sssd.infopipe.conf \ ${STAGEDIR}${PREFIX}/share/dbus-1/system.d/org.freedesktop.sssd.infopipe.conf ${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services ${INSTALL_DATA} ${WRKSRC}/src/responder/ifp/org.freedesktop.sssd.infopipe.service \ ${STAGEDIR}${PREFIX}/share/dbus-1/system-services/org.freedesktop.sssd.infopipe.service ${LN} -sf libnss_sss.so.2 ${STAGEDIR}${PREFIX}/lib/nss_sss.so.1 .include diff --git a/security/tpm2-pkcs11/Makefile b/security/tpm2-pkcs11/Makefile index 0ca3b96b3b35..25ef379ab9d0 100644 --- a/security/tpm2-pkcs11/Makefile +++ b/security/tpm2-pkcs11/Makefile @@ -1,29 +1,29 @@ PORTNAME= tpm2-pkcs11 PORTVERSION= 1.9.1 CATEGORIES= security MASTER_SITES= https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PORTVERSION}/ MAINTAINER= arrowd@FreeBSD.org COMMENT= PKCS\#11 interface for TPM2 hardware WWW= https://tpm2-software.github.io/software/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libyaml.so:textproc/libyaml \ libtss2-esys.so:security/tpm2-tss USES= libtool pkgconfig sqlite:3 ssl GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check-TESTS OPTIONS_DEFINE= TEST -TEST_USES= python:3.9+ +TEST_USES= python TEST_CONFIGURE_ENABLE= ptool-checks unit TEST_LIB_DEPENDS= libcmocka.so:sysutils/cmocka TEST_RUN_DEPENDS= dbus-run-session:devel/dbus .include diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile index e57a796e815f..900f82c9dd93 100644 --- a/sysutils/ansible/Makefile +++ b/sysutils/ansible/Makefile @@ -1,46 +1,46 @@ PORTNAME= ansible DISTVERSION= 11.7.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cy@FreeBSD.org COMMENT= Radically simple IT automation WWW= https://www.ansible.com/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core>0:sysutils/py-ansible-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources@${PY_FLAVOR} -USES= ansible:env cpe python:3.10+ shebangfix +USES= ansible:env cpe python shebangfix CPE_VENDOR= redhat USE_PYTHON= autoplist concurrent distutils SHEBANG_FILES= ansible_collections/ovirt/ovirt/roles/disaster_recovery/files/ovirt-dr # It's probably best to leave shebangs in modules untouched as they must be # either unversioned or absent. # See [1] and [2]. # [1]: https://github.com/ansible/ansible/issues/78243 # [2]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265211 SHEBANG_REGEX= (([^/])|(/[^m])|(/m[^o])|(/mo[^d])|(/mod[^u])|(/modu[^l])|(/modul[^e])|(/module[^s])|(/modules[^/]))*\.(py|sh|build.py.generic) python_OLD_CMD= /Users/kbreit/Documents/Programming/ansible_collections/cisco/meraki/venv/bin/python NO_ARCH= yes DO_MAKE_TEST= env LC_ALL=C.UTF-8 ansible -m ping TEST_TARGET= localhost post-patch: ${FIND} ${WRKSRC} -type f -exec ${GREP} --null -El '(/etc/ansible|/usr/share/ansible)' {} + | ${XARGS} -n 500 -0 ${REINPLACE_CMD} \ -e 's|/etc/ansible|${ETCDIR}|g' \ -e 's|/usr/share/ansible|${DATADIR}|g' ${FIND} ${WRKSRC} -type f -name "*.bak" -delete .include # Make sure that we override the unique DATADIR and ETCDIR set # by the implicit USES=uniquefiles. DATADIR= ${ANSIBLE_DATADIR} ETCDIR= ${ANSIBLE_ETCDIR} diff --git a/sysutils/py-ansible-compat/Makefile b/sysutils/py-ansible-compat/Makefile index 95bb04d0b68d..180e4df452da 100644 --- a/sysutils/py-ansible-compat/Makefile +++ b/sysutils/py-ansible-compat/Makefile @@ -1,42 +1,42 @@ PORTNAME= ansible-compat PORTVERSION= 4.1.2 PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@FreeBSD.org COMMENT= Ansible compatibility goodies WWW= https://github.com/ansible-community/ansible-compat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core>=2.12:sysutils/py-ansible-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}subprocess-tee>=0.4.1:devel/py-subprocess-tee@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.6.0:devel/py-jsonschema@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip-tools>0:devel/py-pip-tools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=7.2.0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-plus>0:devel/py-pytest-plus@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 pytest TEST_ENV= LC_ALL=C.UTF-8 PYTHONPATH=${WRKSRC}/src TMPDIR=${WRKDIR}/ NO_ARCH= yes .include .if ${PYTHON_REL} < 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/sysutils/py-ansible-core/Makefile b/sysutils/py-ansible-core/Makefile index b9b3cd5e9649..19f7fa302abb 100644 --- a/sysutils/py-ansible-core/Makefile +++ b/sysutils/py-ansible-core/Makefile @@ -1,87 +1,87 @@ PORTNAME= ansible-core DISTVERSION= 2.18.7 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PORTNAME:R:S/-/_/}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= cy@FreeBSD.org COMMENT= Radically simple IT automation WWW= https://www.ansible.com/ WRKSRC= ${WRKDIR}/${PORTNAME:R:S/-/_/}-${DISTVERSION} LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<1.1.0:devel/py-resolvelib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ git:devel/git -USES= ansible:env cpe python:3.10+ shebangfix +USES= ansible:env cpe python shebangfix CPE_VENDOR= redhat CPE_PRODUCT= ansible USE_PYTHON= autoplist concurrent cryptography pep517 SHEBANG_REGEX= [.]/test/.*[.]py # Pass MAKE_ENV to TEST_ENV so that binary aliases via an updated PATH. TEST_ENV= ${MAKE_ENV} # The "python" binary alias is needed for the tests. BINARY_ALIAS= python=${PYTHON_CMD} NO_ARCH= yes post-patch: # Preserve the original paths in # test/units/cli/galaxy/test_execute_list_collection.py. # Replacing /usr/share/ansible breaks tests. ${FIND} ${WRKSRC} -not -regex '${WRKSRC}/test/units/cli/galaxy/test_execute_list_collection.py' -type f -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} \ -e 's|/etc/ansible|${ETCDIR}|g' \ -e 's|/usr/share/ansible|${DATADIR}|g' ${FIND} ${WRKSRC} -type f -name "*.bak" -delete post-stage: ${FIND} ${STAGEDIR}${PREFIX}/bin -type l -name ansible-\* -lname ansible \ -execdir ${RLN} ansible-${PYTHON_VER} {} \; # USE_PYTHON=autoplist doesn't add this file to pkg-plist. ${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ansible_test/_data/injector/ansible-inventory pre-test: # This one file does not get its paths replaced correctly in post-patch. ${REINPLACE_CMD} 's|"/etc"|"${ETCDIR:H}"|g' \ ${WRKSRC}/test/units/playbook/test_helpers.py # This test constructs a Python script inline and uses an invalid path to it. ${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' \ ${WRKSRC}/test/units/modules/test_async_wrapper.py # Skip the SELinux tests, it's not present on FreeBSD. ${RM} ${WRKSRC}/test/units/module_utils/basic/test_selinux.py # Disable some failing tests. They fail to detect that emoji are of width 2 istead of 1. ${RM} ${WRKSRC}/test/units/utils/test_display.py do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ./bin/ansible-test units -v --python ${PYTHON_VER} .include # Make sure that we override the unique DATADIR and ETCDIR set # by the implicit USES=uniquefiles. DATADIR= ${ANSIBLE_DATADIR} ETCDIR= ${ANSIBLE_ETCDIR} diff --git a/sysutils/py-ansible-core219/Makefile b/sysutils/py-ansible-core219/Makefile index 57f21c3bd51b..54217c4ffc85 100644 --- a/sysutils/py-ansible-core219/Makefile +++ b/sysutils/py-ansible-core219/Makefile @@ -1,88 +1,88 @@ PORTNAME= ansible-core DISTVERSION= 2.19.1 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 219 DISTFILES= ${PORTNAME:R:S/-/_/}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= cy@FreeBSD.org COMMENT= Radically simple IT automation WWW= https://www.ansible.com/ WRKSRC= ${WRKDIR}/${PORTNAME:R:S/-/_/}-${DISTVERSION} LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<1.1.0:devel/py-resolvelib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ git:devel/git -USES= ansible:env cpe python:3.10+ shebangfix +USES= ansible:env cpe python shebangfix CPE_VENDOR= redhat CPE_PRODUCT= ansible USE_PYTHON= autoplist concurrent cryptography pep517 SHEBANG_REGEX= [.]/test/.*[.]py # Pass MAKE_ENV to TEST_ENV so that binary aliases via an updated PATH. TEST_ENV= ${MAKE_ENV} # The "python" binary alias is needed for the tests. BINARY_ALIAS= python=${PYTHON_CMD} NO_ARCH= yes post-patch: # Preserve the original paths in # test/units/cli/galaxy/test_execute_list_collection.py. # Replacing /usr/share/ansible breaks tests. ${FIND} ${WRKSRC} -not -regex '${WRKSRC}/test/units/cli/galaxy/test_execute_list_collection.py' -type f -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} \ -e 's|/etc/ansible|${ETCDIR}|g' \ -e 's|/usr/share/ansible|${DATADIR}|g' ${FIND} ${WRKSRC} -type f -name "*.bak" -delete post-stage: ${FIND} ${STAGEDIR}${PREFIX}/bin -type l -name ansible-\* -lname ansible \ -execdir ${RLN} ansible-${PYTHON_VER} {} \; # USE_PYTHON=autoplist doesn't add this file to pkg-plist. ${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ansible_test/_data/injector/ansible-inventory pre-test: # This one file does not get its paths replaced correctly in post-patch. ${REINPLACE_CMD} 's|"/etc"|"${ETCDIR:H}"|g' \ ${WRKSRC}/test/units/playbook/test_helpers.py # This test constructs a Python script inline and uses an invalid path to it. ${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' \ ${WRKSRC}/test/units/modules/test_async_wrapper.py # Skip the SELinux tests, it's not present on FreeBSD. ${RM} ${WRKSRC}/test/units/module_utils/basic/test_selinux.py # Disable some failing tests. They fail to detect that emoji are of width 2 istead of 1. ${RM} ${WRKSRC}/test/units/utils/test_display.py do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ./bin/ansible-test units -v --python ${PYTHON_VER} .include # Make sure that we override the unique DATADIR and ETCDIR set # by the implicit USES=uniquefiles. DATADIR= ${ANSIBLE_DATADIR} ETCDIR= ${ANSIBLE_ETCDIR} diff --git a/sysutils/py-ansible-lint/Makefile b/sysutils/py-ansible-lint/Makefile index 7ba4f822b570..c1c9a27482a0 100644 --- a/sysutils/py-ansible-lint/Makefile +++ b/sysutils/py-ansible-lint/Makefile @@ -1,55 +1,55 @@ PORTNAME= ansible-lint PORTVERSION= 6.17.1 PORTREVISION= 2 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@FreeBSD.org COMMENT= Checks playbooks for sub-optimal practices and behaviour WWW= https://github.com/willthames/ansible-lint LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core>=2.12.0:sysutils/py-ansible-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ansible-compat>=4.0.5:sysutils/py-ansible-compat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}black>=22.8.0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.3.0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.10.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathspec>=0.10.3:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.0:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}subprocess-tee>=0.4.1:devel/py-subprocess-tee@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wcmatch>=8.1.2:textproc/py-wcmatch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yamllint>=1.30.0:devel/py-yamllint@${PY_FLAVOR} BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0.5:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage_enable_subprocess>=0:devel/py-coverage_enable_subprocess@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage>=6.4.4:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ pylint${PYTHON_PKGNAMESUFFIX}>=0:devel/pylint@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=7.2.2:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-plus>=0.2:devel/py-pytest-plus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.1.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.31:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml.clib>=0:devel/py-ruamel.yaml.clib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spdx-tools>=0.7.1:misc/py-spdx-tools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}types-jsonschema>=0:devel/py-types-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}types-pyyaml>=0:devel/py-types-pyyaml@${PY_FLAVOR} \ bash:shells/bash -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest TEST_ENV= LC_ALL=C.UTF-8 PYTHONPATH=${WRKSRC}/src TMPDIR=${WRKDIR}/ NO_ARCH= yes .include diff --git a/sysutils/py-hcloud/Makefile b/sysutils/py-hcloud/Makefile index 2c67f9455a67..560a62dbb70c 100644 --- a/sysutils/py-hcloud/Makefile +++ b/sysutils/py-hcloud/Makefile @@ -1,31 +1,31 @@ PORTNAME= hcloud DISTVERSION= 2.9.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@FreeBSD.org COMMENT= Official Hetzner Cloud python library WWW= https://hcloud-python.readthedocs.io/en/latest/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.20,<3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.5:devel/py-python-dateutil@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=7.5:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pylint>=3.0.0:devel/pylint@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=5:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mypy>=1.10:devel/py-mypy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}types-python-dateutil>=0:devel/py-types-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}types-requests>=0:devel/py-types-requests@${PY_FLAVOR} NO_ARCH= yes -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest .include diff --git a/sysutils/py-tmuxp/Makefile b/sysutils/py-tmuxp/Makefile index cead2e6f8866..428240d7eed7 100644 --- a/sysutils/py-tmuxp/Makefile +++ b/sysutils/py-tmuxp/Makefile @@ -1,26 +1,26 @@ PORTNAME= tmuxp PORTVERSION= 1.55.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Session manager for tmux WWW= https://tmuxp.git-pull.com/ \ https://github.com/tmux-python/tmuxp LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libtmux>=0.46.0<0.47:devel/py-libtmux@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \ tmux:sysutils/tmux -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-autopep8/Makefile b/textproc/py-autopep8/Makefile index 424a003539be..a8eb989fe0eb 100644 --- a/textproc/py-autopep8/Makefile +++ b/textproc/py-autopep8/Makefile @@ -1,24 +1,24 @@ PORTNAME= autopep8 PORTVERSION= 2.3.2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Automatically formats Python code to conform to the PEP 8 style guide WWW= https://github.com/hhatto/autopep8 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.12.0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PY_TOMLI} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-chameleon/Makefile b/textproc/py-chameleon/Makefile index 2369c13c48f2..a820ca847ca7 100644 --- a/textproc/py-chameleon/Makefile +++ b/textproc/py-chameleon/Makefile @@ -1,30 +1,30 @@ PORTNAME= chameleon PORTVERSION= 4.6.0 CATEGORIES= textproc www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Chameleon-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Fast HTML/XML Template Compiler WWW= https://chameleon.readthedocs.io/en/latest/ \ https://github.com/malthe/chameleon LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include .if ${PYTHON_REL} < 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif .include diff --git a/textproc/py-cssselect2/Makefile b/textproc/py-cssselect2/Makefile index 1a5ee10f0c9d..1d328e04759e 100644 --- a/textproc/py-cssselect2/Makefile +++ b/textproc/py-cssselect2/Makefile @@ -1,23 +1,23 @@ PORTNAME= cssselect2 PORTVERSION= 0.8.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CSS selectors for Python ElementTree WWW= https://github.com/Kozea/cssselect2 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webencodings>=0:converters/py-webencodings@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-elastic-transport/Makefile b/textproc/py-elastic-transport/Makefile index 62b6cc00c4b2..643a40dccf9d 100644 --- a/textproc/py-elastic-transport/Makefile +++ b/textproc/py-elastic-transport/Makefile @@ -1,27 +1,27 @@ PORTNAME= elastic-transport PORTVERSION= 9.2.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= elastic_transport-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Transport classes and utilities shared among Python Elastic client libraries WWW= https://elastic-transport-python.readthedocs.io/en/latest/ \ https://github.com/elastic/elastic-transport-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.2,1<3,1:net/py-urllib3@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-ftfy/Makefile b/textproc/py-ftfy/Makefile index aa47254d3b4c..b3a4cd28936d 100644 --- a/textproc/py-ftfy/Makefile +++ b/textproc/py-ftfy/Makefile @@ -1,24 +1,24 @@ PORTNAME= ftfy PORTVERSION= 6.3.1 CATEGORIES= textproc python MASTER_SITES= PYPI \ https://github.com/rspeer/python-ftfy/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fix some problems with Unicode text after the fact WWW= https://ftfy.readthedocs.io/en/latest/ \ https://github.com/rspeer/python-ftfy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/textproc/py-graphemeu/Makefile b/textproc/py-graphemeu/Makefile index 649bd841da38..ec5c27fb953f 100644 --- a/textproc/py-graphemeu/Makefile +++ b/textproc/py-graphemeu/Makefile @@ -1,23 +1,23 @@ PORTNAME= graphemeu PORTVERSION= 0.9.0 CATEGORIES= textproc python MASTER_SITES= PYPI \ https://github.com/timendum/grapheme/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Unicode grapheme helpers WWW= https://graphemeu.readthedocs.io/en/latest/ \ https://github.com/timendum/grapheme LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-langcodes/Makefile b/textproc/py-langcodes/Makefile index 619eedcd77e0..8629c935a4b3 100644 --- a/textproc/py-langcodes/Makefile +++ b/textproc/py-langcodes/Makefile @@ -1,24 +1,24 @@ PORTNAME= langcodes PORTVERSION= 3.5.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tools for labeling human languages with IETF language tags WWW= https://github.com/georgkrause/langcodes LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=60:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}language-data>=1.2:textproc/py-language-data@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-markdown-it-py/Makefile b/textproc/py-markdown-it-py/Makefile index 20b855f5a7f0..44fba4ed7541 100644 --- a/textproc/py-markdown-it-py/Makefile +++ b/textproc/py-markdown-it-py/Makefile @@ -1,24 +1,24 @@ PORTNAME= markdown-it-py PORTVERSION= 4.0.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= markdown_it_py-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python port of markdown-it WWW= https://markdown-it-py.readthedocs.io/en/latest/ \ https://github.com/executablebooks/markdown-it-py LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mdurl>=0.1<1:textproc/py-mdurl@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-markups/Makefile b/textproc/py-markups/Makefile index 8b24d4f24f9a..68747c9c491d 100644 --- a/textproc/py-markups/Makefile +++ b/textproc/py-markups/Makefile @@ -1,33 +1,33 @@ PORTNAME= markups PORTVERSION= 4.0.0 PORTREVISION= 3 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Markups-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Wrapper around various text markup languages WWW= https://github.com/retext-project/pymarkups LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-markdown-math>=0:textproc/py-python-markdown-math@${PY_FLAVOR} TEST_DEPENDS= asciidoc>=0:textproc/asciidoc \ ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=3:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>=0:textproc/py-pymdown-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}textile>=0:www/py-textile@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 unittest NO_ARCH= yes .include diff --git a/textproc/py-mdit-py-plugins/Makefile b/textproc/py-mdit-py-plugins/Makefile index 4491f49c54ff..48ff58712b9d 100644 --- a/textproc/py-mdit-py-plugins/Makefile +++ b/textproc/py-mdit-py-plugins/Makefile @@ -1,23 +1,23 @@ PORTNAME= mdit-py-plugins PORTVERSION= 0.5.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= mdit_py_plugins-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of plugins for markdown-it-py WWW= https://github.com/executablebooks/mdit-py-plugins LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=2.0.0<5.0.0:textproc/py-markdown-it-py@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-mkdocstrings-crystal/Makefile b/textproc/py-mkdocstrings-crystal/Makefile index c2b698b3aee1..500b89ae530a 100644 --- a/textproc/py-mkdocstrings-crystal/Makefile +++ b/textproc/py-mkdocstrings-crystal/Makefile @@ -1,28 +1,28 @@ PORTNAME= mkdocstrings-crystal DISTVERSION= 0.3.7 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= mkdocstrings_crystal-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Crystal language doc generator for mkdocstrings WWW= https://github.com/mkdocstrings/crystal LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-callouts>=0.1.0:textproc/py-markdown-callouts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mkdocs-autorefs>=0.3.1:textproc/py-mkdocs-autorefs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=1.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.2:devel/py-Jinja2@${PY_FLAVOR} # textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause # a circular dependency (via py-mkdocstrings' CRYSTAL option) -USES= python:3.9+ # textproc/py-mkdocs-autorefs requires Python 3.9+ +USES= python # textproc/py-mkdocs-autorefs requires Python 3.9+ USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/textproc/py-myst-parser/Makefile b/textproc/py-myst-parser/Makefile index 44977c873ed6..3e7fcb73ba2c 100644 --- a/textproc/py-myst-parser/Makefile +++ b/textproc/py-myst-parser/Makefile @@ -1,35 +1,35 @@ PORTNAME= myst-parser PORTVERSION= 4.0.1 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= myst_parser-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Extended commonmark compliant parser with bridges to docutils & sphinx WWW= https://myst-parser.readthedocs.io/en/latest/ \ https://github.com/executablebooks/MyST-Parser LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.19,1<0.22,1:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=3.0<5:textproc/py-markdown-it-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mdit-py-plugins>=0.4.1<1:textproc/py-mdit-py-plugins@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=5,1<9,1:textproc/py-sphinx@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= LINKIFY LINKIFY_DESC= Linkify extension LINKIFY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}linkify-it-py>=2.0<3:textproc/py-linkify-it-py@${PY_FLAVOR} .include diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile index 52412e6c56a9..b62e369362ec 100644 --- a/textproc/py-ocrmypdf/Makefile +++ b/textproc/py-ocrmypdf/Makefile @@ -1,63 +1,63 @@ PORTNAME= ocrmypdf DISTVERSION= 16.11.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Adds an OCR text layer to scanned PDF files WWW= https://github.com/ocrmypdf/OCRmyPDF LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}deprecation>=2.1.0:devel/py-deprecation@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}img2pdf>=0.5:graphics/py-img2pdf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=10.0.1:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow-heif>0:graphics/py-pillow-heif@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=13:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20220319:textproc/py-pdfminer.six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pikepdf>=8.10.1:textproc/py-pikepdf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>=1:devel/py-pluggy@${PY_FLAVOR} \ tesseract:graphics/tesseract TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=6.36.0:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.5.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xmp-toolkit>=2.0.1:textproc/py-python-xmp-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.6.8:print/py-reportlab@${PY_FLAVOR} -USES= ghostscript:run python:3.10+ shebangfix +USES= ghostscript:run python shebangfix USE_PYTHON= autoplist concurrent pep517 pytest # Skip some checks as they yield wrong results if run with the root account PYTEST_IGNORED_TESTS= test_chmod \ test_input_file_not_readable \ test_malformed_docinfo # leads to an internal pytest error SHEBANG_FILES= src/ocrmypdf/__main__.py \ src/ocrmypdf/pdfinfo/__init__.py TEST_ARGS= -n ${MAKE_JOBS_NUMBER} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes PLIST_FILES= etc/bash_completion.d/ocrmypdf.bash share/fish/vendor_completions.d/ocrmypdf.fish OPTIONS_DEFINE= PNGQUANT UNPAPER OPTIONS_DEFAULT=PNGQUANT UNPAPER PNGQUANT_DESC= Optimizes the encoding of PNG-style images in PDFs UNPAPER_DESC= Deskew and clean up pages before OCR processing PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant UNPAPER_RUN_DEPENDS= unpaper:graphics/unpaper post-install: # Install shell completion files @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ .include diff --git a/textproc/py-pycountry/Makefile b/textproc/py-pycountry/Makefile index 992b2ccbcacc..b2ce46df0f6b 100644 --- a/textproc/py-pycountry/Makefile +++ b/textproc/py-pycountry/Makefile @@ -1,21 +1,21 @@ PORTNAME= pycountry PORTVERSION= 24.6.1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= ISO country, subdivision, language, currency and script definitions and their translations WWW= https://github.com/pycountry/pycountry LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-pydata-sphinx-theme/Makefile b/textproc/py-pydata-sphinx-theme/Makefile index 41c1835ac6af..2428807ea576 100644 --- a/textproc/py-pydata-sphinx-theme/Makefile +++ b/textproc/py-pydata-sphinx-theme/Makefile @@ -1,39 +1,39 @@ PORTNAME= pydata-sphinx-theme PORTVERSION= 0.16.1 CATEGORIES= textproc python MASTER_SITES= PYPI \ LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= pydata_sphinx_theme-${PORTVERSION}${EXTRACT_SUFX} \ pydata_sphinx_theme-${PORTVERSION}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bootstrap-based Sphinx theme from the PyData community WWW= https://pydata-sphinx-theme.readthedocs.io/en/stable/ \ https://github.com/pydata/pydata-sphinx-theme LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}accessible-pygments>=0:textproc/py-accessible-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.7:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=5,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes WRKSRC= ${WRKDIR}/pydata_sphinx_theme-${PORTVERSION} post-patch: @${FIND} ${WRKSRC} -name .gitignore -delete post-install: cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/pydata_sphinx_theme/ .include diff --git a/textproc/py-python-ulid/Makefile b/textproc/py-python-ulid/Makefile index a50e7f8650d4..ed958c047fa9 100644 --- a/textproc/py-python-ulid/Makefile +++ b/textproc/py-python-ulid/Makefile @@ -1,30 +1,30 @@ PORTNAME= python-ulid PORTVERSION= 3.1.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python_ulid-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Universally unique lexicographically sortable identifier WWW= https://python-ulid.readthedocs.io/en/latest/ \ https://github.com/mdomke/python-ulid LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= PYDANTIC PYDANTIC_DESC= Pydantic support PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0:devel/py-pydantic2@${PY_FLAVOR} .include diff --git a/textproc/py-python-ulid2/Makefile b/textproc/py-python-ulid2/Makefile index 515f895f9d9c..83889faefbbe 100644 --- a/textproc/py-python-ulid2/Makefile +++ b/textproc/py-python-ulid2/Makefile @@ -1,33 +1,33 @@ PORTNAME= python-ulid PORTVERSION= 2.7.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 2 DISTNAME= python_ulid-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Universally unique lexicographically sortable identifier WWW= https://python-ulid.readthedocs.io/en/latest/ \ https://github.com/mdomke/python-ulid LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PORTSCOUT= limit:^2\. OPTIONS_DEFINE= PYDANTIC PYDANTIC_DESC= Pydantic support PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0:devel/py-pydantic2@${PY_FLAVOR} .include diff --git a/textproc/py-pytkdocs/Makefile b/textproc/py-pytkdocs/Makefile index e443641fcdd2..8d62e617cd22 100644 --- a/textproc/py-pytkdocs/Makefile +++ b/textproc/py-pytkdocs/Makefile @@ -1,33 +1,33 @@ PORTNAME= pytkdocs DISTVERSION= 0.16.5 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Load Python objects documentation WWW= https://github.com/mkdocstrings/pytkdocs LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>0:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}marshmallow>0:devel/py-marshmallow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>0:devel/py-pydantic@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes OPTIONS_DEFINE= NUMPYSTYLE OPTIONS_DEFAULT= NUMPYSTYLE NUMPYSTYLE_DESC= Enable support for Numpy docstrings NUMPYSTYLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.7:textproc/py-docstring_parser@${PY_FLAVOR} .include diff --git a/textproc/py-sphinx-book-theme/Makefile b/textproc/py-sphinx-book-theme/Makefile index e041183977d0..6bd08df7f1b1 100644 --- a/textproc/py-sphinx-book-theme/Makefile +++ b/textproc/py-sphinx-book-theme/Makefile @@ -1,34 +1,34 @@ PORTNAME= sphinx-book-theme PORTVERSION= 1.1.4 CATEGORIES= textproc python MASTER_SITES= PYPI \ LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= sphinx_book_theme-${PORTVERSION}${EXTRACT_SUFX} \ sphinx_book_theme-${PORTVERSION}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org COMMENT= Clean book theme for scientific explanations and documentation with Sphinx WWW= https://sphinx-book-theme.readthedocs.io/en/stable/ \ https://github.com/executablebooks/sphinx-book-theme LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydata-sphinx-theme>=0.15.4:textproc/py-pydata-sphinx-theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=5.3,1:textproc/py-sphinx@${PY_FLAVOR} \ -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes WRKSRC= ${WRKDIR}/sphinx_book_theme-${PORTVERSION} post-patch: @${FIND} ${WRKSRC} -name .gitignore -delete post-install: cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinx_book_theme/ .include diff --git a/textproc/py-sphinx-design/Makefile b/textproc/py-sphinx-design/Makefile index 71e1549ed9aa..0ddaa2cdb19b 100644 --- a/textproc/py-sphinx-design/Makefile +++ b/textproc/py-sphinx-design/Makefile @@ -1,24 +1,24 @@ PORTNAME= sphinx-design PORTVERSION= 0.6.1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= sphinx_design-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Sphinx extension for designing beautiful, view size responsive web components WWW= https://sphinx-design.readthedocs.io/en/latest/ \ https://github.com/executablebooks/sphinx-design LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=5,1<9,1:textproc/py-sphinx@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-sphinxcontrib-towncrier/Makefile b/textproc/py-sphinxcontrib-towncrier/Makefile index 3fbd1b9305de..661180226f0d 100644 --- a/textproc/py-sphinxcontrib-towncrier/Makefile +++ b/textproc/py-sphinxcontrib-towncrier/Makefile @@ -1,30 +1,30 @@ PORTNAME= sphinxcontrib-towncrier PORTVERSION= 0.5.0a0 CATEGORIES= textproc python MASTER_SITES= PYPI \ https://github.com/sphinx-contrib/sphinxcontrib-towncrier/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= sphinxcontrib_towncrier-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= RST directive for injecting a Towncrier-generated changelog draft WWW= https://sphinxcontrib-towncrier.readthedocs.io/en/latest/ \ https://github.com/sphinx-contrib/sphinxcontrib-towncrier LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}towncrier>=23:textproc/py-towncrier@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/textproc/py-tiktoken/Makefile b/textproc/py-tiktoken/Makefile index 4d550b8067c9..4f9b8ce05231 100644 --- a/textproc/py-tiktoken/Makefile +++ b/textproc/py-tiktoken/Makefile @@ -1,32 +1,32 @@ PORTNAME= tiktoken PORTVERSION= 0.12.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast BPE tokeniser for use with OpenAI's models WWW= https://github.com/openai/tiktoken LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.4:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.5.2:devel/py-setuptools-rust@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}regex>=2022.1.18:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR} -USES= cargo python:3.9+ +USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no OPTIONS_DEFINE= BLOBFILE BLOBFILE_DESC= Blob file support BLOBFILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blobfile>=2:net/py-blobfile@${PY_FLAVOR} .include diff --git a/textproc/py-tomli-w/Makefile b/textproc/py-tomli-w/Makefile index e60697f44e21..20a33cb7b540 100644 --- a/textproc/py-tomli-w/Makefile +++ b/textproc/py-tomli-w/Makefile @@ -1,22 +1,22 @@ PORTNAME= tomli-w PORTVERSION= 1.2.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tomli_w-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lil' TOML writer WWW= https://github.com/hukkin/tomli-w LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-typogrify/Makefile b/textproc/py-typogrify/Makefile index f7e842445d8d..657c500339dc 100644 --- a/textproc/py-typogrify/Makefile +++ b/textproc/py-typogrify/Makefile @@ -1,25 +1,25 @@ PORTNAME= typogrify PORTVERSION= 2.1.0 CATEGORIES= textproc MASTER_SITES= PYPI \ https://github.com/justinmayer/typogrify/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Filters to enhance web typography, including support for Django and Jinja templates WWW= https://github.com/justinmayer/typogrify LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}smartypants>=1.8.3:textproc/py-smartypants@${PY_FLAVOR} -USES= python:3.9+ shebangfix +USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes SHEBANG_FILES= typogrify/packages/titlecase/__init__.py .include diff --git a/www/deno/Makefile b/www/deno/Makefile index c44b03efc09c..64af8f90ce4d 100644 --- a/www/deno/Makefile +++ b/www/deno/Makefile @@ -1,106 +1,106 @@ PORTNAME= deno DISTVERSIONPREFIX= v DISTVERSION= 2.4.5 PORTREVISION= 1 CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= Secure JavaScript and TypeScript runtime WWW= https://deno.com/runtime LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= cargo:warning=c/freebsd.c:31:10: error: conflicting types for 'get_cpu_speed' BUILD_DEPENDS= gn:devel/gn \ protoc:devel/protobuf LIB_DEPENDS= libdbus-1.so:devel/dbus \ libffi.so:devel/libffi \ liblcms2.so:graphics/lcms2 \ libzstd.so:archivers/zstd -USES= cargo cpe gmake gnome llvm:min=16,build ninja:build pkgconfig:build python:3.9+,build +USES= cargo cpe gmake gnome llvm:min=16,build ninja:build pkgconfig:build python:build USE_GITHUB= yes GH_ACCOUNT= denoland GH_TUPLE= denoland:deno_lsp_benchdata:a787434:denolsp/cli/bench/testdata/lsp_benchdata \ denoland:node_test:8846b53:nodetest/tests/node_compat/runner/suite \ denoland:std:1f032bb7:denostd/tests/util/std \ web-platform-tests:wpt:e78446e:webp/tests/wpt/suite USE_GNOME= glib20 CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO="false" \ CLANG_BASE_PATH=/usr \ GN=${PREFIX}/bin/gn \ LCMS2_INCLUDE_DIR="${LOCALBASE}/include" \ LCMS2_LIB_DIR="${LOCALBASE}/lib" \ NINJA=${NINJA_CMD} \ RUSTC_BOOTSTRAP=yes \ V8_FROM_SOURCE=1 \ GN_ARGS="clang_use_chrome_plugins=false \ fatal_linker_warnings=false \ is_clang=true \ use_custom_libcxx=false \ use_sysroot=false \ use_udev=false \ use_glib=false" RUSTFLAGS+= "-L${LOCALBASE}/lib" PLIST_FILES= bin/${PORTNAME} \ bin/denort BINARY_ALIAS= python3=${PYTHON_CMD} DENO_CORE_ICUDATA_V= 0.74.0 V8_CARGO_V= 137.2.1 V8_DISTDIR= ${CARGO_VENDOR_DIR}/v8-${V8_CARGO_V} V8_BPGO_DIR= ${V8_DISTDIR}/v8/tools/builtins-pgo CARGO_INSTALL= no WITHOUT_LTO= yes post-patch: ${REINPLACE_CMD} "s|PREFIX|${PREFIX}|" \ ${WRKSRC}/cli/task_runner.rs \ ${WRKSRC}/cli/tools/jupyter/install.rs \ ${WRKSRC}/ext/os/lib.rs \ ${WRKSRC}/tests/unit_node/process_test.ts ${REINPLACE_CMD} "s|WRKDIR|${WRKDIR}|" \ ${WRKSRC}/tests/util/server/src/lib.rs ${REINPLACE_CMD} "s|linux|freebsd|g" \ ${WRKSRC}/tests/ffi/tests/ffi_callback_errors.ts \ ${WRKSRC}/tests/ffi/tests/test.js \ ${WRKSRC}/tests/ffi/tests/bench.js \ ${WRKSRC}/tests/ffi/tests/event_loop_integration.ts \ ${WRKSRC}/tests/ffi/tests/thread_safe_test_worker.js \ ${WRKSRC}/tests/ffi/tests/thread_safe_test.js \ ${WRKSRC}/tests/integration/cache_tests.rs \ ${WRKSRC}/tests/napi/common.js \ ${WRKSRC}/tests/unit/build_test.ts \ ${WRKSRC}/tests/unit/dir_test.ts \ ${WRKSRC}/tests/specs/mod.rs ${MKDIR} ${V8_BPGO_DIR}/arm64.profile ${V8_BPGO_DIR}/x64.profile ${CP} ${WRKSRC}/ext/napi/generated_symbol_exports_list_linux.def \ ${WRKSRC}/ext/napi/generated_symbol_exports_list_freebsd.def ${MKDIR} ${V8_DISTDIR}/third_party/icu/common ${CP} ${CARGO_VENDOR_DIR}/deno_core_icudata-${DENO_CORE_ICUDATA_V}/src/icudtl.dat \ ${V8_DISTDIR}/third_party/icu/common/ # do not pass RUST_BACKTRACE=1 to cargo test as some tests fails if it's there do-test: cd ${WRKSRC} ; \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CARGO_ENV:S/RUST_BACKTRACE=1//g} ${CARGO} test -vv ${CARGO_BUILD_ARGS} do-install: ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/*/deno ${STAGEDIR}${LOCALBASE}/bin ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/*/denort ${STAGEDIR}${LOCALBASE}/bin .include diff --git a/www/domoticz-devel/Makefile b/www/domoticz-devel/Makefile index 7c005e59e30d..cfd661027d75 100644 --- a/www/domoticz-devel/Makefile +++ b/www/domoticz-devel/Makefile @@ -1,74 +1,74 @@ PORTNAME= domoticz DISTVERSION= 2025.1.${DOMOTICZ_REL} CATEGORIES= www PKGNAMESUFFIX= -devel MAINTAINER= kiwi@FreeBSD.org COMMENT= Home Automation System (Development Branch) WWW= https://www.domoticz.com LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/include/jwt-cpp/jwt.h:devel/jwt-cpp LIB_DEPENDS= libcurl.so:ftp/curl \ libboost_thread.so:devel/boost-libs \ libjsoncpp.so:devel/jsoncpp \ libmosquitto.so:net/mosquitto USES= cmake compiler:c++11-lang cpe lua:53 minizip pkgconfig sqlite \ ssl USE_GITHUB= yes GH_TAGNAME= f560a4c3e USE_RC_SUBR= domoticz CMAKE_OFF= GIT_SUBMODULE \ USE_BUILTIN_JSONCPP \ USE_BUILTIN_MINIZIP \ USE_BUILTIN_MQTT \ USE_LUA_STATIC \ USE_STATIC_BOOST \ USE_STATIC_OPENZWAVE \ USE_BUILTIN_JWTCPP CMAKE_INSTALL_PREFIX= ${PREFIX}/domoticz CONFLICTS_INSTALL= domoticz-[234]* EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/hardware/plugins/Include \ --no-same-owner --no-same-permissions # This hack is to get rid of dependency of git while building # the package. DOMOTICZ_REL= 16796 DOMOTICZ_TS= 1759127674 USERS= domoticz GROUPS= domoticz OPTIONS_DEFINE= PRECOMP PYTHON OPTIONS_DEFAULT= PRECOMP PYTHON OPTIONS_SUB= yes PRECOMP_DESC= Enable usage of precompiled header to speed build time PYTHON_DESC= Enable support for Python Plugins PRECOMP_CMAKE_BOOL= USE_PRECOMPILED_HEADER -PYTHON_USES= python:3.10+ +PYTHON_USES= python PYTHON_CMAKE_BOOL= USE_PYTHON post-patch: @${REINPLACE_CMD} -e "s,\/opt,${PREFIX},g" ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e "s,XXXPREFIXXXX,${PREFIX}/domoticz,g" ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e "/^ADD_PRECOMPILED_HEADER/ d" ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e "s/\(#define APPVERSION\)\(.*\)/\1 ${DOMOTICZ_REL}/" ${WRKSRC}/appversion.h @${REINPLACE_CMD} -e "s/\(#define APPHASH\)\(.*\)/\1 \"${GH_TAGNAME}\"/" ${WRKSRC}/appversion.h @${REINPLACE_CMD} -e "s/\(#define APPDATE\)\(.*\)/\1 ${DOMOTICZ_TS}/" ${WRKSRC}/appversion.h post-install: ${MKDIR} ${STAGEDIR}/var/db/domoticz ${STAGEDIR}/var/run/domoticz .include diff --git a/www/domoticz/Makefile b/www/domoticz/Makefile index 77660aa2a477..1fad797919ad 100644 --- a/www/domoticz/Makefile +++ b/www/domoticz/Makefile @@ -1,59 +1,59 @@ PORTNAME= domoticz DISTVERSION= 2025.2 CATEGORIES= www MAINTAINER= kiwi@FreeBSD.org COMMENT= Home Automation System WWW= https://www.domoticz.com LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/include/jwt-cpp/jwt.h:devel/jwt-cpp LIB_DEPENDS= libcurl.so:ftp/curl \ libboost_thread.so:devel/boost-libs \ libjsoncpp.so:devel/jsoncpp \ libmosquitto.so:net/mosquitto USES= cmake compiler:c++11-lang cpe minizip pkgconfig ssl lua:53 sqlite USE_GITHUB= yes USE_RC_SUBR= domoticz CMAKE_OFF+= GIT_SUBMODULE \ USE_STATIC_BOOST \ USE_OPENSSL_STATIC \ USE_STATIC_BOOST \ USE_BUILTIN_SQLITE \ USE_BUILTIN_MINIZIP \ USE_BUILTIN_JSONCPP \ USE_BUILTIN_MQTT \ USE_STATIC_OPENZWAVE \ USE_BUILTIN_JWTCPP CMAKE_INSTALL_PREFIX= ${PREFIX}/domoticz CONFLICTS_INSTALL= domoticz-devel-[234]* EXTRACT_AFTER_ARGS= --exclude ${PORTNAME}-${PORTVERSION}/hardware/plugins/Include \ --no-same-owner --no-same-permissions USERS= domoticz GROUPS= domoticz OPTIONS_DEFINE= PRECOMP PYTHON OPTIONS_DEFAULT= PRECOMP PYTHON OPTIONS_SUB= YES PRECOMP_DESC= Enable usage of precompiled header to speed build time PYTHON_DESC= Enable Python for Plugins and Event-Scripts PRECOMP_CMAKE_BOOL= USE_PRECOMPILED_HEADER -PYTHON_USES= python:3.9+ +PYTHON_USES= python PYTHON_CMAKE_BOOL= USE_PYTHON post-install: ${MKDIR} ${STAGEDIR}/var/db/domoticz ${STAGEDIR}/var/run/domoticz .include diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile index 39dceb8f5a9b..21ead0867b7e 100644 --- a/www/onlyoffice-documentserver/Makefile +++ b/www/onlyoffice-documentserver/Makefile @@ -1,299 +1,299 @@ PORTNAME= onlyoffice-documentserver DISTVERSIONPREFIX= v DISTVERSION= 9.0.4 PORTREVISION= 1 CATEGORIES= www MASTER_SITES+= LOCAL/mikael/v8/:source1 \ https://nodejs.org/dist/v${PKGFETCH_NODE_VERSION}/:source3 \ SF/optipng/OptiPNG/optipng-0.7.8/:source4 DISTFILES+= v8-8.9.255.25_all.tar.gz:source1 \ node-v${PKGFETCH_NODE_VERSION}.tar.gz:source3 \ optipng-0.7.8.tar.gz:source4 MAINTAINER= fsbruva@yahoo.com COMMENT= Secure office and productivity apps WWW= https://www.onlyoffice.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_SSL= boringssl libressl libressl-devel BROKEN_SSL_REASON= Node.js requires OpenSSL ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 and arm64 # node version used with "npm install @yao-pkg/pkg@6.6.0" # keep in sync with patch-build__tools_scripts_build__server.py and patch-document-server-package_Makefile PKGFETCH_NODE_VERSION= 20.19.4 DS_BUILD= 50 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ boost-libs>0:devel/boost-libs \ glib>=2.54:devel/glib20 \ gn:devel/gn \ java:java/openjdk11 \ ninja:devel/ninja \ npm:www/npm-node20 LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libetonyek-0.1.so:graphics/libetonyek01 \ libcurl.so:ftp/curl \ libharfbuzz.so:print/harfbuzz \ libiconv.so:converters/libiconv \ libicuuc.so:devel/icu \ libodfgen-0.1.so:textproc/libodfgen01 \ librevenge-0.0.so:textproc/librevenge RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor@${PY_FLAVOR} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ gsed:textproc/gsed \ nginx:www/nginx \ pwgen:sysutils/pwgen \ rabbitmq>0:net/rabbitmq \ webfonts>=0:x11-fonts/webfonts USES= autoreconf:build dos2unix fakeroot gmake gnome iconv localbase pkgconfig \ - python:3.9+,build qt:5 ssl trigger + python:build qt:5 ssl trigger DOS2UNIX_FILES= document-server-package/common/documentserver/nginx/includes/http-common.conf.m4 USE_GITHUB= yes GH_ACCOUNT= ONLYOFFICE GH_PROJECT= DocumentServer DS_TAGNAME= ${DISTVERSIONPREFIX}${DISTVERSION}.${DS_BUILD} GH_TUPLE= ONLYOFFICE:core:${DS_TAGNAME}:core/core \ ONLYOFFICE:core-fonts:${DS_TAGNAME}:corefonts/core-fonts \ ONLYOFFICE:dictionaries:${DS_TAGNAME}:dictionaries/dictionaries \ ONLYOFFICE:document-server-integration:${DS_TAGNAME}:dsi/document-server-integration \ ONLYOFFICE:document-templates:${DS_TAGNAME}:dt/document-templates \ ONLYOFFICE:sdkjs:${DS_TAGNAME}:sdkjs/sdkjs \ ONLYOFFICE:server:${DS_TAGNAME}:server/server \ ONLYOFFICE:web-apps:${DS_TAGNAME}:webapps/web-apps \ ONLYOFFICE:build_tools:${DS_TAGNAME}:buildtools/build_tools \ ONLYOFFICE:DocumentBuilder:626d1e44db3d06ceb8298215a67ef0475912d89a:document_builder/DocumentBuilder \ ONLYOFFICE:onlyoffice.github.io:b26d001664d771df4f663d2d3ba7dd4a188b6cab:sdkjs_plugins_v1/onlyoffice.github.io \ ONLYOFFICE:document-server-package:${DS_TAGNAME}:dsp/document-server-package \ jasenhuang:katana-parser:be6df45:jasenhuang_katana/core/Common/3dParty/html/katana-parser \ google:gumbo-parser:aa91b27:google_gumbo/core/Common/3dParty/html/gumbo-parser \ google:brotli:a47d747:google_brotli/core/Common/3dParty/brotli/brotli \ hunspell:hyphen:73dd296:hunspell_hyphen/core/Common/3dParty/hyphen/hyphen \ mity:md4c:481fbfb:mity_md4c/core/Common/3dParty/md/md4c \ fsbruva:onlyoffice-DS-pkg-cache:v${PKGFETCH_NODE_VERSION}:pkg_cache/ \ fsbruva:onlyoffice-DS-npm-cache:${DS_TAGNAME}-20250831:npm_cache/ USE_LDCONFIG= yes USE_QT= qmake:build MAKE_ENV= BUILD_NUMBER=${DS_BUILD} \ npm_package_config_node_gyp_nodedir=${LOCALBASE} \ npm_package_config_node_gyp_python=${PYTHON_CMD} \ PKG_CACHE_PATH=${WRKDIR}/.pkg-cache \ PRODUCT_VERSION=${DISTVERSION} \ PYTHON=${PYTHON_CMD} # Don't create __pycache__ directory when executing node-gyp # This is a workaround to avoid filesystem violations during poudriere build MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 CONFLICTS_BUILD= devel/googletest # do not strip docservice, converter, metrics and json STRIP= ETCDIR= ${PREFIX}/etc/onlyoffice WWWDIR= ${PREFIX}/www/onlyoffice BINARY_ALIAS= python=${PYTHON_CMD} \ strip=true SUB_FILES= pkg-message \ onlyoffice.newsyslog.sample SUB_LIST= DS_GROUPNAME=${DS_GROUPNAME} \ DS_USERNAME=${DS_USERNAME} \ ETCDIR=${ETCDIR} \ PREFIX=${PREFIX} \ WWWDIR=${WWWDIR} DS_USERNAME= onlyoffice DS_GROUPNAME= onlyoffice USERS= ${DS_USERNAME} GROUPS= ${DS_GROUPNAME} PLIST_SUB= DS_GROUPNAME=${DS_GROUPNAME} \ DS_USERNAME=${DS_USERNAME} OPTIONS_DEFAULT= PGSQL OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL MYSQL_USES+= mysql:client PGSQL_USES+= pgsql PGSQL_VARS= WANT_PGSQL=client .include .if ${ARCH} == aarch64 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} .endif post-extract: @${MV} ${WRKDIR}/v8 ${WRKSRC}/core/Common/3dParty/v8_89 @${LN} -s ${WRKSRC_npm_cache} ${WRKDIR}/.npm @${LN} -s ${WRKSRC_pkg_cache} ${WRKDIR}/.pkg-cache @${CP} ${DISTDIR}/node-v${PKGFETCH_NODE_VERSION}.tar.gz ${WRKDIR}/.pkg-cache/node @${MKDIR} ${WRKSRC}/sdkjs-plugins/v1 @${CP} ${WRKSRC}/onlyoffice.github.io/sdkjs-plugins/v1/* ${WRKSRC}/sdkjs-plugins/v1 @${MV} ${WRKSRC}/server/Common/config/production-linux.json ${WRKSRC}/server/Common/config/production-freebsd.json @${MV} ${WRKSRC}/server/Common/config/development-linux.json ${WRKSRC}/server/Common/config/development-freebsd.json # linux has moved to systemd init files, continue to using supervisord for now ${MKDIR} ${WRKSRC}/document-server-package/common/documentserver/supervisor .for i in ds-converter.conf ds-docservice.conf ds-metrics.conf ds.conf ${CP} ${FILESDIR}/${i} \ ${WRKSRC}/document-server-package/common/documentserver/supervisor .endfor pre-configure: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/build_tools/tools/freebsd/automate.py \ ${WRKSRC}/core/Apple/IWork.pro \ ${WRKSRC}/core/Common/3dParty/boost/boost.pri \ ${WRKSRC}/core/Common/3dParty/icu/icu.pri \ ${WRKSRC}/core/Common/3dParty/v8_89/v8/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/core/Common/3dParty/v8_89/v8/buildtools/third_party/libc++/BUILD.gn \ ${WRKSRC}/core/DesktopEditor/fontengine/ApplicationFonts.cpp \ ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-generate-allfonts.sh.m4 \ ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-jwt-status.sh.m4 \ ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-pluginsmanager.sh.m4 \ ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-static-gzip.sh.m4 \ ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-update-securelink.sh.m4 \ ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-converter.conf \ ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-docservice.conf \ ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-metrics.conf \ ${WRKSRC}/server/Metrics/patches/modern-syslog+1.2.0.patch @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' -e 's|%%CXX%%|${CXX}|' \ ${WRKSRC}/core/Common/3dParty/v8_89/v8/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/core/Common/base.pri @${REINPLACE_CMD} 's|%%WRKDIR%%|${WRKDIR}|' \ ${WRKSRC}/document-server-package/Makefile @${REINPLACE_CMD} 's|%%WRKSRC%%|${WRKSRC}|' \ ${WRKSRC}/build_tools/scripts/build_js.py \ ${WRKSRC}/build_tools/scripts/build_server.py \ ${WRKSRC}/document-server-package/Makefile @${REINPLACE_CMD} 's|%%PKGFETCH_NODE_MAJOR_VERSION%%|${PKGFETCH_NODE_VERSION:C/^([0-9]+)\..*/\1/}|' \ ${WRKSRC}/build_tools/scripts/build_server.py \ ${WRKSRC}/document-server-package/Makefile @${REINPLACE_CMD} -e 's|/var/lib|/var/db|' -e 's|/var/www|${LOCALBASE}/www|' \ -e 's|/usr/share|${LOCALBASE}/share|' -e 's|/etc|${LOCALBASE}/etc|' \ ${WRKSRC}/server/Common/config/production-freebsd.json \ ${WRKSRC}/server/Common/config/development-freebsd.json @${REINPLACE_CMD} 's|%%DISTDIR%%|${DISTDIR}|' \ ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' -e 's|%%ETCDIR%%|${ETCDIR}|' \ ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-flush-cache.sh.m4 \ ${WRKSRC}/document-server-package/Makefile @${REINPLACE_CMD} 's|%%OPENSSL_LIB%%|${OPENSSLLIB}|' \ ${WRKSRC}/core/Common/3dParty/openssl/openssl.pri @${RM} ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch.orig @${RM} ${WRKSRC}/server/Metrics/patches/modern-syslog+1.2.0.patch.orig @${FIND} ${WRKSRC}/server -type f -name npm-shrinkwrap.json -delete @${ECHO} "# Generated from 'DEPS'" > ${WRKSRC}/core/Common/3dParty/v8_89/v8/build/config/gclient_args.gni @${ECHO} "checkout_google_benchmark = false" >> ${WRKSRC}/core/Common/3dParty/v8_89/v8/build/config/gclient_args.gni do-build: ${INSTALL_SCRIPT} ${FILESDIR}/npm ${BINARY_LINKDIR}/npm @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKDIR}/.bin/npm # @cd ${WRKSRC}/web-apps/build ; ${SETENV} ${MAKE_ENV} npm cache clean --force @cd ${WRKSRC}/web-apps/build ; ${SETENV} ${MAKE_ENV} npm install patch-package @cd ${WRKSRC}/web-apps/build ; ${SETENV} ${MAKE_ENV} npm install optipng-bin@5.1.0 @cd ${WRKSRC}/web-apps/build ; node_modules/.bin/patch-package @cd ${WRKSRC}/web-apps/build/node_modules/optipng-bin ; ${SETENV} ${MAKE_ENV} npm run postinstall optipng-bin @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install grunt-cli @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install grunt @cd ${WRKSRC}/server/Metrics ; ${SETENV} ${MAKE_ENV} npm install modern-syslog@1.2.0 --ignore-scripts @cd ${WRKSRC}/server/Metrics ; ${SETENV} ${MAKE_ENV} npm install patch-package @cd ${WRKSRC}/server/Metrics ; node_modules/.bin/patch-package @cd ${WRKSRC}/server/Metrics/node_modules/modern-syslog ; ${SETENV} ${MAKE_ENV} ${GMAKE} @cd ${WRKSRC}/sdkjs ; ${SETENV} ${MAKE_ENV} npm install grunt-cli @cd ${WRKSRC}/sdkjs ; ${SETENV} ${MAKE_ENV} npm install grunt @${MKDIR} ${WRKSRC}/yao-pkg @${CP} ${FILESDIR}/package* ${WRKSRC}/yao-pkg @cd ${WRKSRC}/yao-pkg ; ${SETENV} ${MAKE_ENV} npm install @yao-pkg/pkg@6.6.0 @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_lib-es5_build.js || ${TRUE} @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_patches_node.v${PKGFETCH_NODE_VERSION}.cpp.patch || ${TRUE} cd ${WRKSRC}/build_tools/tools/freebsd ; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} automate.py cd ${WRKSRC}/document-server-package ; ${SETENV} ${MAKE_ENV} ${GMAKE} freebsd do-install: # install the project # do not strip docservice, converter, metrics and json cd ${WRKSRC}/document-server-package/common/documentserver/home && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/documentserver ${INSTALL_SCRIPT} ${WRKSRC}/document-server-package/common/documentserver/bin/*.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/tools/all* ${STAGEDIR}${WWWDIR}/documentserver/server/tools ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/x2t ${STAGEDIR}${WWWDIR}/documentserver/server/FileConverter/bin ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/docbuilder ${STAGEDIR}${WWWDIR}/documentserver/server/FileConverter/bin ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/tools/pluginsmanager ${STAGEDIR}${WWWDIR}/documentserver/server/tools ${INSTALL_DATA} ${WRKSRC}/document-server-package/common/documentserver/home/npm/json ${STAGEDIR}${WWWDIR}/documentserver/npm ${INSTALL_LIB} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/*.so ${STAGEDIR}${PREFIX}/lib ${RM} ${STAGEDIR}${PREFIX}/bin/documentserver-letsencrypt.sh # install conf ${MKDIR} ${STAGEDIR}${ETCDIR}/documentserver/supervisor \ ${STAGEDIR}${ETCDIR}/documentserver/nginx/includes \ ${STAGEDIR}${ETCDIR}/documentserver/logrotate ${RM} ${WRKSRC}/document-server-package/common/documentserver/config/*-mac.json ${WRKSRC}/document-server-package/common/documentserver/config/*-windows.json cd ${WRKSRC}/document-server-package/common/documentserver/supervisor && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/supervisor "-name *\.conf" cd ${WRKSRC}/document-server-package/common/documentserver/logrotate && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/logrotate "-name *\.conf" @${CP} ${WRKSRC}/document-server-package/common/documentserver/nginx/ds-ssl.conf.tmpl ${WRKSRC}/document-server-package/common/documentserver/nginx/ds-ssl.conf .for f in ds.conf ds-ssl.conf includes/http-common.conf includes/ds-common.conf \ includes/ds-docservice.conf includes/ds-letsencrypt.conf \ includes/ds-mime.types.conf ${INSTALL_DATA} ${WRKSRC}/document-server-package/common/documentserver/nginx/${f} ${STAGEDIR}${ETCDIR}/documentserver/nginx/${f}.sample .endfor @echo "# Production ds-cache.conf is created automatically by documentserver-flush-cache.sh" > ${STAGEDIR}${ETCDIR}/documentserver/nginx/includes/ds-cache.conf.sample cd ${WRKSRC}/document-server-package/common/documentserver/nginx/includes && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/nginx/includes "-name *\.conf" cd ${WRKSRC}/document-server-package/common/documentserver/config && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver ${INSTALL_DATA} ${FILESDIR}/local.json.sample ${STAGEDIR}${ETCDIR}/documentserver ${MKDIR} ${STAGEDIR}/${ETCDIR}/documentserver/newsyslog.conf.d ${INSTALL_DATA} ${WRKDIR}/onlyoffice.newsyslog.sample ${STAGEDIR}/${ETCDIR}/documentserver/newsyslog.conf.d # create missing dir ${MKDIR} ${STAGEDIR}/var/log/onlyoffice/documentserver/docservice \ ${STAGEDIR}/var/log/onlyoffice/documentserver/converter \ ${STAGEDIR}/var/log/onlyoffice/documentserver/metrics \ ${STAGEDIR}/var/db/onlyoffice/documentserver/App_Data/cache/files \ ${STAGEDIR}/var/db/onlyoffice/documentserver/App_Data/docbuilder \ ${STAGEDIR}${WWWDIR}/Data \ ${STAGEDIR}${WWWDIR}/documentserver/fonts # Remove bak file ${RM} ${STAGEDIR}${WWWDIR}/documentserver/server/Common/config/*.bak ${RM} ${STAGEDIR}${WWWDIR}/documentserver/dictionaries/sl_SI/hyph_sl_SI.dic.bak create-caches-tarball: # do some cleanup first ${RM} -r ${WRKDIR}/.npm/_logs ${WRKDIR}/.npm/_update-notifier-last-checked ${WRKDIR}/.cache/yarn/v6/.tmp ${WRKDIR}/.cache/node-gyp # ${FIND} ${WRKDIR}/.cache -type f -perm 755 -exec ${FILE} {} \; | ${EGREP} "ELF|PE32+|Mach-O" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} ${FIND} ${WRKDIR}/.pkg-cache -type f -perm 755 -exec ${FILE} {} \; | ${EGREP} "ELF|PE32+|Mach-O" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} ${FIND} ${WRKDIR}/.pkg-cache -type f -perm 644 -exec ${FILE} {} \; | ${EGREP} -v "${PKGFETCH_NODE_VERSION}" | ${EGREP} "built-v|node-v" | ${EGREP} "tar.gz|sha256sum" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} # cd ${WRKDIR} && \ # ${TAR} czf ${PORTNAME}-${DISTVERSION}_`date +%Y%m%d`-npm-cache.tar.gz .npm .pkg-cache .include diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile index d54a2966f286..16ffa28cc48a 100644 --- a/www/py-aiohttp/Makefile +++ b/www/py-aiohttp/Makefile @@ -1,53 +1,53 @@ PORTNAME= aiohttp PORTVERSION= 3.11.18 CATEGORIES= www python MASTER_SITES= PYPI \ https://github.com/aio-libs/aiohttp/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Async http client/server framework (asyncio) WWW= https://docs.aiohttp.org/en/stable/ \ https://github.com/aio-libs/aiohttp LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohappyeyeballs>=2.3.0:net/py-aiohappyeyeballs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}frozenlist>=1.1.1:devel/py-frozenlist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multidict>=4.5<7.0:www/py-multidict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}propcache>=0.2.0:devel/py-propcache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yarl>=1.17.0<2.0:www/py-yarl@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>=1.1:dns/py-aiodns@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=0:www/py-gunicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}re-assert>=0:devel/py-re-assert@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-codspeed>=0:devel/py-pytest-codspeed@${PY_FLAVOR} -USES= cpe python:3.9+ +USES= cpe python USE_PYTHON= autoplist concurrent cython pep517 pytest CPE_VENDOR= aiohttp_project OPTIONS_DEFINE= SPEEDUPS SPEEDUPS_DESC= Performance speedups SPEEDUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>=3.2.0:dns/py-aiodns@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0<6.0:devel/py-async_timeout@${PY_FLAVOR} .endif post-install: ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/www/py-aioquic/Makefile b/www/py-aioquic/Makefile index eb0c44a272a3..b564ef2eb22e 100644 --- a/www/py-aioquic/Makefile +++ b/www/py-aioquic/Makefile @@ -1,28 +1,28 @@ PORTNAME= aioquic PORTVERSION= 1.3.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of QUIC and HTTP/3 WWW= https://aioquic.readthedocs.io/en/latest/ \ https://github.com/aiortc/aioquic LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pylsqpack>=0.3.3<0.4.0:www/py-pylsqpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=24,1:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service-identity>=24.1.0:security/py-service-identity@${PY_FLAVOR} -USES= python:3.10+ ssl +USES= python ssl USE_PYTHON= autoplist concurrent cryptography pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/www/py-dj-database-url/Makefile b/www/py-dj-database-url/Makefile index a3cf901a1fd5..c2c310fb0c80 100644 --- a/www/py-dj-database-url/Makefile +++ b/www/py-dj-database-url/Makefile @@ -1,24 +1,24 @@ PORTNAME= dj-database-url DISTVERSION= 3.0.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= dj_database_url-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Use Database URLs in your Django Application WWW= https://github.com/jazzband/dj-database-url LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/www/py-dj51-channels/Makefile b/www/py-dj51-channels/Makefile index 36fb378856ce..128691898c4e 100644 --- a/www/py-dj51-channels/Makefile +++ b/www/py-dj51-channels/Makefile @@ -1,30 +1,30 @@ PORTNAME= channels PORTVERSION= 4.3.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Brings async, event-driven capabilities to Django WWW= https://channels.readthedocs.io/en/latest/ \ https://github.com/django/channels LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.9.0<4:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-auth-ldap/Makefile b/www/py-dj51-django-auth-ldap/Makefile index 935e776d92af..e5f54838e226 100644 --- a/www/py-dj51-django-auth-ldap/Makefile +++ b/www/py-dj51-django-auth-ldap/Makefile @@ -1,43 +1,43 @@ PORTNAME= django-auth-ldap PORTVERSION= 5.2.0 CATEGORIES= www security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_auth_ldap-${PORTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= LDAP integration for django.contrib.auth WWW= https://github.com/django-auth-ldap/django-auth-ldap LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-ldap>=3.1:net/py-python-ldap@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} post-build-DOCS-on: ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/www/py-dj51-django-choices-field/Makefile b/www/py-dj51-django-choices-field/Makefile index 858470d66257..3f5750f764b9 100644 --- a/www/py-dj51-django-choices-field/Makefile +++ b/www/py-dj51-django-choices-field/Makefile @@ -1,29 +1,29 @@ PORTNAME= django-choices-field DISTVERSION= 3.1.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_choices_field-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Django field that set/get TextChoices/IntegerChoices enumerations WWW= https://github.com/bellini666/django-choices-field LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-cors-headers/Makefile b/www/py-dj51-django-cors-headers/Makefile index 923782a90719..6c33b7a48aef 100644 --- a/www/py-dj51-django-cors-headers/Makefile +++ b/www/py-dj51-django-cors-headers/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-cors-headers PORTVERSION= 4.9.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_cors_headers-${PORTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Handles server headers required for Cross-Origin Resource Sharing WWW= https://github.com/adamchainz/django-cors-headers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-debug-toolbar/Makefile b/www/py-dj51-django-debug-toolbar/Makefile index fe3940c64d7e..8ff015e3205d 100644 --- a/www/py-dj51-django-debug-toolbar/Makefile +++ b/www/py-dj51-django-debug-toolbar/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-debug-toolbar PORTVERSION= 6.0.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_debug_toolbar-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Configurable set of panels to display debug information WWW= https://django-debug-toolbar.readthedocs.io/en/latest/ \ https://github.com/django-commons/django-debug-toolbar LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2.9:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-filter/Makefile b/www/py-dj51-django-filter/Makefile index 8438c0bbad0b..0aee70704432 100644 --- a/www/py-dj51-django-filter/Makefile +++ b/www/py-dj51-django-filter/Makefile @@ -1,31 +1,31 @@ PORTNAME= django-filter DISTVERSION= 25.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_filter-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Dynamic filtering for querysets with Django WWW= https://github.com/carltongibson/django-filter LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes # Release 25.2 dropped support for Django < 5.2 PORTSCOUT= ignore:1 .include diff --git a/www/py-dj51-django-htmx/Makefile b/www/py-dj51-django-htmx/Makefile index 38ea31e064f9..eb8a103964af 100644 --- a/www/py-dj51-django-htmx/Makefile +++ b/www/py-dj51-django-htmx/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-htmx DISTVERSION= 1.26.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_htmx-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Extensions for using Django with htmx WWW= https://github.com/adamchainz/django-htmx LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-js-asset/Makefile b/www/py-dj51-django-js-asset/Makefile index 5ddf81106b9f..ea6342131967 100644 --- a/www/py-dj51-django-js-asset/Makefile +++ b/www/py-dj51-django-js-asset/Makefile @@ -1,28 +1,28 @@ PORTNAME= django-js-asset DISTVERSION= 3.1.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_js_asset-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Insert script tags with additional attributes for django.forms.Media WWW= https://github.com/matthiask/django-js-asset LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-mptt/Makefile b/www/py-dj51-django-mptt/Makefile index 74b0eb0451b1..7b724a213a31 100644 --- a/www/py-dj51-django-mptt/Makefile +++ b/www/py-dj51-django-mptt/Makefile @@ -1,29 +1,29 @@ PORTNAME= django-mptt PORTVERSION= 0.17.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_mptt-${PORTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django WWW= https://github.com/django-mptt/django-mptt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-js-asset>0:www/py-dj51-django-js-asset@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-prometheus/Makefile b/www/py-dj51-django-prometheus/Makefile index 6872ecf0c4ce..9b7a7fe4499e 100644 --- a/www/py-dj51-django-prometheus/Makefile +++ b/www/py-dj51-django-prometheus/Makefile @@ -1,42 +1,42 @@ PORTNAME= django-prometheus DISTVERSION= 2.4.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_prometheus-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Export Django monitoring metrics for Prometheus.io WWW= https://github.com/django-commons/django-prometheus LICENSE= APACHE20 DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2<6.0:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_GROUP= DATABASE CACHE OPTIONS_GROUP_CACHE= MEMCACHED REDIS OPTIONS_GROUP_DATABASE= MYSQL PGSQL MEMCACHED_DESC= Memcached distributed memory caching support MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg>=0:databases/py-psycopg@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-django-redis>=4.12.1:www/py-dj51-django-redis@${PY_FLAVOR} .include diff --git a/www/py-dj51-django-redis/Makefile b/www/py-dj51-django-redis/Makefile index f05960f77eb5..e56ac5036228 100644 --- a/www/py-dj51-django-redis/Makefile +++ b/www/py-dj51-django-redis/Makefile @@ -1,38 +1,38 @@ PORTNAME= django-redis PORTVERSION= 6.0.0 CATEGORIES= www databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_redis-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Full featured redis cache backend for Django WWW= https://github.com/jazzband/django-redis LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=4.0.2:databases/py-redis@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-django>=0:devel/py-pytest-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ redis-server:databases/redis -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest TEST_ENV= DJANGO_SETTINGS_MODULE=settings.sqlite \ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/tests NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-redis .include diff --git a/www/py-dj51-django-rich/Makefile b/www/py-dj51-django-rich/Makefile index d71dfb6ba7c7..6a3cc28d5d13 100644 --- a/www/py-dj51-django-rich/Makefile +++ b/www/py-dj51-django-rich/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-rich DISTVERSION= 2.2.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_rich-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Extensions for using Rich with Django WWW= https://github.com/adamchainz/django-rich LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-tables2/Makefile b/www/py-dj51-django-tables2/Makefile index 69a6700e4d86..6c9cf0a73ce7 100644 --- a/www/py-dj51-django-tables2/Makefile +++ b/www/py-dj51-django-tables2/Makefile @@ -1,33 +1,33 @@ PORTNAME= django-tables2 DISTVERSION= 2.7.5 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_tables2-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Table/data-grid framework for Django WWW= https://github.com/jieter/django-tables2 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= TABLIB TABLIB_DESC= Enable support for exporting table datasets TABLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR} .include diff --git a/www/py-dj51-django-taggit/Makefile b/www/py-dj51-django-taggit/Makefile index 7e3a1cc881b6..4b93e32b0b45 100644 --- a/www/py-dj51-django-taggit/Makefile +++ b/www/py-dj51-django-taggit/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-taggit PORTVERSION= 6.1.0 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_taggit-${PORTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Reusable Django application for simple tagging WWW= https://github.com/jazzband/django-taggit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.1:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-django-timezone-field/Makefile b/www/py-dj51-django-timezone-field/Makefile index dba817df91c4..3d7b3e37acdc 100644 --- a/www/py-dj51-django-timezone-field/Makefile +++ b/www/py-dj51-django-timezone-field/Makefile @@ -1,28 +1,28 @@ PORTNAME= django-timezone-field DISTVERSION= 7.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= django_timezone_field-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Provides database and form fields for pytz timezone objects for Django WWW= https://github.com/mfogel/django-timezone-field LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-djangorestframework/Makefile b/www/py-dj51-djangorestframework/Makefile index 8cbde1a4e71e..f5c951def97e 100644 --- a/www/py-dj51-djangorestframework/Makefile +++ b/www/py-dj51-djangorestframework/Makefile @@ -1,28 +1,28 @@ PORTNAME= djangorestframework PORTVERSION= 3.16.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- MAINTAINER= kai@FreeBSD.org COMMENT= Django REST framework WWW= https://www.django-rest-framework.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-drf-spectacular-sidecar/Makefile b/www/py-dj51-drf-spectacular-sidecar/Makefile index 1009c6a1cc6f..b799bc27ed82 100644 --- a/www/py-dj51-drf-spectacular-sidecar/Makefile +++ b/www/py-dj51-drf-spectacular-sidecar/Makefile @@ -1,29 +1,29 @@ PORTNAME= drf-spectacular-sidecar DISTVERSION= 2025.10.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= drf_spectacular_sidecar-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Serve self-contained Swagger UI/Redoc distribution builds with Django WWW= https://github.com/tfranzel/drf-spectacular LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj51-drf-spectacular/Makefile b/www/py-dj51-drf-spectacular/Makefile index e934aae841c8..28976c0e702f 100644 --- a/www/py-dj51-drf-spectacular/Makefile +++ b/www/py-dj51-drf-spectacular/Makefile @@ -1,39 +1,39 @@ PORTNAME= drf-spectacular DISTVERSION= 0.28.0 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= drf_spectacular-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Sane/flexible OpenAPI 3 schema generation for Django REST framework WWW= https://github.com/tfranzel/drf-spectacular LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED=Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.10.3:www/py-dj51-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uritemplate>=2.0.0:net/py-uritemplate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist distutils CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= SIDECAR OPTIONS_DEFAULT= SIDECAR SIDECAR_DESC= Enable self-contained Swagger/Redoc UI installation SIDECAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular-sidecar>0:www/py-dj51-drf-spectacular-sidecar@${PY_FLAVOR} .include diff --git a/www/py-dj51-social-auth-app-django/Makefile b/www/py-dj51-social-auth-app-django/Makefile index b3f2226788c4..582435bc5cd3 100644 --- a/www/py-dj51-social-auth-app-django/Makefile +++ b/www/py-dj51-social-auth-app-django/Makefile @@ -1,37 +1,37 @@ PORTNAME= social-auth-app-django DISTVERSION= 5.6.0 CATEGORIES= www security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- MAINTAINER= kai@FreeBSD.org COMMENT= Social Authentication and Django integration WWW= https://github.com/python-social-auth/social-app-django LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.4<5:security/py-social-auth-core@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_GITHUB= yes GH_ACCOUNT= python-social-auth GH_PROJECT= social-app-django USE_PYTHON= autoplist pep517 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} manage.py test -v3 .include diff --git a/www/py-dj51-strawberry-graphql-django/Makefile b/www/py-dj51-strawberry-graphql-django/Makefile index ac11a01741a9..bcf7b4a5b48e 100644 --- a/www/py-dj51-strawberry-graphql-django/Makefile +++ b/www/py-dj51-strawberry-graphql-django/Makefile @@ -1,40 +1,40 @@ PORTNAME= strawberry-graphql-django DISTVERSION= 0.67.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- DISTNAME= strawberry_graphql_django-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Strawberry GraphQL Django extension WWW= https://github.com/strawberry-graphql/strawberry-django LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.8:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-strawberry-graphql>=0.283.3:devel/py-dj51-strawberry-graphql@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= DEBUG-TOOLBAR ENUM OPTIONS_DEFAULT= DEBUG-TOOLBAR ENUM DEBUG-TOOLBAR_DESC= Debug support ENUM_DESC= Integration for Django's TextChoices/IntegerChoices enumerations DEBUG-TOOLBAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-django-debug-toolbar>=6.0.0:www/py-dj51-django-debug-toolbar@${PY_FLAVOR} ENUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-django-choices-field>=2.2.2:www/py-dj51-django-choices-field@${PY_FLAVOR} .include diff --git a/www/py-dj52-channels/Makefile b/www/py-dj52-channels/Makefile index f9ba26678cb7..a39f7c52b0b3 100644 --- a/www/py-dj52-channels/Makefile +++ b/www/py-dj52-channels/Makefile @@ -1,25 +1,25 @@ PORTNAME= channels PORTVERSION= 4.3.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Brings async, event-driven capabilities to Django WWW= https://channels.readthedocs.io/en/latest/ \ https://github.com/django/channels LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.9.0<4:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-dj52-django-auth-ldap/Makefile b/www/py-dj52-django-auth-ldap/Makefile index aca1ae0835b5..327b1bd845f9 100644 --- a/www/py-dj52-django-auth-ldap/Makefile +++ b/www/py-dj52-django-auth-ldap/Makefile @@ -1,40 +1,40 @@ PORTNAME= django-auth-ldap DISTVERSION= 5.2.0 CATEGORIES= www security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_auth_ldap-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= LDAP integration for django.contrib.auth WWW= https://github.com/django-auth-ldap/django-auth-ldap LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-ldap>=3.1:net/py-python-ldap@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PORTDOCS= * CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} post-build-DOCS-on: ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/www/py-dj52-django-choices-field/Makefile b/www/py-dj52-django-choices-field/Makefile index 9427adda97f6..d2a6f2d3aaa1 100644 --- a/www/py-dj52-django-choices-field/Makefile +++ b/www/py-dj52-django-choices-field/Makefile @@ -1,24 +1,24 @@ PORTNAME= django-choices-field DISTVERSION= 3.1.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_choices_field-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Django field that set/get TextChoices/IntegerChoices enumerations WWW= https://github.com/bellini666/django-choices-field LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/www/py-dj52-django-cors-headers/Makefile b/www/py-dj52-django-cors-headers/Makefile index 887eaded14b6..01c92456e812 100644 --- a/www/py-dj52-django-cors-headers/Makefile +++ b/www/py-dj52-django-cors-headers/Makefile @@ -1,26 +1,26 @@ PORTNAME= django-cors-headers DISTVERSION= 4.9.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_cors_headers-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Handles server headers required for Cross-Origin Resource Sharing WWW= https://github.com/adamchainz/django-cors-headers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} .include diff --git a/www/py-dj52-django-debug-toolbar/Makefile b/www/py-dj52-django-debug-toolbar/Makefile index 595111505fb5..6d58e7d5baf2 100644 --- a/www/py-dj52-django-debug-toolbar/Makefile +++ b/www/py-dj52-django-debug-toolbar/Makefile @@ -1,27 +1,27 @@ PORTNAME= django-debug-toolbar PORTVERSION= 6.0.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_debug_toolbar-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Configurable set of panels to display debug information WWW= https://django-debug-toolbar.readthedocs.io/en/latest/ \ https://github.com/django-commons/django-debug-toolbar LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2.9:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-debug-toolbar .include diff --git a/www/py-dj52-django-filter/Makefile b/www/py-dj52-django-filter/Makefile index 653b1020be0c..e55ad5ddb7b8 100644 --- a/www/py-dj52-django-filter/Makefile +++ b/www/py-dj52-django-filter/Makefile @@ -1,32 +1,32 @@ PORTNAME= django-filter DISTVERSION= 25.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_filter-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Dynamic filtering for querysets with Django WWW= https://github.com/carltongibson/django-filter LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= DRF OPTIONS_DEFAULT= DRF DRF_DESC= Support for Django REST framework DRF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-djangorestframework>0:www/py-dj52-djangorestframework@${PY_FLAVOR} .include diff --git a/www/py-dj52-django-htmx/Makefile b/www/py-dj52-django-htmx/Makefile index 1d98c51d1362..f514537eab31 100644 --- a/www/py-dj52-django-htmx/Makefile +++ b/www/py-dj52-django-htmx/Makefile @@ -1,27 +1,27 @@ PORTNAME= django-htmx DISTVERSION= 1.26.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_htmx-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Extensions for using Django with htmx WWW= https://github.com/adamchainz/django-htmx LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-django-js-asset/Makefile b/www/py-dj52-django-js-asset/Makefile index 7e5d300ba127..c53809632cda 100644 --- a/www/py-dj52-django-js-asset/Makefile +++ b/www/py-dj52-django-js-asset/Makefile @@ -1,25 +1,25 @@ PORTNAME= django-js-asset DISTVERSION= 3.1.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_js_asset-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Insert script tags with additional attributes for django.forms.Media WWW= https://github.com/matthiask/django-js-asset LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-django-mptt/Makefile b/www/py-dj52-django-mptt/Makefile index 18ab030b3f5a..7cd96d327428 100644 --- a/www/py-dj52-django-mptt/Makefile +++ b/www/py-dj52-django-mptt/Makefile @@ -1,26 +1,26 @@ PORTNAME= django-mptt DISTVERSION= 0.17.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_mptt-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django WWW= https://github.com/django-mptt/django-mptt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dj52-django-js-asset>0:www/py-dj52-django-js-asset@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-django-prometheus/Makefile b/www/py-dj52-django-prometheus/Makefile index 6981abef67e2..653a15a7262e 100644 --- a/www/py-dj52-django-prometheus/Makefile +++ b/www/py-dj52-django-prometheus/Makefile @@ -1,39 +1,39 @@ PORTNAME= django-prometheus DISTVERSION= 2.4.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_prometheus-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Export Django monitoring metrics for Prometheus.io WWW= https://github.com/django-commons/django-prometheus LICENSE= APACHE20 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2<6.0:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_GROUP= DATABASE CACHE OPTIONS_GROUP_CACHE= MEMCACHED REDIS OPTIONS_GROUP_DATABASE= MYSQL PGSQL MEMCACHED_DESC= Memcached distributed memory caching support MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg>=0:databases/py-psycopg@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-django-redis>=4.12.1:www/py-dj52-django-redis@${PY_FLAVOR} .include diff --git a/www/py-dj52-django-redis/Makefile b/www/py-dj52-django-redis/Makefile index 5076cb3ad1f5..1ea68f5a6db1 100644 --- a/www/py-dj52-django-redis/Makefile +++ b/www/py-dj52-django-redis/Makefile @@ -1,37 +1,37 @@ PORTNAME= django-redis PORTVERSION= 6.0.0 CATEGORIES= www databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_redis-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Full featured redis cache backend for Django WWW= https://github.com/jazzband/django-redis LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=4.0.2:databases/py-redis@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-django>=0:devel/py-pytest-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ redis-server:databases/redis -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 pytest # Required for Python 3.11+ as the cgi module is deprecated and slated for removal in Python 3.13 TEST_ARGS= -W ignore::DeprecationWarning TEST_ENV= DJANGO_SETTINGS_MODULE=settings.sqlite \ PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/tests NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-redis .include diff --git a/www/py-dj52-django-rich/Makefile b/www/py-dj52-django-rich/Makefile index cdd893e06189..f2791ec966c5 100644 --- a/www/py-dj52-django-rich/Makefile +++ b/www/py-dj52-django-rich/Makefile @@ -1,27 +1,27 @@ PORTNAME= django-rich DISTVERSION= 2.2.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_rich-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Extensions for using Rich with Django WWW= https://github.com/adamchainz/django-rich LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-django-storages/Makefile b/www/py-dj52-django-storages/Makefile index d42e105a875d..76a54fe9121b 100644 --- a/www/py-dj52-django-storages/Makefile +++ b/www/py-dj52-django-storages/Makefile @@ -1,44 +1,44 @@ PORTNAME= django-storages DISTVERSION= 1.14.6 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_storages-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Generic storages for Django WWW= https://django-storages.readthedocs.io/en/latest/ \ https://github.com/jschneier/django-storages LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes # AZURE option requires newer devel/py-azure-storage-blob (not yet in the ports tree). OPTIONS_DEFINE= DROPBOX GOOGLE LIBCLOUD S3 SFTP #AZURE #AZURE_DESC= Azure backend DROPBOX_DESC= Dropbox backend GOOGLE_DESC= Google Cloud Storage backend LIBCLOUD_DESC= Apache Libcloud backend S3_DESC= Amazon S3 backend SFTP_DESC= SFTP backend #AZURE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-core>=1.13:devel/py-azure-core@${PY_FLAVOR} \ # ${PYTHON_PKGNAMEPREFIX}azure-storage-blob>=12:devel/py-azure-storage-blob@${PY_FLAVOR} DROPBOX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dropbox>=7.2.1:www/py-dropbox@${PY_FLAVOR} GOOGLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-cloud-storage>=1.27:www/py-google-cloud-storage@${PY_FLAVOR} LIBCLOUD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcloud>=0:net/py-libcloud@${PY_FLAVOR} S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.4.4:www/py-boto3@${PY_FLAVOR} SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.15:security/py-paramiko@${PY_FLAVOR} .include diff --git a/www/py-dj52-django-stubs-ext/Makefile b/www/py-dj52-django-stubs-ext/Makefile index 25d977dbd71d..0453eda17d50 100644 --- a/www/py-dj52-django-stubs-ext/Makefile +++ b/www/py-dj52-django-stubs-ext/Makefile @@ -1,24 +1,24 @@ PORTNAME= django-stubs-ext PORTVERSION= 5.2.7 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_stubs_ext-${PORTVERSION} MAINTAINER= dtxdf@FreeBSD.org COMMENT= Monkey-patching and extensions for django-stubs WWW= https://github.com/typeddjango/django-stubs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>=0:devel/py-uv-build@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=0:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-dj52-django-tables2/Makefile b/www/py-dj52-django-tables2/Makefile index e5826b984125..25f691cdb25e 100644 --- a/www/py-dj52-django-tables2/Makefile +++ b/www/py-dj52-django-tables2/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-tables2 DISTVERSION= 2.7.5 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_tables2-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Table/data-grid framework for Django WWW= https://github.com/jieter/django-tables2 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= TABLIB TABLIB_DESC= Enable support for exporting table datasets TABLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR} .include diff --git a/www/py-dj52-django-taggit/Makefile b/www/py-dj52-django-taggit/Makefile index 5b9ea7a0b4a9..dcbd4a35828d 100644 --- a/www/py-dj52-django-taggit/Makefile +++ b/www/py-dj52-django-taggit/Makefile @@ -1,26 +1,26 @@ PORTNAME= django-taggit DISTVERSION= 6.1.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_taggit-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Reusable Django application for simple tagging WWW= https://github.com/jazzband/django-taggit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.1:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-django-timezone-field/Makefile b/www/py-dj52-django-timezone-field/Makefile index e44cc4dab88a..15c1adcb46b1 100644 --- a/www/py-dj52-django-timezone-field/Makefile +++ b/www/py-dj52-django-timezone-field/Makefile @@ -1,25 +1,25 @@ PORTNAME= django-timezone-field DISTVERSION= 7.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= django_timezone_field-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Provides database and form fields for pytz timezone objects for Django WWW= https://github.com/mfogel/django-timezone-field LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-djangorestframework/Makefile b/www/py-dj52-djangorestframework/Makefile index 6436e9c8e956..48bf4005203b 100644 --- a/www/py-dj52-djangorestframework/Makefile +++ b/www/py-dj52-djangorestframework/Makefile @@ -1,25 +1,25 @@ PORTNAME= djangorestframework DISTVERSION= 3.16.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- MAINTAINER= kai@FreeBSD.org COMMENT= Django REST framework WWW= https://www.django-rest-framework.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-drf-spectacular-sidecar/Makefile b/www/py-dj52-drf-spectacular-sidecar/Makefile index 9327978bbf68..71115069581a 100644 --- a/www/py-dj52-drf-spectacular-sidecar/Makefile +++ b/www/py-dj52-drf-spectacular-sidecar/Makefile @@ -1,26 +1,26 @@ PORTNAME= drf-spectacular-sidecar DISTVERSION= 2025.10.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= drf_spectacular_sidecar-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Serve self-contained Swagger UI/Redoc distribution builds with Django WWW= https://github.com/tfranzel/drf-spectacular LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=2.2:www/py-django52@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes .include diff --git a/www/py-dj52-drf-spectacular/Makefile b/www/py-dj52-drf-spectacular/Makefile index 0b0dff5282b8..cb5973a1c60d 100644 --- a/www/py-dj52-drf-spectacular/Makefile +++ b/www/py-dj52-drf-spectacular/Makefile @@ -1,35 +1,35 @@ PORTNAME= drf-spectacular DISTVERSION= 0.28.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= drf_spectacular-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Sane/flexible OpenAPI 3 schema generation for Django REST framework WWW= https://github.com/tfranzel/drf-spectacular LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=2.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-djangorestframework>=3.10.3:www/py-dj52-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uritemplate>=2.0.0:net/py-uritemplate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist distutils CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= SIDECAR OPTIONS_DEFAULT= SIDECAR SIDECAR_DESC= Enable self-contained Swagger/Redoc UI installation SIDECAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular-sidecar>0:www/py-dj52-drf-spectacular-sidecar@${PY_FLAVOR} .include diff --git a/www/py-dj52-social-auth-app-django/Makefile b/www/py-dj52-social-auth-app-django/Makefile index 3463b549ff07..90d6699e9f66 100644 --- a/www/py-dj52-social-auth-app-django/Makefile +++ b/www/py-dj52-social-auth-app-django/Makefile @@ -1,34 +1,34 @@ PORTNAME= social-auth-app-django DISTVERSION= 5.6.0 CATEGORIES= www security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- MAINTAINER= kai@FreeBSD.org COMMENT= Social Authentication and Django integration WWW= https://github.com/python-social-auth/social-app-django LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.1:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.4<5:security/py-social-auth-core@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_GITHUB= yes GH_ACCOUNT= python-social-auth GH_PROJECT= social-app-django USE_PYTHON= autoplist pep517 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} manage.py test -v3 .include diff --git a/www/py-dj52-strawberry-graphql-django/Makefile b/www/py-dj52-strawberry-graphql-django/Makefile index 0aad0fc6f38f..680f68ca92a8 100644 --- a/www/py-dj52-strawberry-graphql-django/Makefile +++ b/www/py-dj52-strawberry-graphql-django/Makefile @@ -1,37 +1,37 @@ PORTNAME= strawberry-graphql-django DISTVERSION= 0.67.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= strawberry_graphql_django-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Strawberry GraphQL Django extension WWW= https://github.com/strawberry-graphql/strawberry-django LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.8:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj52-strawberry-graphql>=0.283.2:devel/py-dj52-strawberry-graphql@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= DEBUG-TOOLBAR ENUM OPTIONS_DEFAULT= DEBUG-TOOLBAR ENUM DEBUG-TOOLBAR_DESC= Debug support ENUM_DESC= Integration for Django's TextChoices/IntegerChoices enumerations DEBUG-TOOLBAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-django-debug-toolbar>=6.0.0:www/py-dj52-django-debug-toolbar@${PY_FLAVOR} ENUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj52-django-choices-field>=2.2.2:www/py-dj52-django-choices-field@${PY_FLAVOR} .include diff --git a/www/py-django-appconf/Makefile b/www/py-django-appconf/Makefile index 0caa5139751d..836fc1920f51 100644 --- a/www/py-django-appconf/Makefile +++ b/www/py-django-appconf/Makefile @@ -1,21 +1,21 @@ PORTNAME= django-appconf PORTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Helper class for handling configuration defaults gracefully WWW= https://django-appconf.readthedocs.io/en/latest/ \ https://github.com/django-compressor/django-appconf LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/www/py-django-cors-headers/Makefile b/www/py-django-cors-headers/Makefile index 2ea1f7c1ad4f..f8042d261d23 100644 --- a/www/py-django-cors-headers/Makefile +++ b/www/py-django-cors-headers/Makefile @@ -1,26 +1,26 @@ PORTNAME= django-cors-headers DISTVERSION= 4.9.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_cors_headers-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Handles server headers required for Cross-Origin Resource Sharing WWW= https://github.com/adamchainz/django-cors-headers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} .include diff --git a/www/py-django-debug-toolbar/Makefile b/www/py-django-debug-toolbar/Makefile index ac1b854f706f..8f6ab2249d2b 100644 --- a/www/py-django-debug-toolbar/Makefile +++ b/www/py-django-debug-toolbar/Makefile @@ -1,27 +1,27 @@ PORTNAME= django-debug-toolbar PORTVERSION= 6.0.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_debug_toolbar-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Configurable set of panels to display debug information WWW= https://django-debug-toolbar.readthedocs.io/en/latest/ \ https://github.com/django-commons/django-debug-toolbar LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2.9:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-debug-toolbar .include diff --git a/www/py-django-js-asset/Makefile b/www/py-django-js-asset/Makefile index 22548ae1337b..58500e59a08f 100644 --- a/www/py-django-js-asset/Makefile +++ b/www/py-django-js-asset/Makefile @@ -1,24 +1,24 @@ PORTNAME= django-js-asset DISTVERSION= 3.1.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_js_asset-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Insert script tags with additional attributes for django.forms.Media WWW= https://github.com/matthiask/django-js-asset LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} .include diff --git a/www/py-django-mptt/Makefile b/www/py-django-mptt/Makefile index 67fc7398c45b..a640ace05353 100644 --- a/www/py-django-mptt/Makefile +++ b/www/py-django-mptt/Makefile @@ -1,25 +1,25 @@ PORTNAME= django-mptt PORTVERSION= 0.17.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_mptt-${PORTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django WWW= https://github.com/django-mptt/django-mptt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}django-js-asset>0:www/py-django-js-asset@${PY_FLAVOR} -USES= python:3.10+ # www/py-django-js-asset requires Python 3.10+ +USES= python # www/py-django-js-asset requires Python 3.10+ USE_PYTHON= autoplist pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} .include diff --git a/www/py-django-picklefield/Makefile b/www/py-django-picklefield/Makefile index cddcbad5dad4..e7ee4f81b81a 100644 --- a/www/py-django-picklefield/Makefile +++ b/www/py-django-picklefield/Makefile @@ -1,25 +1,25 @@ PORTNAME= django-picklefield PORTVERSION= 3.3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pickled object field for Django WWW= https://github.com/gintas/django-picklefield LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE # Reminder: www/seahub depends on django, changing django version may break seahub BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-django-stubs-ext/Makefile b/www/py-django-stubs-ext/Makefile index 9c18cd3dd642..02e6dcb371c6 100644 --- a/www/py-django-stubs-ext/Makefile +++ b/www/py-django-stubs-ext/Makefile @@ -1,24 +1,24 @@ PORTNAME= django-stubs-ext PORTVERSION= 5.2.7 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_stubs_ext-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Monkey-patching and extensions for django-stubs WWW= https://github.com/typeddjango/django-stubs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build08>=0.8.22:devel/py-uv-build08@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-django-tables2/Makefile b/www/py-django-tables2/Makefile index b94edd5ccbf4..d71ea3083b8e 100644 --- a/www/py-django-tables2/Makefile +++ b/www/py-django-tables2/Makefile @@ -1,30 +1,30 @@ PORTNAME= django-tables2 DISTVERSION= 2.7.5 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_tables2-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Table/data-grid framework for Django WWW= https://github.com/jieter/django-tables2 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= TABLIB TABLIB_DESC= Enable support for exporting table datasets TABLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR} .include diff --git a/www/py-django-tasks/Makefile b/www/py-django-tasks/Makefile index c5015900717b..14e627da69f7 100644 --- a/www/py-django-tasks/Makefile +++ b/www/py-django-tasks/Makefile @@ -1,36 +1,36 @@ PORTNAME= django-tasks PORTVERSION= 0.9.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_tasks-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation and backport of background workers and tasks in Django WWW= https://github.com/RealOrangeOne/django-tasks LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-stubs-ext>=0:www/py-django-stubs-ext@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= MYSQL POSTGRES RQ POSTGRES_DESC= PostgreSQL database support RQ_DESC= RQ (Redis Queue) support MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} POSTGRES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg>=0:databases/py-psycopg@${PY_FLAVOR} RQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-rq>=0:devel/py-django-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq>=2.5:devel/py-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq-scheduler>=0:devel/py-rq-scheduler@${PY_FLAVOR} .include diff --git a/www/py-django-unfold/Makefile b/www/py-django-unfold/Makefile index ccb75dd22d1a..bf40aa790931 100644 --- a/www/py-django-unfold/Makefile +++ b/www/py-django-unfold/Makefile @@ -1,24 +1,24 @@ PORTNAME= django-unfold PORTVERSION= 0.68.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_unfold-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Modern Django admin theme for seamless interface development WWW= https://unfoldadmin.com/ \ https://github.com/unfoldadmin/django-unfold LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-django51/Makefile b/www/py-django51/Makefile index 8eef2ebc7560..3a8e76f63004 100644 --- a/www/py-django51/Makefile +++ b/www/py-django51/Makefile @@ -1,79 +1,79 @@ PORTNAME= django PORTVERSION= 5.1.13 CATEGORIES= www python MASTER_SITES= PYPI \ https://media.djangoproject.com/releases/${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 51 #DISTNAME= Django-${PORTVERSION} DIST_SUBDIR= python PATCH_SITES= https://github.com/django/django/commit/ PATCHFILES+= 8b9a2bf34e132ccf0ab0a074440dc55f90c76598.patch:-p1 MAINTAINER= python@FreeBSD.org COMMENT= High-level Python Web Framework WWW= https://www.djangoproject.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Extended support of Django 5.1 ends December 2025, upgrade to a newer version of Django. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.8.1:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.1:databases/py-sqlparse@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR} -USES= cpe python:3.10+ shebangfix +USES= cpe python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-django PLIST_FILES= share/man/man1/django-admin.1.gz PORTDOCS= * SHEBANG_FILES= django/conf/project_template/manage.py-tpl CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django[0-9][0-9] CPE_VENDOR= djangoproject # Upstream archive contains files with UTF-8 names # EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar OPTIONS_DEFINE= DOCS HTMLDOCS OPTIONS_GROUP= DATABASE OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE OPTIONS_DEFAULT=SQLITE HTMLDOCS_DESC= Install HTML documentation (requires Sphinx) HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} HTMLDOCS_IMPLIES= DOCS HTMLDOCS_USES= gmake PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} .include post-build-HTMLDOCS-on: cd ${WRKSRC}/docs && ${MAKE_CMD} html SPHINXBUILD=sphinx-build-${PYTHON_VER} post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${PREFIX}/share/man/man1 @${ECHO_MSG} "" @${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation" @${ECHO_MSG} "" post-install-HTMLDOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR} do-test: @cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite .include diff --git a/www/py-django52/Makefile b/www/py-django52/Makefile index 930a13f07301..057facb616fa 100644 --- a/www/py-django52/Makefile +++ b/www/py-django52/Makefile @@ -1,73 +1,73 @@ PORTNAME= django PORTVERSION= 5.2.7 CATEGORIES= www python MASTER_SITES= PYPI \ https://media.djangoproject.com/releases/${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 52 #DISTNAME= Django-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= High-level Python Web Framework WWW= https://www.djangoproject.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.8.1:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.1:databases/py-sqlparse@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR} -USES= cpe python:3.10+ shebangfix +USES= cpe python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-django PLIST_FILES= share/man/man1/django-admin.1.gz PORTDOCS= * SHEBANG_FILES= django/conf/project_template/manage.py-tpl CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django[0-9][0-9] CPE_VENDOR= djangoproject # Upstream archive contains files with UTF-8 names # EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar OPTIONS_DEFINE= DOCS HTMLDOCS OPTIONS_GROUP= DATABASE OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE OPTIONS_DEFAULT=SQLITE HTMLDOCS_DESC= Install HTML documentation (requires Sphinx) HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} HTMLDOCS_IMPLIES= DOCS HTMLDOCS_USES= gmake PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} .include post-build-HTMLDOCS-on: cd ${WRKSRC}/docs && ${MAKE_CMD} html SPHINXBUILD=sphinx-build-${PYTHON_VER} post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${PREFIX}/share/man/man1 @${ECHO_MSG} "" @${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation" @${ECHO_MSG} "" post-install-HTMLDOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR} do-test: @cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite .include diff --git a/www/py-draftjs-exporter/Makefile b/www/py-draftjs-exporter/Makefile index 0d1197bae9df..c9b3c12b62d3 100644 --- a/www/py-draftjs-exporter/Makefile +++ b/www/py-draftjs-exporter/Makefile @@ -1,32 +1,32 @@ PORTNAME= draftjs-exporter PORTVERSION= 5.1.0 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= draftjs_exporter-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library to convert rich text from Draft.js raw ContentState to HTML WWW= https://github.com/springload/draftjs_exporter LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= HTML5LIB LXML HTML5LIB_DESC= Use html5lib as backing engine LXML_DESC= Use lxml as backing engine HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.1<5:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999<2:www/py-html5lib@${PY_FLAVOR} LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=4.2.0<6:devel/py-lxml5@${PY_FLAVOR} .include diff --git a/www/py-httpx-ws/Makefile b/www/py-httpx-ws/Makefile index a4a4c2a65635..b2124ffd6980 100644 --- a/www/py-httpx-ws/Makefile +++ b/www/py-httpx-ws/Makefile @@ -1,28 +1,28 @@ PORTNAME= httpx-ws PORTVERSION= 0.8.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= httpx_ws-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= WebSockets support for HTTPX WWW= https://frankie567.github.io/httpx-ws/ \ https://github.com/frankie567/httpx-ws LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-regex-commit>=0:devel/py-hatch-regex-commit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=4:devel/py-anyio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpcore>=1.0.4:www/py-httpcore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.1:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wsproto>=0:net/py-wsproto@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-planet-auth/Makefile b/www/py-planet-auth/Makefile index 7091e62d1335..6d07c48bebb5 100644 --- a/www/py-planet-auth/Makefile +++ b/www/py-planet-auth/Makefile @@ -1,31 +1,31 @@ PORTNAME= planet-auth PORTVERSION= 2.3.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= planet_auth-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Planet auth utility code WWW= https://github.com/planetlabs/planet-auth-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=0:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyqrcode>=0:graphics/py-pyqrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}StrEnum>=0:devel/py-strenum@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile index 3845dee12681..ecc21f317595 100644 --- a/www/py-planet/Makefile +++ b/www/py-planet/Makefile @@ -1,32 +1,32 @@ PORTNAME= planet PORTVERSION= 3.1.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Planet SDK for Python WWW= https://planet-sdk-for-python-v2.readthedocs.io/en/latest/ \ https://github.com/planetlabs/planet-client-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}planet-auth>=2.1.0:www/py-planet-auth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.56:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-postorius/Makefile b/www/py-postorius/Makefile index 2646a6e3f094..2123a0e89ac8 100644 --- a/www/py-postorius/Makefile +++ b/www/py-postorius/Makefile @@ -1,34 +1,34 @@ PORTNAME= postorius PORTVERSION= 1.3.13 CATEGORIES= www MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Web user interface for GNU Mailman WWW= https://docs.mailman3.org/projects/postorius/en/latest/ \ https://gitlab.com/mailman/postorius LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-mailman3>=1.3.13:mail/py-django-mailman3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django42>=4.2<5.1:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mailmanclient>=3.3.3:mail/py-mailmanclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}readme-renderer>=0:devel/py-readme-renderer@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-debug-toolbar>=0:www/py-django-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-requests-debug-toolbar>=0:www/py-django-requests-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} -USES= cpe python:3.9+ shebangfix +USES= cpe python shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CPE_VENDOR= postorius_project SHEBANG_FILES= example_project/manage.py .include diff --git a/www/py-pylsqpack/Makefile b/www/py-pylsqpack/Makefile index aa40988fd28c..e6a5c4a1f55a 100644 --- a/www/py-pylsqpack/Makefile +++ b/www/py-pylsqpack/Makefile @@ -1,25 +1,25 @@ PORTNAME= pylsqpack PORTVERSION= 0.3.23 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python wrapper for the ls-qpack QPACK library WWW= https://github.com/aiortc/pylsqpack LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= compiler:c++11-lang python:3.10+ +USES= compiler:c++11-lang python USE_PYTHON= autoplist concurrent pep517 unittest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/www/py-quart/Makefile b/www/py-quart/Makefile index 7feac5d82aba..24c6cd123738 100644 --- a/www/py-quart/Makefile +++ b/www/py-quart/Makefile @@ -1,30 +1,30 @@ PORTNAME= quart PORTVERSION= 0.20.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python ASGI web framework with the same API as Flask WWW= https://quart.palletsprojects.com/en/latest/ \ https://github.com/pallets/quart LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiofiles>=0:devel/py-aiofiles@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}blinker>=1.6:devel/py-blinker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flask>=3.0:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypercorn>=0.11.2:www/py-hypercorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}itsdangerous>=0:security/py-itsdangerous@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=0:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug>=3.0:www/py-werkzeug@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-quilt3/Makefile b/www/py-quilt3/Makefile index d1e765610d28..b8be1c8ea230 100644 --- a/www/py-quilt3/Makefile +++ b/www/py-quilt3/Makefile @@ -1,37 +1,37 @@ PORTNAME= quilt3 PORTVERSION= 7.0.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python client for Quilt data hub WWW= https://github.com/quiltdata/quilt LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.21.7:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonlines>=1.2.0:devel/py-jsonlines@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=3<5:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.12.4:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-futures>=1.0.0:www/py-requests-futures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tenacity>=5.1.1:devel/py-tenacity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.32:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= ANNDATA ANNDATA_DESC= Annotated data support ANNDATA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anndata>=0.8.0:devel/py-anndata@${PY_FLAVOR} .include diff --git a/www/py-social-auth-app-django/Makefile b/www/py-social-auth-app-django/Makefile index 2fd14a9719b5..14603e46fc8a 100644 --- a/www/py-social-auth-app-django/Makefile +++ b/www/py-social-auth-app-django/Makefile @@ -1,38 +1,38 @@ PORTNAME= social-auth-app-django DISTVERSION= 5.4.3 PORTREVISION= 1 CATEGORIES= www security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Social Authentication and Django integration WWW= https://github.com/python-social-auth/social-app-django LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE # Release 5.5.0 dropped support for Django 4.2 and Python 3.9 PORTSCOUT= limit:^5\.4\. BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.4<5:security/py-social-auth-core@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_GITHUB= yes GH_ACCOUNT= python-social-auth GH_PROJECT= social-app-django USE_PYTHON= autoplist pep517 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} manage.py test -v3 .include diff --git a/www/py-strawberry-graphql-django/Makefile b/www/py-strawberry-graphql-django/Makefile index 4e4eaebe2b0d..8419ba45ab28 100644 --- a/www/py-strawberry-graphql-django/Makefile +++ b/www/py-strawberry-graphql-django/Makefile @@ -1,37 +1,37 @@ PORTNAME= strawberry-graphql-django DISTVERSION= 0.67.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= strawberry_graphql_django-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Strawberry GraphQL Django extension WWW= https://github.com/strawberry-graphql/strawberry-django LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.8:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}strawberry-graphql>=0.283.3:devel/py-strawberry-graphql@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= DEBUG-TOOLBAR ENUM OPTIONS_DEFAULT= DEBUG-TOOLBAR ENUM DEBUG-TOOLBAR_DESC= Debug support ENUM_DESC= Integration for Django's TextChoices/IntegerChoices enumerations DEBUG-TOOLBAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-debug-toolbar>=6.0.0:www/py-django-debug-toolbar@${PY_FLAVOR} ENUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-choices-field>=2.2.2:www/py-django-choices-field@${PY_FLAVOR} .include diff --git a/www/py-wagtail-localize/Makefile b/www/py-wagtail-localize/Makefile index 94ccd8ad9112..a033c4e11811 100644 --- a/www/py-wagtail-localize/Makefile +++ b/www/py-wagtail-localize/Makefile @@ -1,32 +1,32 @@ PORTNAME= wagtail-localize PORTVERSION= 1.12 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI DISTNAME= wagtail_localize-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Translation plugin for Wagtail CMS WWW= https://wagtail-localize.org/latest/ \ https://github.com/wagtail/wagtail-localize LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2<6.0:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flit-core>=3.11<4:devel/py-flit-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}polib>=1.1<2.0:devel/py-polib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wagtail>=5.2:www/py-wagtail@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2<6.0:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}polib>=1.1<2.0:devel/py-polib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wagtail>=5.2:www/py-wagtail@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile index 124d8ca76eef..d98f1ae010a1 100644 --- a/www/py-werkzeug/Makefile +++ b/www/py-werkzeug/Makefile @@ -1,35 +1,35 @@ PORTNAME= werkzeug PORTVERSION= 3.1.3 CATEGORIES= www python MASTER_SITES= PYPI \ https://github.com/pallets/werkzeug/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python utilities collection for building WSGI applications WWW= https://palletsprojects.com/projects/werkzeug/ \ https://github.com/pallets/werkzeug LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} -USES= cpe python:3.9+ +USES= cpe python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CPE_VENDOR= palletsprojects OPTIONS_DEFINE= EXAMPLES WATCHDOG WATCHDOG_DESC= Monitor filesystem events WATCHDOG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchdog>=2.3:devel/py-watchdog@${PY_FLAVOR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/qutebrowser/Makefile b/www/qutebrowser/Makefile index 9b14a6c880a3..720210379ecf 100644 --- a/www/qutebrowser/Makefile +++ b/www/qutebrowser/Makefile @@ -1,65 +1,65 @@ PORTNAME= qutebrowser DISTVERSION= 3.6.0 CATEGORIES= www MASTER_SITES= PYPI MAINTAINER= novel@FreeBSD.org COMMENT= Keyboard-focused browser with a minimal GUI WWW= https://www.qutebrowser.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=0:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} FLAVORS= qt6 qt5 FLAVOR?= ${FLAVORS:[1]} -USES= cpe desktop-file-utils python:3.9+ +USES= cpe desktop-file-utils python USE_PYQT= webengine USE_PYTHON= autoplist noflavors pep517 qt5_PKGNAMESUFFIX= -qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME} qt6_CONFLICTS_INSTALL= ${PORTNAME}-qt5 .if ${FLAVOR:U} == "qt5" USES+= pyqt:5 qt:5 USE_PYQT+= pyqt5 USE_QT= sql-sqlite3 .else USES+= pyqt:6 qt:6 USE_PYQT+= pyqt6 USE_QT= base declarative quick3d sqldriver-sqlite:run webengine \ websockets tools:build .endif # Upstream archive contains files with UTF-8 names EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} NO_ARCH= yes PLIST_FILES= share/applications/${PORTNAME}-${PYTHON_VER}.desktop \ share/man/man1/${PORTNAME}.1.gz OPTIONS_DEFINE_amd64= ADBLOCK OPTIONS_DEFAULT_amd64= ADBLOCK ADBLOCK_DESC= Enable the newer adblocking support ADBLOCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}adblock>=0.4.2:www/py-adblock@${PY_FLAVOR} post-install: ${INSTALL_DATA} ${WRKSRC}/misc/org.qutebrowser.qutebrowser.desktop \ ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-${PYTHON_VER}.desktop ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/www/unit-python/Makefile b/www/unit-python/Makefile index b30f2319e8be..5a311aaffd89 100644 --- a/www/unit-python/Makefile +++ b/www/unit-python/Makefile @@ -1,34 +1,34 @@ PKGNAMESUFFIX= -${UNIT_MODNAME} UNIT_MODNAME= python${PYTHON_SUFFIX} COMMENT= Python module for NGINX Unit -USES= python:3.9-3.11 gettext-runtime +USES= python:-3.11 gettext-runtime USE_PYTHON= flavors PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so RUN_DEPENDS= unitd:www/unit USE_RC_SUBR?= # reset to empty MASTERDIR= ${.CURDIR}/../unit post-configure: cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} python \ --module=${UNIT_MODNAME} \ --config=${PYTHON_CMD}-config do-build: cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${UNIT_MODNAME} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ ${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \ ${STAGEDIR}${PREFIX}/libexec/unit/modules/ .include "${MASTERDIR}/Makefile" diff --git a/x11-fonts/py-afdko/Makefile b/x11-fonts/py-afdko/Makefile index 8f40b67b335e..ec3774125adb 100644 --- a/x11-fonts/py-afdko/Makefile +++ b/x11-fonts/py-afdko/Makefile @@ -1,38 +1,38 @@ PORTNAME= afdko PORTVERSION= 4.0.2 PORTREVISION= 2 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Adobe Font Development Kit for OpenType WWW= https://github.com/adobe-type-tools/afdko LICENSE= APACHE20 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= afdko>=${PORTVERSION}<${PORTVERSION}_99:x11-fonts/afdko \ ${PYTHON_PKGNAMEPREFIX}booleanOperations>=0.9.0:x11-fonts/py-booleanOperations@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defcon>=0.10.2:x11-fonts/py-defcon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fontMath>=0.9.3:x11-fonts/py-fontMath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=4.42.0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=4.9.3:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.66.1:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ufonormalizer>=0.6.1:x11-fonts/py-ufonormalizer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ufoprocessor>=1.9.0:x11-fonts/py-ufoprocessor@${PY_FLAVOR} # x11-fonts/py-defcon[pens]: print/py-fontpens RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fontpens>=0.1.0:print/py-fontpens@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes post-patch: @${RM} ${WRKSRC}/CMakeLists.txt @${RM} -r ${WRKSRC}/c/ ${WRKSRC}/cmake/ .include diff --git a/x11-fonts/py-gfsubsets/Makefile b/x11-fonts/py-gfsubsets/Makefile index 106953c0d371..3e8008ed7855 100644 --- a/x11-fonts/py-gfsubsets/Makefile +++ b/x11-fonts/py-gfsubsets/Makefile @@ -1,23 +1,23 @@ PORTNAME= gfsubsets PORTVERSION= 2024.9.25 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Codepoint definitions for the Google Fonts subsetter WWW= https://github.com/googlefonts/nam-files LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/x11-fonts/py-vfblib/Makefile b/x11-fonts/py-vfblib/Makefile index 95abf7fc6493..3b8ec54b31ad 100644 --- a/x11-fonts/py-vfblib/Makefile +++ b/x11-fonts/py-vfblib/Makefile @@ -1,35 +1,35 @@ PORTNAME= vfblib PORTVERSION= 0.10.4 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tools for converting FontLab Studio 5 (VFB) files WWW= https://github.com/LucasFonts/vfbLib LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.59.0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}orjson>=3.10.15<4:devel/py-orjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.1:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ufolib2>=0.18.1:print/py-ufolib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ufonormalizer>=0.6.1:x11-fonts/py-ufonormalizer@${PY_FLAVOR} -USES= python:3.10+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= ALL TOML YAML ALL_DESC= All optional dependencies ALL_IMPLIES= TOML YAML TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli-w>=1.0.0:textproc/py-tomli-w@${PY_FLAVOR} YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.2:devel/py-pyyaml@${PY_FLAVOR} .include diff --git a/x11/autorandr/Makefile b/x11/autorandr/Makefile index a99f33c03222..a52479a478a9 100644 --- a/x11/autorandr/Makefile +++ b/x11/autorandr/Makefile @@ -1,56 +1,56 @@ PORTNAME= autorandr DISTVERSION= 1.12.1 PORTREVISION= 1 CATEGORIES= x11 PATCH_SITES= https://github.com/phillipberndt/autorandr/commit/ PATCHFILES= 2bc71d562765e2023b26a31c485769612e3eb91e.patch:-p1 # PR 282 MAINTAINER= 0mp@FreeBSD.org COMMENT= Auto-detect displays and configure them with xrandr WWW= https://github.com/phillipberndt/autorandr LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt BUILD_DEPENDS= gsed:textproc/gsed RUN_DEPENDS= xrandr:x11/xrandr -USES= gmake pkgconfig python:3.9-3.10 shebangfix xorg +USES= gmake pkgconfig python:3.10 shebangfix xorg # Use GitHub instead of MASTER_SITES=PYPI to get additional files like # the manual page and the license. USE_GITHUB= yes GH_ACCOUNT= phillipberndt USE_PYTHON= autoplist concurrent distutils USE_XORG= xcb MAKE_ARGS= BASH_COMPLETIONS_DIR=${PREFIX}/share/bash-completion/completions \ PREFIX=${PREFIX} \ XDG_AUTOSTART_DIR=${PREFIX}/etc/xdg/autostart BINARY_ALIAS= sed=gsed PLIST_FILES= bin/${PORTNAME}-launcher \ etc/xdg/autostart/autorandr-launcher.desktop \ share/bash-completion/completions/autorandr \ share/man/man1/${PORTNAME}.1.gz _EXTRA_BUILD_TARGETS= contrib/autorandr_launcher/autorandr-launcher _EXTRA_INSTALL_TARGETS= install_bash_completion install_launcher \ install_manpage # Regenerate the patches with: # make clean extract do-patch PATCHFILES= post-patch: ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/${PORTNAME}.py \ ${WRKSRC}/contrib/autorandr_launcher/autorandr_launcher.c post-build: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${BUILD_WRKSRC} ${MAKE_ARGS} \ ${_EXTRA_BUILD_TARGETS} post-install: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${INSTALL_WRKSRC} ${MAKE_ARGS} \ ${_EXTRA_INSTALL_TARGETS} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-launcher .include