Files
pyp2spec/tests/expected_specfiles/python-jupyter-packaging.spec
T

61 lines
1.2 KiB
RPMSpec

Name: python-jupyter-packaging
Version: 0.10.4
Release: 2%{?dist}
Summary: Tools to help build and install Jupyter Python packages
License: BSD
URL: https://github.com/jupyter/jupyter-packaging
Source0: %{pypi_source jupyter_packaging}
BuildArch: noarch
BuildRequires: python3-devel
%global _description %{expand:
This package contains utilities for making Python packages with and without
accompanying JavaScript packages.
}
%description %_description
%package -n python3-jupyter-packaging
Summary: %{summary}
%description -n python3-jupyter-packaging %_description
%prep
%autosetup -p1 -n jupyter_packaging-%{version}
%generate_buildrequires
%pyproject_buildrequires -r -x test
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files jupyter_packaging
%check
%pytest -k "not test_build_package and \
not test_create_cmdclass and \
not test_deprecated_metadata and \
not test_develop and \
not test_install and \
not test_install_hybrid and \
not test_run"
%files -n python3-jupyter-packaging -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Fri Jul 23 2021 Package Maintainer <package@maintainer.com> - 0.10.4-2
- Initial package