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

David Runge dvzrv at gemini.archlinux.org
Sat Jan 1 21:47:52 UTC 2022


    Date: Saturday, January 1, 2022 @ 21:47:51
  Author: dvzrv
Revision: 1092014

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 34 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-01 21:47:42 UTC (rev 1092013)
+++ PKGBUILD	2022-01-01 21:47:51 UTC (rev 1092014)
@@ -1,32 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=maturin
-pkgver=0.12.5
-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=(${pkgname}-${pkgver}.tar.gz::https://github.com/PyO3/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz)
-sha512sums=('1db5cdeae9e8e7bf1ef5aa7b6ce9ad1030e86ecd21e0e5b7b263e0f0a850bc559f26dbb58fee902c3f297d0e445c67cbf35a2a390ad2c27a271491083a4a8114')
-b2sums=('d04c65a017ad42659d7321143a11630b65a9064a3a11119ccef21c57f56a46fe2db6846b500a2004b8878b788df9e43b010502563fe3d21a6dde5c81a5225dff')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  cargo build --frozen --release --all-features
-}
-
-package() {
-  depends+=(libbz2.so libdbus-1.so)
-
-  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}"
-}

Copied: maturin/repos/community-x86_64/PKGBUILD (from rev 1092013, maturin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-01 21:47:51 UTC (rev 1092014)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=maturin
+pkgver=0.12.6
+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)
+# disable LTO until ring can be built with it: https://github.com/briansmith/ring/issues/1444
+options=(!lto)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/PyO3/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz)
+sha512sums=('ebb1810567147a6732f6ecf513b2227bc4023c8e524a5bce966da8e96224a6583da8122a09f69667daa4248c5e5ec138c31e499bb321e3f1b0570aebda8ad87a')
+b2sums=('cce62dbeca01ed5fb049f9256d2c8d3b04a98bf64e440b0d75c67b8df769fffa047c9891ca7e7717a2b5862ff87025eade7b4c011e54ac6968f59595c89f7064')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --frozen --release --all-features
+}
+
+package() {
+  depends+=(libbz2.so libdbus-1.so)
+
+  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