pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-cyclonedx-bom



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Mar 24 13:06:01 UTC 2024

Modified Files:
        pkgsrc/security/py-cyclonedx-bom: Makefile PLIST distinfo
Added Files:
        pkgsrc/security/py-cyclonedx-bom: ALTERNATIVES

Log Message:
py-cyclonedx-bom: updated to 4.1.3

v4.1.3
docs: imprve environment use cases and examples
fix: declared license texts as such, not as license name

v4.1.2
build: use poetry v1.8.1

v4.1.1
docs: improve example for programmatic call of CLI
fix: normalize package extras

v4.1.0
feat: support poetry multi-constraint dependencies


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-cyclonedx-bom/ALTERNATIVES
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/py-cyclonedx-bom/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py-cyclonedx-bom/PLIST \
    pkgsrc/security/py-cyclonedx-bom/distinfo

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

Modified files:

Index: pkgsrc/security/py-cyclonedx-bom/Makefile
diff -u pkgsrc/security/py-cyclonedx-bom/Makefile:1.4 pkgsrc/security/py-cyclonedx-bom/Makefile:1.5
--- pkgsrc/security/py-cyclonedx-bom/Makefile:1.4       Wed Jan  5 15:41:19 2022
+++ pkgsrc/security/py-cyclonedx-bom/Makefile   Sun Mar 24 13:06:01 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:19 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2024/03/24 13:06:01 adam Exp $
 
-DISTNAME=      cyclonedx-bom-1.5.3
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+DISTNAME=      cyclonedx_bom-4.1.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cyclonedx-bom/}
 
@@ -11,17 +10,20 @@ HOMEPAGE=   https://github.com/CycloneDX/c
 COMMENT=       Creates CycloneDX Software Bill of Materials for Python projects
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-cyclonedx-python-lib-[0-9]*:../../security/py-cyclonedx-python-lib
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-chardet>=5.1:../../converters/py-chardet
+DEPENDS+=      ${PYPKGPREFIX}-cyclonedx-python-lib>=6.1.0:../../security/py-cyclonedx-python-lib
+DEPENDS+=      ${PYPKGPREFIX}-packageurl>=0.11:../../devel/py-packageurl
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=22:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-pip-requirements-parser>=32.0:../../devel/py-pip-requirements-parser
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-cyclonedx-python-lib
+USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} cyclonedx-bom cyclonedx-bom-${PYVERSSUFFIX} || ${TRUE}
-       cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} cyclonedx-py cyclonedx-py-${PYVERSSUFFIX} || ${TRUE}
+       ${MV} cyclonedx-py cyclonedx-py-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-cyclonedx-bom/PLIST
diff -u pkgsrc/security/py-cyclonedx-bom/PLIST:1.1 pkgsrc/security/py-cyclonedx-bom/PLIST:1.2
--- pkgsrc/security/py-cyclonedx-bom/PLIST:1.1  Tue Dec  7 18:04:46 2021
+++ pkgsrc/security/py-cyclonedx-bom/PLIST      Sun Mar 24 13:06:01 2024
@@ -1,15 +1,69 @@
-@comment $NetBSD: PLIST,v 1.1 2021/12/07 18:04:46 wiz Exp $
-bin/cyclonedx-bom-${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2024/03/24 13:06:01 adam Exp $
 bin/cyclonedx-py-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/NOTICE
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/cyclonedx_py/__init__.py
 ${PYSITELIB}/cyclonedx_py/__init__.pyc
 ${PYSITELIB}/cyclonedx_py/__init__.pyo
-${PYSITELIB}/cyclonedx_py/client.py
-${PYSITELIB}/cyclonedx_py/client.pyc
-${PYSITELIB}/cyclonedx_py/client.pyo
+${PYSITELIB}/cyclonedx_py/__main__.py
+${PYSITELIB}/cyclonedx_py/__main__.pyc
+${PYSITELIB}/cyclonedx_py/__main__.pyo
+${PYSITELIB}/cyclonedx_py/_internal/__init__.py
+${PYSITELIB}/cyclonedx_py/_internal/__init__.pyc
+${PYSITELIB}/cyclonedx_py/_internal/__init__.pyo
+${PYSITELIB}/cyclonedx_py/_internal/cli.py
+${PYSITELIB}/cyclonedx_py/_internal/cli.pyc
+${PYSITELIB}/cyclonedx_py/_internal/cli.pyo
+${PYSITELIB}/cyclonedx_py/_internal/cli_common.py
+${PYSITELIB}/cyclonedx_py/_internal/cli_common.pyc
+${PYSITELIB}/cyclonedx_py/_internal/cli_common.pyo
+${PYSITELIB}/cyclonedx_py/_internal/environment.py
+${PYSITELIB}/cyclonedx_py/_internal/environment.pyc
+${PYSITELIB}/cyclonedx_py/_internal/environment.pyo
+${PYSITELIB}/cyclonedx_py/_internal/pipenv.py
+${PYSITELIB}/cyclonedx_py/_internal/pipenv.pyc
+${PYSITELIB}/cyclonedx_py/_internal/pipenv.pyo
+${PYSITELIB}/cyclonedx_py/_internal/poetry.py
+${PYSITELIB}/cyclonedx_py/_internal/poetry.pyc
+${PYSITELIB}/cyclonedx_py/_internal/poetry.pyo
+${PYSITELIB}/cyclonedx_py/_internal/requirements.py
+${PYSITELIB}/cyclonedx_py/_internal/requirements.pyc
+${PYSITELIB}/cyclonedx_py/_internal/requirements.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/args.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/args.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/args.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/cdx.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/cdx.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/cdx.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/io.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/io.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/io.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/license_trove_classifier.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/license_trove_classifier.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/license_trove_classifier.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/packaging.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/packaging.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/packaging.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/pep610.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/pep610.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/pep610.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/pep621.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/pep621.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/pep621.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/poetry.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/poetry.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/poetry.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/pyproject.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/pyproject.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/pyproject.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/secret.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/secret.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/secret.pyo
+${PYSITELIB}/cyclonedx_py/_internal/utils/toml.py
+${PYSITELIB}/cyclonedx_py/_internal/utils/toml.pyc
+${PYSITELIB}/cyclonedx_py/_internal/utils/toml.pyo
+${PYSITELIB}/cyclonedx_py/py.typed
Index: pkgsrc/security/py-cyclonedx-bom/distinfo
diff -u pkgsrc/security/py-cyclonedx-bom/distinfo:1.1 pkgsrc/security/py-cyclonedx-bom/distinfo:1.2
--- pkgsrc/security/py-cyclonedx-bom/distinfo:1.1       Tue Dec  7 18:04:46 2021
+++ pkgsrc/security/py-cyclonedx-bom/distinfo   Sun Mar 24 13:06:01 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2021/12/07 18:04:46 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/03/24 13:06:01 adam Exp $
 
-BLAKE2s (cyclonedx-bom-1.5.3.tar.gz) = 2ec162099866b2c90ffc6918c7eede31032a28fb5bcd1ab506b941b7b0593d29
-SHA512 (cyclonedx-bom-1.5.3.tar.gz) = beaf553fd9052dd07b8b8126120b133e714d8ce85b50354018ee2840fb95b8c4ddb3bf3baec65c62ea954ae7d4ba9f2579e4a0b16f490d512102ec51a24f6a33
-Size (cyclonedx-bom-1.5.3.tar.gz) = 11699 bytes
+BLAKE2s (cyclonedx_bom-4.1.3.tar.gz) = 67a8297b1ede9ba85b3578c92e650d49f577cf448ea26b5314ee9a54e3e4bc1f
+SHA512 (cyclonedx_bom-4.1.3.tar.gz) = c1ad4393e8e697848f5fbccc5b55613bd33254dd46802006a7176c557da9ae6b9845c2362762d8d48f0e5ef3ffb9a6c15eec8272c6d603b5713d4852d02fa69c
+Size (cyclonedx_bom-4.1.3.tar.gz) = 789821 bytes

Added files:

Index: pkgsrc/security/py-cyclonedx-bom/ALTERNATIVES
diff -u /dev/null pkgsrc/security/py-cyclonedx-bom/ALTERNATIVES:1.1
--- /dev/null   Sun Mar 24 13:06:01 2024
+++ pkgsrc/security/py-cyclonedx-bom/ALTERNATIVES       Sun Mar 24 13:06:01 2024
@@ -0,0 +1 @@
+bin/cyclonedx-py @PREFIX@/bin/cyclonedx-py-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index