17
0

Compare commits

4 Commits

Author SHA256 Message Date
c5c4eb3da0 - Stop using greedy globs in %files.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=9
2023-09-07 05:27:11 +00:00
211cee5326 - update to 0.7.0:
* Fixes for Cookiecutter v2.1.0 and newer (#63).
  * Update `bdist_wheel` info in setup.cfg.
  * Update dependencies and require Python 3.6 or newer. Return a
    `pathlib.Path` to the generated project via
    `Result.project_path`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=7
2023-05-09 20:52:59 +00:00
087ea01d98 Accepting request 893292 from home:bnavigator:branches:devel:languages:python:pytest
- Don't build two identical packages python{3,38}-pytest-cookies

OBS-URL: https://build.opensuse.org/request/show/893292
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=5
2021-05-15 20:52:56 +00:00
ab986c01c4 Accepting request 864588 from home:jayvdb:branches:devel:languages:python:pytest
- Submit as python 3.8 only package on Tumbleweed to match cookiecutter

OBS-URL: https://build.opensuse.org/request/show/864588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=3
2021-01-20 13:56:34 +00:00
4 changed files with 43 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3056dbfe83c0ec2b732b129df94a096a9cc044dd03e86b79bfb8751f3edfdd3
size 14369

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d112331e23da068304ff4c35c03344c091418411aa7aba299deb18ea0691280
size 14278

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Thu Sep 7 05:26:34 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Stop using greedy globs in %files.
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue May 9 20:51:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.7.0:
* Fixes for Cookiecutter v2.1.0 and newer (#63).
* Update `bdist_wheel` info in setup.cfg.
* Update dependencies and require Python 3.6 or newer. Return a
`pathlib.Path` to the generated project via
`Result.project_path`
-------------------------------------------------------------------
Sat May 15 10:20:11 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Don't build two identical packages python{3,38}-pytest-cookies
-------------------------------------------------------------------
Wed Jan 20 08:06:16 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Submit as python 3.8 only package on Tumbleweed to match cookiecutter
-------------------------------------------------------------------
Sun May 10 12:32:56 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-cookies
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,25 +16,26 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
# cookiecutter is only available for python3
%define pythons python3
Name: python-pytest-cookies
Version: 0.5.1
Version: 0.7.0
Release: 0
Summary: Cookiecutter template pytest plugin
License: MIT
Group: Development/Languages/Python
URL: https://github.com/hackebrot/pytest-cookies
Source: https://github.com/hackebrot/pytest-cookies/archive/%{version}.tar.gz#/pytest-cookies-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: cookiecutter >= 1.4.0
Requires: python-pytest >= 3.3.0
Requires: cookiecutter >= 2.1.0
Requires: python-pytest >= 3.9.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 3.3.0}
BuildRequires: cookiecutter >= 1.4.0
BuildRequires: %{python_module pytest >= 3.9.0}
BuildRequires: cookiecutter >= 2.1.0
# /SECTION
%python_subpackages
@@ -45,10 +46,10 @@ The pytest plugin for your Cookiecutter templates.
%setup -q -n pytest-cookies-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +58,7 @@ The pytest plugin for your Cookiecutter templates.
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_cookies
%{python_sitelib}/pytest_cookies-%{version}.dist-info
%changelog