Date: Friday, October 28, 2022 @ 19:36:02
  Author: dvzrv
Revision: 1338440

archrelease: copy trunk to community-any

Added:
  mkosi/repos/community-any/PKGBUILD
    (from rev 1338439, mkosi/trunk/PKGBUILD)
Deleted:
  mkosi/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 59 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-28 19:35:22 UTC (rev 1338439)
+++ PKGBUILD    2022-10-28 19:36:02 UTC (rev 1338440)
@@ -1,49 +0,0 @@
-# Maintainer: Christian Rebischke <[email protected]>
-# Maintainer: David Runge <[email protected]>
-# Contributor: Lucas Werkmeister <[email protected]>
-# Contributor: Dave Reisner <[email protected]>
-
-pkgname=mkosi
-pkgver=14
-pkgrel=1
-pkgdesc="Build Legacy-Free OS Images"
-arch=(any)
-url="https://github.com/systemd/mkosi";
-license=(LGPL2.1)
-depends=(arch-install-scripts python python-pexpect qemu-img)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pexpect python-pytest)
-optdepends=(
-  'btrfs-progs: raw_btrfs and subvolume output formats'
-  'debian-archive-keyring: build Debian images'
-  'debootstrap: build Debian or Ubuntu images'
-  'cryptsetup: add dm-verity partitions'
-  'dosfstools: build bootable images'
-  'gnupg: sign images'
-  'qemu: run bootable images using QEMU'
-  'sbsigntools: sign EFI binaries for UEFI SecureBoot'
-  'squashfs-tools: raw_squashfs output format'
-  'tar: tar output format'
-  'ubuntu-keyring: build Ubuntu images'
-  'xz: compress images with xz'
-  'zstd: compress images with zstd'
-)
-source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
-sha512sums=('33a387bda9bd74415719d9081373936ead331135fc5c17276bace1a999ec1b90e6caea37fb0fd832bc89ca75635f3dbd1ed19af7679a7d8a59c85a36120d737f')
-b2sums=('04fd81233647bac63a21f6a34972b18aa652d1d8ed07e1618b35372fcc6125ee43fbc80501dbcb81a1aa96b69ee372c9c1b8c61b31c3d6319b5f86f1e2a374ac')
-
-build() {
-  cd $pkgname-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd $pkgname-$pkgver
-  pytest -vv --ignore tests/test_parse_load_args.py
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 {NEWS,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"
-}

Copied: mkosi/repos/community-any/PKGBUILD (from rev 1338439, 
mkosi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-28 19:36:02 UTC (rev 1338440)
@@ -0,0 +1,59 @@
+# Maintainer: Christian Rebischke <[email protected]>
+# Maintainer: David Runge <[email protected]>
+# Contributor: Lucas Werkmeister <[email protected]>
+# Contributor: Dave Reisner <[email protected]>
+
+pkgname=mkosi
+pkgver=14
+pkgrel=2
+pkgdesc="Build Legacy-Free OS Images"
+arch=(any)
+url="https://github.com/systemd/mkosi";
+license=(LGPL2.1)
+depends=(arch-install-scripts python python-pexpect qemu-img)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pexpect python-pytest)
+optdepends=(
+  'btrfs-progs: raw_btrfs and subvolume output formats'
+  'debian-archive-keyring: build Debian images'
+  'debootstrap: build Debian or Ubuntu images'
+  'cryptsetup: add dm-verity partitions'
+  'dosfstools: build bootable images'
+  'gnupg: sign images'
+  'qemu: run bootable images using QEMU'
+  'sbsigntools: sign EFI binaries for UEFI SecureBoot'
+  'squashfs-tools: raw_squashfs output format'
+  'tar: tar output format'
+  'ubuntu-keyring: build Ubuntu images'
+  'xz: compress images with xz'
+  'zstd: compress images with zstd'
+)
+source=(
+  $pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
+  
$pkgname-14-fix_tests.patch::https://github.com/systemd/mkosi/commit/60289499675661169cd7bfda2faf331663a43c73.patch
+)
+sha512sums=('33a387bda9bd74415719d9081373936ead331135fc5c17276bace1a999ec1b90e6caea37fb0fd832bc89ca75635f3dbd1ed19af7679a7d8a59c85a36120d737f'
+            
'2deeca538132944ce94fd774c9ef5af618731580f406cdabdfb5e360b715d4b77efd66b8163bc550133a48f84ac4231f4e7eb489dfa35f4567d36ea86124180d')
+b2sums=('04fd81233647bac63a21f6a34972b18aa652d1d8ed07e1618b35372fcc6125ee43fbc80501dbcb81a1aa96b69ee372c9c1b8c61b31c3d6319b5f86f1e2a374ac'
+        
'409359a7ad7fe3cffcb4f6de95717002137c17081e1eec78ec761421e7f9d9ab6ebecd9e6ef64c9838829176dc1f79da1e86ce22e0702bbfa2c55f14f06299ab')
+
+prepare() {
+  # fix issues with tests: 
https://github.com/systemd/mkosi/commit/60289499675661169cd7bfda2faf331663a43c73
+  patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-14-fix_tests.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $pkgname-$pkgver
+  pytest -vv
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 {NEWS,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}

Reply via email to