3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #212399 from fabaff/aio-geojson

python310Packages.aio-geojson-client: 0.17 -> 0.18, python310Packages.aio-geojson-geonetnz-quakes: 0.14 -> 0.15, python310Packages.aio-geojson-geonetnz-volcano: 0.7 -> 0.8
This commit is contained in:
Fabian Affolter 2023-01-24 13:40:48 +01:00 committed by GitHub
commit 7534ca55db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 37 deletions

View file

@ -3,7 +3,6 @@
, aresponses
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, geojson
, haversine
, mock
@ -14,7 +13,7 @@
buildPythonPackage rec {
pname = "aio-geojson-client";
version = "0.17";
version = "0.18";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -23,18 +22,9 @@ buildPythonPackage rec {
owner = "exxamalte";
repo = "python-aio-geojson-client";
rev = "refs/tags/v${version}";
hash = "sha256-5GiQgtbvYeleovFbXO2vlr2XPsDIWZiElM64O+urMcY=";
hash = "sha256-nvfy1XLiMjyCiQo/YuzRbDtxGmAUAiq8UJwS/SkN3oM=";
};
patches = [
# Remove asynctest, https://github.com/exxamalte/python-aio-geojson-client/pull/35
(fetchpatch {
name = "remove-asynctest.patch";
url = "https://github.com/exxamalte/python-aio-geojson-client/commit/bf617d9898a99b026b43b28bd87bb6479f518c0a.patch";
hash = "sha256-uomH3LCaklfGURDs8SsnvNyHkubbe+5dleLEjW+I+M4=";
})
];
propagatedBuildInputs = [
aiohttp
geojson

View file

@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-generic-client";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-6Gc3SRRQiISBZnCg7a+rCQHR4NQipBHmG5gWZZXIsxY=";
};
@ -45,6 +45,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for accessing GeoJSON feeds";
homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client";
changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-quakes";
version = "0.14";
version = "0.15";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -20,8 +20,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-geonetnz-quakes";
rev = "v${version}";
hash = "sha256-T3vQodb0/3YEjsyHLSI8DBKK75J8hvsaBqyQI7GkT3U=";
rev = "refs/tags/v${version}";
hash = "sha256-/EPPEGLtiZBorZMnVg0NqwnHCbCXyZzz4449MzAYQx8=";
};
propagatedBuildInputs = [
@ -42,7 +42,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds";
homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-quakes";
homepage = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes";
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};

View file

@ -5,7 +5,6 @@
, mock
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-asyncio
, pytestCheckHook
, pytz
@ -14,7 +13,7 @@
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-volcano";
version = "0.7";
version = "0.8";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -23,18 +22,9 @@ buildPythonPackage rec {
owner = "exxamalte";
repo = "python-aio-geojson-geonetnz-volcano";
rev = "refs/tags/v${version}";
sha256 = "sha256-2iVUHMk4ydmGmmGS6lJV5pvxJHyP9bRSeh/dOXbquE0=";
sha256 = "sha256-wJVFjy6QgYb6GX9pZTylYFvCRWmD2lAFZKnodsa8Yqo=";
};
patches = [
# Remove asynctest, https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/pull/18
(fetchpatch {
name = "remove-asynctest.patch";
url = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/commit/d04a488130375c78efa541fd63a5d88bd6b0fd49.patch";
hash = "sha256-ArG8CovJckzzNebd03WeU5i/jPqy2HRVBL3ICk5nZ5Y=";
})
];
propagatedBuildInputs = [
aio-geojson-client
aiohttp

View file

@ -2,7 +2,6 @@
, aio-geojson-client
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
@ -13,7 +12,7 @@
buildPythonPackage rec {
pname = "aio-geojson-nsw-rfs-incidents";
version = "0.5";
version = "0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,8 +20,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-nsw-rfs-incidents";
rev = "v${version}";
sha256 = "sha256-rWlt4MYnuY+CzszFVDniWBnqpQW3WldSEl00ns3ko3U=";
rev = "refs/tags/v${version}";
hash = "sha256-pn0r5iLpNnK3xmAhq/oX90hdiHgFDuwDQqfAzkp5jmw=";
};
propagatedBuildInputs = [
@ -33,7 +32,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
aresponses
asynctest
pytest-asyncio
pytestCheckHook
];
@ -45,6 +43,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module for accessing the NSW Rural Fire Service incidents feeds";
homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents";
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};

View file

@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-usgs-earthquakes";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-Hb0/BdK/jjxlPl9WJJpFdOCzZpZDCguXoGreGIyN8oo=";
};
@ -45,6 +45,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds";
homepage = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes";
changelog = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};

View file

@ -19,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-geojson-client";
rev = "v${version}";
sha256 = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU=";
rev = "refs/tags/v${version}";
hash = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU=";
};
propagatedBuildInputs = [
@ -41,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module for convenient access to GeoJSON feeds";
homepage = "https://github.com/exxamalte/python-geojson-client";
changelog = "https://github.com/exxamalte/python-geojson-client/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};