[arch-commits] Commit in maturin/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Nov 19 18:59:28 UTC 2021
Date: Friday, November 19, 2021 @ 18:59:27
Author: dvzrv
Revision: 1052799
archrelease: copy trunk to community-x86_64
Added:
maturin/repos/community-x86_64/PKGBUILD
(from rev 1052798, maturin/trunk/PKGBUILD)
Deleted:
maturin/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-19 18:59:20 UTC (rev 1052798)
+++ PKGBUILD 2021-11-19 18:59:27 UTC (rev 1052799)
@@ -1,33 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=maturin
-pkgver=0.11.5
-_commit=0220fd94fd51be3eaf747e0539bd93177337e553 # 0.11.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=(git+https://github.com/PyO3/maturin#commit=${_commit})
-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}"
-}
Copied: maturin/repos/community-x86_64/PKGBUILD (from rev 1052798, maturin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-19 18:59:27 UTC (rev 1052799)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=maturin
+pkgver=0.12.0
+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=('93255d425922b8c4fd7145391368d0aa8cdb1e88d5a148a65ee2d843dc38e327f776bb42d32e4163183274803ffd560710343afea0aa89bbab7e98a9aa28d6b5')
+b2sums=('9dcb841e7455943a76de6a4fd769a0b4779730141383f83ccf51dd24172803ecb8122b7dde9477b85bbcfc9d6149a4391531fbd49aa6015eeee407f25cb526e6')
+
+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