Merge pull request #43201 from dotlambda/vobject-0.9.6

python.pkgs.vobject: 0.9.5 -> 0.9.6
This commit is contained in:
Robert Schütz 2018-07-08 13:47:12 +02:00 committed by GitHub
commit 33ce6a4017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 33 deletions

View File

@ -1,24 +1,36 @@
{ stdenv, buildPythonPackage, fetchFromGitHub { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, vobject, mock, tox, pytestcov, pytest-django, pytest, shortuuid , six, typing
, django, six , django, shortuuid, python-dateutil, pytest
, pytest-django, pytestcov, mock, vobject
, werkzeug, glibcLocales
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-extensions"; pname = "django-extensions";
version = "1.8.1"; version = "2.0.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "${pname}"; owner = pname;
repo = "${pname}"; repo = pname;
rev = "${version}"; rev = version;
sha256 = "08rd9zswvjb9dixzyd3p3l3hw3wwhqkgyjvid65niybzjl1xdb5h"; sha256 = "1xf84wq7ab1zfb3nmf4qgw6mjf5xafjwr3175dyrqrrn6cpvcr4a";
}; };
buildInputs = [ vobject mock tox pytestcov pytest-django pytest shortuuid ]; postPatch = ''
substituteInPlace setup.py --replace "'tox'," ""
'';
propagatedBuildInputs = [ django six ]; propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") typing;
meta = with stdenv.lib; { checkInputs = [
django shortuuid python-dateutil pytest
pytest-django pytestcov mock vobject
werkzeug glibcLocales
];
LC_ALL = "en_US.UTF-8";
meta = with lib; {
description = "A collection of custom extensions for the Django Framework"; description = "A collection of custom extensions for the Django Framework";
homepage = https://github.com/django-extensions/django-extensions; homepage = https://github.com/django-extensions/django-extensions;
license = licenses.mit; license = licenses.mit;

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, httplib2, six, google-auth-httplib2, uritemplate }: , httplib2, google_auth, google-auth-httplib2, six, uritemplate, oauth2client }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-api-python-client"; pname = "google-api-python-client";
@ -13,7 +13,7 @@ buildPythonPackage rec {
# No tests included in archive # No tests included in archive
doCheck = false; doCheck = false;
propagatedBuildInputs = [ httplib2 google-auth-httplib2 six uritemplate ]; propagatedBuildInputs = [ httplib2 google_auth google-auth-httplib2 six uritemplate oauth2client ];
meta = with lib; { meta = with lib; {
description = "The core Python library for accessing Google APIs"; description = "The core Python library for accessing Google APIs";

View File

@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, isPyPy, python, dateutil }: { lib, buildPythonPackage, fetchPypi, isPyPy, python, dateutil }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.9.5"; version = "0.9.6";
pname = "vobject"; pname = "vobject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0f56cae196303d875682b9648b4bb43ffc769d2f0f800958e0a506af867b1243"; sha256 = "cd9ede4363f83c06ba8d8f1541c736efa5c46f9a431430002b2f84f4f4e674d8";
}; };
disabled = isPyPy; disabled = isPyPy;

View File

@ -7,7 +7,8 @@ let
python = python3.override { python = python3.override {
packageOverrides = self: super: { packageOverrides = self: super: {
# https://github.com/eventable/vobject/issues/112 # Packages pinned in setup.py.
# Starting with next release, a vendored version of vobject will be used.
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec { python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
version = "2.6.1"; version = "2.6.1";
src = oldAttrs.src.override { src = oldAttrs.src.override {
@ -15,6 +16,13 @@ let
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca"; sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
}; };
}); });
vobject = super.vobject.overridePythonAttrs (oldAttrs: rec {
version = "0.9.5";
src = oldAttrs.src.override {
inherit version;
sha256 = "0f56cae196303d875682b9648b4bb43ffc769d2f0f800958e0a506af867b1243";
};
});
}; };
}; };

View File

@ -3,31 +3,18 @@
}: }:
let let
python = python3.override { python = python3;
packageOverrides = self: super: {
# https://github.com/eventable/vobject/issues/112
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
version = "2.6.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
};
});
};
};
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "papis"; pname = "papis";
version = "0.5.3"; version = "0.6";
# Missing tests on Pypi # Missing tests on Pypi
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "papis"; owner = "papis";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1yc4ilb7bw099pi2vwawyf8mi0n1kp87wgwgwcwc841ibq62q8ic"; sha256 = "0zy8q154zhpqb75c775nwq3mdl1szhzhkfi0nvyjmzfgsv2g1wa2";
}; };
postPatch = '' postPatch = ''
@ -39,7 +26,7 @@ in python.pkgs.buildPythonApplication rec {
argcomplete arxiv2bib beautifulsoup4 bibtexparser argcomplete arxiv2bib beautifulsoup4 bibtexparser
configparser dmenu-python habanero papis-python-rofi configparser dmenu-python habanero papis-python-rofi
pylibgen prompt_toolkit pyparser python_magic pyyaml pylibgen prompt_toolkit pyparser python_magic pyyaml
requests unidecode urwid vobject tkinter requests unidecode urwid vobject tkinter whoosh
vim vim
]; ];