void-packages/srcpkgs/papis/template

27 lines
1.1 KiB
Bash

# Template file for 'papis'
pkgname=papis
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-lxml python3-doi python3-Whoosh"
checkdepends="${depends} python3-pytest-cov"
short_desc="Command-line based document and bibliography manager"
maintainer="xaltsc <xaltsc@protonmail.ch>"
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=75a91f827927a79ac648fbd810aacb1d2a0ba475f69f2f61c421c8b1dbf10cc9
pre_check() {
# Required to generate egg_info so that tests can use entry points
python3 setup.py egg_info
}