[arch-commits] Commit in python-flickrapi/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:49:28 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:49:28
  Author: foutrelis
Revision: 752831

archrelease: copy trunk to community-staging-any

Added:
  python-flickrapi/repos/community-staging-any/
  python-flickrapi/repos/community-staging-any/PKGBUILD
    (from rev 752830, python-flickrapi/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-flickrapi/repos/community-staging-any/PKGBUILD (from rev 752830, python-flickrapi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:49:28 UTC (rev 752831)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Garillot <francois[@]garillot.net>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=python-flickrapi
+pkgver=2.4.0
+pkgrel=5
+pkgdesc="The official Python interface to the Flickr API"
+arch=('any')
+url="https://stuvel.eu/flickrapi"
+license=('Python')
+depends=('python-six' 'python-requests-oauthlib' 'python-requests-toolbelt')
+makedepends=('python-docutils' 'python-setuptools')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/f/flickrapi/flickrapi-$pkgver.tar.gz")
+sha512sums=('8c14a00850fa0d70d5f0f0e856425b09cd25746f8ed3aaf34f59e0f8e8567ebb814893ddc3c768500207ec1fd437179ccae24d39a167f116020d4cb97d4cce1d')
+
+build() {
+  cd flickrapi-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Tests not shipped
+  return
+
+  cd flickrapi-$pkgver
+  python runtests
+}
+
+package() {
+  cd flickrapi-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list