[arch-commits] Commit in maturin/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Oct 3 12:10:24 UTC 2021


    Date: Sunday, October 3, 2021 @ 12:10:23
  Author: dvzrv
Revision: 1027178

archrelease: copy trunk to community-x86_64

Added:
  maturin/repos/community-x86_64/PKGBUILD
    (from rev 1027177, maturin/trunk/PKGBUILD)
Deleted:
  maturin/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   57 ++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 32 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-03 12:10:12 UTC (rev 1027177)
+++ PKGBUILD	2021-10-03 12:10:23 UTC (rev 1027178)
@@ -1,25 +0,0 @@
-pkgname=maturin
-pkgver=0.11.2
-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)
-
-source=(git+https://github.com/PyO3/maturin#tag=v$pkgver)
-sha256sums=('SKIP')
-validpgpkeys=('07515D832489235391FD5799305BDEA95BCA5CBF')
-
-build() {
-  cd maturin
-  cargo build --release --locked --all-features
-}
-
-package() {
-  cd maturin
-  install -Dm755 target/release/maturin "$pkgdir"/usr/bin/maturin
-}

Copied: maturin/repos/community-x86_64/PKGBUILD (from rev 1027177, maturin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-03 12:10:23 UTC (rev 1027178)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=maturin
+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 glibc rust)
+makedepends=(bzip2 dbus git)
+source=(git+https://github.com/PyO3/maturin#tag=v$pkgver)
+sha256sums=('SKIP')
+validpgpkeys=('07515D832489235391FD5799305BDEA95BCA5CBF')  # konstin <konstin at mailbox.org>
+
+prepare() {
+  cd maturin
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd maturin
+  cargo build --frozen --release --all-features
+}
+
+package() {
+  depends+=(libbz2.so libdbus-1.so)
+
+  cd 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