[arch-commits] Commit in maturin/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Nov 19 18:59:20 UTC 2021
Date: Friday, November 19, 2021 @ 18:59:20
Author: dvzrv
Revision: 1052798
upgpkg: maturin 0.12.0-1: Upgrade to 0.12.0.
Drop the use of PGP signature checking, as upstream never committed to that and
its use was based on commit signing if available (sometimes tags if lucky).
Simplify quoting in file.
Modified:
maturin/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-19 18:45:56 UTC (rev 1052797)
+++ PKGBUILD 2021-11-19 18:59:20 UTC (rev 1052798)
@@ -1,8 +1,7 @@
# Maintainer: David Runge <dvzrv at archlinux.org>
pkgname=maturin
-pkgver=0.11.5
-_commit=0220fd94fd51be3eaf747e0539bd93177337e553 # 0.11.5
+pkgver=0.12.0
pkgrel=1
pkgdesc="Build and publish crates with pyo3, rust-cpython and cffi bindings"
url="https://github.com/PyO3/maturin"
@@ -10,17 +9,17 @@
license=(Apache)
depends=(gcc-libs glibc rust)
makedepends=(bzip2 dbus git)
-source=(git+https://github.com/PyO3/maturin#commit=${_commit})
-sha256sums=('SKIP')
-validpgpkeys=('07515D832489235391FD5799305BDEA95BCA5CBF') # konstin <konstin at mailbox.org>
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/PyO3/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz)
+sha512sums=('93255d425922b8c4fd7145391368d0aa8cdb1e88d5a148a65ee2d843dc38e327f776bb42d32e4163183274803ffd560710343afea0aa89bbab7e98a9aa28d6b5')
+b2sums=('9dcb841e7455943a76de6a4fd769a0b4779730141383f83ccf51dd24172803ecb8122b7dde9477b85bbcfc9d6149a4391531fbd49aa6015eeee407f25cb526e6')
prepare() {
- cd maturin
+ cd ${pkgname}-${pkgver}
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
- cd maturin
+ cd ${pkgname}-${pkgver}
cargo build --frozen --release --all-features
}
@@ -27,7 +26,7 @@
package() {
depends+=(libbz2.so libdbus-1.so)
- cd maturin
+ cd ${pkgname}-${pkgver}
install -vDm 755 target/release/maturin -t "${pkgdir}/usr/bin"
install -vDm 644 {Changelog,Readme}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list