mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
29 lines
757 B
Makefile
29 lines
757 B
Makefile
PORTNAME= find-libpython
|
|
PORTVERSION= 0.5.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Finds the libpython associated with your environment
|
|
WWW= https://github.com/ktbarrett/find_libpython
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= pep517 autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
# tests as of 0.5.1: 1 passed, 1 skipped (Linux-only test)
|
|
|
|
.include <bsd.port.mk>
|