mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 18:43:13 -04:00
24 lines
666 B
Makefile
24 lines
666 B
Makefile
PORTNAME= filelock
|
|
DISTVERSION= 3.8.2
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Platform independent file lock
|
|
WWW= https://github.com/benediktschmitt/py-filelock
|
|
|
|
LICENSE= PD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
|
|
|
|
USES= python:3.7+
|
|
USE_PYTHON= autoplist distutils pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
post-patch: # workaround for https://github.com/tox-dev/py-filelock/issues/133
|
|
@${REINPLACE_CMD} -e 's|author = Benedikt Schmitt|version = ${PORTVERSION}|' ${WRKSRC}/setup.cfg
|
|
|
|
.include <bsd.port.mk>
|