Add python-setuptools-rust (#5585)
This commit is contained in:
parent
d0820229c3
commit
5054ee2749
33
python-semantic-version/PKGBUILD
Normal file
33
python-semantic-version/PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
||||||
|
|
||||||
|
pkgname=python-semantic-version
|
||||||
|
pkgver=2.10.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A library implementing the 'SemVer' scheme."
|
||||||
|
url="https://github.com/rbarrois/python-semanticversion"
|
||||||
|
license=('spdx:BSD-2-Clause')
|
||||||
|
msys2_references=(
|
||||||
|
'purl: pkg:pypi/semantic-version'
|
||||||
|
)
|
||||||
|
arch=('any')
|
||||||
|
depends=('python')
|
||||||
|
makedepends=(
|
||||||
|
'python-setuptools'
|
||||||
|
'python-build'
|
||||||
|
'python-installer'
|
||||||
|
)
|
||||||
|
source=("https://github.com/rbarrois/python-semanticversion/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||||
|
sha256sums=('e234480908f633d2d80fdd97e87699135b2ed2fc9876b7f41d1d4a2d3262a0c4')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "python-semanticversion-$pkgver"
|
||||||
|
|
||||||
|
python -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "python-semanticversion-$pkgver"
|
||||||
|
|
||||||
|
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||||
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
|
}
|
||||||
34
python-setuptools-rust/PKGBUILD
Normal file
34
python-setuptools-rust/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
||||||
|
|
||||||
|
pkgname=python-setuptools-rust
|
||||||
|
pkgver=1.11.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Compile and distribute Python extensions written in rust as easily as if they were written in C."
|
||||||
|
arch=('any')
|
||||||
|
license=('spdx:MIT')
|
||||||
|
url="https://github.com/PyO3/setuptools-rust"
|
||||||
|
msys2_references=(
|
||||||
|
'archlinux: python-setuptools-rust'
|
||||||
|
'purl: pkg:pypi/setuptools-rust'
|
||||||
|
)
|
||||||
|
depends=(
|
||||||
|
'rust'
|
||||||
|
'python-setuptools'
|
||||||
|
'python-semantic-version'
|
||||||
|
)
|
||||||
|
makedepends=('python-build' 'python-installer' 'python-setuptools-scm')
|
||||||
|
source=(""https://github.com/PyO3/setuptools-rust/archive/refs/tags/v$pkgver.tar.gz"")
|
||||||
|
sha256sums=('7891482400f8511739f727f4045dcd72b41bf689e4e5b90c97ff98daee5dbe85')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "setuptools-rust-$pkgver"
|
||||||
|
|
||||||
|
python -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "setuptools-rust-$pkgver"
|
||||||
|
|
||||||
|
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||||
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user