1
0
python-hstspreload/python-hstspreload.spec
Markéta Machová c46649eaa8 Accepting request 1006800 from home:yarunachalam:branches:devel:languages:python
- Update to 2022.9.1
  - Automated updates to the HSTS preload list on 2022-9-1
  * Automated updates to the HSTS preload list on 2022-8-1
  * Fix build module name
  * Automated updates to the HSTS preload list on 2022-7-10
  * forgot flake8
  * Also update the test URL
  * Move requirements to their own directory
  * Allow manually running cron.sh
  * Update branch from 'master' to 'main' of Chromium repository
  * Add explicit support for Python 3.9 and 3.10
  * Automated updates to the HSTS preload list on 2021-12-1
  * Automated updates to the HSTS preload list on 2021-11-1
  * Automated updates to the HSTS preload list on 2021-10-1
  * Automated updates to the HSTS preload list on 2021-9-1
  * Automated updates to the HSTS preload list on 2021-8-1
  * Run monthly instead of weekly
  * Use env field in GHA
  * Fix cron? add manual deploy
  * Automated updates to the HSTS preload list on 2021-7-5
  * Automated updates to the HSTS preload list on 2021-6-28
  * Automated updates to the HSTS preload list on 2021-6-21
  * Automated updates to the HSTS preload list on 2021-6-14
  * Automated updates to the HSTS preload list on 2021-5-31
  * Automated updates to the HSTS preload list on 2021-5-24
  * Automated updates to the HSTS preload list on 2021-5-17
  * Use main instead of master
  * Update cron.sh
  * Automated updates to the HSTS preload list on 2021-5-3
  * Automated updates to the HSTS preload list on 2021-4-26

OBS-URL: https://build.opensuse.org/request/show/1006800
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hstspreload?expand=0&rev=3
2022-09-29 09:22:31 +00:00

61 lines
1.9 KiB
RPMSpec

#
# spec file for package python-hstspreload
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-hstspreload
Version: 2022.9.1
Release: 0
Summary: Python Chromium HSTS Preload list
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/python-http/hstspreload
Source: https://files.pythonhosted.org/packages/source/h/hstspreload/hstspreload-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/python-http/hstspreload/master/test_hstspreload.py
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Chromium HSTS Preload list as a Python package.
%prep
%setup -q -n hstspreload-%{version}
cp %{SOURCE1} .
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check depends on httpx, which depends on hstspreload
# Also, depends on the huge static data, and tests seem to fail ATM.
#%%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog