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
897 B
Makefile

PORTNAME= llvmcpy
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.6
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python bindings for LLVM auto-generated from the LLVM-C API
WWW= https://github.com/revng/llvmcpy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \
${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= revng
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|"llvm-config"|"llvm-config${LLVM_DEFAULT}"|' ${WRKSRC}/llvmcpy/llvm.py
.include <bsd.port.mk>