From b921482c9956e218c5fee27732de26bb8471fb54 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:26:42 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.1.3-1mamba;Mon Oct 18 2021] --- README.md | 2 ++ python-matplotlib-inline.spec | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 python-matplotlib-inline.spec diff --git a/README.md b/README.md index 9005e0d..54bf183 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-matplotlib-inline +Inline Matplotlib backend for Jupyter. + diff --git a/python-matplotlib-inline.spec b/python-matplotlib-inline.spec new file mode 100644 index 0000000..4388ba5 --- /dev/null +++ b/python-matplotlib-inline.spec @@ -0,0 +1,52 @@ +Name: python-matplotlib-inline +Version: 0.1.3 +Release: 1mamba +Summary: Inline Matplotlib backend for Jupyter +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ipython/matplotlib-inline +Source: https://pypi.debian.net/matplotlib-inline/matplotlib-inline-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(traitlets) +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n matplotlib-inline-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%dir %{python_sitearch}/matplotlib_inline-%{version}-py*.egg-info +%{python_sitearch}/matplotlib_inline-%{version}-py*.egg-info/* +%doc LICENSE + +%changelog +* Mon Oct 18 2021 Silvan Calarco 0.1.3-1mamba +- package created using the webbuild interface