Skip to content

Commit 837235e

Browse files
authored
Merge pull request #6 from KorewaLidesu/create-pull-request/patch-d4mwp59
[🤖] Register `gdal` in PyPi index
2 parents f9910e4 + 27ed296 commit 837235e

File tree

2 files changed

+129
-0
lines changed

2 files changed

+129
-0
lines changed

gdal/index.html

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<!-- Required meta tags -->
5+
<meta charset="utf-8" />
6+
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport" />
7+
8+
<!-- Skeleton CSS -->
9+
<link crossorigin="anonymous" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" rel="stylesheet" />
10+
11+
<!-- Font -->
12+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&amp;display=swap" rel="stylesheet" type="text/css" />
13+
14+
<!-- JQuery -->
15+
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
16+
17+
<!-- Marked parser -->
18+
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
19+
20+
<!-- Favicon -->
21+
<link href="https://gist.githubusercontent.com/astariul/c09af596e802e945d3032774e10e1047/raw/f693a2e2b65966494da082887bc4be2917f615e4/random_icon.svg" rel="icon" />
22+
23+
<!-- Custom Styles -->
24+
<link href="../static/package_styles.css" rel="stylesheet" />
25+
26+
<!-- Our JS -->
27+
<script type="text/javascript" src="../static/pypi_checker.js"></script>
28+
<script src="../static/package_page.js" defer></script>
29+
30+
<title>
31+
korewa.li - Public Pypi
32+
</title>
33+
</head>
34+
35+
<body>
36+
<div class="container">
37+
<section class="header">
38+
<button onclick="redirectToIndex()" class="goback-button">
39+
<svg width="50" height="50">
40+
<circle cx="25" cy="25" r="20" fill="#1EAEDB" />
41+
<path d="M15 25l10-10v5h10v10h-10v5z" fill="white" />
42+
</svg>
43+
</button>
44+
gdal
45+
<span>
46+
</span>
47+
<span id='latest-version' class="version">
48+
3.10.1
49+
</span>
50+
<span id='latest-main-version' hidden>
51+
3.10.1
52+
</span>
53+
</section>
54+
55+
<pre id='installdanger' hidden>
56+
<button class="danger-button" disabled>
57+
DANGER ! A higher version of <i>gdal</i> already exists on PyPi
58+
</button>
59+
</pre>
60+
61+
<pre id='installcmd'>
62+
<code>pip install gdal --extra-index-url https://pypi.korewa.li/</code>
63+
</pre>
64+
65+
<hr />
66+
67+
<div class="row">
68+
<div class="three columns">
69+
<b>
70+
Project links
71+
</b>
72+
<button id="repoHomepage" onclick="openLinkInNewTab('https://github.com/OSGeo/gdal')">
73+
Homepage
74+
</button>
75+
<p class="elem">
76+
<b>
77+
Author :
78+
</b>
79+
cgohlke
80+
</p>
81+
<section class="versions" id="versions">
82+
<div id="3.10.1" onclick="load_readme('3.10.1', scroll_to_div=true)">
83+
<a href="https://github.com/cgohlke/geospatial-wheels/releases/download/v2025.1.20/GDAL-3.10.1-cp313-cp313-win_amd64.whl#egg=gdal-3.10.1">
84+
3.10.1
85+
</a>
86+
</div>
87+
</section>
88+
</div>
89+
90+
<div class="nine columns" id="description_pkg">
91+
<h6 class="text-header">
92+
Description
93+
</h6>
94+
<p id="markdown-container" class="readme-block">
95+
</p>
96+
</div>
97+
</div>
98+
</div>
99+
100+
<script>
101+
var url_readme_main = 'https://raw.githubusercontent.com/OSGeo/gdal/main/README.md';
102+
103+
$(document).ready(function () {
104+
var this_vers = document.getElementById('latest-main-version').textContent.trim();
105+
document.getElementById(this_vers).classList.add('main');
106+
check_supply_chain_attack("gdal", this_vers, warn_unsafe);
107+
108+
if (window.location.hash != "") {
109+
let version_hash = window.location.hash;
110+
version = version_hash.replace('#', '');
111+
load_readme(version, scroll_to_div=true);
112+
return;
113+
}
114+
load_readme(this_vers);
115+
});
116+
</script>
117+
</body>
118+
</html>

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ <h2 class="title">
4343
<h6 class="text-header">
4444
Packages
4545
</h6>
46+
<a class="card" href="gdal/">
47+
gdal
48+
<span>
49+
</span>
50+
<span class="version">
51+
3.10.1
52+
</span>
53+
<br/>
54+
<span class="description">
55+
Unofficial binary wheels for GDAL for Python on Windows.
56+
</span>
4657
<a class="card" href="mydependency/">
4758
mydependency
4859
<span>

0 commit comments

Comments
 (0)