mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
31 lines
782 B
Makefile
31 lines
782 B
Makefile
# Created by: Dan Langille <dvl@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= backports.tempfile
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dvl@FreeBSD.org
|
|
COMMENT= Backports of new features in the Python tempfile module
|
|
|
|
LICENSE= PSFL
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USES= python:2.7
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
POST_PLIST= trim-backports-namespace
|
|
|
|
post-install:
|
|
@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py*
|
|
|
|
trim-backports-namespace:
|
|
@${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|