[packages/python3-matplotlib_inline] new

atler atler at pld-linux.org
Mon Jul 5 15:53:53 CEST 2021


commit 70464f6ac12e431a0a0d1010c52f31da47011572
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jul 5 15:53:19 2021 +0200

    new

 python3-matplotlib_inline.spec | 44 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/python3-matplotlib_inline.spec b/python3-matplotlib_inline.spec
new file mode 100644
index 0000000..c6ba97b
--- /dev/null
+++ b/python3-matplotlib_inline.spec
@@ -0,0 +1,44 @@
+%define		pypi_name	matplotlib-inline
+%define		module	matplotlib_inline
+Summary:	Inline Matplotlib backend for Jupyter
+Name:		python3-%{module}
+Version:	0.1.2
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/matplotlib-inline/
+Source0:	https://files.pythonhosted.org/packages/source/m/matplotlib-inline/%{pypi_name}-%{version}.tar.gz
+# Source0-md5:	7af8f8ae6ea5217134dd7bd115c78ac3
+URL:		https://github.com/ipython/matplotlib-inline
+BuildRequires:	python3-modules >= 1:3.5
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.5
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Inline Matplotlib backend for Jupyter.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}/*.py
+%{py3_sitescriptdir}/%{module}/__pycache__
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-matplotlib_inline.git/commitdiff/70464f6ac12e431a0a0d1010c52f31da47011572



More information about the pld-cvs-commit mailing list