Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c39eaf3c39 | ||
|
|
e10a8d7f50 | ||
|
|
91df6c5370 | ||
|
|
e0c0cac966 | ||
|
|
d42eaf7b42 | ||
|
|
2f74eed5e4 | ||
|
|
c206a3dc4e | ||
|
|
a81dd0cba7 |
9
packit.yaml
Normal file
9
packit.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
upstream_project_url: https://github.com/asottile/re-assert
|
||||
copy_upstream_release_description: false
|
||||
upstream_tag_template: v{version}
|
||||
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
@@ -8,9 +8,10 @@ License: MIT
|
||||
URL: https://github.com/asottile/re-assert
|
||||
Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildSystem: pyproject
|
||||
BuildOption(install): -l re_assert
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
|
||||
@@ -26,24 +27,7 @@ Summary: %{summary}
|
||||
%description -n python3-re-assert %{common_description}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n re-assert-%{version} -p1
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l re_assert
|
||||
|
||||
|
||||
%check
|
||||
%check -a
|
||||
%pytest
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user