Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-stone


Commits:
1219372a by Antonio Rojas at 2024-05-19T23:33:37+02:00
upgpkg: 3.3.6-1: Update to 3.3.6

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,12 +1,13 @@
 pkgbase = python-stone
        pkgdesc = The Official API Spec Language for Dropbox API V2
-       pkgver = 3.3.3
-       pkgrel = 3
+       pkgver = 3.3.6
+       pkgrel = 1
        url = https://github.com/dropbox/stone
        arch = any
        license = MIT
        checkdepends = python-coverage
        checkdepends = python-pytest
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
@@ -14,7 +15,7 @@ pkgbase = python-stone
        depends = python
        depends = python-ply
        depends = python-six
-       source = 
https://github.com/dropbox/stone/archive/v3.3.3/python-stone-3.3.3.tar.gz
-       sha256sums = 
f39e20a282eebe38ea44438f807d55762fc8dcd704cc56774944646a471f60d6
+       source = git+https://github.com/dropbox/stone#tag=v3.3.6
+       sha256sums = 
943231843fa7dd6b28beb3a831e1341fc03830b7e28ccefd97f6cb24df0ab045
 
 pkgname = python-stone


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[python-stone]
+source = "git"
+git = "https://github.com/dropbox/stone.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -2,14 +2,15 @@
 
 pkgname=python-stone
 _name=${pkgname#python-}
-pkgver=3.3.3
-pkgrel=3
+pkgver=3.3.6
+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=(
+  git
   python-build
   python-installer
   python-setuptools
@@ -19,28 +20,25 @@ checkdepends=(
   python-coverage
   python-pytest
 )
-source=($url/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('f39e20a282eebe38ea44438f807d55762fc8dcd704cc56774944646a471f60d6')
+source=(git+$url#tag=v$pkgver)
+sha256sums=('943231843fa7dd6b28beb3a831e1341fc03830b7e28ccefd97f6cb24df0ab045')
 
 prepare() {
-  sed -e '/pytest-runner/d' -i $_name-$pkgver/setup.py # Remove pytest-runner 
from setup_requires
-
-  # upstream doesn't seem to care about Python 3.11 compat: 
https://github.com/dropbox/stone/issues/288
-  sed -e 's/getargspec/getfullargspec/' -i 
$_name-$pkgver/$_name/frontend/ir_generator.py
+  sed -e '/pytest-runner/d' -i $_name/setup.py # Remove pytest-runner from 
setup_requires
 }
 
 build() {
-  cd $_name-$pkgver
+  cd $_name
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd $_name-$pkgver
+  cd $_name
   pytest -vv
 }
 
 package() {
-  cd $_name-$pkgver
+  cd $_name
   python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-stone/-/commit/1219372a1952a731d6d4ea69a5503270c02dc45b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-stone/-/commit/1219372a1952a731d6d4ea69a5503270c02dc45b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to