[arch-commits] Commit in python2-flickrapi/repos/community-any (4 files)

Felix Yan fyan at nymeria.archlinux.org
Wed Jun 18 13:27:13 UTC 2014


    Date: Wednesday, June 18, 2014 @ 15:27:12
  Author: fyan
Revision: 113324

archrelease: copy trunk to community-any

Added:
  python2-flickrapi/repos/community-any/PKGBUILD
    (from rev 113323, python2-flickrapi/trunk/PKGBUILD)
  python2-flickrapi/repos/community-any/fix_setuptools.patch
    (from rev 113323, python2-flickrapi/trunk/fix_setuptools.patch)
Deleted:
  python2-flickrapi/repos/community-any/PKGBUILD
  python2-flickrapi/repos/community-any/fix_setuptools.patch

----------------------+
 PKGBUILD             |   84 ++++++++++++++++++++++++-------------------------
 fix_setuptools.patch |   38 +++++++++++-----------
 2 files changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-18 13:26:26 UTC (rev 113323)
+++ PKGBUILD	2014-06-18 13:27:12 UTC (rev 113324)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Francois Garillot <francois[@]garillot.net>
-# Contributor: György Balló <ballogy at freestart.hu>
-
-pkgname=python2-flickrapi
-_pkgname=flickrapi
-pkgver=1.4.3
-pkgrel=1
-pkgdesc="The official Python interface to the Flickr API"
-arch=('any')
-url="http://stuvel.eu/flickrapi"
-license=('Python')
-depends=('python2')
-makedepends=('python2-docutils' 'python2-setuptools')
-checkdepends=('python2-nose')
-source=("http://pypi.python.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.tar.gz")
-
-prepare() {
-  cd $_pkgname-$pkgver
-  find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-}
-
-build() {
-  cd $_pkgname-$pkgver
-  python2 setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-  nosetests2
-}
-
-package() {
-  cd "$srcdir/$_pkgname-$pkgver"
-
-  python2 setup.py install --root=$pkgdir/ --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-sha512sums=('bcd80046998f45b0e1eea666e29fa34b828c617f2fbbd93f4872b3d41267f18c364514854806b4e4c6336419819cb68b9d710dbb72a8c0043bbec081f4b041c0')

Copied: python2-flickrapi/repos/community-any/PKGBUILD (from rev 113323, python2-flickrapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-06-18 13:27:12 UTC (rev 113324)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Francois Garillot <francois[@]garillot.net>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=python2-flickrapi
+_pkgname=flickrapi
+pkgver=1.4.4
+pkgrel=1
+pkgdesc="The official Python interface to the Flickr API"
+arch=('any')
+url="http://stuvel.eu/flickrapi"
+license=('Python')
+depends=('python2')
+makedepends=('python2-docutils' 'python2-setuptools')
+checkdepends=('python2-nose')
+source=("http://pypi.python.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.zip")
+
+prepare() {
+  cd $_pkgname-$pkgver
+  find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  nosetests2
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  python2 setup.py install --root=$pkgdir/ --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+sha512sums=('3af0e38ca9368b43d84449cecc8065145e822223e086dd07fb9bdd5af23e55f16961c9e87c867c0a965064d2aac9ee022ca2e0bfb291991439ab53ae425c3bd9')

Deleted: fix_setuptools.patch
===================================================================
--- fix_setuptools.patch	2014-06-18 13:26:26 UTC (rev 113323)
+++ fix_setuptools.patch	2014-06-18 13:27:12 UTC (rev 113324)
@@ -1,19 +0,0 @@
---- a/distribute_setup.py	2013-08-17 22:57:41.227220859 +0800
-+++ b/distribute_setup.py	2013-08-17 22:57:29.343673408 +0800
-@@ -133,6 +133,16 @@
-     try:
-         try:
-             import pkg_resources
-+
-+            # Setuptools 0.7b and later is a suitable (and preferable)
-+            # substitute for any Distribute version.
-+            try:
-+                pkg_resources.require("setuptools>=0.7b")
-+                return
-+            except (pkg_resources.DistributionNotFound,
-+                    pkg_resources.VersionConflict):
-+                pass
-+
-             if not hasattr(pkg_resources, '_distribute'):
-                 if not no_fake:
-                     _fake_setuptools()

Copied: python2-flickrapi/repos/community-any/fix_setuptools.patch (from rev 113323, python2-flickrapi/trunk/fix_setuptools.patch)
===================================================================
--- fix_setuptools.patch	                        (rev 0)
+++ fix_setuptools.patch	2014-06-18 13:27:12 UTC (rev 113324)
@@ -0,0 +1,19 @@
+--- a/distribute_setup.py	2013-08-17 22:57:41.227220859 +0800
++++ b/distribute_setup.py	2013-08-17 22:57:29.343673408 +0800
+@@ -133,6 +133,16 @@
+     try:
+         try:
+             import pkg_resources
++
++            # Setuptools 0.7b and later is a suitable (and preferable)
++            # substitute for any Distribute version.
++            try:
++                pkg_resources.require("setuptools>=0.7b")
++                return
++            except (pkg_resources.DistributionNotFound,
++                    pkg_resources.VersionConflict):
++                pass
++
+             if not hasattr(pkg_resources, '_distribute'):
+                 if not no_fake:
+                     _fake_setuptools()




More information about the arch-commits mailing list