maturin 1.10.2-5
This commit is contained in:
@@ -4,7 +4,7 @@ name=(
|
|||||||
python3-maturin
|
python3-maturin
|
||||||
)
|
)
|
||||||
version='1.10.2'
|
version='1.10.2'
|
||||||
release='4'
|
release='5'
|
||||||
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings'
|
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings'
|
||||||
desc_ru='Сборка и публикация крейтов с привязками pyo3, rust-cpython и cffi'
|
desc_ru='Сборка и публикация крейтов с привязками pyo3, rust-cpython и cffi'
|
||||||
homepage='https://github.com/PyO3/maturin'
|
homepage='https://github.com/PyO3/maturin'
|
||||||
@@ -62,12 +62,12 @@ prepare() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $basepkg_name-$version
|
cd $basepkg_name-$version
|
||||||
MATURIN_SETUP_ARGS="--all-features" python -m build --wheel --no-isolation
|
MATURIN_SETUP_ARGS="--all-features" python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package_maturin() {
|
package_maturin() {
|
||||||
cd $basepkg_name-$version
|
cd $basepkg_name-$version
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install -vDm 644 {Changelog,README}.md -t "$pkgdir/usr/share/doc/maturin/"
|
install -vDm 644 {Changelog,README}.md -t "$pkgdir/usr/share/doc/maturin/"
|
||||||
install-license license-mit ./maturin/LICENSE
|
install-license license-mit ./maturin/LICENSE
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ files_maturin() {
|
|||||||
|
|
||||||
package_python3-maturin() {
|
package_python3-maturin() {
|
||||||
cd $basepkg_name-$version
|
cd $basepkg_name-$version
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install-license license-mit ./maturin/LICENSE
|
install-license license-mit ./maturin/LICENSE
|
||||||
|
|
||||||
# Remove binary - it goes to main maturin package
|
# Remove binary - it goes to main maturin package
|
||||||
|
|||||||
Reference in New Issue
Block a user