- Add build for all Python flavors/versions (USE_PYTHON=allflavors) - Bump PORTREVISION for dependency and package change
25 lines
644 B
Makefile
25 lines
644 B
Makefile
PORTNAME= packaging
|
|
PORTVERSION= 23.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Core utilities for Python packages
|
|
WWW= https://github.com/pypa/packaging
|
|
|
|
LICENSE= APACHE20 BSD2CLAUSE
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE
|
|
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD
|
|
|
|
USES= python
|
|
USE_PYTHON= allflavors autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
|
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.3:devel/py-flit-core@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|