Merge pull request #26355 from jlesquembre/pgcli

pgcli: 1.5.1 -> 1.6.0
This commit is contained in:
Jörg Thalheim 2017-06-03 19:48:58 +01:00 committed by GitHub
commit 8b8a83ff79
2 changed files with 7 additions and 5 deletions

View File

@ -2,10 +2,10 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
name = "pgcli-${version}"; name = "pgcli-${version}";
version = "1.5.1"; version = "1.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "1wp8pzi9hwz16fpcr0mq3ffydwdscfg5whhzc91757dw995sgl0s"; sha256 = "0f1zv4kwi2991pclf8chrhgjwf8jkqxdh5ndc9qx6igh56iyyncz";
rev = "v${version}"; rev = "v${version}";
repo = "pgcli"; repo = "pgcli";
owner = "dbcli"; owner = "dbcli";
@ -13,7 +13,8 @@ pythonPackages.buildPythonApplication rec {
buildInputs = with pythonPackages; [ pytest mock ]; buildInputs = with pythonPackages; [ pytest mock ];
checkPhase = '' checkPhase = ''
py.test tests -k 'not test_missing_rc_dir and not test_quoted_db_uri and not test_port_db_uri' mkdir /tmp/homeless-shelter
HOME=/tmp/homeless-shelter py.test tests -k 'not test_missing_rc_dir and not test_quoted_db_uri and not test_port_db_uri'
''; '';
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [

View File

@ -17679,17 +17679,18 @@ in {
pgspecial = buildPythonPackage rec { pgspecial = buildPythonPackage rec {
pname = "pgspecial"; pname = "pgspecial";
version = "1.7.0"; version = "1.8.0";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0jnv8mr75pjhj2azb2ljhhkd7s1b0b59f7xps322kqbpmwf26zi9"; sha256 = "1dwlv3m4jl34zsakmvxg6hgbfv786jl8dcffxsrlnmcpks829xc9";
}; };
buildInputs = with self; [ pytest psycopg2 ]; buildInputs = with self; [ pytest psycopg2 ];
checkPhase = '' checkPhase = ''
find tests -name \*.pyc -delete
py.test tests py.test tests
''; '';