#7 Update to upstream release 0.4.0
Merged 3 years ago by jscotka. Opened 3 years ago by lachmanfrantisek.
rpms/ lachmanfrantisek/python-requre 0.4.0-f32-update  into  f32

file added
+1
@@ -0,0 +1,1 @@ 

+ /requre-0.4.0.tar.gz

file added
+47
@@ -0,0 +1,47 @@ 

+ ---

+ specfile_path: fedora/python-requre.spec

+ synced_files:

+   - fedora/changelog

+ # https://packit.dev/docs/configuration/#top-level-keys

+ downstream_package_name: python-requre

+ upstream_project_url: https://github.com/packit/requre

+ # we are setting this so we can use packit from requre's dist-git

+ # packit can't know what's the upstream name when running from distgit

+ upstream_package_name: requre

+ actions:

+   # we need this b/c `git archive` doesn't put all the metadata in the tarball:

+   #   LookupError: setuptools-scm was unable to detect version for '/builddir/build/BUILD/requre-0.11.1'.

+   #   Make sure you're either building from a fully intact git repository or PyPI tarballs.

+   create-archive:

+     - python3 setup.py sdist --dist-dir ./fedora/

+     - bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"

+   get-current-version: python3 setup.py --version

+ jobs:

+   - job: sync_from_downstream

+     trigger: commit

+   - job: propose_downstream

+     trigger: release

+     metadata:

+       dist_git_branches: fedora-all

+   - job: copr_build

+     trigger: pull_request

+     metadata:

+       targets:

+         - fedora-all

+   - job: copr_build

+     trigger: commit

+     metadata:

+       branch: master

+       targets:

+         - fedora-stable

+       project: packit-master

+       list_on_homepage: True

+       preserve_project: True

+   - job: copr_build

+     trigger: release

+     metadata:

+       targets:

+         - fedora-stable

+       project: packit-releases

+       list_on_homepage: True

+       preserve_project: True

file added
+3
@@ -0,0 +1,3 @@ 

+ This repository is maintained by packit.

+ https://packit.dev/

+ The file was generated using packit 0.16.0.

file added
+63
@@ -0,0 +1,63 @@ 

+ %global srcname requre

+ 

+ Name:           python-%{srcname}

+ Version:        0.4.0

+ Release:        1%{?dist}

+ Summary:        Python library what allows re/store output of various objects for testing

+ 

+ License:        MIT

+ URL:            https://github.com/packit/requre

+ Source0:        %{pypi_source}

+ BuildArch:      noarch

+ 

+ BuildRequires:  python3-devel

+ BuildRequires:  python3dist(click)

+ BuildRequires:  python3dist(pytest)

+ BuildRequires:  python3dist(pyyaml)

+ BuildRequires:  python3dist(requests)

+ BuildRequires:  python3dist(setuptools)

+ BuildRequires:  python3dist(setuptools-scm)

+ BuildRequires:  python3dist(setuptools-scm-git-archive)

+ BuildRequires:  python3dist(sphinx)

+ 

+ %description

+ REQUest REcordingRequre [rekure] - Is Library for storing output of various

+ function and methods to persistent storage and be able to replay the stored

+ output to functions.

+ 

+ %package -n     python3-%{srcname}

+ Summary:        %{summary}

+ 

+ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides

+ %if 0%{?fedora} < 33

+ %{?python_provide:%python_provide python3-%{srcname}}

+ %endif

+ 

+ %description -n python3-%{srcname}

+ REQUest REcordingRequre [rekure] - Is Library for storing output of various

+ function and methods to persistent storage and be able to replay the stored

+ output to functions.

+ 

+ %prep

+ %autosetup -n %{srcname}-%{version}

+ # Remove bundled egg-info

+ rm -rf %{srcname}.egg-info

+ 

+ %build

+ %py3_build

+ 

+ %install

+ %py3_install

+ 

+ %files -n python3-%{srcname}

+ %license LICENSE

+ %doc README.md

+ %{_bindir}/requre-patch

+ %{python3_sitelib}/%{srcname}

+ %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info

+ 

+ %changelog

+ * Wed Sep 22 2020 Jan Ščotka <jscotka@redhat.com> - 0.4.0-1

+ - New upstream release 0.4.0

+ * Wed Jan 15 2020 Jan Ščotka <jscotka@redhat.com> - 0.2.0-1

+ - Initial package.

file added
+1
@@ -0,0 +1,1 @@ 

+ SHA512 (requre-0.4.0.tar.gz) = 85293577f56e19dd0fad13bb5e118ac2ab39d7570d640a754b9d8d8054078c89c949d4695ef018915b17a2f2428f1635032352dcf3c9a036a2d633013cc35dd9

Upstream tag: 0.4.0
Upstream commit: 6957453b

Pull-Request has been merged by jscotka

3 years ago