Compare commits
No commits in common. "c10s" and "imports/c10s/python-pyproject-metadata-0.7.1-7.el10" have entirely different histories.
c10s
...
imports/c1
@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
36
ci.fmf
36
ci.fmf
@ -1,36 +0,0 @@
|
|||||||
# vi: ts=2 sw=2 et ft=yaml:
|
|
||||||
|
|
||||||
summary: Basic smoke test
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
script: |
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
TMP_DIR="$(mktemp -d)"
|
|
||||||
pushd "$TMP_DIR"
|
|
||||||
|
|
||||||
# A very basic sanity test, since all this is already tested by unit tests
|
|
||||||
echo baz >README.md
|
|
||||||
python3 <<EOF
|
|
||||||
import pyproject_metadata, tomllib
|
|
||||||
|
|
||||||
PYPROJECT = """[project]
|
|
||||||
name = 'foo'
|
|
||||||
version = '0.1.2'
|
|
||||||
description = 'Hello world'
|
|
||||||
readme = 'README.md'
|
|
||||||
license = { text = 'foo license' }
|
|
||||||
"""
|
|
||||||
|
|
||||||
toml = tomllib.loads(PYPROJECT)
|
|
||||||
metadata = pyproject_metadata.StandardMetadata.from_pyproject(toml)
|
|
||||||
|
|
||||||
print(metadata.as_rfc822())
|
|
||||||
|
|
||||||
assert(metadata.name == "foo")
|
|
||||||
assert(metadata.license.text == "foo license")
|
|
||||||
assert(metadata.readme.text == "baz\n")
|
|
||||||
EOF
|
|
||||||
|
|
||||||
popd
|
|
||||||
rm -rf "$TMP_DIR"
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-*
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-pyproject-metadata
|
Name: python-pyproject-metadata
|
||||||
Version: 0.7.1
|
Version: 0.7.1
|
||||||
Release: 8%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: PEP 621 metadata parsing
|
Summary: PEP 621 metadata parsing
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -91,10 +91,6 @@ rm -rf html/{.buildinfo,.doctrees}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.7.1-8
|
|
||||||
- Bump release for October 2024 mass rebuild:
|
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.1-7
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.1-7
|
||||||
- Bump release for June 2024 mass rebuild
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user