Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-parver
Commits:
d75af2a1 by Felix Yan at 2026-05-20T15:38:50+08:00
upgpkg: 1.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,20 +1,20 @@
pkgbase = python-parver
pkgdesc = Parse and manipulate version numbers
- pkgver = 0.5
- pkgrel = 4
+ pkgver = 1.0
+ pkgrel = 1
url = https://github.com/RazerM/parver
arch = any
license = MIT
checkdepends = python-pytest
checkdepends = python-hypothesis
checkdepends = python-pretend
+ checkdepends = python-pytest-xdist
+ makedepends = git
makedepends = python-build
+ makedepends = python-hatchling
makedepends = python-installer
- makedepends = python-setuptools
- makedepends = python-wheel
- depends = python-arpeggio
- depends = python-attrs
- source =
python-parver-0.5.tar.gz::https://github.com/RazerM/parver/archive/0.5.tar.gz
- sha512sums =
55fd52cb229c8358e89053f4c44d8cdb4bfbc8fd79ec40f4b7c6f18f2c848fb025e2be4e907b5cfbeb598e535fed67be4e10cea71d529a21e6d0712679c665d3
+ depends = python
+ source = git+https://github.com/RazerM/parver.git#tag=1.0
+ sha512sums =
258c87a8121e0f2f3cb120def2756af98a7e0a54c56b629ea629d999a8bf6e30bf261d95752d6a834d76f2d6f35ceb88da327eacc5089cb8154fd5d6c0b62428
pkgname = python-parver
=====================================
PKGBUILD
=====================================
@@ -1,30 +1,30 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-parver
-pkgver=0.5
-pkgrel=4
+pkgver=1.0
+pkgrel=1
pkgdesc="Parse and manipulate version numbers"
url="https://github.com/RazerM/parver"
license=('MIT')
arch=('any')
-depends=('python-arpeggio' 'python-attrs')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-checkdepends=('python-pytest' 'python-hypothesis' 'python-pretend')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/RazerM/parver/archive/$pkgver.tar.gz")
-sha512sums=('55fd52cb229c8358e89053f4c44d8cdb4bfbc8fd79ec40f4b7c6f18f2c848fb025e2be4e907b5cfbeb598e535fed67be4e10cea71d529a21e6d0712679c665d3')
+depends=('python')
+makedepends=('git' 'python-build' 'python-hatchling' 'python-installer')
+checkdepends=('python-pytest' 'python-hypothesis' 'python-pretend'
'python-pytest-xdist')
+source=("git+https://github.com/RazerM/parver.git#tag=$pkgver")
+sha512sums=('258c87a8121e0f2f3cb120def2756af98a7e0a54c56b629ea629d999a8bf6e30bf261d95752d6a834d76f2d6f35ceb88da327eacc5089cb8154fd5d6c0b62428')
build() {
- cd parver-$pkgver
+ cd parver
python -m build -nw
}
check() {
- cd parver-$pkgver
+ cd parver
PYTHONPATH=src pytest
}
package() {
- cd parver-$pkgver
+ cd parver
python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-parver/-/commit/d75af2a14ae3c68319f3aadb08c8614667debff1
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-parver/-/commit/d75af2a14ae3c68319f3aadb08c8614667debff1
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