blob: 25c0ca12fb38d5b9a0fc759eed4d746e95685a3b (
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
25
26
27
|
# Created by: Bruce Simpson
PORTNAME= pyang
PORTVERSION= 1.7.8
CATEGORIES= net-mgmt python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Validator and code generator for YANG (RFC 4741)
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
DATADIR= ${PREFIX}/share/yang
post-patch:
@${REINPLACE_CMD} -e \
's|share/man|man|' ${WRKSRC}/setup.py
.include <bsd.port.mk>
|