Remove obsolete bits allowing to add manual build requirements

We only want to add what's detectable from the package metadata.
This commit is contained in:
Karolina Surma
2023-10-11 10:47:49 +02:00
committed by Karolina Surma
parent b7c1cdb63f
commit ba868ae3ce
7 changed files with 0 additions and 21 deletions
-1
View File
@@ -100,7 +100,6 @@ Configuration data is stored in a TOML file.
| Field | Description | Type |
| -------- | -------- | -------- |
| manual_build_requires | additional build requires, eg. `python3-sphinx` | list |
| test_method | `pytest`, `tox` | string |
| test_top_level | filter and test only top-level modules in %check | bool |
| unwanted_tests | test names to skip with pytest | list |
-1
View File
@@ -135,7 +135,6 @@ def fill_in_template(config):
extras=",".join(config.get_list("extras")),
license_files=" ".join(config.get_list("license_files")),
license=config.get_string("license"),
manual_build_requires=config.get_list("manual_build_requires"),
name=config.get_string("pypi_name"),
python_name=config.get_string("python_name"),
pypi_version=config.get_string("pypi_version"),
-5
View File
@@ -18,11 +18,6 @@ BuildRequires: python3-devel
%global _description %{expand:
{{description}}}
{% if manual_build_requires -%}
{% for br in manual_build_requires -%}
BuildRequires: {{br}}
{% endfor -%}
{% endif %}
%description %_description
%package -n python3-{{name}}
@@ -17,7 +17,6 @@ BuildRequires: python3-devel
%global _description %{expand:
This is package 'click' generated automatically by pyp2spec.}
%description %_description
%package -n python3-click
@@ -20,11 +20,6 @@ baseline parsing. Has configurable syntax: you can add new rules and even
replace existing ones. Pluggable: Adds syntax extensions to extend the parser.
High speed & safe by default}
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-pytest-benchmark
BuildRequires: python3-psutil
%description %_description
%package -n python3-markdown-it-py
@@ -17,7 +17,6 @@ BuildRequires: python3-devel
%global _description %{expand:
This is package 'sphinx' generated automatically by pyp2spec.}
%description %_description
%package -n python3-sphinx
@@ -15,13 +15,6 @@ Pluggable: Adds syntax extensions to extend the parser.
High speed & safe by default
'''
manual_build_requires = [
"python3-setuptools",
"python3-pytest",
"python3-pytest-benchmark",
"python3-psutil"
]
test_method = "pytest"
unwanted_tests = [
"test_file",