python3Packages.cytoolz: 1.0.1 -> 1.1.0
This commit was automatically generated using update-python-libraries.
This commit is contained in:
@@ -6,35 +6,35 @@
|
||||
pytestCheckHook,
|
||||
cython,
|
||||
setuptools,
|
||||
setuptools-git-versioning,
|
||||
toolz,
|
||||
python,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cytoolz";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = isPy27 || isPyPy;
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-icwxYbieG7Ptdjb3TtLlWYT9NVFpBPyHjK4hbkKyx9Y=";
|
||||
hash = "sha256-E6e/JUw8DSixLiKQuCrtDwl3pMKiv4SFT83HeWop87A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
setuptools
|
||||
setuptools-git-versioning
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ toolz ];
|
||||
dependencies = [ toolz ];
|
||||
|
||||
# tests are located in cytoolz/tests, however we can't import cytoolz
|
||||
# from $PWD, as it will break relative imports
|
||||
# tests are located in cytoolz/tests, but we need to prevent import from the cytoolz source
|
||||
preCheck = ''
|
||||
cd cytoolz
|
||||
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||
mv cytoolz/tests tests
|
||||
rm -rf cytoolz
|
||||
sed -i "/testpaths/d" pyproject.toml
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
|
||||
Reference in New Issue
Block a user