aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2018-07-28 20:08:13 +0800
committermiwi <miwi@FreeBSD.org>2018-07-28 20:08:13 +0800
commitbaa72bcb99bb0a13ab5d0e555d9a4b9b38be9fad (patch)
treed14013639cba6a9bbde96a4b688b5ed230ce74fb /textproc
parent2948eea769366542d10b9b9c40646c102bc4cc86 (diff)
downloadfreebsd-ports-gnome-baa72bcb99bb0a13ab5d0e555d9a4b9b38be9fad.tar.gz
freebsd-ports-gnome-baa72bcb99bb0a13ab5d0e555d9a4b9b38be9fad.tar.zst
freebsd-ports-gnome-baa72bcb99bb0a13ab5d0e555d9a4b9b38be9fad.zip
Utility library to parse, normalize and compare License expressions for Python
using a boolean logic engine. The intended use is for expressions using SPDX or any other license id scheme. WWW: https://github.com/nexB/license-expression PR: 229449 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-license-expression/Makefile24
-rw-r--r--textproc/py-license-expression/distinfo3
-rw-r--r--textproc/py-license-expression/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1f447c849b3d..81c21fdd3635 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1316,6 +1316,7 @@
SUBDIR += py-libtre
SUBDIR += py-libxml2
SUBDIR += py-libxslt
+ SUBDIR += py-license-expression
SUBDIR += py-ltxml
SUBDIR += py-m2r
SUBDIR += py-mako
diff --git a/textproc/py-license-expression/Makefile b/textproc/py-license-expression/Makefile
new file mode 100644
index 000000000000..f744a3417db2
--- /dev/null
+++ b/textproc/py-license-expression/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= license-expression
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.98
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= freebsd_ports@k-worx.org
+COMMENT= Parses, normalizes and compares license expressions
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/NOTICE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boolean.py>=3.5:devel/py-boolean.py@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+USE_GITHUB= yes
+GH_ACCOUNT= nexB
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-license-expression/distinfo b/textproc/py-license-expression/distinfo
new file mode 100644
index 000000000000..50a78f2aa602
--- /dev/null
+++ b/textproc/py-license-expression/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1530192682
+SHA256 (nexB-license-expression-v0.98_GH0.tar.gz) = 65c9f3df7f5dbc294ca866b6fa4fda91d0f3b0e0cf57341b52cb239b0ff88e09
+SIZE (nexB-license-expression-v0.98_GH0.tar.gz) = 5172261
diff --git a/textproc/py-license-expression/pkg-descr b/textproc/py-license-expression/pkg-descr
new file mode 100644
index 000000000000..a24eb2321d68
--- /dev/null
+++ b/textproc/py-license-expression/pkg-descr
@@ -0,0 +1,5 @@
+Utility library to parse, normalize and compare License expressions for Python
+using a boolean logic engine. The intended use is for expressions using SPDX or
+any other license id scheme.
+
+WWW: https://github.com/nexB/license-expression