mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 07:27:38 -04:00
- Update WWW - Convert to USE_PYTHON=pep517 Changes: https://github.com/python-trio/sniffio/blob/master/docs/source/history.rst https://sniffio.readthedocs.io/en/latest/history.html
28 lines
924 B
Makefile
28 lines
924 B
Makefile
PORTNAME= sniffio
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Sniff out which async library your code is running under
|
|
WWW= https://sniffio.readthedocs.io/en/latest/ \
|
|
https://github.com/python-trio/sniffio
|
|
|
|
LICENSE= APACHE20 MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curio>=0:devel/py-curio@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517 pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|