aboutsummaryrefslogtreecommitdiff
path: root/devel/py-oslo.log/Makefile
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2016-10-19 18:06:06 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2016-10-19 18:06:06 +0000
commite84da5eddc00dbd0be4494381e8f96748e7f7c0a (patch)
treee10d14c1883a0bc08fd66e53c2eb834ddb33f9ff /devel/py-oslo.log/Makefile
parent44754e71f40987e7ea9f9769de208dcc7a220e02 (diff)
downloadports-e84da5eddc00dbd0be4494381e8f96748e7f7c0a.tar.gz
ports-e84da5eddc00dbd0be4494381e8f96748e7f7c0a.zip
Notes
Diffstat (limited to 'devel/py-oslo.log/Makefile')
-rw-r--r--devel/py-oslo.log/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/py-oslo.log/Makefile b/devel/py-oslo.log/Makefile
new file mode 100644
index 000000000000..946af2617fa6
--- /dev/null
+++ b/devel/py-oslo.log/Makefile
@@ -0,0 +1,32 @@
+# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
+# $FreeBSD$
+
+PORTNAME= oslo.log
+PORTVERSION= 3.16.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alexander.nusov@nfvexpress.com
+COMMENT= Oslo Log library
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6: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.16.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.6.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
+
+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>