mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-python/uuid-utils: add 0.16.0 0.15.0, drop 0.14.1
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
48
dev-python/uuid-utils/uuid-utils-0.16.0.ebuild
Normal file
48
dev-python/uuid-utils/uuid-utils-0.16.0.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
RUST_MIN_VER="1.87.0"
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=maturin
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
inherit cargo distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Fast, drop-in replacement for Python's uuid module, powered by Rust."
|
||||
HOMEPAGE="
|
||||
https://aminalaee.github.io/uuid-utils/
|
||||
https://github.com/aminalaee/uuid-utils
|
||||
https://pypi.org/project/uuid_utils/
|
||||
"
|
||||
if [[ ${PKGBUMPING} != ${PVR} ]]; then
|
||||
SRC_URI+="
|
||||
https://gitlab.com/api/v4/projects/32909921/packages/generic/${PN}/${PV}/${P}-crates.tar.xz
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/lib/python.*/site-packages/uuid_utils/.*.so"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_DESELECT=(
|
||||
# Network sandbox probably messes with it
|
||||
# https://github.com/aminalaee/uuid-utils/issues/99#issuecomment-3666565390
|
||||
tests/test_uuid.py::test_getnode
|
||||
)
|
||||
EPYTEST_IGNORE=(
|
||||
# Benchmarking doesn't make sense in an ebuild
|
||||
tests/test_benchmarks.py
|
||||
)
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user