diff --git a/srcpkgs/papis/template b/srcpkgs/papis/template index 9170c3763f05eb..21560ea3f1240b 100644 --- a/srcpkgs/papis/template +++ b/srcpkgs/papis/template @@ -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 " 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 diff --git a/srcpkgs/python3-arxiv/template b/srcpkgs/python3-arxiv/template new file mode 100644 index 00000000000000..da692e9ce94c6a --- /dev/null +++ b/srcpkgs/python3-arxiv/template @@ -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 " +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 +} diff --git a/srcpkgs/python3-sphinx-click/template b/srcpkgs/python3-sphinx-click/template new file mode 100644 index 00000000000000..accbf7f5898d54 --- /dev/null +++ b/srcpkgs/python3-sphinx-click/template @@ -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 " +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 +}