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

Felix Yan felixonmars at archlinux.org
Fri Mar 19 16:13:07 UTC 2021


    Date: Friday, March 19, 2021 @ 16:13:07
  Author: felixonmars
Revision: 894715

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 38 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-19 16:12:57 UTC (rev 894714)
+++ PKGBUILD	2021-03-19 16:13:07 UTC (rev 894715)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-cloudflare
-pkgver=2.8.15
-pkgrel=1
-pkgdesc='Python wrapper for the Cloudflare v4 API'
-arch=('any')
-license=('MIT')
-url='https://github.com/cloudflare/python-cloudflare'
-depends=('python-requests' 'python-future' 'python-yaml' 'python-jsonlines' 'python-beautifulsoup4')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/cloudflare/python-cloudflare/archive/$pkgver.tar.gz")
-sha512sums=('6553ce6b4f2c31b4cfc603b821853f486ec682b8bea0c3a3ada8ad7ac0d64a7ab74a4c95ddee09ea977eb9c94169dc41def2cdd335e8d47be40ff5dae55301f3')
-
-build() {
-  cd python-cloudflare-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd python-cloudflare-$pkgver
-  PYTHONPATH="$PWD/build/lib" pytest tests/test1.py
-}
-
-package() {
-  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.9/site-packages/examples
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-cloudflare/repos/community-any/PKGBUILD (from rev 894714, python-cloudflare/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-19 16:13:07 UTC (rev 894715)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cloudflare
+pkgver=2.8.15
+pkgrel=2
+pkgdesc='Python wrapper for the Cloudflare v4 API'
+arch=('any')
+license=('MIT')
+url='https://github.com/cloudflare/python-cloudflare'
+depends=('python-requests' 'python-future' 'python-yaml' 'python-jsonlines' 'python-beautifulsoup4')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://github.com/cloudflare/python-cloudflare/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6553ce6b4f2c31b4cfc603b821853f486ec682b8bea0c3a3ada8ad7ac0d64a7ab74a4c95ddee09ea977eb9c94169dc41def2cdd335e8d47be40ff5dae55301f3')
+
+build() {
+  cd python-cloudflare-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-cloudflare-$pkgver
+  PYTHONPATH="$PWD/build/lib" pytest tests/test1.py
+}
+
+package() {
+  cd python-cloudflare-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  install -dm755 "$pkgdir"/usr/share
+  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
+  mv "$pkgdir"/usr/share/man/man1/cli4.{man,1}
+
+  rm -r "$pkgdir"/usr/lib/python3.9/site-packages/examples
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list