George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-dunamai
Commits:
4f2eb0ff by George Rawlinson at 2024-10-06T00:36:01+00:00
upgpkg: 1.22.0-1
* New upstream release.
* Skip more messy tests.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-dunamai
pkgdesc = A library for producing dynamic version strings, derived from
VCS tags
- pkgver = 1.18.0
- pkgrel = 2
+ pkgver = 1.22.0
+ pkgrel = 1
url = https://github.com/mtkennerly/dunamai
arch = any
license = MIT
@@ -13,7 +13,8 @@ pkgbase = python-dunamai
makedepends = python-poetry-core
depends = python
depends = python-packaging
- source =
python-dunamai::git+https://github.com/mtkennerly/dunamai#commit=8dec48ce6eff2092aff01aa92847e4bf1c67f0af
- b2sums = SKIP
+ source =
python-dunamai::git+https://github.com/mtkennerly/dunamai#tag=v1.22.0
+ sha512sums =
67092f6d7d5774f66ec5ae29cf0cbd4f71bc54383d906488c6da4c5655a71db2ace57b952ccd3bc17c9fb6955843b71764fc31456f1da3f02bc23d0a71eb4af3
+ b2sums =
2256820ff2525fd61d2a0fcaef3bec497c869d5499f5a3eea6902c948922601f028674740198b1bef5aa699fca4f800916c09b779242870616ce007a0c3a64ea
pkgname = python-dunamai
=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
# Maintainer: George Rawlinson <[email protected]>
pkgname=python-dunamai
-pkgver=1.18.0
-pkgrel=2
+pkgver=1.22.0
+pkgrel=1
pkgdesc='A library for producing dynamic version strings, derived from VCS
tags'
arch=('any')
url='https://github.com/mtkennerly/dunamai'
@@ -18,15 +18,9 @@ makedepends=(
'python-poetry-core'
)
checkdepends=('python-pytest' 'python-setuptools')
-_commit='8dec48ce6eff2092aff01aa92847e4bf1c67f0af'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
+source=("$pkgname::git+$url#tag=v$pkgver")
+sha512sums=('67092f6d7d5774f66ec5ae29cf0cbd4f71bc54383d906488c6da4c5655a71db2ace57b952ccd3bc17c9fb6955843b71764fc31456f1da3f02bc23d0a71eb4af3')
+b2sums=('2256820ff2525fd61d2a0fcaef3bec497c869d5499f5a3eea6902c948922601f028674740198b1bef5aa699fca4f800916c09b779242870616ce007a0c3a64ea')
build() {
cd "$pkgname"
@@ -51,7 +45,9 @@ check() {
--deselect
tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags
\
--deselect
tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags \
--deselect
tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits
\
- --deselect
tests/integration/test_dunamai.py::test__version__from_git__gitflow
+ --deselect
tests/integration/test_dunamai.py::test__version__from_git__gitflow \
+ --deselect
tests/integration/test_dunamai.py::test__version__from_git__exclude_decoration \
+ --deselect
tests/integration/test_dunamai.py::test__version__from_git__broken_ref
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-dunamai/-/commit/4f2eb0ff02a879922792cb9ac4c6e393c1d661df
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-dunamai/-/commit/4f2eb0ff02a879922792cb9ac4c6e393c1d661df
You're receiving this email because of your account on gitlab.archlinux.org.