Merge staging-next-22.11 into staging-22.11

This commit is contained in:
github-actions[bot]
2023-04-13 00:12:42 +00:00
committed by GitHub
4 changed files with 474 additions and 426 deletions

View File

@@ -3,10 +3,10 @@
rec {
firefox = buildMozillaMach rec {
pname = "firefox";
version = "111.0.1";
version = "112.0";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "b16c9399a19cb1de2d865a023d54fbe71c23a363ea4d36cd58f41f64f7ad04bc1b9d8a8448943417516e17337e0ee2afd370c29a72b51b0947161f4ffab6935f";
sha512 = "6b2bc8c0c93f3109da27168fe7e8f734c6ab4efb4ca56ff2d5e3a52659da71173bba2104037a000623833be8338621fca482f39f836e3910fe2996e6d0a68b39";
};
meta = {
@@ -29,11 +29,11 @@ rec {
firefox-esr-102 = buildMozillaMach rec {
pname = "firefox-esr-102";
version = "102.9.0esr";
version = "102.10.0esr";
applicationName = "Mozilla Firefox ESR";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "3923212ce4b7d1f589129025961ff1b380b8aaf1dd074674f3bd63cf14e9a44ff051bda556b7796c25634e153de00ce62243ece15a520f63dd0791a19b2a6685";
sha512 = "f2b53c35bdd22a3de6f32699b832babcbf499667197c02dd50cf0b6cd956e0f4471f420938c2ab72f0a0686ed99fe74e3184afe9b5f7169130879b8f8fd99f0b";
};
meta = {

View File

@@ -1,11 +1,11 @@
{
"packageVersion": "111.0.1-1",
"packageVersion": "112.0-1",
"source": {
"rev": "111.0.1-1",
"sha256": "045nisl000ll0pzir9zhrkbbkl87bsd38mygx7gz9kv6p0pppl7i"
"rev": "112.0-1",
"sha256": "1qjckchx20bf20z05g8m7hqm68v4hpn20fbs52l19z87irglmmfk"
},
"firefox": {
"version": "111.0.1",
"sha512": "b16c9399a19cb1de2d865a023d54fbe71c23a363ea4d36cd58f41f64f7ad04bc1b9d8a8448943417516e17337e0ee2afd370c29a72b51b0947161f4ffab6935f"
"version": "112.0",
"sha512": "6b2bc8c0c93f3109da27168fe7e8f734c6ab4efb4ca56ff2d5e3a52659da71173bba2104037a000623833be8338621fca482f39f836e3910fe2996e6d0a68b39"
}
}

View File

@@ -1,28 +1,76 @@
{ lib, buildPythonPackage, fetchPypi, python-dateutil, requests, pytz, pyproj , pytest, pyyaml } :
buildPythonPackage rec {
pname = "OWSLib";
version = "0.27.2";
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, lxml
, pyproj
, pytestCheckHook
, python-dateutil
, pythonOlder
, pytz
, pyyaml
, requests
, python
}:
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4QKqJETf4MhDmrHhd2zA+kfOoowJuKKCEsiTxgF8F5s=";
buildPythonPackage rec {
pname = "owslib";
version = "0.28.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "geopython";
repo = "OWSLib";
rev = "refs/tags/${version}";
hash = "sha256-qiH6teCJ/4oftSRyBTtiJdlmJn02VwacU72dWi6OXdc=";
};
# as now upstream https://github.com/geopython/OWSLib/pull/824
postPatch = ''
substituteInPlace requirements.txt \
--replace 'pyproj ' 'pyproj #'
substituteInPlace tox.ini \
--replace " --doctest-modules --doctest-glob 'tests/**/*.txt' --cov-report term-missing --cov owslib" ""
'';
buildInputs = [ pytest ];
propagatedBuildInputs = [ python-dateutil pyproj pytz requests pyyaml ];
propagatedBuildInputs = [
lxml
pyproj
python-dateutil
pytz
pyyaml
requests
];
# 'tests' dir not included in pypy distribution archive.
doCheck = false;
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"owslib"
];
preCheck = ''
# _pytest.pathlib.ImportPathMismatchError: ('owslib.swe.sensor.sml', '/build/source/build/...
export PY_IGNORE_IMPORTMISMATCH=1
'';
disabledTests = [
# Tests require network access
"test_ows_interfaces_wcs"
"test_wfs_110_remotemd"
"test_wfs_200_remotemd"
"test_wms_130_remotemd"
"test_wmts_example_informatievlaanderen"
] ++ lib.optionals stdenv.isDarwin [
"test_ogcapi_records_pygeoapi"
"test_wms_getfeatureinfo_130"
];
meta = with lib; {
description = "client for Open Geospatial Consortium web service interface standards";
license = licenses.bsd3;
description = "Client for Open Geospatial Consortium web service interface standards";
homepage = "https://www.osgeo.org/projects/owslib/";
changelog = "https://github.com/geopython/OWSLib/blob/${version}/CHANGES.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}