Merge pull request #58833 from r-ryantm/auto-update/python3.7-python-ldap

python37Packages.ldap: 3.1.0 -> 3.2.0
This commit is contained in:
Robert Schütz 2019-04-05 19:29:18 +02:00 committed by GitHub
commit 24406568e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 4 deletions

View File

@ -4,11 +4,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-ldap"; pname = "python-ldap";
version = "3.1.0"; version = "3.2.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5"; sha256 = "13nvrhp85yr0jyxixcjj012iw8l9wynxxlykm9j3alss6waln73x";
}; };
propagatedBuildInputs = [ pyasn1 pyasn1-modules ]; propagatedBuildInputs = [ pyasn1 pyasn1-modules ];
@ -28,4 +28,10 @@ buildPythonPackage rec {
''; '';
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "Python modules for implementing LDAP clients";
homepage = https://www.python-ldap.org/;
license = licenses.psfl;
};
} }

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pbr, ldap, fixtures, testresources, testtools }: , pbr, ldap, prettytable, fixtures, testresources, testtools }:
buildPythonPackage rec { buildPythonPackage rec {
name = "ldappool-${version}"; name = "ldappool-${version}";
@ -11,9 +11,14 @@ buildPythonPackage rec {
sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3"; sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
}; };
postPatch = ''
# Tests run without most of the dependencies
echo "" > test-requirements.txt
'';
nativeBuildInputs = [ pbr ]; nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ ldap ]; propagatedBuildInputs = [ ldap prettytable ];
checkInputs = [ fixtures testresources testtools ]; checkInputs = [ fixtures testresources testtools ];