Skip to content

Commit 14bcb8f

Browse files
authored
Added python-geomet package to SPECS-EXTENDED (microsoft#13861)
1 parent d6c21ab commit 14bcb8f

File tree

5 files changed

+80
-1
lines changed

5 files changed

+80
-1
lines changed

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3006,6 +3006,7 @@
30063006
"python-docopt",
30073007
"python-docutils",
30083008
"python-ecdsa",
3009+
"python-geomet",
30093010
"python-gevent",
30103011
"python-hyperlink",
30113012
"python-hypothesis",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Signatures": {
3+
"python-geomet-1.1.0.tar.gz": "be5c7b8268071bdb146ce16576402b6f436cb793ab210336fe01e2ab39978cac"
4+
}
5+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
%define srcname geomet
2+
%global with_tests 0
3+
4+
Name: python-geomet
5+
Version: 1.1.0
6+
Release: 1%{?dist}
7+
Summary: GeoJSON <-> WKT/WKB conversion utilities
8+
License: Apache Software License
9+
Vendor: Microsoft Corporation
10+
Distribution: Azure Linux
11+
Group: Development/Languages/Python
12+
URL: https://github.com/geomet/geomet
13+
14+
Source0: https://github.com/geomet/geomet/archive/refs/tags/%{version}.tar.gz#/python-%{srcname}-%{version}.tar.gz
15+
16+
BuildRequires: python3-devel
17+
BuildRequires: python3-setuptools
18+
19+
%if 0%{?with_check}
20+
BuildRequires: python3-pip
21+
%endif
22+
23+
Requires: python3
24+
Requires: python3-six
25+
Requires: python3-click
26+
Requires: python3-setuptools
27+
28+
BuildArch: noarch
29+
30+
%description
31+
Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa.
32+
33+
%prep
34+
%autosetup -p1 -n %{srcname}-%{version}
35+
36+
%build
37+
%py3_build
38+
39+
%install
40+
%py3_install
41+
42+
%if 0%{?with_tests}
43+
%check
44+
# this doesn't exist in current source archive
45+
# will help in future
46+
bash build-scripts/02-test.sh
47+
%endif
48+
49+
%files
50+
%defattr(-,root,root,-)
51+
%{_bindir}/%{srcname}
52+
%{python3_sitelib}/*
53+
54+
%changelog
55+
* Thu May 22 2025 Jyoti kanase <v-jykanase@microsoft.com> - 1.1.0-1
56+
- Initial Azure Linux import from Photon (license: Apache2).
57+
- Upgrade to 1.1.0
58+
- License verified.
59+
60+
* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 0.3.0-1
61+
- Automatic Version Bump
62+
* Fri Jun 11 2021 Ankit Jain <ankitja@vmware.com> 0.1.2-1
63+
- Initial packaging for Photon

cgmanifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22828,6 +22828,16 @@
2282822828
}
2282922829
}
2283022830
},
22831+
{
22832+
"component": {
22833+
"type": "other",
22834+
"other": {
22835+
"name": "python-geomet",
22836+
"version": "1.1.0",
22837+
"downloadUrl": "https://github.com/geomet/geomet/archive/refs/tags/1.1.0.tar.gz"
22838+
}
22839+
}
22840+
},
2283122841
{
2283222842
"component": {
2283322843
"type": "other",

0 commit comments

Comments
 (0)