17
0

Compare commits

9 Commits

Author SHA256 Message Date
bf2f8f374c Accepting request 1109386 from devel:languages:python:pytest
- Stop using greedy globs in %files.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1109386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cookies?expand=0&rev=5
2023-09-07 19:13:18 +00:00
63923b3399 - 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
3960b250d9 Accepting request 1085823 from devel:languages:python:pytest
- 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/request/show/1085823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cookies?expand=0&rev=4
2023-05-10 14:18:45 +00:00
498394e858 - 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
6013a4ac6a Accepting request 893353 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/893353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cookies?expand=0&rev=3
2021-05-16 21:41:43 +00:00
8e861c734f 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
43c5a600aa Accepting request 864997 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/864997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cookies?expand=0&rev=2
2021-01-20 17:29:13 +00:00
2a43de03a5 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
9a1e672017 Accepting request 825364 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/825364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cookies?expand=0&rev=1
2020-08-10 13:08:32 +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