Mageia Bugzilla – Attachment 14403 Details for
Bug 32874
upgrade/update python-orange-canvas-core and switch to pyproject
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
spec for pypi bson
python-pybson.spec (text/plain), 1.29 KB, created by
Aurelian R
on 2024-02-20 22:08:02 CET
(
hide
)
Description:
spec for pypi bson
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2024-02-20 22:08:02 CET
Size:
1.29 KB
patch
obsolete
>%global pypi_name bson > >%bcond_without tests > >Name: python-py%{pypi_name} >Version: 0.5.10 >Release: %mkrel 0.1 >Summary: Fancy and practical functional tools >Group: Development/Python >License: BSD-3-Clause >URL: https://github.com/py-bson/bson >Source: %{pypi_source} > >BuildArch: noarch > >BuildRequires: python3-devel >BuildRequires: python3dist(setuptools) >BuildRequires: python3dist(python-dateutil) >%if %{with tests} >BuildRequires: python3dist(pytest) >BuildRequires: python3dist(six) >%endif > >%description >A collection of fancy functional tools focused on practicality. > >%package -n python3-py%{pypi_name} >Summary: %{summary} >%{?python_provide:%python_provide python3-%{pypi_name}} > >%description -n python3-py%{pypi_name} >A collection of fancy functional tools focused on practicality. > >%prep >%autosetup -n %{pypi_name}-%{version} >sed -i 's/.assertEquals/.assertEqual/g' bson/tests/test_array.py >sed -i 's/.assertEquals/.assertEqual/g' bson/tests/test_random_tree.py > >%generate_buildrequires >%pyproject_buildrequires -r > >%build >%pyproject_wheel > >%install >%pyproject_install >%pyproject_save_files %{pypi_name} > >%check >%pyproject_check_import >%{?with_tests:%pytest} > >%files -n python3-py%{pypi_name} -f %{pyproject_files} >%doc README.rst
%global pypi_name bson %bcond_without tests Name: python-py%{pypi_name} Version: 0.5.10 Release: %mkrel 0.1 Summary: Fancy and practical functional tools Group: Development/Python License: BSD-3-Clause URL: https://github.com/py-bson/bson Source: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(python-dateutil) %if %{with tests} BuildRequires: python3dist(pytest) BuildRequires: python3dist(six) %endif %description A collection of fancy functional tools focused on practicality. %package -n python3-py%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-py%{pypi_name} A collection of fancy functional tools focused on practicality. %prep %autosetup -n %{pypi_name}-%{version} sed -i 's/.assertEquals/.assertEqual/g' bson/tests/test_array.py sed -i 's/.assertEquals/.assertEqual/g' bson/tests/test_random_tree.py %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check %pyproject_check_import %{?with_tests:%pytest} %files -n python3-py%{pypi_name} -f %{pyproject_files} %doc README.rst
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32874
:
14402
| 14403 |
14406