[arch-commits] Commit in maturin/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Oct 3 12:10:13 UTC 2021
Date: Sunday, October 3, 2021 @ 12:10:12
Author: dvzrv
Revision: 1027177
upgpkg: maturin 0.11.4-1: Upgrade to 0.11.4.
Fetch all sources in prepare() and run cargo build frozen in build().
Install additional docs.
Add all available direct libdepends in package().
Update maintainer information.
Modified:
maturin/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-03 12:03:03 UTC (rev 1027176)
+++ PKGBUILD 2021-10-03 12:10:12 UTC (rev 1027177)
@@ -1,25 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
pkgname=maturin
-pkgver=0.11.2
+pkgver=0.11.4
pkgrel=1
-
pkgdesc="Build and publish crates with pyo3, rust-cpython and cffi bindings"
url="https://github.com/PyO3/maturin"
arch=(x86_64)
license=(Apache)
-
-depends=(gcc-libs libdbus-1.so rust)
-makedepends=(git)
-
+depends=(gcc-libs glibc rust)
+makedepends=(bzip2 dbus git)
source=(git+https://github.com/PyO3/maturin#tag=v$pkgver)
sha256sums=('SKIP')
-validpgpkeys=('07515D832489235391FD5799305BDEA95BCA5CBF')
+validpgpkeys=('07515D832489235391FD5799305BDEA95BCA5CBF') # konstin <konstin at mailbox.org>
+prepare() {
+ cd maturin
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
build() {
cd maturin
- cargo build --release --locked --all-features
+ cargo build --frozen --release --all-features
}
package() {
+ depends+=(libbz2.so libdbus-1.so)
+
cd maturin
- install -Dm755 target/release/maturin "$pkgdir"/usr/bin/maturin
+ 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