[arch-commits] Commit in python-cloudflare/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Sep 13 05:17:28 UTC 2017


    Date: Wednesday, September 13, 2017 @ 05:17:27
  Author: felixonmars
Revision: 257208

archrelease: copy trunk to community-any

Added:
  python-cloudflare/repos/community-any/PKGBUILD
    (from rev 257207, python-cloudflare/trunk/PKGBUILD)
Deleted:
  python-cloudflare/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-13 05:16:51 UTC (rev 257207)
+++ PKGBUILD	2017-09-13 05:17:27 UTC (rev 257208)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cloudflare
-pkgname=('python-cloudflare' 'python2-cloudflare')
-pkgver=1.7.4
-pkgrel=1
-pkgdesc='Python wrapper for the Cloudflare v4 API'
-arch=('any')
-license=('MIT')
-url='https://github.com/cloudflare/python-cloudflare'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
-             'python-future' 'python2-future' 'python-yaml' 'python2-yaml')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/cloudflare/python-cloudflare/archive/$pkgver.tar.gz")
-sha512sums=('fc9dd2ebcf9a4e8960cf326cc5ca06f8094607974f6978ff4cd46ba4c71f1bb4c2ac6aacbb139c2a709c5bb5ab81bde022e0d282f62bc8c56488767a9aec714a')
-
-prepare() {
-  cp -a python-cloudflare-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-cloudflare-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-cloudflare-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-cloudflare-$pkgver
-  PYTHONPATH="$PWD/build/lib" pytest tests/test1.py
-
-  cd "$srcdir"/python-cloudflare-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib" pytest2 tests/test1.py
-}
-
-package_python-cloudflare() {
-  depends=('python-requests' 'python-future' 'python-yaml')
-
-  cd python-cloudflare-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  rm -r "$pkgdir"/usr/lib/python3.6/site-packages/examples
-}
-
-package_python2-cloudflare() {
-  depends=('python2-requests' 'python2-future' 'python2-yaml')
-
-  cd python-cloudflare-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/cli4{,-python2}
-
-  rm -r "$pkgdir"/usr/lib/python2.7/site-packages/examples
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-cloudflare/repos/community-any/PKGBUILD (from rev 257207, python-cloudflare/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-09-13 05:17:27 UTC (rev 257208)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cloudflare
+pkgname=('python-cloudflare' 'python2-cloudflare')
+pkgver=1.7.5
+pkgrel=1
+pkgdesc='Python wrapper for the Cloudflare v4 API'
+arch=('any')
+license=('MIT')
+url='https://github.com/cloudflare/python-cloudflare'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
+             'python-future' 'python2-future' 'python-yaml' 'python2-yaml')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/cloudflare/python-cloudflare/archive/$pkgver.tar.gz")
+sha512sums=('0c5a79ad8481d6edcb72928ea406debfd1c9afb0ea69626bdab68438ee3518a390d8bcbd4e0285f7b07a4b929dacbf0f10670325926d40e5a8d1af739a752ea5')
+
+prepare() {
+  cp -a python-cloudflare-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-cloudflare-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/python-cloudflare-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-cloudflare-$pkgver
+  PYTHONPATH="$PWD/build/lib" pytest tests/test1.py
+
+  cd "$srcdir"/python-cloudflare-$pkgver-py2
+  PYTHONPATH="$PWD/build/lib" pytest2 tests/test1.py
+}
+
+package_python-cloudflare() {
+  depends=('python-requests' 'python-future' 'python-yaml')
+
+  cd python-cloudflare-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  rm -r "$pkgdir"/usr/lib/python3.6/site-packages/examples
+}
+
+package_python2-cloudflare() {
+  depends=('python2-requests' 'python2-future' 'python2-yaml')
+
+  cd python-cloudflare-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/cli4{,-python2}
+
+  rm -r "$pkgdir"/usr/lib/python2.7/site-packages/examples
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list