ports/devel/py-findpython/Makefile
Po-Chuan Hsieh 0b20522687
devel/py-findpython: Add py-findpython 0.1.3
This library is a rewrite of pythonfinder project by @techalchemy. It simplifies
the whole code structure while preserving most of the original features.

WWW: https://github.com/frostming/findpython
2022-03-08 02:10:50 +08:00

25 lines
603 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= findpython
PORTVERSION= 0.1.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Utility to find python versions on your system
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.include <bsd.port.mk>