dev-python/menuinst - 2.5.2 (gentoo-zh)

Search

Install

Install this version:

emerge -a =dev-python/menuinst-2.5.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/menuinst-2.5.2

Or alternatively:

emerge --autounmask-write -a =dev-python/menuinst-2.5.2

Package Information

Description:
Cross platform menu item installation
Homepage:
https://github.com/conda/menuinst
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.5.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1

DESCRIPTION="Cross platform menu item installation"
HOMEPAGE="https://github.com/conda/menuinst"
SRC_URI="https://github.com/conda/menuinst/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	$(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')
"

export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_prepare_all() {
	sed -i 's/license = {file = "LICENSE.txt"}/license = "BSD-3-Clause"/' pyproject.toml || die
	distutils-r1_python_prepare_all
}

Inherited Eclasses

Dependencies

BDEPEND

	$(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')

Manifest for 2.5.2

Type File Size Source URLs
DIST menuinst-2.5.2.tar.gz 294424 bytes https://github.com/conda/menuinst/archive/2.5.2.tar.gz