python3.pkgs.osmpythontools: 0.2.9 -> 0.3.0

also:
 - replace gpl3 with gpl3Only
 - add patch comment
This commit is contained in:
Raphael Borun Das Gupta 2021-02-13 20:23:10 +01:00
parent 344243bb47
commit b0b855139d

View File

@ -13,15 +13,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "osmpythontools"; pname = "osmpythontools";
version = "0.2.9"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mocnik-science"; owner = "mocnik-science";
repo = "osm-python-tools"; repo = "osm-python-tools";
rev = "v${version}"; rev = "v${version}";
sha256 = "1qpj03fgn8rmrg9a9vk7bw32k9hdy15g5p2q3a6q52ykpb78jdz5"; sha256 = "0r72z7f7kmvvbd9zvgci8rwmfj85xj34mb3x5dj3jcv5ij5j72yh";
}; };
# Upstream setup.py has test dependencies in `install_requires` argument.
# Remove them, as we don't run the tests.
patches = [ ./remove-test-only-dependencies.patch ]; patches = [ ./remove-test-only-dependencies.patch ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -55,7 +57,7 @@ buildPythonPackage rec {
Nominatim, and the OpenStreetMap editing API. Nominatim, and the OpenStreetMap editing API.
''; '';
homepage = "https://github.com/mocnik-science/osm-python-tools"; homepage = "https://github.com/mocnik-science/osm-python-tools";
license = licenses.gpl3; license = licenses.gpl3Only;
maintainers = with maintainers; [ das-g ]; maintainers = with maintainers; [ das-g ];
}; };
} }