Autogenerated commit at 2023-05-22 15:21:31.829613

This commit is contained in:
ArcH Linux ReposItory MANager 2023-05-22 15:21:31 +00:00
parent 476b4fca05
commit 76f8b4ab94
3 changed files with 36 additions and 9 deletions

View File

@ -1,14 +1,15 @@
pkgbase = ahriman
pkgdesc = ArcH linux ReposItory MANager
pkgver = 2.8.0
pkgrel = 2
pkgver = 2.9.0
pkgrel = 1
url = https://github.com/arcan1s/ahriman
install = ahriman.install
arch = any
license = GPL3
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = devtools<=20230307
depends = devtools>=1:1.0.0
depends = git
depends = pyalpm
depends = python-cerberus
@ -36,10 +37,10 @@ pkgbase = ahriman
optdepends = subversion: -svn packages support
backup = etc/ahriman.ini
backup = etc/ahriman.ini.d/logging.ini
source = https://github.com/arcan1s/ahriman/releases/download/2.8.0/ahriman-2.8.0-src.tar.xz
source = https://github.com/arcan1s/ahriman/releases/download/2.9.0/ahriman-2.9.0-src.tar.xz
source = ahriman.sysusers
source = ahriman.tmpfiles
sha512sums = e4ce360ca54aa6f7ef6fabd7d06310abb13d10e1a58d05154125b7e7c1cdea13d20a19b86384f447a9bf91aeb2853373d5939f786edf6f2230636ec90271bfaa
sha512sums = 19841842641520b573cdde6cb80a7cfcd69756d323fdfeebc2eee2d264a1325ead4ab2f8383bb369f7896bfc1de59d7358f133f4afeb90a9b9f0695f482a58d0
sha512sums = 53d37efec812afebf86281716259f9ea78a307b83897166c72777251c3eebcb587ecee375d907514781fb2a5c808cbb24ef9f3f244f12740155d0603bf213131
sha512sums = 62b2eccc352d33853ef243c9cddd63663014aa97b87242f1b5bc5099a7dbd69ff3821f24ffc58e1b7f2387bd4e9e9712cc4c67f661b1724ad99cdf09b3717794

View File

@ -1,13 +1,13 @@
# Maintainer: Evgeniy Alekseev
pkgname='ahriman'
pkgver=2.8.0
pkgrel=2
pkgver=2.9.0
pkgrel=1
pkgdesc="ArcH linux ReposItory MANager"
arch=('any')
url="https://github.com/arcan1s/ahriman"
license=('GPL3')
depends=('devtools<=20230307' 'git' 'pyalpm' 'python-cerberus' 'python-inflection' 'python-passlib' 'python-requests' 'python-setuptools' 'python-srcinfo')
depends=('devtools>=1:1.0.0' 'git' 'pyalpm' 'python-cerberus' 'python-inflection' 'python-passlib' 'python-requests' 'python-setuptools' 'python-srcinfo')
makedepends=('python-build' 'python-installer' 'python-wheel')
optdepends=('breezy: -bzr packages support'
'darcs: -darcs packages support'
@ -29,6 +29,7 @@ optdepends=('breezy: -bzr packages support'
source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"
'ahriman.sysusers'
'ahriman.tmpfiles')
install="$pkgname.install"
backup=('etc/ahriman.ini'
'etc/ahriman.ini.d/logging.ini')
@ -52,6 +53,6 @@ package() {
install -Dm644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
}
sha512sums=('e4ce360ca54aa6f7ef6fabd7d06310abb13d10e1a58d05154125b7e7c1cdea13d20a19b86384f447a9bf91aeb2853373d5939f786edf6f2230636ec90271bfaa'
sha512sums=('19841842641520b573cdde6cb80a7cfcd69756d323fdfeebc2eee2d264a1325ead4ab2f8383bb369f7896bfc1de59d7358f133f4afeb90a9b9f0695f482a58d0'
'53d37efec812afebf86281716259f9ea78a307b83897166c72777251c3eebcb587ecee375d907514781fb2a5c808cbb24ef9f3f244f12740155d0603bf213131'
'62b2eccc352d33853ef243c9cddd63663014aa97b87242f1b5bc5099a7dbd69ff3821f24ffc58e1b7f2387bd4e9e9712cc4c67f661b1724ad99cdf09b3717794')

25
ahriman/ahriman.install Normal file
View File

@ -0,0 +1,25 @@
post_upgrade() {
local breakpoints=(
2.9.0-1
)
for v in "${breakpoints[@]}"; do
if [[ $(vercmp "$v" "$2") -eq 1 ]]; then
"_${v//[.-]/_}_changes"
fi
done
}
_2_9_0_1_changes() {
cat << EOF
It was found that you were upgrading from old-devtools package to the new one, which requires manual intervention:
* make sure that devtools are upgraded to the latest release;
* merge service configuration if required;
* run setup command (i.e. sudo ahriman service-setup) with the same arguments as you did before;
* remove build chroot: sudo rm -r /var/lib/ahriman/chroot/ahriman-x86_64/;
* update local databases: sudo -u ahriman ahriman update --no-aur --no-local --no-manual -yy;
For more information kindly refer to changelog https://github.com/arcan1s/ahriman/releases/tag/2.9.0
EOF
}