blob: 84736464a1e858b21d50076707fa0aa64bb9e32e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
PORTNAME= filelock
DISTVERSION= 3.7.1
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
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>
|