python3Packages.papis: 0.8.2 -> 0.9
Many breaking changes, see the Changelog.
This commit is contained in:
parent
d0e33f172d
commit
b87fc84335
@ -2,22 +2,23 @@
|
|||||||
, requests, filetype, pyparsing, configparser, arxiv2bib
|
, requests, filetype, pyparsing, configparser, arxiv2bib
|
||||||
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
|
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
|
||||||
, pylibgen, click, python-slugify, habanero, isbnlib
|
, pylibgen, click, python-slugify, habanero, isbnlib
|
||||||
, prompt_toolkit, pygments
|
, prompt_toolkit, pygments, stevedore, tqdm, lxml
|
||||||
|
, python-doi, isPy3k
|
||||||
#, optional, dependencies
|
#, optional, dependencies
|
||||||
, jinja2, whoosh, pytest
|
, whoosh, pytest
|
||||||
, stdenv
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "papis";
|
pname = "papis";
|
||||||
version = "0.8.2";
|
version = "0.9";
|
||||||
|
|
||||||
# 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 = "0sa4hpgjvqkjcmp9bjr27b5m5jg4pfspdc8nf1ny80sr0kzn72hb";
|
sha256 = "kzA8nlglbjHDPEB7HRAY2dza1Umn/OYUu+ydbA1OJ5Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -25,10 +26,14 @@ buildPythonPackage rec {
|
|||||||
pyyaml chardet beautifulsoup4 colorama bibtexparser
|
pyyaml chardet beautifulsoup4 colorama bibtexparser
|
||||||
pylibgen click python-slugify habanero isbnlib
|
pylibgen click python-slugify habanero isbnlib
|
||||||
prompt_toolkit pygments
|
prompt_toolkit pygments
|
||||||
|
stevedore tqdm lxml
|
||||||
|
python-doi
|
||||||
# optional dependencies
|
# optional dependencies
|
||||||
jinja2 whoosh
|
whoosh
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
checkInputs = ([
|
checkInputs = ([
|
||||||
@ -42,7 +47,8 @@ buildPythonPackage rec {
|
|||||||
# fail with 5.x
|
# fail with 5.x
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
|
HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
|
||||||
-k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url and not test_export_yaml and not test_citations"
|
-k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url \
|
||||||
|
and not test_validate_arxivid and not test_downloader_getter"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user