Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
python-pyhamcrest
Commits:
9e72f177 by Daniel M. Capella at 2024-07-21T21:24:08-04:00
upgpkg: 2.1.0-2: Verify SSH signature
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + ssh_allowed_signers
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,18 +1,21 @@
pkgbase = python-pyhamcrest
pkgdesc = Hamcrest framework for matcher objects
pkgver = 2.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/hamcrest/PyHamcrest
arch = any
license = BSD-2-Clause
checkdepends = python-pytest
makedepends = git
+ makedepends = openssh
makedepends = python-build
makedepends = python-installer
makedepends = python-hatchling
makedepends = python-hatch-vcs
depends = python
source = git+https://github.com/hamcrest/PyHamcrest.git#tag=V2.1.0
- sha512sums =
17b8d27cf3134ac854d6f757711fa317d63c6d8f365baaeaa5b16086eddc86207edcb185a61b9143a966209707cffc7aa6ef0cbe57fd7bc228428d1a19e7d57b
+ source = ssh_allowed_signers
+ b2sums =
8a6c3251cb5e3803668b0068bf2143171f8e56594ec287d584dd1ecc0c941d95a742ed7891f18d593ed75e053d05f9bc3aa0f098f28ee05deffabbdcd302fb6d
+ b2sums =
972dd9382ae1fea4e41114bdc42d0691fff4d5002857acbd56e1a2b2bd7a1797a7b4366f15a92a1aaae042159a13d4cb55ad0dacf3bdc19cad306eb2f789d340
pkgname = python-pyhamcrest
=====================================
PKGBUILD
=====================================
@@ -3,16 +3,33 @@
pkgname=python-pyhamcrest
pkgver=2.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Hamcrest framework for matcher objects"
arch=('any')
license=('BSD-2-Clause')
url="https://github.com/hamcrest/PyHamcrest"
depends=('python')
-makedepends=('git' 'python-build' 'python-installer' 'python-hatchling'
'python-hatch-vcs')
+makedepends=(
+ 'git'
+ 'openssh'
+ 'python-build'
+ 'python-installer'
+ 'python-hatchling'
+ 'python-hatch-vcs'
+)
checkdepends=('python-pytest')
-source=("git+https://github.com/hamcrest/PyHamcrest.git#tag=V$pkgver")
-sha512sums=('17b8d27cf3134ac854d6f757711fa317d63c6d8f365baaeaa5b16086eddc86207edcb185a61b9143a966209707cffc7aa6ef0cbe57fd7bc228428d1a19e7d57b')
+source=(
+ "git+https://github.com/hamcrest/PyHamcrest.git#tag=V$pkgver"
+ 'ssh_allowed_signers'
+)
+b2sums=('8a6c3251cb5e3803668b0068bf2143171f8e56594ec287d584dd1ecc0c941d95a742ed7891f18d593ed75e053d05f9bc3aa0f098f28ee05deffabbdcd302fb6d'
+
'972dd9382ae1fea4e41114bdc42d0691fff4d5002857acbd56e1a2b2bd7a1797a7b4366f15a92a1aaae042159a13d4cb55ad0dacf3bdc19cad306eb2f789d340')
+
+# XXX: move to verify() when devtools supports it
+# https://gitlab.archlinux.org/archlinux/devtools/-/issues/224
+prepare() {
+ git -C PyHamcrest -c
gpg.ssh.allowedSignersFile="$srcdir/ssh_allowed_signers" verify-commit V$pkgver
+}
build() {
cd PyHamcrest
=====================================
ssh_allowed_signers
=====================================
@@ -0,0 +1,2 @@
+# From https://github.com/offbyone.keys
[email protected] namespaces="git" ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIHrm/qwA/L0zcBLD0EX5N2/JP2kglTEOy6pdSCzKl2Ri
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyhamcrest/-/commit/9e72f1774bf9f209824f02c62a0e9b2bbe78161e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyhamcrest/-/commit/9e72f1774bf9f209824f02c62a0e9b2bbe78161e
You're receiving this email because of your account on gitlab.archlinux.org.