[arch-commits] Commit in python-tweepy/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 4 08:15:57 UTC 2019
Date: Monday, November 4, 2019 @ 08:15:55
Author: foutrelis
Revision: 523653
archrelease: copy trunk to community-staging-any
Added:
python-tweepy/repos/community-staging-any/
python-tweepy/repos/community-staging-any/PKGBUILD
(from rev 523652, python-tweepy/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-tweepy/repos/community-staging-any/PKGBUILD (from rev 523652, python-tweepy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 08:15:55 UTC (rev 523653)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-tweepy
+_pypiname=tweepy
+pkgver=3.8.0
+pkgrel=2
+pkgdesc='Python library for accessing the entire Twitter API'
+url='https://www.tweepy.org/'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-requests' 'python-requests-oauthlib' 'python-six' 'python-pysocks')
+makedepends=('python-setuptools' 'python-pip' 'python-requests' 'python-requests-oauthlib'
+ 'python-six' 'python-pysocks')
+source=(https://github.com/tweepy/${_pypiname}/archive/v${pkgver}/${_pypiname}-${pkgver}.tar.gz)
+sha256sums=('a71d2bb42ece75222fb34d8c1b7a23db70c276206ba5e38b467a02513da4d0c4')
+sha512sums=('ac0dd20db9bfc2e5ae8f0fbac77052c3636bb3035ed3f0c144e15834765f4feff989f5431dbcd54e934223b2a3256d70446ef94d9274468a2e59e2fea71690c9')
+
+build() {
+ cd ${_pypiname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${_pypiname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list