Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] papis: update to 0.12.
@ 2022-06-24 19:25 icp1994
  2022-06-24 19:49 ` [PR REVIEW] " classabbyamp
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: icp1994 @ 2022-06-24 19:25 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-06-25  5:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 19:25 [PR PATCH] papis: update to 0.12 icp1994
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

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).