mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-12-02 22:27:36 -05:00
dev-python/python-sbom: new package, add 0.3.1
Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
3 files changed
+66
No files matched your search
@@ -0,0 +1,2 @@
|
||||
DIST python_sbom-0.3.1.tar.gz 289516 BLAKE2B 9ffb94eceffcfd0d0852e3bc957433bc50204ff76ab4bc4a52789e6e33c16e711f77b7095c8e2854a8e2d881b5397143bc170f92bf04cc5aac6a4a60bdd0fd89 SHA512 9e15870dcce4392ee11afec5538785c5a6631ba240899baaca4251282a693eb44b83c00682b78bb0d893360980a81e9b337d7bedfd752d8d8e209c7224b2881e
|
||||
DIST python_sbom-0.3.1.tar.gz.provenance 9822 BLAKE2B 33eb6dae587c9155857adc8e696372ce14c62169550af8502688df38d9916bccb75a246e869940dd184678d8cce84660d40f691e8108113b1625382cb5cd1df6 SHA512 b8834321ce2ba21bde21ce7c46f1d5da6971b2dc29151be405971b3ae6e33c3e2dd40991b36d162dab167fe5f8d3bb1681230a29380e63bc6f3fbbbe9a11c2d0
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bakedsnake@vagrantz.xyz</email>
|
||||
<name>bakedsnake</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">tox-dev/python-sbom</remote-id>
|
||||
<remote-id type="pypi">python-sbom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,52 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYPI_VERIFY_REPO=https://github.com/tox-dev/python-sbom
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{13..14} ) # pdm only supports up to python3.14
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="SBOMs for Python distributions: write PEP 770 CycloneDX SBOMs into wheels"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/python-sbom
|
||||
https://pypi.org/project/python-sbom/
|
||||
"
|
||||
|
||||
LICENSE="MIT Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/installer[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema-rs[${PYTHON_USEDEP}]
|
||||
dev-python/packageurl[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/zipremove[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/pdm[${PYTHON_USEDEP}]
|
||||
dev-python/uritools[${PYTHON_USEDEP}]
|
||||
dev-util/maturin
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{cov,mock} )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
EPYTEST_IGNORE=(
|
||||
tests/examples/delocate/test_delocate.py
|
||||
tests/examples/maturin/test_maturin_build.py
|
||||
tests/examples/cibuildwheel/test_cibuildwheel.py
|
||||
)
|
||||
|
||||
epytest
|
||||
}
|
||||
Reference in new issue
Block a user