From 8b5e69b0c29c0e2b3b36dff34ba833d2c05d8e16 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 16 Aug 2018 18:34:35 +0200
Subject: [PATCH] refactor(pypi): manual repositories map

---
 lib/datasource/pypi.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/datasource/pypi.js b/lib/datasource/pypi.js
index afed0bbb7e..77819b6622 100644
--- a/lib/datasource/pypi.js
+++ b/lib/datasource/pypi.js
@@ -47,6 +47,11 @@ async function getPkgReleases(purl, config = {}) {
         dependency.homepage = dep.info.home_page;
       }
     }
+    const manualRepositories = {
+      mkdocs: 'https://github.com/mkdocs/mkdocs',
+    };
+    dependency.repositoryUrl =
+      dependency.repositoryUrl || manualRepositories[depName];
     dependency.releases = [];
     if (dep.releases) {
       const versions = Object.keys(dep.releases)
-- 
GitLab