Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
7db9700f8d | 1 day ago |
|
3436554f86 | 2 days ago |
@ -1,3 +1 @@
|
|||||||
/makefun-1.6.11.tar.gz
|
SOURCES/makefun-1.15.6.tar.gz
|
||||||
/makefun-1.11.1.tar.gz
|
|
||||||
/makefun-1.14.0.tar.gz
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
87743dfd8996aceddab7ef22a04e3f27721adac8 SOURCES/makefun-1.15.6.tar.gz
|
@ -0,0 +1,143 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.7.2)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 1;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
|
Name: python-makefun
|
||||||
|
Version: 1.15.6
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Dynamically create python functions with a proper signature
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://pypi.org/project/makefun
|
||||||
|
Source0: %{pypi_source makefun}
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: pyproject-rpm-macros
|
||||||
|
|
||||||
|
%global _description \
|
||||||
|
%summary.
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python3-makefun
|
||||||
|
Summary: %{summary}
|
||||||
|
%{?python_provide:%python_provide python3-makefun}
|
||||||
|
|
||||||
|
%description -n python3-makefun %_description
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n makefun-%{version}
|
||||||
|
|
||||||
|
cat >pyproject.toml <<EOF
|
||||||
|
[build-system]
|
||||||
|
requires = ["pytest-runner", "setuptools_scm", "six", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Tests require pytest-cases, which requires this package. Yay!
|
||||||
|
|
||||||
|
TESTOPTS=(
|
||||||
|
)
|
||||||
|
|
||||||
|
%pytest -v "${TESTOPTS[@]}"
|
||||||
|
|
||||||
|
%files -n python3-makefun
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{python3_sitelib}/makefun/
|
||||||
|
%{python3_sitelib}/makefun-%{version}.dist-info/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Feb 10 2025 Eduard Basov <ebasov@msvsphere-os.ru> - 1.15.6-1
|
||||||
|
- Rebuilt for MSVSphere 10
|
||||||
|
|
||||||
|
## START: Generated by rpmautospec
|
||||||
|
* Fri Sep 27 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.15.6-1
|
||||||
|
- Version 1.15.6 (rhbz#2314902)
|
||||||
|
|
||||||
|
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 1.15.4-2
|
||||||
|
- convert license to SPDX
|
||||||
|
|
||||||
|
* Wed Aug 21 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.15.4-1
|
||||||
|
- Version 1.15.4 (rhbz#2295940)
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.2-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 10 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.15.2-5
|
||||||
|
- Skip tests that fail with python3.13 (rhbz#2245884)
|
||||||
|
|
||||||
|
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 1.15.2-4
|
||||||
|
- Rebuilt for Python 3.13
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 21 2023 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.15.2-1
|
||||||
|
- Version 1.15.2 (rhbz#2248974)
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.15.1-2
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Fri May 12 2023 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.15.1-1
|
||||||
|
- Version 1.15.1 (rhbz#2125189)
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 22 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.14.0-1
|
||||||
|
- Version 1.14.0 (rhbz#2099882)
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.11.1-4
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.6.11-6
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.11-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.11-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.6.11-3
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.11-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 10 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.6.11-1
|
||||||
|
- Initial packaging
|
||||||
|
|
||||||
|
## END: Generated by rpmautospec
|
@ -1,55 +0,0 @@
|
|||||||
Name: python-makefun
|
|
||||||
Version: 1.14.0
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: Dynamically create python functions with a proper signature
|
|
||||||
|
|
||||||
License: BSD
|
|
||||||
URL: https://pypi.org/project/makefun
|
|
||||||
Source0: %{pypi_source makefun}
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: pyproject-rpm-macros
|
|
||||||
|
|
||||||
%global _description \
|
|
||||||
%summary.
|
|
||||||
|
|
||||||
%description %_description
|
|
||||||
|
|
||||||
%package -n python3-makefun
|
|
||||||
Summary: %{summary}
|
|
||||||
%{?python_provide:%python_provide python3-makefun}
|
|
||||||
|
|
||||||
%description -n python3-makefun %_description
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n makefun-%{version}
|
|
||||||
|
|
||||||
cat >pyproject.toml <<EOF
|
|
||||||
[build-system]
|
|
||||||
requires = ["pytest-runner", "setuptools_scm", "pypandoc", "six", "wheel"]
|
|
||||||
build-backend = "setuptools.build_meta"
|
|
||||||
EOF
|
|
||||||
|
|
||||||
sed -r -i "s/'pandoc', //" setup.py
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%pyproject_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
%pyproject_wheel
|
|
||||||
|
|
||||||
%install
|
|
||||||
%pyproject_install
|
|
||||||
|
|
||||||
%check
|
|
||||||
# Tests require pytest-cases, which requires this package. Yay!
|
|
||||||
%{__python3} -m pytest -v || :
|
|
||||||
|
|
||||||
%files -n python3-makefun
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{python3_sitelib}/makefun/
|
|
||||||
%{python3_sitelib}/makefun-%{version}.dist-info/
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
Loading…
Reference in new issue