[Bug 2213561] Review Request: python-xarray-einstats - Stats, linear algebra and einops for xarray

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2213561

Felix Wang <topazus@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |topazus@xxxxxxxxxxx
             Status|NEW                         |ASSIGNED
                 CC|                            |topazus@xxxxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #2 from Felix Wang <topazus@xxxxxxxxxxx> ---
%bcond_without check

%global srcname xarray-einstats

Name: python-%{srcname}
Version: 0.5.1
Release: 1%{?dist}
Summary: Stats, linear algebra and einops for xarray
License: Apache-2.0

URL: https://github.com/arviz-devs/xarray-einstats
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz

BuildArch: noarch
BuildRequires:  python3-devel

%global _description %{expand:
xarray-einstats is an open source Python library part of the ArviZ project.
It acts as a bridge between the xarray library for labelled arrays and
libraries for raw arrays such as NumPy or SciPy.}

%description %_description

%package -n python3-%{srcname}
Summary: %{summary}

%description -n python3-%{srcname}
%_description

%prep
%autosetup -n %{srcname}-%{version} -p1

%generate_buildrequires
%pyproject_buildrequires

%build
%pyproject_wheel

%install
%pyproject_install

%pyproject_save_files xarray_einstats

%check
# use pytest, but skip tests/test_einops.py and tests/test_numba.py files
#rm tests/test_einops.py tests/test_numba.py
%pytest -v --ignore=tests/test_einops.py --ignore=tests/test_numba.py

%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.md

%changelog
* Sat Jun 03 2023 Sergio Pascual <sergiopr@xxxxxxxxxxxxxxxxx> - 0.5.1-1
- Initial package


----


> # Tests are not included in the tarball
> %pyproject_check_import -t

You can use the tarball from github instead, which may do testing.
Ref:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi

Only the following place is the one needs to be modified, others look fine to
me.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2213561

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202213561%23c2
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux