mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-validate-pyproject.
* gnu/packages/python-check.scm (python-validate-pyproject): New variable. Change-Id: I40ab76b862f7bdd67babb6d17a8d50e9e208cbea
This commit is contained in:
parent
c94b504698
commit
16297f12db
1 changed files with 45 additions and 0 deletions
|
@ -3614,6 +3614,51 @@ supported environment, or act as a frontend to continuous integration
|
|||
servers.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-validate-pyproject
|
||||
(package
|
||||
(name "python-validate-pyproject")
|
||||
(version "0.24.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "validate_pyproject" version))
|
||||
(sha256
|
||||
(base32 "0wbbksrfaxc2c7y305wjinkk4y1jxdnc0vzfbf79ipaa6m8zr0p1"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; TODO: Full test suite requires schemas from
|
||||
;; <https://json.schemastore.org/pyproject.json> and obtained during CI
|
||||
;; just before running tests, figure out how to get schema files to
|
||||
;; cover all test cases, see <tools/cache_urls_for_tests.py> and
|
||||
;; <.github/workflows/ci.yml>.
|
||||
#~(list "--ignore=tests/test_examples.py"
|
||||
"--ignore=tests/test_pre_compile.py"
|
||||
"-k" (string-join
|
||||
(list "not test_downloaded"
|
||||
"test_valid_download_only_once"
|
||||
"test_cache_open_url")
|
||||
" and not "))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-packaging
|
||||
python-pytest-cov
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-trove-classifiers
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-fastjsonschema))
|
||||
(home-page "https://github.com/abravalheri/validate-pyproject/")
|
||||
(synopsis "Validation library for simple check on @code{pyproject.toml}")
|
||||
(description
|
||||
"Validation library and CLI tool for checking on @code{pyproject.toml}
|
||||
files using JSON Schema.")
|
||||
(license (list license:mpl2.0
|
||||
license:expat
|
||||
license:bsd-3))))
|
||||
|
||||
(define-public python-vcrpy
|
||||
(package
|
||||
(name "python-vcrpy")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue