Date: Sat, 28 Jul 2018 12:01:50 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475528 - in head/misc: . py-spdx-tools Message-ID: <201807281201.w6SC1oXU065064@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Jul 28 12:01:50 2018 New Revision: 475528 URL: https://svnweb.freebsd.org/changeset/ports/475528 Log: Implements an SPDX tag/value and RDF parser, validator and handler in Python. Features: - API to create and manipulate SPDX documents. - Parse and create Tag/Value format SPDX files - Parse and create RDF format SPDX files WWW: https://github.com/spdx/tools-python PR: 229438 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Added: head/misc/py-spdx-tools/ head/misc/py-spdx-tools/Makefile (contents, props changed) head/misc/py-spdx-tools/distinfo (contents, props changed) head/misc/py-spdx-tools/pkg-descr (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Sat Jul 28 12:00:34 2018 (r475527) +++ head/misc/Makefile Sat Jul 28 12:01:50 2018 (r475528) @@ -437,6 +437,7 @@ SUBDIR += py-socli SUBDIR += py-spdx SUBDIR += py-spdx-lookup + SUBDIR += py-spdx-tools SUBDIR += py-tqdm SUBDIR += py-yolk SUBDIR += pylize Added: head/misc/py-spdx-tools/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-spdx-tools/Makefile Sat Jul 28 12:01:50 2018 (r475528) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= spdx-tools +DISTVERSION= 0.5.4 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Parses, validates and creates SPDX documents + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rdflib>=0:textproc/py-rdflib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} + +USES= python:2.7 +USE_PYTHON= distutils autoplist + +CONFLICTS_INSTALL= py??-spdx-* +NO_ARCH= yes +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR} \; + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include <bsd.port.mk> Added: head/misc/py-spdx-tools/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-spdx-tools/distinfo Sat Jul 28 12:01:50 2018 (r475528) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530184957 +SHA256 (spdx-tools-0.5.4.tar.gz) = 3de4d499a9182a63ba9bb8a08b394cc9c618067095212cb51addb201bfeac202 +SIZE (spdx-tools-0.5.4.tar.gz) = 140247 Added: head/misc/py-spdx-tools/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-spdx-tools/pkg-descr Sat Jul 28 12:01:50 2018 (r475528) @@ -0,0 +1,9 @@ +Implements an SPDX tag/value and RDF parser, validator and handler in Python. + +Features: + +- API to create and manipulate SPDX documents. +- Parse and create Tag/Value format SPDX files +- Parse and create RDF format SPDX files + +WWW: https://github.com/spdx/tools-python
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807281201.w6SC1oXU065064>