summaryrefslogtreecommitdiffstats
path: root/devel/py-path.py/Makefile
blob: 64e0d8f66691a36923849d312570dcd2b5b1f059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $FreeBSD$

PORTNAME=	path.py
PORTVERSION=	8.1.2
CATEGORIES=	devel python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	wg@FreeBSD.org
COMMENT=	Module wrapper for os.path

LICENSE=	MIT

USES=		python
USE_PYTHON=	autoplist distutils

USE_GITHUB=	yes
GH_ACCOUNT=	jaraco

post-patch:
	@${REINPLACE_CMD} -e '/setuptools_scm/d' \
		-e 's/use_scm_version=True,/version="${PORTVERSION}",/' \
		${WRKSRC}/${PYSETUP}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud