Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions srcpkgs/papis/template
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
# Template file for 'papis'
pkgname=papis
version=0.13
revision=5
build_style=python3-module
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-dominate python3-Whoosh
python3-typing_extensions"
checkdepends="${depends} python3-typing_extensions python3-pytest-cov"
version=0.15.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-yaml python3-arxiv python3-BeautifulSoup4 python3-bibtexparser python3-click python3-colorama python3-dominate python3-filetype python3-habanero python3-lxml python3-platformdirs python3-prompt_toolkit python3-Pygments python3-parsing python3-doi python3-slugify python3-requests
python3-Jinja2 python3-Whoosh python3-chardet python3-isbnlib python3-setuptools"
checkdepends="${depends} python3-pytest python3-pytest-cov python3-docutils python3-Sphinx python3-sphinx-click"
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://raw.githubusercontent.com/papis/papis/main/CHANGELOG.md"
distfiles="https://github.com/papis/papis/archive/refs/tags/v${version}.tar.gz"
checksum=bca72574a38acbed18091c96f75e9ee0600e0faad5fb741bcf3f4f3b60758020

pre_check() {
# Required to generate egg_info so that tests can use entry points
python3 setup.py egg_info
}
distfiles="https://github.com/papis/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=40ffd77cde44c7af482ab4523a521754d7c5388d021b01a51eb3c908c6b3cef2
make_check=no # test_utils.py failed, some issue with python3-habanero
23 changes: 23 additions & 0 deletions srcpkgs/python3-arxiv/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Template file for 'python3-arxiv'
pkgname=python3-arxiv
version=2.4.1
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3-feedparser python3-requests python3-typing_extensions"
checkdepends="${depends} python3-pytest"
short_desc="Wrapper for the arXiv API"
maintainer="orahcio <orahcio@gmail.com>"
license="MIT"
homepage="https://github.com/lukasschwab/arxiv.py"
distfiles="https://github.com/lukasschwab/arxiv.py/archive/refs/tags/${version}.tar.gz"
checksum=049407471fb6cd371035674df3651e6d61e47b01676e781d3eedf5e664470b96
make_check=no # test_result.py failed, HTTPError

pre_build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}

post_install() {
vlicense LICENSE.txt
}
22 changes: 22 additions & 0 deletions srcpkgs/python3-sphinx-click/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Template file for 'python3-sphinx-click'
pkgname=python3-sphinx-click
version=6.2.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-setuptools_scm"
depends="python3-Sphinx python3-click python3-docutils"
checkdepends="${depends} python3-pytest python3-pytest-cov"
short_desc="Sphinx plugin to document click-based application"
maintainer="orahcio <orahcio@gmail.com>"
license="MIT"
homepage="https://github.com/click-contrib/sphinx-click"
distfiles="https://github.com/click-contrib/sphinx-click/archive/refs/tags/${version}.tar.gz"
checksum=8914e66d27d53b9d4afade2c815ed67bcae715c205fd41904b038104c4c6bc5b

pre_build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
}

post_install() {
vlicense LICENSE
}