From 4dc0e84fb2c253e2be02d7a3f394c22cbf9433a6 Mon Sep 17 00:00:00 2001
From: Petr Pucil <petr.pucil@seznam.cz>
Date: Fri, 16 Sep 2022 15:29:17 +0200
Subject: [PATCH 1/3] setup.cfg: add `metadata.project_urls`

Fix https://github.com/kaitai-io/kaitai_struct_python_runtime/issues/69

According to a project example https://pypi.org/project/PyScaffold/4.3/ +
https://github.com/pyscaffold/pyscaffold/blob/v4.3/setup.cfg#L7-L15,
the "Homepage" link pulled from `metadata.url` apparently stays even if
I add `project_urls`, so all links at PyPI resulting from this change
should be (I'm not sure about their order, but again links on
https://pypi.org/project/PyScaffold/4.3/ seem to be sorted
alphabetically except the implicit "Homepage" link at the beginning):

- [Homepage](https://kaitai.io)
- [Gitter](https://gitter.im/kaitai_struct/Lobby)
- [Source](https://github.com/kaitai-io/kaitai_struct_python_runtime)
- [Tracker](https://github.com/kaitai-io/kaitai_struct_python_runtime/issues)
- [Twitter](https://twitter.com/kaitai_io)

Currently (see https://pypi.org/project/kaitaistruct/0.10/) the project
links are just:

- [Homepage](https://kaitai.io)
---
 setup.cfg | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/setup.cfg b/setup.cfg
index e578765..c607e31 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,6 +4,11 @@ version = attr: kaitaistruct.__version__
 author = Kaitai Project
 author_email = greycat@kaitai.io
 url = https://kaitai.io
+project_urls =
+    Source = https://github.com/kaitai-io/kaitai_struct_python_runtime
+    Tracker = https://github.com/kaitai-io/kaitai_struct_python_runtime/issues
+    Gitter = https://gitter.im/kaitai_struct/Lobby
+    Twitter = https://twitter.com/kaitai_io
 description = Kaitai Struct declarative parser generator for binary data: runtime library for Python
 long_description = file: README.md
 long_description_content_type = text/markdown

From bea7d35c0fadfab4832eae93a25d5d6cbe412f14 Mon Sep 17 00:00:00 2001
From: Petr Pucil <petr.pucil@seznam.cz>
Date: Sat, 17 Sep 2022 10:01:10 +0200
Subject: [PATCH 2/3] setup.cfg: remove Twitter link

See https://github.com/kaitai-io/kaitai_struct_python_runtime/pull/71#pullrequestreview-1111339994
---
 setup.cfg | 1 -
 1 file changed, 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index c607e31..7e2a741 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,7 +8,6 @@ project_urls =
     Source = https://github.com/kaitai-io/kaitai_struct_python_runtime
     Tracker = https://github.com/kaitai-io/kaitai_struct_python_runtime/issues
     Gitter = https://gitter.im/kaitai_struct/Lobby
-    Twitter = https://twitter.com/kaitai_io
 description = Kaitai Struct declarative parser generator for binary data: runtime library for Python
 long_description = file: README.md
 long_description_content_type = text/markdown

From f8d5082700c661bae1db751670f2273ac1099ca9 Mon Sep 17 00:00:00 2001
From: Petr Pucil <petr.pucil@seznam.cz>
Date: Sat, 17 Sep 2022 10:11:09 +0200
Subject: [PATCH 3/3] setup.cfg: add Documentation link to doc.kaitai.io

---
 setup.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.cfg b/setup.cfg
index 7e2a741..ecaf5ca 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,6 +5,7 @@ author = Kaitai Project
 author_email = greycat@kaitai.io
 url = https://kaitai.io
 project_urls =
+    Documentation = https://doc.kaitai.io/
     Source = https://github.com/kaitai-io/kaitai_struct_python_runtime
     Tracker = https://github.com/kaitai-io/kaitai_struct_python_runtime/issues
     Gitter = https://gitter.im/kaitai_struct/Lobby