[arch-commits] Commit in python-flickrapi/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 15 09:32:09 UTC 2017
Date: Wednesday, November 15, 2017 @ 09:32:08
Author: felixonmars
Revision: 266856
archrelease: copy trunk to community-any
Added:
python-flickrapi/repos/community-any/PKGBUILD
(from rev 266855, python-flickrapi/trunk/PKGBUILD)
Deleted:
python-flickrapi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-15 09:31:39 UTC (rev 266855)
+++ PKGBUILD 2017-11-15 09:32:08 UTC (rev 266856)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Francois Garillot <francois[@]garillot.net>
-# Contributor: György Balló <ballogy at freestart.hu>
-
-pkgbase=python-flickrapi
-pkgname=(python-flickrapi python2-flickrapi)
-pkgver=2.3
-pkgrel=1
-pkgdesc="The official Python interface to the Flickr API"
-arch=('any')
-url="http://stuvel.eu/flickrapi"
-license=('Python')
-makedepends=('python-docutils' 'python2-docutils' 'python-setuptools' 'python2-setuptools' 'python-requests-toolbelt' 'python2-requests-toolbelt'
- 'python-requests-oauthlib' 'python2-requests-oauthlib' 'python-six' 'python2-six')
-checkdepends=('python-nose' 'python2-nose')
-source=("https://pypi.io/packages/source/f/flickrapi/flickrapi-$pkgver.tar.gz")
-sha512sums=('1d86873bbc8fccba1121f6fd51c0e22b62cff363c7a755236940581ecf4f3fa95cbff005b50e9c388505d5337d0e5ef91062c59737ec87a223d162b0e70f2fda')
-
-prepare() {
- cp -a flickrapi-$pkgver{,-py2}
-
- cd flickrapi-$pkgver-py2
- find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-}
-
-build() {
- cd flickrapi-$pkgver
- python setup.py build
-
- cd ../flickrapi-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Tests not shipped
- return
-
- cd flickrapi-$pkgver
- python runtests
-
- cd ../flickrapi-$pkgver-py2
- python2 runtests
-}
-
-package_python-flickrapi() {
- depends=('python-six' 'python-requests-oauthlib' 'python-requests-toolbelt')
-
- cd flickrapi-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-
- rm "$pkgdir"/usr/lib/python3.6/site-packages/*.md
-}
-
-package_python2-flickrapi() {
- depends=('python2-six' 'python2-requests-oauthlib' 'python2-requests-toolbelt')
-
- cd flickrapi-$pkgver-py2
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-
- rm "$pkgdir"/usr/lib/python2.7/site-packages/*.md
-}
Copied: python-flickrapi/repos/community-any/PKGBUILD (from rev 266855, python-flickrapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-11-15 09:32:08 UTC (rev 266856)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Garillot <francois[@]garillot.net>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgbase=python-flickrapi
+pkgname=(python-flickrapi python2-flickrapi)
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="The official Python interface to the Flickr API"
+arch=('any')
+url="http://stuvel.eu/flickrapi"
+license=('Python')
+makedepends=('python-docutils' 'python2-docutils' 'python-setuptools' 'python2-setuptools' 'python-requests-toolbelt' 'python2-requests-toolbelt'
+ 'python-requests-oauthlib' 'python2-requests-oauthlib' 'python-six' 'python2-six')
+checkdepends=('python-nose' 'python2-nose')
+source=("https://pypi.io/packages/source/f/flickrapi/flickrapi-$pkgver.tar.gz")
+sha512sums=('f17bbbae15718517942effe6e574f802205cb18483dcc3b9c699dd4de0ebe17dcea787f1e0d59e09f772c71f82c9d39bcaa2273d9b25307b692aed87a776fde7')
+
+prepare() {
+ cp -a flickrapi-$pkgver{,-py2}
+
+ cd flickrapi-$pkgver-py2
+ find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+}
+
+build() {
+ cd flickrapi-$pkgver
+ python setup.py build
+
+ cd ../flickrapi-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # Tests not shipped
+ return
+
+ cd flickrapi-$pkgver
+ python runtests
+
+ cd ../flickrapi-$pkgver-py2
+ python2 runtests
+}
+
+package_python-flickrapi() {
+ depends=('python-six' 'python-requests-oauthlib' 'python-requests-toolbelt')
+
+ cd flickrapi-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+
+ rm "$pkgdir"/usr/lib/python3.6/site-packages/*.md
+}
+
+package_python2-flickrapi() {
+ depends=('python2-six' 'python2-requests-oauthlib' 'python2-requests-toolbelt')
+
+ cd flickrapi-$pkgver-py2
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+
+ rm "$pkgdir"/usr/lib/python2.7/site-packages/*.md
+}
More information about the arch-commits
mailing list