blob: c792759e842b5752d099a8425b32518c0b003f58 (
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
|
# Maintainer: Philipp A. <flying-sheep@web.de>
_name=anglerfish
pkgname=python-$_name
pkgver=2.5.0
pkgrel=4
pkgdesc='Helper library for Python 3 apps'
arch=('any')
url="http://pypi.python.org/pypi/$_name"
license=('GPLv3')
depends=('python')
optdepends=(
'cpulimit: Control CPU usage on your App.'
'libwebp: WebP support for images on Base64 Data-URI.'
'python-dbus: Freedesktop.org native notifications and hardware status support.'
'xsel: Clipboard selection support.'
'xclip: Clipboard copy and paste support.'
'xorg-xset: X11 display support to turn off display.'
)
_wheel="$_name-$pkgver-py2.py3-none-any.whl"
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip")
md5sums=('8f55508b1efc21603edf2fe49fa06595')
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
|