Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyroma v4.1 #17

Merged
merged 3 commits into from
Dec 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% set name = "pyroma" %}
{% set import = "pyroma" %}
{% set entrypoint = "pyroma" %}
{% set version = "4.0" %}
{% set sha256 = "b41ed0e080fb3aa9a7b8359d0ce7af39bc9b59cb9e7d696c6521f525257cc128" %}
{% set version = "4.1" %}
{% set sha256 = "ff87335abce04efef0749ee63f2a4dbb9a3fa5a1eee285beaaaed65059dca89a" %}

package:
name: {{ name|lower }}
Expand All @@ -20,24 +20,25 @@ build:
- {{ entrypoint }} = {{ import }}:main

requirements:
build:
host:
- python >=3.7
- pip

run:
- docutils
- packaging
- pep517
- pygments
- pygments # Required internally by docutils for readme check to work
- python >=3.7
- python-build
- requests
- setuptools
- wheel
- setuptools >=61.0.0
- trove-classifiers >=2022.6.26

test:
requires:
- flit >=3.4
CAM-Gerlach marked this conversation as resolved.
Show resolved Hide resolved
- pip
- pytest
- setuptools >=60

source_files:
Expand All @@ -52,14 +53,13 @@ test:
- {{ entrypoint }} --help
# Copy the testdata into the expected place, sincei it isn't normally installed with the package
- cp -r $SRC_DIR/{{ import }}/testdata $(python -c 'from pathlib import Path; import {{ import }}; print(Path({{ import }}.__file__).parent)')/testdata
# Run with Pytest instead of Unittest to skip a test that fails when installed, fixed in Pyroma 4.1
- python -b -X dev -m pytest -vv -r a -k "not only_config" --color=yes --pyargs {{ import }}.tests
- python -b -X dev -m unittest -v pyroma.tests

about:
home: https://github.com/regebro/pyroma/
license: MIT
license_file: LICENSE.txt
summary: "Test your project's packaging friendliness"
summary: Test your project's packaging friendliness

extra:
recipe-maintainers:
Expand Down