python3Packages.pyfuse3: 3.4.1 -> 3.4.2 (#477708)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
cython,
|
||||
pkg-config,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
fuse3,
|
||||
trio,
|
||||
python,
|
||||
@@ -16,27 +16,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyfuse3";
|
||||
version = "3.4.1";
|
||||
version = "3.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libfuse";
|
||||
repo = "pyfuse3";
|
||||
tag = version;
|
||||
hash = "sha256-gDTNOL0VxhndCcCxks5OSr3U0iR3+bQsegAR1P2joeU=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-3mhtpXhia2w9VtdFctN+cGrvOmhRE3656fEciseY2u4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "if DEVELOPER_MODE" "if False" \
|
||||
--replace-fail "'pkg-config'" "'$(command -v $PKG_CONFIG)'"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@@ -45,10 +38,6 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [ trio ];
|
||||
|
||||
preBuild = ''
|
||||
${python.pythonOnBuildForHost.interpreter} setup.py build_cython
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-trio
|
||||
@@ -61,7 +50,7 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyfuse3"
|
||||
"pyfuse3_asyncio"
|
||||
"pyfuse3.asyncio"
|
||||
];
|
||||
|
||||
meta = {
|
||||
@@ -72,6 +61,6 @@ buildPythonPackage rec {
|
||||
nyanloutre
|
||||
dotlambda
|
||||
];
|
||||
changelog = "https://github.com/libfuse/pyfuse3/blob/${version}/Changes.rst";
|
||||
changelog = "https://github.com/libfuse/pyfuse3/blob/${src.tag}/Changes.rst";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user