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

Felix Yan felixonmars at archlinux.org
Sun Mar 4 07:42:32 UTC 2018


    Date: Sunday, March 4, 2018 @ 07:42:31
  Author: felixonmars
Revision: 302332

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-04 07:42:11 UTC (rev 302331)
+++ PKGBUILD	2018-03-04 07:42:31 UTC (rev 302332)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cloudflare
-pkgname=('python-cloudflare' 'python2-cloudflare')
-pkgver=2.1.0
-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=('e9e55a0fa4debde3a050bc6b1c8dfe4721021e5467dfc0a3f7c3c20d5f97ac713cfbef0626ed747eeb30947c74c881cc34e7fac5257e5b874fb9eaf6af56c568')
-
-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 302331, python-cloudflare/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-04 07:42:31 UTC (rev 302332)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cloudflare
+pkgname=('python-cloudflare' 'python2-cloudflare')
+pkgver=2.1.0
+pkgrel=2
+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' 'python-jsonlines'
+             'python2-jsonlines')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/cloudflare/python-cloudflare/archive/$pkgver.tar.gz")
+sha512sums=('e9e55a0fa4debde3a050bc6b1c8dfe4721021e5467dfc0a3f7c3c20d5f97ac713cfbef0626ed747eeb30947c74c881cc34e7fac5257e5b874fb9eaf6af56c568')
+
+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' 'python-jsonlines')
+
+  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' 'python2-jsonlines')
+
+  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