Bug 229449

Summary: [NEW PORT] textproc/py-license-expression: Parses, normalizes and compares license expressions
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi, python
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://pypi.org/project/license-expression
Bug Depends on: 229437    
Bug Blocks:    
Attachments:
Description Flags
py-license-expression.patch none

Description Kai Knoblich freebsd_committer freebsd_triage 2018-07-01 12:54:27 UTC
Created attachment 194812 [details]
py-license-expression.patch

Hello,

attached is a patch that adds the Python package textproc/py-license-expression, which is an utility to parse, normalize and compare license expressions using a boolean logic engine.


QA:
- poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK

Note:
Before this port can be committed, the port devel/py-boolean.py must be added first (see also PR #229437 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229437)
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-28 12:08:21 UTC
A commit references this bug:

Author: miwi
Date: Sat Jul 28 12:08:14 UTC 2018
New revision: 475534
URL: https://svnweb.freebsd.org/changeset/ports/475534

Log:
  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.

Changes:
  head/textproc/Makefile
  head/textproc/py-license-expression/
  head/textproc/py-license-expression/Makefile
  head/textproc/py-license-expression/distinfo
  head/textproc/py-license-expression/pkg-descr