pythonPackages.fluidasserts: 20.1.28253 -> 20.1.33141

This commit is contained in:
Kevin Amado 2020-01-23 22:09:41 -05:00 committed by Jon
parent dac34b3803
commit 52487f4e43

View File

@ -12,9 +12,12 @@
, azure-mgmt-compute , azure-mgmt-compute
, azure-mgmt-keyvault , azure-mgmt-keyvault
, azure-mgmt-network , azure-mgmt-network
, azure-mgmt-resource
, azure-mgmt-security
, azure-mgmt-storage , azure-mgmt-storage
, azure-mgmt-web , azure-mgmt-web
, azure-storage-file , azure-storage-file
, azure-storage-file-share
, bandit , bandit
, bcrypt , bcrypt
, beautifulsoup4 , beautifulsoup4
@ -39,6 +42,7 @@
, psycopg2 , psycopg2
, pycrypto , pycrypto
, pygments , pygments
, pyhcl
, pyjks , pyjks
, pynacl , pynacl
, pyopenssl , pyopenssl
@ -57,30 +61,30 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fluidasserts"; pname = "fluidasserts";
version = "20.1.28253"; version = "20.1.33141";
disabled = !isPy37; disabled = !isPy37;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; extension = "zip";
sha256 = "1d2smx9ywd1azsiwgavp69vlixmvwaabshprm192wnmprbghsp6c"; sha256 = "01l6yb3r19q8b4kwqkrzn7mpfsr65zsgzax2fbs43hb6pq6vavnx";
}; };
patchPhase = '' patchPhase = ''
# Version mismatches between current FluidAsserts and Nixpkgs # Version mismatches between current FluidAsserts and Nixpkgs
substituteInPlace ./setup.py \ substituteInPlace ./setup.py \
--replace 'tlslite-ng==0.8.0-alpha29' 'tlslite-ng==0.7.5' \ --replace 'tlslite-ng==0.8.0-alpha36' 'tlslite-ng==0.7.5' \
--replace 'boto3==1.10.17' 'boto3==1.10.1' \ --replace 'boto3==1.11.7' 'boto3==1.10.1' \
--replace 'cfn-flip==1.2.2' 'cfn-flip==1.1.0.post1' \ --replace 'cfn-flip==1.2.2' 'cfn-flip==1.1.0.post1' \
--replace 'azure-mgmt-storage==7.1.0' 'azure-mgmt-storage==7.0.0' \ --replace 'typed-ast==1.4.1' 'typed-ast==1.4.0' \
--replace 'pillow==7.0.0' 'pillow==6.2.1' \
# Functionality that will be not present for the momment # Functionality that will be not present for the momment
# but that we'll work to add in the future # but that we'll work to add in the future
# Just a minimal portion of fluidasserts use this # Just a minimal portion of fluidasserts use this
substituteInPlace ./setup.py \ substituteInPlace ./setup.py \
--replace "'azure-storage-file-share==12.0.0'," "" \
--replace "'pymssql==2.1.4'," "" \ --replace "'pymssql==2.1.4'," "" \
--replace "'pytesseract==0.3.0'," "" \ --replace "'pytesseract==0.3.1'," "" \
--replace "'pywinrm==0.4.1'," "" \ --replace "'pywinrm==0.4.1'," "" \
--replace "'mitmproxy==5.0.1'," "" \ --replace "'mitmproxy==5.0.1'," "" \
@ -96,9 +100,12 @@ buildPythonPackage rec {
azure-mgmt-compute azure-mgmt-compute
azure-mgmt-keyvault azure-mgmt-keyvault
azure-mgmt-network azure-mgmt-network
azure-mgmt-resource
azure-mgmt-security
azure-mgmt-storage azure-mgmt-storage
azure-mgmt-web azure-mgmt-web
azure-storage-file azure-storage-file
azure-storage-file-share
bandit bandit
bcrypt bcrypt
beautifulsoup4 beautifulsoup4
@ -123,6 +130,7 @@ buildPythonPackage rec {
psycopg2 psycopg2
pycrypto pycrypto
pygments pygments
pyhcl
pyjks pyjks
pynacl pynacl
pyopenssl pyopenssl
@ -146,9 +154,10 @@ buildPythonPackage rec {
rm test/conftest.py rm test/conftest.py
pytest \ pytest \
test/test_cloud_aws_terraform_{ebs,ec2}.py \
test/test_cloud_aws_cloudformation_{cloudfront,dynamodb,ec2,elb,elb2}.py \ test/test_cloud_aws_cloudformation_{cloudfront,dynamodb,ec2,elb,elb2}.py \
test/test_cloud_aws_cloudformation_{fsx,iam,kms,rds,s3,secretsmanager}.py \ test/test_cloud_aws_cloudformation_{fsx,iam,kms,rds,s3,secretsmanager}.py \
test/test_format_{apk,file,jks,jwt,pdf,pkcs12,string}.py \ test/test_format_{apk,jks,jwt,pdf,pkcs12,string}.py \
test/test_helper_{asynchronous,crypto}.py \ test/test_helper_{asynchronous,crypto}.py \
test/test_lang_{javascript,java}.py \ test/test_lang_{javascript,java}.py \
test/test_lang_{core,csharp,docker,dotnetconfig,html,php,python,rpgle}.py \ test/test_lang_{core,csharp,docker,dotnetconfig,html,php,python,rpgle}.py \