Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] papis: update to 0.12.
Date: Fri, 24 Jun 2022 21:25:55 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37672@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages papis
https://github.com/void-linux/void-packages/pull/37672

papis: update to 0.12.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/37672.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-papis-37672.patch --]
[-- Type: text/x-diff, Size: 2435 bytes --]

From 5d45dbd7988d61ad19a7e0f114310b1b6d2b159b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 25 Jun 2022 00:47:10 +0530
Subject: [PATCH] papis: update to 0.12.

---
 srcpkgs/papis/template | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/papis/template b/srcpkgs/papis/template
index c97d9c49ddcb..9c76ee807479 100644
--- a/srcpkgs/papis/template
+++ b/srcpkgs/papis/template
@@ -1,22 +1,34 @@
 # Template file for 'papis'
 pkgname=papis
-version=0.11.1
-revision=2
+version=0.12
+revision=1
 build_style=python3-module
 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"
+depends="python3-requests python3-filetype python3-parsing python3-arxiv2bib
+ python3-yaml python3-chardet python3-BeautifulSoup4 python3-colorama
+ python3-bibtexparser python3-click python3-habanero python3-isbnlib
+ python3-prompt_toolkit python3-tqdm python3-Pygments python3-stevedore
+ python3-doi python3-lxml python3-slugify python3-Whoosh"
+checkdepends="${depends} python3-pytest"
 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=8ebb2f6f50e2e92e16a37ffc1a054983f6b50c6a56d3629d9f612f4197d7a7da
+checksum=75a91f827927a79ac648fbd810aacb1d2a0ba475f69f2f61c421c8b1dbf10cc9
 
-pre_build() {
-	sed -i '/configparser/d' setup.py
+do_patch() {
+	vsed -e '/configparser/d' -i setup.py
+	vsed -e '/--cov=papis/d' -i setup.cfg
+}
+
+do_check() {
+	# Require to generate egg_info so that tests can use entry points
+	python3 setup.py egg_info
+
+	# Deselected one test which fails dring upstream CI too
+	# https://github.com/papis/papis/runs/6558190874?check_suite_focus=true
+	PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest papis/ tests/ \
+		--deselect=tests/downloaders/test_project_euclid.py::test_1
 }

             reply	other threads:[~2022-06-24 19:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 19:25 icp1994 [this message]
2022-06-24 19:49 ` [PR REVIEW] " classabbyamp
2022-06-24 19:49 ` classabbyamp
2022-06-24 19:49 ` classabbyamp
2022-06-24 19:49 ` classabbyamp
2022-06-24 19:49 ` classabbyamp
2022-06-24 20:04 ` icp1994
2022-06-24 20:13 ` icp1994
2022-06-24 20:16 ` classabbyamp
2022-06-24 20:24 ` [PR PATCH] [Updated] " icp1994
2022-06-24 20:35 ` icp1994
2022-06-24 20:38 ` classabbyamp
2022-06-25  0:32 ` [PR REVIEW] " classabbyamp
2022-06-25  0:36 ` Goorzhel
2022-06-25  0:36 ` Goorzhel
2022-06-25  4:59 ` [PR PATCH] [Updated] " icp1994
2022-06-25  5:03 ` icp1994
2022-06-25  5:44 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37672@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).