From 3a99ed0df97281ad2e4555d56ecbacb7c575573e Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Tue, 26 Apr 2022 14:57:37 +0200
Subject: [PATCH] Revert long_description_content_type to 'text/x-rst'

9474ab230bfdf71cde19aec587cade5dab943ace was a workaround for this role being
unknown to PyPI.

Removing the role fixes the issue. I also do not think it is very useful;
all loaders have this entry point.
---
 docs/README.rst | 5 +++--
 setup.py        | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/README.rst b/docs/README.rst
index 31b8fbe..9b0777e 100644
--- a/docs/README.rst
+++ b/docs/README.rst
@@ -4,11 +4,12 @@ Software Heritage - CVS loader
 The Software Heritage CVS Loader imports the history of CVS repositories
 into the SWH dataset.
 
-The main entry points are
+The main entry points is:
 
--  :class:`swh.loader.cvs.loader.CvsLoader` for the main cvs loader
+-  ``swh.loader.cvs.loader.CvsLoader`` for the main cvs loader
    which ingests content out of a local cvs repository
 
+
 Features
 --------
 
diff --git a/setup.py b/setup.py
index 4049eab..5f2ed36 100755
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ setup(
     name="swh.loader.cvs",
     description="Software Heritage CVS Loader",
     long_description=long_description,
-    long_description_content_type="text/markdown",
+    long_description_content_type="text/x-rst",
     python_requires=">=3.7",
     author="Software Heritage developers",
     author_email="swh-devel@inria.fr",
-- 
GitLab