diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3492bd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/jupyterlab_pygments-0.1.2.tar.gz diff --git a/python-jupyterlab_pygments.spec b/python-jupyterlab_pygments.spec new file mode 100644 index 0000000..a1d4ce3 --- /dev/null +++ b/python-jupyterlab_pygments.spec @@ -0,0 +1,53 @@ +# Created by pyp2rpm-3.3.5 +%global pypi_name jupyterlab_pygments + +Name: python-%{pypi_name} +Version: 0.1.2 +Release: 1%{?dist} +Summary: Pygments theme + +License: BSD +URL: https://github.com/jupyterlab/jupyterlab_pygments +Source0: %{pypi_source} + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +This package contains a syntax coloring theme for pygments making use of the +JupyterLab CSS variables. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: (python3dist(pygments) >= 2.4.1 with python3dist(pygments) < 3) + +%description -n python3-%{pypi_name} +This package contains a syntax coloring theme for pygments making use of the +JupyterLab CSS variables. + + + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Thu Nov 26 2020 Mukundan Ragavan - 0.1.2-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..d5db0d8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jupyterlab_pygments-0.1.2.tar.gz) = cdc9f763a5a8f59631be66f1e55af7ea163a8242d40cc965cd147c847a8d84046e1f62351fae81d54a7abd19d9df0a5641b8e32f72c37ea9489b0b83c7d2ab56