blob: ee23dd80e8078563094099639c8efd19a7988ea3 (
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: Peter Mattern <pmattern at arcor dot de>
pkgname=python-pylibravatar
pkgver=1.7
pkgrel=3
pkgdesc='Python module to make use of the federated Libravatar avatar hosting service'
arch=('any')
url='https://launchpad.net/pylibravatar'
license=('MIT')
depends=('python-pydns')
makedepends=('python-setuptools')
source=("https://pypi.python.org/packages/18/61/fd748d549be821f6c2ff3f2d1a835d4e2c407431d9372495ec8562242cd1/pyLibravatar-1.7.tar.gz"{,.asc})
sha256sums=('f239caae2aed0e2dcdd695ffcde4572958c001b4bdc464a9291d1b0cae0caa8d' 'SKIP')
validpgpkeys=('8C470B2A0B31568E110D432516281F2E007C98D1') # Francois Marier <fmarier at gmail dot com>
build() {
cd pyLibravatar-$pkgver
python setup.py build
}
package() {
cd pyLibravatar-$pkgver
python setup.py install --root "${pkgdir}" --optimize=1
mkdir -p "${pkgdir}"/usr/share/licenses/$pkgname
tail -n19 "${srcdir}"/pyLibravatar-$pkgver/README.txt > "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}
|