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,31 +1,31 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi, pythonOlder, setuptools
, mock, unittest2, nose
, twiggy, requests, offtrac, bugzilla, taskw, dateutil, pytz, keyring, six , 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 { buildPythonPackage rec {
pname = "bugwarrior"; pname = "bugwarrior";
version = "1.7.0"; version = "1.7.0";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1pmznka5dxcdjfak0p1yh7lhfbfazmx8g9ysv57lsrkqy4n61qks"; sha256 = "1pmznka5dxcdjfak0p1yh7lhfbfazmx8g9ysv57lsrkqy4n61qks";
}; };
buildInputs = [ mock unittest2 nose /* jira megaplan */ ];
propagatedBuildInputs = [ propagatedBuildInputs = [
setuptools
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six 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; doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/ralphbean/bugwarrior; homepage = https://github.com/ralphbean/bugwarrior;
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior"; description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ pierron ]; maintainers = with maintainers; [ pierron yurrriq ];
}; };
} }