pythonPackages.bugwarrior: depend on jira, remove test deps

- drop support for 2.7, per upstream
- remove half-baked checkInputs, but leave comment
- add yurrriq as maintainer
- add setuptools to propagatedBuildInputs
This commit is contained in:
Eric Bailey 2019-08-06 16:48:16 -05:00 committed by Jon
parent e8def5b1e0
commit 826df23514

View File

@ -1,24 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
, mock, unittest2, nose
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, setuptools
, twiggy, requests, offtrac, bugzilla, taskw, dateutil, pytz, keyring, six
, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future }:
, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future, jira }:
buildPythonPackage rec {
pname = "bugwarrior";
version = "1.7.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1pmznka5dxcdjfak0p1yh7lhfbfazmx8g9ysv57lsrkqy4n61qks";
};
buildInputs = [ mock unittest2 nose /* jira megaplan */ ];
propagatedBuildInputs = [
setuptools
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
jinja2 pycurl dogpile_cache lockfile click pyxdg future
jinja2 pycurl dogpile_cache lockfile click pyxdg future jira
];
# for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
# for the moment oauth2client <4.0.0 and megaplan>=1.4 are missing for running the test suite.
doCheck = false;
meta = with stdenv.lib; {
@ -26,6 +26,6 @@ buildPythonPackage rec {
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ pierron ];
maintainers = with maintainers; [ pierron yurrriq ];
};
}