Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-hatch-nodejs-version


Commits:
35eaf39c by Antonio Rojas at 2026-09-20T22:28:07+02:00
Update URL, switch to git source

Fixes #1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -2,15 +2,16 @@ pkgbase = python-hatch-nodejs-version
        pkgdesc = Hatch plugin for versioning from a package.json file
        pkgver = 0.4.0
        pkgrel = 2
-       url = https://github.com/agoose77/hatch-nodejs-version
+       url = https://github.com/jupyterlab/hatch-nodejs-version
        arch = any
        license = MIT
        checkdepends = python-pytest
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        depends = python
        depends = python-hatchling
-       source = 
https://github.com/agoose77/hatch-nodejs-version/archive/v0.4.0/python-hatch-nodejs-version-0.4.0.tar.gz
-       sha256sums = 
c48b44fb67efa2c1e82f31ac9b5fd1b8213578510d541599a4c55ff4c7f372d5
+       source = 
git+https://github.com/jupyterlab/hatch-nodejs-version#tag=v0.4.0
+       sha256sums = 
306fc083e0712bc79efad29f76cc931db94adee0a92ec16a32fa70ad70f10660
 
 pkgname = python-hatch-nodejs-version


=====================================
PKGBUILD
=====================================
@@ -5,29 +5,30 @@ pkgver=0.4.0
 pkgrel=2
 pkgdesc='Hatch plugin for versioning from a package.json file'
 arch=(any)
-url='https://github.com/agoose77/hatch-nodejs-version'
+url='https://github.com/jupyterlab/hatch-nodejs-version'
 license=(MIT)
 depends=(python
          python-hatchling)
-makedepends=(python-build
+makedepends=(git
+             python-build
              python-installer)
 checkdepends=(python-pytest)
-source=(https://github.com/agoose77/hatch-nodejs-version/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('c48b44fb67efa2c1e82f31ac9b5fd1b8213578510d541599a4c55ff4c7f372d5')
+source=(git+https://github.com/jupyterlab/hatch-nodejs-version#tag=v$pkgver)
+sha256sums=('306fc083e0712bc79efad29f76cc931db94adee0a92ec16a32fa70ad70f10660')
 
 build() {
-  cd hatch-nodejs-version-$pkgver
+  cd hatch-nodejs-version
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd hatch-nodejs-version-$pkgver
+  cd hatch-nodejs-version
   PYTHONPATH="$PWD"/src \
   pytest -v
 }
 
 package() {
-  cd hatch-nodejs-version-$pkgver
+  cd hatch-nodejs-version
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-hatch-nodejs-version/-/commit/35eaf39c6a5b9b9e36adc8119b0d85daf39fe865

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-hatch-nodejs-version/-/commit/35eaf39c6a5b9b9e36adc8119b0d85daf39fe865
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to