#4 Update f39 to upstream release 2.0.1
Merged 10 months ago by abompard. Opened 10 months ago by packit.
rpms/ packit/python-flask-oidc 2.0.1-f39-update-propose_downstream  into  f39

[packit] 2.0.1 upstream release
Packit • 10 months ago  
file modified
+1
@@ -4,3 +4,4 @@ 

  /flask-oidc-1.1.1.tar.gz

  /flask-oidc-1.4.0.tar.gz

  /1.5.0.tar.gz

+ /flask_oidc-2.0.1.tar.gz

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

+ # See the documentation for more information:

+ # https://packit.dev/docs/configuration/

+ 

+ specfile_path: python-flask-oidc.spec

+ 

+ issue_repository: https://github.com/fedora-infra/flask-oidc

+ 

+ # add or remove files that should be synced

+ files_to_sync:

+     - python-flask-oidc.spec

+     - .packit.yaml

+ 

+ # name in upstream package repository or registry (e.g. in PyPI)

+ upstream_package_name: flask-oidc

+ # downstream (Fedora) RPM package name

+ downstream_package_name: python-flask-oidc

+ 

+ # dependencies needed to prepare for and build the source RPM

+ srpm_build_deps:

+   - wget

+   - poetry

+   - curl

+   - pytest

+ 

+ actions:

+   post-upstream-clone:

+     # fetch specfile from src.fp.o

+     - "curl -o python-flask-oidc.spec https://src.fedoraproject.org/rpms/python-flask-oidc/raw/main/f/python-flask-oidc.spec"

+     # Install Poetry

+     - "sh -c 'curl -sSL https://install.python-poetry.org | python3 -'"

+   get-current-version:

+     # fetch the version number of the package from the setup.py file

+     - "poetry version -s"

+   create-archive:

+       - "poetry build -f sdist"

+       - "sh -c 'echo dist/flask_oidc-$(poetry version -s).tar.gz'"

+ 

+ jobs:

+   # upon upstream PRs, perform COPR builds

+   - job: copr_build

+     trigger: pull_request

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # upon upstream PRs, test builds

+   - job: tests

+     trigger: pull_request

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # upon upstream releases, perform COPR builds

+   - job: copr_build

+     trigger: release

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # upon upstream releases, test builds

+   - job: tests

+     trigger: release

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # upon downstream changes, create a PR upstream with sync'd files from above

+   - job: sync_from_downstream

+     trigger: commit

+ 

+   # land upstream release in fedora dist-git - no builds

+   - job: propose_downstream

+     trigger: release

+     metadata:

+       dist_git_branches:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # create an srpm from upstream and submit a scratch build to koji

+   - job: production_build

+     trigger: release

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # downstream automation

+ 

+   # trigger a build in koji for a new dist-git commit

+   - job: koji_build

+     trigger: commit

+     metadata:

+       dist_git_branches:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # create a new update in bodhi for a successful koji build. directly related to `koji_build`

+   - job: bodhi_update

+     trigger: commit

+     metadata:

+       dist_git_branches:

+         # Don't create an update on Rawhide.

+         - fedora-branched

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

+ This repository is maintained by packit.

+ https://packit.dev/

+ The file was generated using packit 0.79.0.post2+g93f33d9.

file modified
+45 -47
@@ -1,72 +1,70 @@ 

- %global srcname flask_oidc

- %global tar_name flask-oidc

- %global sum An openID Connect support for Flask

+ %global project_name flask-oidc

+ %global mod_name flask_oidc

  

- Name:           python-%{tar_name}

- Version:        1.5.0

- Release:        5%{?dist}

- Summary:        %{sum}

+ Name:           python-%{project_name}

+ Version:        2.0.1

+ Release:        1%{?dist}

+ Summary:        OpenID Connect extension for Flask

  

  License:        BSD-2-Clause

  URL:            https://github.com/fedora-infra/flask-oidc

- Source0:        %{url}/archive/refs/tags/%{version}.tar.gz

+ Source0:        %pypi_source %{mod_name}

  

  BuildArch:      noarch

+ BuildRequires:  python3-devel

+ BuildRequires:  poetry

+ BuildRequires:  python3-pytest

+ BuildRequires:  python3-pytest-cov

+ BuildRequires:  python3-responses

  

- %description

+ %global _description %{expand:

  OpenID Connect support for Flask.

  This library should work with any standards compliant

- OpenID Connect provider. It has been tested with:

- Google+ Login, Ipsilon

- 

- %package -n         python3-%{tar_name}

- Summary:            %{sum}

- 

- Requires:           python3-setuptools

- Requires:           python3-flask

- Requires:           python3-itsdangerous

- Requires:           python3-oauth2client

- Requires:           python3-six

- BuildRequires:      python3-pip

- BuildRequires:      python3-jwt

- BuildRequires:      python3-wheel

- BuildRequires:      python3-flask

- BuildRequires:      python3-itsdangerous

- BuildRequires:      python3-oauth2client

- BuildRequires:      python3-six

- BuildRequires:      python3-devel

- BuildRequires:      python3-setuptools

- BuildRequires:      python3-nose

- BuildRequires:      python3-mock

- 

- 

- %{?python_provide:%python_provide python3-%{tar_name}}

- 

- %description -n python3-%{tar_name}

- Currently designed around Google’s oauth2client library and OpenID Connect

- implementation. May or may not interoperate with other OpenID Connect

- identity providers, for example, Microsoft’s Azure Active Directory

+ OpenID Connect provider. It has been tested with

+ Ipsilon.}

+ 

+ %description %_description

+ 

+ %package -n python3-%{project_name}

+ Summary:        %{summary}

+ 

+ %description -n python3-%{project_name} %_description

+ 

  

  %prep

- %autosetup -n %{tar_name}-%{version}

+ %autosetup -p1 -n %{mod_name}-%{version}

+ 

+ 

+ %generate_buildrequires

+ %pyproject_buildrequires -t

+ 

  

  %build

- %py3_build

+ %pyproject_wheel

  

  %install

- %py3_install

+ %pyproject_install

+ %pyproject_save_files %{mod_name}

  

  %check

- %{__python3} setup.py test

+ %pytest --cov %{mod_name} tests

  

- %files -n python3-%{tar_name}

+ %files -n python3-%{project_name} -f %{pyproject_files}

  %doc README.rst

  %license LICENSE.txt

- %{python3_sitelib}/%{srcname}/

- %{python3_sitelib}/*.egg-info/

- %{_bindir}/oidc-register

+ 

  

  %changelog

+ * Tue Aug 22 2023 Packit <hello@packit.dev> - 2.0.1-1

+ - Version 2.0.1 (Aurélien Bompard)

+ - Add the extlinks extension to sphinx (Aurélien Bompard)

+ - Disable user info collection if the `client_secrets` don't contain the URL (Aurélien Bompard)

+ - Fix README (Aurélien Bompard)

+ - Add test status in README (Aurélien Bompard)

+ - Add Packit config (Aurélien Bompard)

+ - Handle older versions of Werkzeug (Aurélien Bompard)

+ - Some doc fixes (Aurélien Bompard)

+ 

  * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-5

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (1.5.0.tar.gz) = a63624839b582a6422ceeb81d32ce5df4b3b35a0c763c1487dfb9b282639d69ff770395554ce50a18ed26570e1a8ae9df6b44a6e7c32e8f81e080435ff9d17dd

+ SHA512 (flask_oidc-2.0.1.tar.gz) = 6a9a0a07b75e7d41ee1165c95c3c2e6a119e14965b3af842d38d79824df8d9276cb95d3d42e5ac5a07f6b27041357eb6afb89b607cbb3e3687aac629b795cfed

Upstream tag: 2.0.1
Upstream commit: 06f45c0c

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):

git fetch https://src.fedoraproject.org/forks/packit/rpms/python-flask-oidc.git refs/heads/*:refs/remotes/packit/*
git checkout packit/2.0.1-f39-update-propose_downstream

Pull-Request has been merged by abompard

10 months ago