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

Felix Yan felixonmars at gemini.archlinux.org
Thu Sep 8 07:51:13 UTC 2022


    Date: Thursday, September 8, 2022 @ 07:51:13
  Author: felixonmars
Revision: 1296206

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-08 07:50:56 UTC (rev 1296205)
+++ PKGBUILD	2022-09-08 07:51:13 UTC (rev 1296206)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-softlayer
-pkgver=6.1.0
-pkgrel=1
-pkgdesc="A library for SoftLayer's API"
-arch=('any')
-license=('MIT')
-url='https://github.com/softlayer/softlayer-python'
-depends=('python-six' 'python-prettytable' 'python-click' 'python-requests' 'python-prompt_toolkit'
-         'python-pygments' 'python-urllib3' 'python-rich')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'python-testtools' 'python-softlayer-zeep' 'tk')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
-sha512sums=('4b95cd11a0767956b4a63e34cde03ecbbdb5b9c1e35097ff59c32c3ecfb778fb32bf589c3ef7ee6e4ce4767b89b604e8fe0ddf6ef2af9cf0bd72cc12198b1f44')
-
-prepare() {
-  cd softlayer-python-$pkgver
-  sed -i 's/==/>=/' setup.py
-}
-
-build() {
-  cd softlayer-python-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd softlayer-python-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd softlayer-python-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-
-  # It's only present when tests are enabled, so adding -f
-  rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/tests
-
-  # Prevent collisions with `sl` package; This command is deemed deprecated by
-  # the project anyway
-  rm -f "$pkgdir/usr/bin/sl"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-softlayer/repos/community-any/PKGBUILD (from rev 1296205, python-softlayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-08 07:51:13 UTC (rev 1296206)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-softlayer
+pkgver=6.1.1
+pkgrel=1
+pkgdesc="A library for SoftLayer's API"
+arch=('any')
+license=('MIT')
+url='https://github.com/softlayer/softlayer-python'
+depends=('python-six' 'python-prettytable' 'python-click' 'python-requests' 'python-prompt_toolkit'
+         'python-pygments' 'python-urllib3' 'python-rich')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-testtools' 'python-softlayer-zeep' 'tk')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
+sha512sums=('e7388b7b4a776fad74ad27f76d5678c52139e39ca05a59619292840c2dd0620be3e1f77eca80956b7dd5ea32840778cc16790046a32feaa16623eefb3720586a')
+
+prepare() {
+  cd softlayer-python-$pkgver
+  sed -i 's/==/>=/' setup.py
+}
+
+build() {
+  cd softlayer-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd softlayer-python-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd softlayer-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+
+  # It's only present when tests are enabled, so adding -f
+  rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/tests
+
+  # Prevent collisions with `sl` package; This command is deemed deprecated by
+  # the project anyway
+  rm -f "$pkgdir/usr/bin/sl"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list