David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-calmjs


Commits:
5b178a40 by David Runge at 2024-04-05T23:03:19+02:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
7881bf3d by David Runge at 2024-04-05T23:05:18+02:00
Switch to upstream provided auto-generated source tarball

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
35d7ec90 by David Runge at 2024-04-05T23:06:17+02:00
Use bash arrays with one entry per line for easier handling

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
60d21d68 by David Runge at 2024-04-05T23:08:08+02:00
Remove unnecessary test dependencies

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
7cb9349d by David Runge at 2024-04-05T23:08:48+02:00
Add nvchecker integration

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
922a912c by David Runge at 2024-04-05T23:09:12+02:00
upgpkg: 3.4.4-3: Rebuild against Python 3.12

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,19 @@
+pkgbase = python-calmjs
+       pkgdesc = Framework for building toolchains and utilities for working 
with the JavaScript/Node.js ecosystem
+       pkgver = 3.4.4
+       pkgrel = 3
+       url = https://github.com/calmjs/calmjs
+       arch = any
+       license = GPL-2.0-or-later
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
+       depends = python
+       depends = python-calmjs.parse
+       depends = python-calmjs.types
+       depends = python-setuptools
+       source = 
python-calmjs-3.4.4.tar.gz::https://github.com/calmjs/calmjs/archive/refs/tags/3.4.4.tar.gz
+       sha512sums = 
eb70d2d57b7d3cf22134f80c8c47b443893419e4f052b39102b04938b55c8afb950b6154f929a1a6cb74c2e67ae34ecf757b7b5765c47e9a74b805659eb6f22c
+       b2sums = 
51ee6b24eaf59259140b9cbf3ba8a713b19934659688c02529cb8b4946ac7628b3bd07e8e4025d368f12db1eebaff41939e8b18ec3843938129d0943d4400216
+
+pkgname = python-calmjs


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,3 @@
+[python-calmjs]
+source = "pypi"
+pypi = "calmjs"


=====================================
PKGBUILD
=====================================
@@ -1,19 +1,27 @@
 # Maintainer: David Runge <dv...@archlinux.org>
 
-_name=calmjs
 pkgname=python-calmjs
+_name="${pkgname#python-}"
 pkgver=3.4.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Framework for building toolchains and utilities for working with the 
JavaScript/Node.js ecosystem"
 arch=(any)
 url="https://github.com/calmjs/calmjs";
-license=(GPL2)
-depends=(python python-calmjs.parse python-calmjs.types python-setuptools)
-makedepends=(python-build python-installer python-wheel)
-checkdepends=(npm yarn)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip)
-sha512sums=('77a69a0318f1d254ee80fa51d585442b65e6569231370e02f0e0f1b23f66445aa25d2ae8e774a616718d7107bdf2fc130952a4f5418972aa9b2b2b51cd02a69e')
-b2sums=('14558a865da131f87852932185b61e3a52ac963c4fa1782013214f79ced5e8745d527b27ac453a1c1d02c47f251fa926653241ac69aee1363b003e007dbd0597')
+license=(GPL-2.0-or-later)
+depends=(
+  python
+  python-calmjs.parse
+  python-calmjs.types
+  python-setuptools
+)
+makedepends=(
+  python-build
+  python-installer
+  python-wheel
+)
+source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz)
+sha512sums=('eb70d2d57b7d3cf22134f80c8c47b443893419e4f052b39102b04938b55c8afb950b6154f929a1a6cb74c2e67ae34ecf757b7b5765c47e9a74b805659eb6f22c')
+b2sums=('51ee6b24eaf59259140b9cbf3ba8a713b19934659688c02529cb8b4946ac7628b3bd07e8e4025d368f12db1eebaff41939e8b18ec3843938129d0943d4400216')
 
 build() {
   cd $_name-$pkgver
@@ -26,11 +34,6 @@ check() {
   cd $_name-$pkgver
   python -m installer --destdir=test_dir dist/*.whl
   export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
-
-  # remove broken tests:
-  # https://github.com/calmjs/calmjs/issues/66
-  rm -vf src/$_name/tests/test_{command,npm,yarn}.py
-
   python -m unittest discover -vs src/$_name/tests/
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-calmjs/-/compare/5c2cf502c7545784f4af254f2984423b1227968f...922a912c333487560be2fa802a4bf12a75a5f87a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-calmjs/-/compare/5c2cf502c7545784f4af254f2984423b1227968f...922a912c333487560be2fa802a4bf12a75a5f87a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to