python311Packages.pysolcast: 1.0.15 -> 2.0.0
Diff: https://github.com/mcaulifn/solcast/compare/refs/tags/v1.0.15...v2.0.0 Changelog: https://github.com/mcaulifn/solcast/releases/tag/v2.0.0
This commit is contained in:
parent
463f275c23
commit
6547a841a1
1 changed files with 5 additions and 12 deletions
|
@ -7,13 +7,13 @@
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, requests
|
, requests
|
||||||
, responses
|
, responses
|
||||||
, setuptools-scm
|
, poetry-core
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysolcast";
|
pname = "pysolcast";
|
||||||
version = "1.0.15";
|
version = "2.0.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
|
@ -21,13 +21,11 @@ buildPythonPackage rec {
|
||||||
owner = "mcaulifn";
|
owner = "mcaulifn";
|
||||||
repo = "solcast";
|
repo = "solcast";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-CvijYl6zSwQ6BrGZPJWp75jAApc2y/7cPdZxMq5AjmI=";
|
hash = "sha256-jLhM47o6LvkPux0kusOrRk4TDS6VLWE0QMEiQxlBCwo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
poetry-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -41,11 +39,6 @@ buildPythonPackage rec {
|
||||||
responses
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.cfg \
|
|
||||||
--replace "pytest-runner" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"pysolcast"
|
"pysolcast"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue