35 lines
1.2 KiB
Makefile
35 lines
1.2 KiB
Makefile
# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oslo.log
|
|
PORTVERSION= 3.20.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= alexander.nusov@nfvexpress.com
|
|
COMMENT= Oslo Log library
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
|
|
${PYTHON_PKGNAMEPREFIX}dateutil>=2.4.2:devel/py-dateutil \
|
|
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.18.0:devel/py-oslo.utils \
|
|
${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization \
|
|
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \
|
|
${PYTHON_PKGNAMEPREFIX}oslo.context>=2.9.0:devel/py-oslo.context \
|
|
${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \
|
|
${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \
|
|
${PYTHON_PKGNAMEPREFIX}monotonic>=0.6:devel/py-monotonic
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|sys_platform!=|sys_platform!='freebsd10' and sys_platform!='freebsd11' and sys_platform!=|" \
|
|
${WRKDIR}/${PORTNAME}-${PORTVERSION}/requirements.txt
|
|
|
|
.include <bsd.port.mk>
|