papis: update to 0.9.

This commit is contained in:
xaltsc 2020-02-11 22:19:39 +01:00 committed by Piotr
parent e00c2ffa90
commit ce1fdc45a7
3 changed files with 76 additions and 4 deletions

View file

@ -0,0 +1,39 @@
From 73e740b17d47e3ccddc72b58221f21a431b49d46 Mon Sep 17 00:00:00 2001
From: JP-Ellis <josh@jpellis.me>
Date: Mon, 2 Dec 2019 11:33:52 +1100
Subject: [PATCH] Remove upper limits on dependencies
Upper limits can be re-instated if/when an incompatibility is discovered (and
until papis can be updated to be compatible with the newer version).
Signed-off-by: JP-Ellis <josh@jpellis.me>
---
setup.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/setup.py b/setup.py
index 38cfbe0c..7e7c3bf9 100644
--- setup.py
+++ setup.py
@@ -65,15 +65,17 @@
"bibtexparser>=0.6.2",
"click>=7.0.0",
"habanero>=0.6.0",
- "isbnlib>=3.9.1,<4.0.0",
- "prompt_toolkit>=2.0.5,<3",
+ "isbnlib>=3.9.1",
+ "prompt_toolkit>=2.0.5",
"tqdm>=4.1",
"pygments>=2.2.0",
"stevedore>=1.30",
"python-doi>=0.1.1",
# for python 3.4
- "lxml<=4.3.5",
- "python-slugify>=1.2.6,<4",
+ "lxml<=4.3.5 ; python_version<='3.5'",
+ "lxml>=4.3.5 ; python_version>'3.5'",
+ "python-slugify>=1.2.6,<4 ; python_version<='3.4'",
+ "python-slugify>=1.2.6 ; python_version>'3.4'",
],
python_requires='>=3',
classifiers=[

View file

@ -0,0 +1,32 @@
From bfe0ffae835dc5769198ae4aa5625ce44076eeb7 Mon Sep 17 00:00:00 2001
From: JP-Ellis <josh@jpellis.me>
Date: Mon, 2 Dec 2019 21:19:46 +1100
Subject: [PATCH] Update supported Python version to 3.5, 3.6, 3.7 & 3.8
It's probably safe to drop support for Python <= 3.4 as they are neither
maintained nor receiving security fixes.
Signed-off-by: JP-Ellis <josh@jpellis.me>
---
.travis.yml | 3 +--
appveyor.yml | 10 ++++------
setup.py | 4 ++--
3 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index a94caae6..6f73695a 100644
--- setup.py
+++ setup.py
@@ -86,10 +86,10 @@
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: Unix',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
'Topic :: Utilities',
],
extras_require=dict(

View file

@ -1,20 +1,21 @@
# Template file for 'papis'
pkgname=papis
version=0.8
revision=3
version=0.9
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_toolkit2
python3-tqdm python3-Pygments python3-stevedore python3-parsing
python3-filetype python3-bibtexparser python3-habanero python3-arxiv2bib
python3-pylibgen python3-isbnlib python3 python3-setuptools"
python3-isbnlib python3 python3-setuptools python3-lxml
python3-typing_extensions python3-doi"
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"
distfiles="https://github.com/papis/papis/archive/v${version}.tar.gz"
checksum=6c5493d5f7062a960bc2b1351ddde001ed585e407aa06e7c07092c61040c696a
checksum=c49e53f843a53ccaaeaa24efa777c444efcfd541098fefcfa198ab99888b15e5
pre_build() {
sed -i '/configparser/d' setup.py