blob: 096953617e1ee0e2be17b3e6a551c93def5cc734 (
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
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: peippo <christoph.fink@gmail.com>
pkgname=python-twitter-git
pkgdesc="A Python wrapper around the Twitter API"
url="https://github.com/bear/python-twitter"
provides=('python-twitter')
conflicts=('python-twitter')
pkgver=3.99.r1048.a1fe9c8
_pkgver=3.99
pkgrel=1
arch=(any)
license=('Apache')
depends=(
"python-requests-oauthlib"
"python-future"
)
makedepends=(
"git"
"python-setuptools"
)
source=("${pkgname}::git://github.com/bear/python-twitter.git")
md5sums=('SKIP')
pkgver(){
cd "${pkgname}"
printf "%s.r%s" "$_pkgver" "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|