Alexander Epaneshnikov pushed to branch main at Arch Linux / Packaging / 
Packages / apt


Commits:
b65e1031 by Christian Heusel at 2024-01-24T12:20:15+01:00
introduce a pkgver() function as we pin a commit

- - - - -
67244d18 by Christian Heusel at 2024-01-24T12:21:14+01:00
execute the shipped unittests

- - - - -
8cd5abbf by Christian Heusel at 2024-01-24T12:22:08+01:00
upgpkg: 2.7.10-1: upstream release

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -8,8 +8,8 @@
 
 pkgbase=apt
 pkgname=('apt' 'apt-docs')
-_commit=c8de7f44a106a34dc4d220adfc9d34242c2d2a9e
-pkgver=2.7.6
+_commit=75dcb4516bc2b5eccd05970461628be52bcbf6b5
+pkgver=2.7.10
 pkgrel=1
 pkgdesc='Command-line package manager used on Debian-based systems'
 arch=('x86_64')
@@ -25,6 +25,8 @@ makedepends=('cmake' 'docbook-xsl' 'doxygen' 'git' 'gtest' 
'w3m' 'triehash'
              'perl-yaml-tiny' 'perl-syntax-keyword-try' 'dpkg' 'git' 'gnutls'
              'perl-term-readkey' 'perl-sgmls' 'perl-module-build'
              'perl-unicode-linebreak' 'perl-pod-parser')
+# tests need /etc/os-release
+checkdepends=('systemd')
 options=('emptydirs')
 source=("git+https://salsa.debian.org/apt-team/apt.git?signed#tag=${_commit}";
         "apt-sysusers.conf"
@@ -34,6 +36,11 @@ sha256sums=('SKIP'
             '424ca4feab152d7f5ce73a2ddd29bcd3e482cfe1c96cffb969d7542d19da0455')
 validpgpkeys=('AEE1C8AAAAF0B7684019C546021B361B6B031B00') # Julian Andres 
Klode <j...@debian.org>
 
+pkgver() {
+  cd "${pkgname}"
+  git describe --tags | sed 's/^[vV]//;s/-/+/g'
+}
+
 build() {
   # docbook xsl is stored with the version on Arch
   local docbook_xsl_version="$(pacman -Qi docbook-xsl | sed -n 's/^Version.*: 
\(.*\)-.*$/\1/p')"
@@ -49,6 +56,10 @@ build() {
   make -C build all
 }
 
+check() {
+  make -C build test
+}
+
 package_apt() {
   depends=('systemd-libs' 'libseccomp' 'perl' 'xxhash' 'dpkg' 'gnutls' 'bzip2'
            'xz' 'gcc-libs' 'lz4' 'bash' 'zlib' 'zstd' 'db' 'libgcrypt' 'glibc')



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apt/-/compare/b61e27691a2b5bd935a260b7beb082f6565b41e4...8cd5abbf77a0bb9e26c40aae72eda851fad7f5b7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apt/-/compare/b61e27691a2b5bd935a260b7beb082f6565b41e4...8cd5abbf77a0bb9e26c40aae72eda851fad7f5b7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to