[arch-commits] Commit in python-softlayer/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 4 17:37:05 UTC 2021
Date: Thursday, March 4, 2021 @ 17:37:05
Author: felixonmars
Revision: 880482
archrelease: copy trunk to community-any
Added:
python-softlayer/repos/community-any/PKGBUILD
(from rev 880481, python-softlayer/trunk/PKGBUILD)
Deleted:
python-softlayer/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-04 17:36:50 UTC (rev 880481)
+++ PKGBUILD 2021-03-04 17:37:05 UTC (rev 880482)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-softlayer
-pkgver=5.9.2
-pkgrel=2
-pkgdesc="A library for SoftLayer's API"
-arch=('any')
-license=('MIT')
-url='https://github.com/softlayer/softlayer-python'
-depends=('python-six' 'python-ptable' 'python-click' 'python-requests' 'python-prompt_toolkit'
- 'python-pygments' 'python-urllib3')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-mock' 'python-testtools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
-sha512sums=('9ae24ad3c5505268efa216d7cd286954c83de5760452a68c1c666a1ba0719789ddc5f999c2a1be6f90915bac74f4269bda924b5799ca41a72be82f827e12965c')
-
-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 setup.py pytest --addopts '-k "not test_edit_perms_on_bad"'
-}
-
-package() {
- cd softlayer-python-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- # It's only present when tests are enabled, so adding -f
- rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-softlayer/repos/community-any/PKGBUILD (from rev 880481, python-softlayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-04 17:37:05 UTC (rev 880482)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-softlayer
+pkgver=5.9.3
+pkgrel=1
+pkgdesc="A library for SoftLayer's API"
+arch=('any')
+license=('MIT')
+url='https://github.com/softlayer/softlayer-python'
+depends=('python-six' 'python-ptable' 'python-click' 'python-requests' 'python-prompt_toolkit'
+ 'python-pygments' 'python-urllib3')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-mock' 'python-testtools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
+sha512sums=('cfba38de3e10d92d91a41cc108e0fcb5be2d815077c72b80ed382eeb8c0822412aaef5436bd276d8c4b351358e14da7303a1d37a5ea46c31cf591150137dd8da')
+
+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 setup.py pytest --addopts '-k "not test_edit_perms_on_bad"'
+}
+
+package() {
+ cd softlayer-python-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ # It's only present when tests are enabled, so adding -f
+ rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list