blob: 186f8c89a48915afb1f7cda3cedcd4a6f110b2a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Andreas Grapentin <oaken-source@parabola.nu>
_pkgname=papis
pkgname=$_pkgname
pkgver=0.7.5
pkgrel=2
pkgdesc="Powerful and highly extensible command-line based document and bibliography manager."
arch=('any')
url="https://github.com/papis/papis"
license=('GPL3')
_pypi=(click requests filetype pyparsing arxiv2bib yaml chardet
beautifulsoup4 prompt_toolkit bibtexparser slugify pyparser
pylibgen habanero isbnlib)
depends=(python "${_pypi[@]/#/python-}")
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
$pkgname-vim-gui-add-notes-edit-key.patch)
sha256sums=('1a2a3f6673741f858d4ba41b64255e2fca33b17c5abb642608dbb4ee117d0ac4'
'ec7a2ada63b5eac58cc89e0230ef6db3438357c2669b7c0f88e247e0266cbe53')
prepare() {
cd "$srcdir/$_pkgname-$pkgver"
sed -i '/configparser/d' setup.py
patch -Np1 -i "$srcdir/$pkgname-vim-gui-add-notes-edit-key.patch"
}
package() {
cd "$srcdir"/$_pkgname-$pkgver
python setup.py install --root="$pkgdir"
}
|