Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

33 lines
813 B
Makefile

PORTNAME= formencode
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= FormEncode-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= HTML form validation, generation, and conversion package
WWW= https://www.formencode.org/
LICENSE= PSFL
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR}
USES= dos2unix gettext-runtime:run python
USE_PYTHON= autoplist distutils
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>