diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..05ad643684a4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python2-twitter + pkgdesc = Python 2 wrapper around the Twitter API + pkgver = 2.2 + pkgrel = 1 + url = https://pypi.python.org/pypi/python-twitter + arch = any + license = APACHE + makedepends = python2-distribute + depends = python2 + depends = python2-httplib2 + depends = python2-simplejson + depends = python2-oauth2 + depends = python2-requests-oauthlib + source = https://pypi.python.org/packages/source/p/python-twitter/python-twitter-2.2.tar.gz + md5sums = eab697b3a9bc6bf3432d09a489f4ed8b + +pkgname = python2-twitter + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..712b5b77db75 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Sébastien Leduc <seblu@aur.archlinux.org> +# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org> + +pkgname=python2-twitter +_srcname=python-twitter +pkgver=2.2 +pkgrel=1 +pkgdesc='Python 2 wrapper around the Twitter API' +arch=('any') +url='https://pypi.python.org/pypi/python-twitter' +license=('APACHE') +depends=('python2' 'python2-httplib2' 'python2-simplejson' 'python2-oauth2' 'python2-requests-oauthlib') +makedepends=('python2-distribute') +source=("https://pypi.python.org/packages/source/p/${_srcname}/${_srcname}-${pkgver}.tar.gz") +md5sums=('eab697b3a9bc6bf3432d09a489f4ed8b') + +package() { + cd $_srcname-$pkgver + python2 setup.py install --root="$pkgdir" +} + +# vim:set ts=2 sw=2 ft=sh et: |