*/*: update for slotted Rust

guru version of this commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871

Closes: https://bugs.gentoo.org/943170
Closes: https://bugs.gentoo.org/943223
Closes: #260
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-11-12 00:07:37 +09:00
parent 74ff5c5014
commit eb317ddb43
61 changed files with 770 additions and 935 deletions

View File

@@ -3,6 +3,9 @@
EAPI=8
# https://github.com/dani-garcia/vaultwarden/issues/4649
RUST_MAX_VER="1.77.1"
inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles
DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust"
@@ -63,6 +66,11 @@ DOC_CONTENTS="\n
Admin interface: http://0.0.0.0:8000/admin
"
pkg_setup() {
check-reqs_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999* ]]; then
# clone vaultwarden

View File

@@ -3,6 +3,9 @@
EAPI=8
# https://github.com/dani-garcia/vaultwarden/issues/4649
RUST_MAX_VER="1.77.1"
inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles
DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust"
@@ -63,6 +66,11 @@ DOC_CONTENTS="\n
Admin interface: http://0.0.0.0:8000/admin
"
pkg_setup() {
check-reqs_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999* ]]; then
# clone vaultwarden

View File

@@ -3,6 +3,9 @@
EAPI=8
# https://github.com/dani-garcia/vaultwarden/issues/4649
RUST_MAX_VER="1.77.1"
inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles
DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust"
@@ -63,6 +66,11 @@ DOC_CONTENTS="\n
Admin interface: http://0.0.0.0:8000/admin
"
pkg_setup() {
check-reqs_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999* ]]; then
# clone vaultwarden

View File

@@ -63,6 +63,11 @@ DOC_CONTENTS="\n
Admin interface: http://0.0.0.0:8000/admin
"
pkg_setup() {
check-reqs_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999* ]]; then
# clone vaultwarden