pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-cyclonedx-python-lib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Dec  7 18:05:29 UTC 2021

Added Files:
        pkgsrc/security/py-cyclonedx-python-lib: DESCR Makefile PLIST distinfo
        pkgsrc/security/py-cyclonedx-python-lib/patches: patch-setup.py

Log Message:
security/py-cyclonedx-python-lib: import py-cyclonedx-python-lib-0.11.1

This CycloneDX module for Python can generate valid CycloneDX
bill-of-material document containing an aggregate of all project
dependencies.

This module is not designed for standalone use.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-cyclonedx-python-lib/DESCR \
    pkgsrc/security/py-cyclonedx-python-lib/Makefile \
    pkgsrc/security/py-cyclonedx-python-lib/PLIST \
    pkgsrc/security/py-cyclonedx-python-lib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/py-cyclonedx-python-lib/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/security/py-cyclonedx-python-lib/DESCR
diff -u /dev/null pkgsrc/security/py-cyclonedx-python-lib/DESCR:1.1
--- /dev/null   Tue Dec  7 18:05:29 2021
+++ pkgsrc/security/py-cyclonedx-python-lib/DESCR       Tue Dec  7 18:05:29 2021
@@ -0,0 +1,5 @@
+This CycloneDX module for Python can generate valid CycloneDX
+bill-of-material document containing an aggregate of all project
+dependencies.
+
+This module is not designed for standalone use.
Index: pkgsrc/security/py-cyclonedx-python-lib/Makefile
diff -u /dev/null pkgsrc/security/py-cyclonedx-python-lib/Makefile:1.1
--- /dev/null   Tue Dec  7 18:05:29 2021
+++ pkgsrc/security/py-cyclonedx-python-lib/Makefile    Tue Dec  7 18:05:29 2021
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/12/07 18:05:29 wiz Exp $
+
+DISTNAME=      cyclonedx-python-lib-0.11.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    security python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cyclonedx-python-lib/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/CycloneDX/cyclonedx-python-lib
+COMMENT=       Python library for generating CycloneDX SBOMs
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-packageurl-[0-9]*:../../devel/py-packageurl
+DEPENDS+=      ${PYPKGPREFIX}-requirements-parser-[0-9]*:../../devel/py-requirements-parser
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+DEPENDS+=      ${PYPKGPREFIX}-types-setuptools-[0-9]*:../../devel/py-types-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-types-toml-[0-9]*:../../devel/py-types-toml
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-cyclonedx-python-lib/PLIST
diff -u /dev/null pkgsrc/security/py-cyclonedx-python-lib/PLIST:1.1
--- /dev/null   Tue Dec  7 18:05:29 2021
+++ pkgsrc/security/py-cyclonedx-python-lib/PLIST       Tue Dec  7 18:05:29 2021
@@ -0,0 +1,80 @@
+@comment $NetBSD: PLIST,v 1.1 2021/12/07 18:05:29 wiz Exp $
+${PYSITELIB}/cyclonedx/__init__.py
+${PYSITELIB}/cyclonedx/__init__.pyc
+${PYSITELIB}/cyclonedx/__init__.pyo
+${PYSITELIB}/cyclonedx/exception/__init__.py
+${PYSITELIB}/cyclonedx/exception/__init__.pyc
+${PYSITELIB}/cyclonedx/exception/__init__.pyo
+${PYSITELIB}/cyclonedx/exception/parser.py
+${PYSITELIB}/cyclonedx/exception/parser.pyc
+${PYSITELIB}/cyclonedx/exception/parser.pyo
+${PYSITELIB}/cyclonedx/model/__init__.py
+${PYSITELIB}/cyclonedx/model/__init__.pyc
+${PYSITELIB}/cyclonedx/model/__init__.pyo
+${PYSITELIB}/cyclonedx/model/bom.py
+${PYSITELIB}/cyclonedx/model/bom.pyc
+${PYSITELIB}/cyclonedx/model/bom.pyo
+${PYSITELIB}/cyclonedx/model/component.py
+${PYSITELIB}/cyclonedx/model/component.pyc
+${PYSITELIB}/cyclonedx/model/component.pyo
+${PYSITELIB}/cyclonedx/model/vulnerability.py
+${PYSITELIB}/cyclonedx/model/vulnerability.pyc
+${PYSITELIB}/cyclonedx/model/vulnerability.pyo
+${PYSITELIB}/cyclonedx/output/__init__.py
+${PYSITELIB}/cyclonedx/output/__init__.pyc
+${PYSITELIB}/cyclonedx/output/__init__.pyo
+${PYSITELIB}/cyclonedx/output/json.py
+${PYSITELIB}/cyclonedx/output/json.pyc
+${PYSITELIB}/cyclonedx/output/json.pyo
+${PYSITELIB}/cyclonedx/output/schema.py
+${PYSITELIB}/cyclonedx/output/schema.pyc
+${PYSITELIB}/cyclonedx/output/schema.pyo
+${PYSITELIB}/cyclonedx/output/xml.py
+${PYSITELIB}/cyclonedx/output/xml.pyc
+${PYSITELIB}/cyclonedx/output/xml.pyo
+${PYSITELIB}/cyclonedx/parser/__init__.py
+${PYSITELIB}/cyclonedx/parser/__init__.pyc
+${PYSITELIB}/cyclonedx/parser/__init__.pyo
+${PYSITELIB}/cyclonedx/parser/conda.py
+${PYSITELIB}/cyclonedx/parser/conda.pyc
+${PYSITELIB}/cyclonedx/parser/conda.pyo
+${PYSITELIB}/cyclonedx/parser/environment.py
+${PYSITELIB}/cyclonedx/parser/environment.pyc
+${PYSITELIB}/cyclonedx/parser/environment.pyo
+${PYSITELIB}/cyclonedx/parser/pipenv.py
+${PYSITELIB}/cyclonedx/parser/pipenv.pyc
+${PYSITELIB}/cyclonedx/parser/pipenv.pyo
+${PYSITELIB}/cyclonedx/parser/poetry.py
+${PYSITELIB}/cyclonedx/parser/poetry.pyc
+${PYSITELIB}/cyclonedx/parser/poetry.pyo
+${PYSITELIB}/cyclonedx/parser/requirements.py
+${PYSITELIB}/cyclonedx/parser/requirements.pyc
+${PYSITELIB}/cyclonedx/parser/requirements.pyo
+${PYSITELIB}/cyclonedx/py.typed
+${PYSITELIB}/cyclonedx/schema/bom-1.0.xsd
+${PYSITELIB}/cyclonedx/schema/bom-1.1.xsd
+${PYSITELIB}/cyclonedx/schema/bom-1.2-strict.schema.json
+${PYSITELIB}/cyclonedx/schema/bom-1.2.schema.json
+${PYSITELIB}/cyclonedx/schema/bom-1.2.xsd
+${PYSITELIB}/cyclonedx/schema/bom-1.3-strict.schema.json
+${PYSITELIB}/cyclonedx/schema/bom-1.3.proto
+${PYSITELIB}/cyclonedx/schema/bom-1.3.schema.json
+${PYSITELIB}/cyclonedx/schema/bom-1.3.xsd
+${PYSITELIB}/cyclonedx/schema/ext/bom-descriptor-0.9.xsd
+${PYSITELIB}/cyclonedx/schema/ext/bom-descriptor-1.0.xsd
+${PYSITELIB}/cyclonedx/schema/ext/dependency-graph-1.0.xsd
+${PYSITELIB}/cyclonedx/schema/ext/vulnerability-1.0-SNAPSHOT.schema.json
+${PYSITELIB}/cyclonedx/schema/ext/vulnerability-1.0.xsd
+${PYSITELIB}/cyclonedx/schema/spdx.schema.json
+${PYSITELIB}/cyclonedx/schema/spdx.xsd
+${PYSITELIB}/cyclonedx/utils/__init__.py
+${PYSITELIB}/cyclonedx/utils/__init__.pyc
+${PYSITELIB}/cyclonedx/utils/__init__.pyo
+${PYSITELIB}/cyclonedx/utils/conda.py
+${PYSITELIB}/cyclonedx/utils/conda.pyc
+${PYSITELIB}/cyclonedx/utils/conda.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
Index: pkgsrc/security/py-cyclonedx-python-lib/distinfo
diff -u /dev/null pkgsrc/security/py-cyclonedx-python-lib/distinfo:1.1
--- /dev/null   Tue Dec  7 18:05:29 2021
+++ pkgsrc/security/py-cyclonedx-python-lib/distinfo    Tue Dec  7 18:05:29 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/12/07 18:05:29 wiz Exp $
+
+BLAKE2s (cyclonedx-python-lib-0.11.1.tar.gz) = 8e639a7dba82ed7588e0e4cacfd22878048d6c8efc3f0f1703a68056138a32df
+SHA512 (cyclonedx-python-lib-0.11.1.tar.gz) = ed92383fce3d98bd8ed28c1591fc92f3670f6450106fdb4898622bef3c79d0b1140c5878dc5436fbb3a3bcfffff7245744d4e9e505685925f24fef2be847a39c
+Size (cyclonedx-python-lib-0.11.1.tar.gz) = 98048 bytes
+SHA1 (patch-setup.py) = 1d077726a87994685b9035afb379d80dc6c4c6d3

Index: pkgsrc/security/py-cyclonedx-python-lib/patches/patch-setup.py
diff -u /dev/null pkgsrc/security/py-cyclonedx-python-lib/patches/patch-setup.py:1.1
--- /dev/null   Tue Dec  7 18:05:29 2021
+++ pkgsrc/security/py-cyclonedx-python-lib/patches/patch-setup.py      Tue Dec  7 18:05:29 2021
@@ -0,0 +1,25 @@
+$NetBSD: patch-setup.py,v 1.1 2021/12/07 18:05:29 wiz Exp $
+
+Be less restrictive in dependencies.
+
+--- setup.py.orig      2021-11-10 15:42:02.183635700 +0000
++++ setup.py
+@@ -13,12 +13,12 @@ package_data = \
+ {'': ['*'], 'cyclonedx': ['schema/*', 'schema/ext/*']}
+ 
+ install_requires = \
+-['packageurl-python>=0.9.4,<0.10.0',
+- 'requirements_parser>=0.2.0,<0.3.0',
+- 'setuptools>=50.3.2,<51.0.0',
+- 'toml>=0.10.2,<0.11.0',
+- 'types-setuptools>=57.4.2,<58.0.0',
+- 'types-toml>=0.10.1,<0.11.0']
++['packageurl-python>=0.9.4',
++ 'requirements_parser>=0.2.0',
++ 'setuptools>=50.3.2',
++ 'toml>=0.10.2',
++ 'types-setuptools>=57.4.2',
++ 'types-toml>=0.10.1']
+ 
+ extras_require = \
+ {':python_version >= "3.6" and python_version < "3.8"': ['importlib-metadata>=4.8.1,<5.0.0',



Home | Main Index | Thread Index | Old Index