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

Antonio Rojas arojas at gemini.archlinux.org
Tue Jan 25 21:32:19 UTC 2022


    Date: Tuesday, January 25, 2022 @ 21:32:18
  Author: arojas
Revision: 1115583

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 36 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-25 21:32:09 UTC (rev 1115582)
+++ PKGBUILD	2022-01-25 21:32:18 UTC (rev 1115583)
@@ -1,32 +0,0 @@
-# Maintainer:
-
-pkgname=python-stone
-_name=${pkgname#python-}
-pkgver=3.2.1
-pkgrel=3
-pkgdesc='The Official API Spec Language for Dropbox API V2'
-arch=(any)
-url='https://github.com/dropbox/stone'
-license=(MIT)
-depends=(python python-ply python-six)
-makedepends=(python-setuptools python-pytest-runner)
-checkdepends=(python-mock python-coverage)
-source=(https://github.com/dropbox/stone/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('05a6c9fec0b923a5e54814f31365499d6e7b726aaddfe5b8ee2d1a4b6cb06d3a')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: python-stone/repos/community-any/PKGBUILD (from rev 1115582, python-stone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-25 21:32:18 UTC (rev 1115583)
@@ -0,0 +1,36 @@
+# Maintainer:
+
+pkgname=python-stone
+_name=${pkgname#python-}
+pkgver=3.3.0
+pkgrel=1
+pkgdesc='The Official API Spec Language for Dropbox API V2'
+arch=(any)
+url='https://github.com/dropbox/stone'
+license=(MIT)
+depends=(python python-ply python-six)
+makedepends=(python-setuptools python-pytest-runner)
+checkdepends=(python-mock python-coverage)
+source=(https://github.com/dropbox/stone/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('48b1a29b271fed237a6a1087bad3cca938f58c1650c69c35322ab14a2969c01b')
+
+prepare() {
+  sed -e 's|== 5\.2\.0|>= 5.2.0|' -i $_name-$pkgver/setup.py # Unpin pytest-runner version
+}
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list