David Runge pushed to branch main at Arch Linux / Packaging / Packages / maturin
Commits: 4cd30de3 by David Runge at 2023-10-04T11:54:31+02:00 upgpkg: 1.3.0-1 Use correct SPDX license identifier according to upstream documentation. Install relevant license files. - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,32 @@ +pkgbase = maturin + pkgdesc = Build and publish crates with pyo3, rust-cpython and cffi bindings + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/PyO3/maturin + arch = x86_64 + license = Apache-2.0 OR MIT + makedepends = bzip2 + makedepends = gcc-libs + makedepends = git + makedepends = glibc + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-setuptools-rust + makedepends = python-wheel + makedepends = rust + options = !lto + source = https://github.com/PyO3/maturin/archive/v1.3.0/maturin-v1.3.0.tar.gz + sha512sums = 49812a9ca89ce1839704034d80a717552421e76adc37f510125ce1ed2b776907533171a4413fdf2b273760630a0c7c1a0bddfda5b7f5c0c3526650d66f0e29bb + b2sums = 1fb399ac3cd8463282091b04f1132977ca776811c178075bffa03aff8e66699754ceff992226313a35db5779b8ecb213c854d65183f1ccde42472081fc70f77e + +pkgname = maturin + depends = bzip2 + depends = gcc-libs + depends = glibc + depends = rust + +pkgname = python-maturin + pkgdesc = Build and publish crates with pyo3, rust-cpython and cffi bindings - Python bindings + depends = maturin=1.3.0 + depends = python ===================================== PKGBUILD ===================================== @@ -5,12 +5,12 @@ pkgname=( maturin python-maturin ) -pkgver=1.2.3 +pkgver=1.3.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) +license=('Apache-2.0 OR MIT') makedepends=( bzip2 gcc-libs @@ -26,8 +26,8 @@ makedepends=( # disable LTO until ring can be built with it: https://github.com/briansmith/ring/issues/1444 options=(!lto) source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz) -sha512sums=('ffbcb806f70015567db69be5f0214bb9b42c79d24f7e38ec2d46abfc831feda6d69952fc9e9f72fd2704154790e755b0f2ff4da8d273b8f02865bf148c8a16c1') -b2sums=('13c4481a9968c18757e226b9fe6237d274082e84a79257eef403c579dea8e2ed63473f6259e6192617ddb9606872cd91d2aca958d711d6c9c69b8a3c7ead8f73') +sha512sums=('49812a9ca89ce1839704034d80a717552421e76adc37f510125ce1ed2b776907533171a4413fdf2b273760630a0c7c1a0bddfda5b7f5c0c3526650d66f0e29bb') +b2sums=('1fb399ac3cd8463282091b04f1132977ca776811c178075bffa03aff8e66699754ceff992226313a35db5779b8ecb213c854d65183f1ccde42472081fc70f77e') _pick() { local p="$1" f d; shift @@ -40,12 +40,12 @@ _pick() { } prepare() { - cd $pkgname-$pkgver + cd $pkgbase-$pkgver cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } build() { - cd $pkgname-$pkgver + cd $pkgbase-$pkgver python -m build --wheel --no-isolation } @@ -57,9 +57,10 @@ package_maturin() { rust ) - cd $pkgname-$pkgver + cd $pkgbase-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -vDm 644 {Changelog,README}.md -t "$pkgdir/usr/share/doc/$pkgname/" + install -vDm 644 license-mit -t "$pkgdir/usr/share/licenses/$pkgname/" ( cd "$pkgdir" @@ -75,4 +76,6 @@ package_python-maturin() { ) mv -v $pkgname/* "$pkgdir" + + install -vDm 644 $pkgbase-$pkgver/license-mit -t "$pkgdir/usr/share/licenses/$pkgname/" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/maturin/-/commit/4cd30de3839100f077527694b72feabc25e20da3 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/maturin/-/commit/4cd30de3839100f077527694b72feabc25e20da3 You're receiving this email because of your account on gitlab.archlinux.org.
