python312Packages.psd-tools: 1.9.34 -> 1.10.0 (#344575)

This commit is contained in:
OTABI Tomoya 2024-09-29 13:56:05 +09:00 committed by GitHub
commit 96b7bf20e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
pythonOlder, pythonOlder,
setuptools,
attrs, attrs,
docopt, docopt,
pillow, pillow,
@ -11,15 +12,15 @@
numpy, numpy,
aggdraw, aggdraw,
pytestCheckHook, pytestCheckHook,
pytest-cov, pytest-cov-stub,
ipython, ipython,
cython, cython,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "psd-tools"; pname = "psd-tools";
version = "1.9.34"; version = "1.10.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -27,20 +28,18 @@ buildPythonPackage rec {
owner = "psd-tools"; owner = "psd-tools";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-UFdprXoHFsbH3Tbui44n8FTdbkynnYVL1LHtFzFInio="; hash = "sha256-H3Szd8/NjXCkWyG/q+6O5L0Iq5u/g4UNdEmhDqQsAY8=";
}; };
postPatch = '' build-system = [
sed -i "/addopts =/d" pyproject.toml setuptools
''; cython
];
nativeBuildInputs = [ cython ]; dependencies = [
propagatedBuildInputs = [
aggdraw aggdraw
attrs attrs
docopt docopt
ipython
numpy numpy
pillow pillow
scikit-image scikit-image
@ -49,7 +48,8 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-cov pytest-cov-stub
ipython
]; ];
pythonImportsCheck = [ "psd_tools" ]; pythonImportsCheck = [ "psd_tools" ];