public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-markups] f45: Remove manual Requires (they are autodetected)
@ 2026-10-22 17:37
0 siblings, 0 replies; only message in thread
From: @ 2026-10-22 17:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-markups
Branch : f45
Commit : db3da6e8911bfb48cf42c38679451662c53b2b85
Author : José Matos <jamatos@fedoraproject.org>
Date : 2020-09-02T15:34:10+01:00
Stats : +57/-43 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-markups/c/db3da6e8911bfb48cf42c38679451662c53b2b85?branch=f45
Log:
Remove manual Requires (they are autodetected)
Clean the Description text
---
diff --git a/.gitignore b/.gitignore
index 9176cea..dc89342 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,2 @@
-/Markups-0.5.2.tar.gz
-/Markups-0.6.3.tar.gz
-/Markups-1.0.1.tar.gz
-/Markups-2.0.0.tar.gz
+clog
+/Markups-3.0.0.tar.gz
diff --git a/python-markups.spec b/python-markups.spec
index c8a06f4..730dfc6 100644
--- a/python-markups.spec
+++ b/python-markups.spec
@@ -1,47 +1,57 @@
-Name: python-markups
-Version: 2.0.0
-Release: 11%{?dist}
-License: BSD
+%global pypi_name markups
+
+Name: python-%{pypi_name}
+Version: 3.0.0
+Release: 2%{?dist}
Summary: A wrapper around various text markups
-URL: https://pypi.python.org/pypi/Markups
-Source0: http://pypi.python.org/packages/source/M/Markups/Markups-%{version}.tar.gz
+
+License: BSD
+URL: https://github.com/retext-project/pymarkups
+Source0: %{pypi_source Markups}
+BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-docutils
-BuildRequires: python3-markdown
-BuildRequires: python3-setuptools
-BuildRequires: python3-textile
+BuildRequires: python3dist(docutils)
+BuildRequires: python3dist(markdown)
+BuildRequires: python3dist(pygments)
+BuildRequires: python3dist(python-markdown-math)
+BuildRequires: python3dist(setuptools)
+BuildRequires: python3dist(textile)
+BuildRequires: python3dist(sphinx)
-BuildArch: noarch
+%description
+This module provides a wrapper around various text markup languages. Available
+by default are Markdown, reStructuredText and Textile, but you can easily
+add your own markups.
-%global _description\
-This module provides a Python 2 wrapper around the various text markup\
-languages, such as Markdown and reStructuredText (these two are supported\
-by default).
-%description %_description
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+%{?python_provide:%python_provide python3-%{pypi_name}}
-%package -n python3-markups
-Summary: A wrapper around various text markups
+%description -n python3-%{pypi_name}
+This module provides a wrapper around various text markup languages. Available
+by default are Markdown_, reStructuredText_ and Textile_, but you can easily
+add your own markups.
-Requires: python3-docutils
-Requires: python3-markdown
-Requires: python3-textile
-%description -n python3-markups
-This module provides a Python 3 wrapper around the various text markup
-languages, such as Markdown and reStructuredText (these two are supported
-by default).
+%package -n python-%{pypi_name}-doc
+Summary: markups documentation
+%description -n python-%{pypi_name}-doc
+Documentation for markups
%prep
-%setup -q -n Markups-%{version}
-
-# The source tarball contains a bundled egg-info.
-rm -rf Markups.egg-info
+%autosetup -n Markups-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
%build
%py3_build
+# generate html docs
+PYTHONPATH=${PWD} sphinx-build-3 docs html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
%install
%py3_install
@@ -49,12 +59,24 @@ rm -rf Markups.egg-info
%check
%{__python3} setup.py test -v
-%files -n python3-markups
-%doc changelog README.rst
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/Markups-%{version}-py%{python3_version}.egg-info
+
+%files -n python-%{pypi_name}-doc
+%doc html
%license LICENSE
-%{python3_sitelib}/*
%changelog
+* Mon Jul 6 2020 José Matos <jamatos@fedoraproject.org> - 3.0.0-2
+- Remove manual Requires (they are autodetected)
+- Clean the Description text
+
+* Sun May 03 2020 José Abílio Matos <jamatos@fc.up.pt> - 3.0.0-1
+- Update to 3.0.0 for resubmission
+
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-11
- Subpackage python2-markups has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
@@ -132,9 +154,3 @@ rm -rf Markups.egg-info
* Sun May 05 2013 Huaren Zhong <huaren.zhong@gmail.com> - 0.2.4
- Rebuild for Fedora
-
-* Wed Feb 6 2013 saschpe@suse.de
-- Completely redone spec file
-
-* Sat Feb 2 2013 i@marguerite.su
-- initial version 0.2.4
diff --git a/sources b/sources
index f7de958..4dff2b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-370bea275a4b62cf40ae277e5f10b812 Markups-2.0.0.tar.gz
+SHA512 (Markups-3.0.0.tar.gz) = 3dfb97f29e801fa296e7ea22f2693d05fe9a9bfdf6c9b560cf6a44d04abfb6c2ac0717093732b6fbd9ea052ab9f8d054b3aae10a0c16516af3815ca1d720aef5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-22 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 17:37 [rpms/python-markups] f45: Remove manual Requires (they are autodetected)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox