From 242ceed786fad5aaaad7e4e44960dec251b8200a Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 25 Jun 2022 00:47:10 +0530 Subject: [PATCH] papis: update to 0.12. --- srcpkgs/papis/template | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/srcpkgs/papis/template b/srcpkgs/papis/template index c97d9c49ddcb..f693def810ea 100644 --- a/srcpkgs/papis/template +++ b/srcpkgs/papis/template @@ -1,22 +1,26 @@ # Template file for 'papis' pkgname=papis -version=0.11.1 -revision=2 +version=0.12 +revision=1 build_style=python3-module +make_check_args="--deselect=tests/downloaders/test_project_euclid.py::test_1" +make_check_target="papis tests" hostmakedepends="python3-setuptools" depends="python3-requests python3-yaml python3-chardet python3-BeautifulSoup4 python3-colorama python3-click python3-slugify python3-prompt_toolkit python3-tqdm python3-Pygments python3-stevedore python3-parsing python3-filetype python3-bibtexparser python3-habanero python3-arxiv2bib - python3-isbnlib python3 python3-setuptools python3-lxml - python3-typing_extensions python3-doi" + python3-isbnlib python3-lxml python3-doi python3-Whoosh" +checkdepends="${depends} python3-pytest-cov" short_desc="Command-line based document and bibliography manager" maintainer="xaltsc " license="GPL-3.0-or-later" homepage="https://github.com/papis/papis" +changelog="https://github.com/papis/papis/blob/master/CHANGELOG.md" distfiles="https://github.com/papis/papis/archive/v${version}.tar.gz" -checksum=8ebb2f6f50e2e92e16a37ffc1a054983f6b50c6a56d3629d9f612f4197d7a7da +checksum=75a91f827927a79ac648fbd810aacb1d2a0ba475f69f2f61c421c8b1dbf10cc9 -pre_build() { - sed -i '/configparser/d' setup.py +pre_check() { + # Required to generate egg_info so that tests can use entry points + python3 setup.py egg_info }