]> git.pld-linux.org Git - packages/python3-pallets-sphinx-themes.git/commitdiff
- python-pallets-sphinx-themes.spec updated to 2.0.2 for python 3.6+ auto/th/python3-pallets-sphinx-themes-2.0.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Mar 2022 17:17:36 +0000 (18:17 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Mar 2022 17:17:36 +0000 (18:17 +0100)
python-pallets-sphinx-themes.spec [deleted file]
python3-pallets-sphinx-themes.spec [new file with mode: 0644]

diff --git a/python-pallets-sphinx-themes.spec b/python-pallets-sphinx-themes.spec
deleted file mode 100644 (file)
index 10a0c76..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-Summary:       Sphinx themes for Pallets Project documentation
-Summary(pl.UTF-8):     Motywy Sphinksa do dokumentacji z projektu Pallets
-Name:          python-pallets-sphinx-themes
-Version:       1.2.3
-Release:       2
-License:       BSD
-Group:         Libraries/Python
-#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
-Source0:       https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
-# Source0-md5: 05f25718e2319a6dfd7a3a7d6aee9c19
-URL:           https://palletsprojects.com/
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.5
-BuildRequires: python3-setuptools
-%endif
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-Requires:      python-modules >= 1:2.7
-BuildArch:     noarch
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This package contains Sphinx themes for Pallets related projects.
-
-%description -l pl.UTF-8
-Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
-Pallets.
-
-%package -n python3-pallets-sphinx-themes
-Summary:       Sphinx themes for Pallets Project documentation
-Summary(pl.UTF-8):     Motywy Sphinksa do dokumentacji z projektu Pallets
-Group:         Libraries/Python
-Requires:      python3-modules >= 1:3.5
-
-%description -n python3-pallets-sphinx-themes
-This package contains Sphinx themes for Pallets related projects.
-
-%description -n python3-pallets-sphinx-themes -l pl.UTF-8
-Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
-Pallets.
-
-%prep
-%setup -q -n Pallets-Sphinx-Themes-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc README.rst CHANGES.rst
-%{py_sitescriptdir}/pallets_sphinx_themes
-%{py_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-pallets-sphinx-themes
-%defattr(644,root,root,755)
-%doc README.rst CHANGES.rst
-%{py3_sitescriptdir}/pallets_sphinx_themes
-%{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
-%endif
diff --git a/python3-pallets-sphinx-themes.spec b/python3-pallets-sphinx-themes.spec
new file mode 100644 (file)
index 0000000..622b230
--- /dev/null
@@ -0,0 +1,45 @@
+Summary:       Sphinx themes for Pallets Project documentation
+Summary(pl.UTF-8):     Motywy Sphinksa do dokumentacji z projektu Pallets
+Name:          python3-pallets-sphinx-themes
+Version:       2.0.2
+Release:       1
+License:       BSD
+Group:         Libraries/Python
+#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
+Source0:       https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
+# Source0-md5: 898246b2cf5ee6f9826f40a31bc3a9ba
+URL:           https://palletsprojects.com/
+BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires:      python3-modules >= 1:3.6
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains Sphinx themes for Pallets related projects.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
+Pallets.
+
+%prep
+%setup -q -n Pallets-Sphinx-Themes-%{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 CHANGES.rst LICENSE.rst README.rst
+%{py3_sitescriptdir}/pallets_sphinx_themes
+%{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
This page took 0.122471 seconds and 4 git commands to generate.