[arch-commits] Commit in python-tweepy/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Tue Jan 25 21:22:49 UTC 2022


    Date: Tuesday, January 25, 2022 @ 21:22:49
  Author: arojas
Revision: 1115569

Update to 4.5.0

Modified:
  python-tweepy/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-25 21:10:50 UTC (rev 1115568)
+++ PKGBUILD	2022-01-25 21:22:49 UTC (rev 1115569)
@@ -2,7 +2,7 @@
 
 pkgname=python-tweepy
 _pypiname=tweepy
-pkgver=4.4.0
+pkgver=4.5.0
 pkgrel=1
 pkgdesc='Python library for accessing the entire Twitter API'
 url='https://www.tweepy.org/'
@@ -12,8 +12,8 @@
 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=('37c83a259841aad98d0d1b6d14170da7032b0eb7590355767b8e7c54df3294db')
-sha512sums=('04a03161f19e90c417f35afad0cea17c798519f03f9d1fb5242e35fd8b672a98af89726edfe41c22b866606b35432c3faa9840251ca9f17430f36d20f6a0152c')
+sha256sums=('d17e2619017b704f13a3d8e3cd836533e61bdf7d943b67f135ac31cf621e1b4a')
+sha512sums=('a246c7129b3c23ea14eaf439ce1595000961587a57bdc9dcc4852617b8531efcb764059b0448843fc06bc792f44d8cf24bd7a8e3bfaf5674078155d1f2059515')
 
 build() {
   cd ${_pypiname}-${pkgver}
@@ -24,7 +24,8 @@
   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"
+  install -d "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list