Compare commits

...

11 Commits
epel8 ... i9ce

Author SHA1 Message Date
MSVSphere Packaging Team 79beceacb6 Merge and update
1 year ago
MSVSphere Packaging Team e0921b79fb Remove unnecessary files
1 year ago
Sergey Cherevko 1cc7ff033c
Initial import from EPEL 9 upstream
2 years ago
Carl George 4b81959652 Disable docs subpackage on EPEL
3 years ago
Carl George 4b656a9eb1 Latest upstream 0.9.0
3 years ago
Fedora Release Engineering a5501394f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3 years ago
Carl George f1e9afa247 Latest upstream 0.8.0
4 years ago
Python Maint c88153e5b5 Rebuilt for Python 3.10
4 years ago
Charalampos Stratakis 9d5e410ef6 Update to 0.7.0 (rhbz#1927133)
4 years ago
Fedora Release Engineering 2054075b07 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Carl George 0cda6581f7 Add doc subpackage
4 years ago

2
.gitignore vendored

@ -1 +1 @@
trustme-*.tar.gz SOURCES/trustme-0.9.0.tar.gz

@ -0,0 +1 @@
f8aafe9fdf7e501161c86255316faa5d38342369 SOURCES/trustme-0.9.0.tar.gz

@ -1,12 +1,4 @@
# what it's called on pypi
%global srcname trustme %global srcname trustme
# what it's imported as
%global libname %{srcname}
# name of egg info directory
%global eggname %{srcname}
# package name fragment
%global pkgname %{srcname}
%global common_description %{expand: %global common_description %{expand:
You wrote a cool network client or server. It encrypts connections using TLS. You wrote a cool network client or server. It encrypts connections using TLS.
Your test suite needs to make TLS connections to itself. Uh oh. Your test Your test suite needs to make TLS connections to itself. Uh oh. Your test
@ -18,10 +10,14 @@ which nobody trusts. But you can trust it. Trust me.}
%bcond_without tests %bcond_without tests
%if %{defined fedora}
%bcond_without docs
%endif
Name: python-%{pkgname} Name: python-%{srcname}
Version: 0.6.0 Version: 0.9.0
Release: 4%{?dist} Release: 1%{?dist}
Summary: #1 quality TLS certs while you wait, for the discerning tester Summary: #1 quality TLS certs while you wait, for the discerning tester
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://github.com/python-trio/trustme URL: https://github.com/python-trio/trustme
@ -32,30 +28,47 @@ BuildArch: noarch
%description %{common_description} %description %{common_description}
%package -n python3-%{pkgname} %package -n python3-%{srcname}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
%if %{with tests} %if %{with tests}
BuildRequires: %{py3_dist pytest pyopenssl service-identity cryptography idna} BuildRequires: %{py3_dist pytest pyopenssl service-identity}
%endif %endif
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{pkgname} %{common_description} %description -n python3-%{srcname} %{common_description}
%if %{with docs}
%package -n python-%{srcname}-doc
Summary: Documentation for %{name}
BuildRequires: %{py3_dist sphinx sphinxcontrib-trio}
%description -n python-%{srcname}-doc
Documentation for %{name}.
%endif
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n %{srcname}-%{version}
rm -rf %{eggname}.egg-info
%generate_buildrequires
%pyproject_buildrequires -r
%build %build
%py3_build %pyproject_wheel
%if %{with docs}
sphinx-build-3 docs/source html
%endif
%install %install
%py3_install %pyproject_install
%pyproject_save_files %{srcname}
%if %{with tests} %if %{with tests}
@ -68,18 +81,47 @@ rm -rf %{eggname}.egg-info
%else %else
%pytest --verbose %pytest --verbose
%endif %endif
%endif %endif
%files -n python3-%{pkgname} %files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE LICENSE.MIT LICENSE.APACHE2
%doc README.rst %doc README.rst
%{python3_sitelib}/%{libname}
%{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info
%if %{with docs}
%files -n python-%{srcname}-doc
%license LICENSE LICENSE.MIT LICENSE.APACHE2
%doc html
%endif
%changelog %changelog
* Fri Apr 28 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 0.9.0-1
- Rebuilt for MSVSphere 9.1
* Thu Jan 27 2022 Carl George <carl@george.computer> - 0.9.0-1
- Latest upstream
- Resolves: rhbz#1993357
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jul 24 2021 Carl George <carl@george.computer> - 0.8.0-1
- Latest upstream
- Resolves: rhbz#1969634
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.0-2
- Rebuilt for Python 3.10
* Fri Mar 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.7.0-1
- Update to 0.7.0 (rhbz#1927133)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Nov 14 2020 Carl George <carl@george.computer> - 0.6.0-5
- Add doc subpackage
* Wed Oct 07 2020 Carl George <carl@george.computer> - 0.6.0-4 * Wed Oct 07 2020 Carl George <carl@george.computer> - 0.6.0-4
- Remove explicit run time requires in favor of automatically generated ones - Remove explicit run time requires in favor of automatically generated ones

@ -1 +0,0 @@
SHA512 (trustme-0.6.0.tar.gz) = 9fda58320f2055d2c23369d2df213994cafd9af7b7eb3933162bbe09a81abd7a9cd2b2e7cae43b25d40d20311213d8a1c13155b61498b848a2850d22fa1e1418
Loading…
Cancel
Save