forked from mirrors/nixpkgs
python310Packages.pyld: normalise attr
This commit is contained in:
parent
0261350ec9
commit
adaaa3f49c
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, python, requests, gnugrep }:
|
{ lib, buildPythonPackage, fetchFromGitHub, python, requests }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
||||||
ok_min=401
|
ok_min=401
|
||||||
|
|
||||||
if ! ${python.interpreter} tests/runtests.py -d ${json-ld}/test-suite 2>&1 | tee test.out; then
|
if ! ${python.interpreter} tests/runtests.py -d ${json-ld}/test-suite 2>&1 | tee test.out; then
|
||||||
ok_count=$(${gnugrep}/bin/grep -F '... ok' test.out | wc -l)
|
ok_count=$(grep -F '... ok' test.out | wc -l)
|
||||||
if [[ $ok_count -lt $ok_min ]]; then
|
if [[ $ok_count -lt $ok_min ]]; then
|
||||||
echo "Less than $ok_min tests passed ($ok_count). Failing the build."
|
echo "Less than $ok_min tests passed ($ok_count). Failing the build."
|
||||||
exit 1
|
exit 1
|
|
@ -117,6 +117,7 @@ mapAliases ({
|
||||||
pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
|
pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
|
||||||
pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
|
pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
|
||||||
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
|
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
|
||||||
|
PyLD = pyld; # added 2022-06-22
|
||||||
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
|
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
|
||||||
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
|
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
|
||||||
pyreadability = readability-lxml; # added 2022-05-24
|
pyreadability = readability-lxml; # added 2022-05-24
|
||||||
|
|
|
@ -7557,7 +7557,7 @@ in {
|
||||||
|
|
||||||
pylaunches = callPackage ../development/python-modules/pylaunches { };
|
pylaunches = callPackage ../development/python-modules/pylaunches { };
|
||||||
|
|
||||||
PyLD = callPackage ../development/python-modules/PyLD { };
|
pyld = callPackage ../development/python-modules/pyld { };
|
||||||
|
|
||||||
pylev = callPackage ../development/python-modules/pylev { };
|
pylev = callPackage ../development/python-modules/pylev { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue