[arch-commits] Commit in python-softlayer-zeep/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 26 17:44:52 UTC 2022


    Date: Friday, August 26, 2022 @ 17:44:52
  Author: felixonmars
Revision: 1283466

archrelease: copy trunk to community-any

Added:
  python-softlayer-zeep/repos/community-any/
  python-softlayer-zeep/repos/community-any/PKGBUILD
    (from rev 1283465, python-softlayer-zeep/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-softlayer-zeep/repos/community-any/PKGBUILD (from rev 1283465, python-softlayer-zeep/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2022-08-26 17:44:52 UTC (rev 1283466)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-softlayer-zeep
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="A modern/fast python SOAP client based on lxml / requests"
+url="https://github.com/softlayer/softlayer-zeep"
+license=('MIT')
+arch=('any')
+conflicts=('python-zeep')
+provides=('python-zeep')
+depends=('python-attrs' 'python-isodate' 'python-lxml' 'python-platformdirs' 'python-requests'
+         'python-requests-toolbelt' 'python-requests-file' 'python-pytz')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-freezegun' 'python-pretend' 'python-pytest-cov'
+              'python-pytest-httpx' 'python-pytest-asyncio' 'python-requests-mock')
+source=("https://github.com/softlayer/softlayer-zeep/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('354126cc6f133624db953efd6cd17b6aefc64681c0f13a76afdcb8839c13f11712de86f3312130ecd1a970d3718e2a3c815e600f8e86d6d0cd77fdd4bd2ba474')
+
+build() {
+  cd softlayer-zeep-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd softlayer-zeep-$pkgver
+  PYTHONPATH="$PWD"/build/lib pytest
+}
+
+package() {
+  cd softlayer-zeep-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list